From 75fad56aa310ef7bbeb156f3ce2988821b6073e2 Mon Sep 17 00:00:00 2001 From: John Martin Date: Thu, 28 Nov 2013 10:45:47 +0000 Subject: [PATCH] [#1094] Removes references to 'Sorry' from search results titles --- ckan/templates/snippets/search_result_text.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ckan/templates/snippets/search_result_text.html b/ckan/templates/snippets/search_result_text.html index 0cd48bf2d06..2cdc1f0859a 100644 --- a/ckan/templates/snippets/search_result_text.html +++ b/ckan/templates/snippets/search_result_text.html @@ -13,21 +13,21 @@ #} {% if type == 'dataset' %} {% set text_query = ungettext('{number} dataset found for "{query}"', '{number} datasets found for "{query}"', count) %} - {% set text_query_none = _('Sorry no datasets found for "{query}"') %} + {% set text_query_none = _('No datasets found for "{query}"') %} {% set text_no_query = ungettext('{number} dataset found', '{number} datasets found', count) %} - {% set text_no_query_none = _('Sorry no datasets found') %} + {% set text_no_query_none = _('No datasets found') %} {% elif type == 'group' %} {% set text_query = ungettext('{number} group found for "{query}"', '{number} groups found for "{query}"', count) %} - {% set text_query_none = _('Sorry no groups found for "{query}"') %} + {% set text_query_none = _('No groups found for "{query}"') %} {% set text_no_query = ungettext('{number} group found', '{number} groups found', count) %} - {% set text_no_query_none = _('Sorry no groups found') %} + {% set text_no_query_none = _('No groups found') %} {% elif type == 'organization' %} {% set text_query = ungettext('{number} organization found for "{query}"', '{number} organizations found for "{query}"', count) %} - {% set text_query_none = _('Sorry no organizations found for "{query}"') %} + {% set text_query_none = _('No organizations found for "{query}"') %} {% set text_no_query = ungettext('{number} organization found', '{number} organizations found', count) %} - {% set text_no_query_none = _('Sorry no organizations found') %} + {% set text_no_query_none = _('No organizations found') %} {%- endif -%} {% if query %}