Ticket #5425 (closed Feature Request: fixed)

Opened 8 years ago

Last modified 8 years ago

Missing i18n translation: Advanced search, No matching results found

Reported by: arnogross Owned by: hannosch
Priority: trivial Milestone: 2.1.3
Component: Internationalization Version:
Keywords: livesearch_reply i18n Cc:

Description

plone-de.po entry:

msgid "label_no_results_found"
msgstr "Keine passenden Ergebnisse gefunden."

Patch:

--- /home/agross/plone212/Products/CMFPlone/skins/plone_scripts/livesearch_reply.py     2006-01-20 19:09:50.000000000 +0100
+++ livesearch_reply.py 2006-04-06 19:03:11.000000000 +0200
@@ -55,6 +55,7 @@
 _ = context.translate
 legend_livesearch = _('legend_livesearch', default='LiveSearch ↓')
 label_no_results_found = _('label_no_results_found', default='No matching results found.')
+label_advanced_search = _('label_advanced_search', default='Advanched Search')

 if not results:
     print '''<fieldset class="livesearchContainer">'''
@@ -62,7 +63,7 @@
     print '''<div class="LSIEFix">'''
     print '''<div id="LSNothingFound">%s</div>''' % label_no_results_found
     print '''<li class="LSRow">'''
-    print '<a href="search_form" style="font-weight:normal">Advanced Search&hellip;</a>'
+    print '<a href="search_form" style="font-weight:normal">%s&hellip;</a>' % label_advanced_search
     print '''</li>'''
     print '''</div>'''
     print '''</fieldset>'''

Attachments

livesearch_reply.py.patch Download (977 bytes) - added by arnogross 8 years ago.
livesearch_reply.py.patch

Change History

Changed 8 years ago by arnogross

livesearch_reply.py.patch

comment:1 Changed 8 years ago by hannosch

  • Milestone changed from 2.5.x to 2.1.x

comment:2 Changed 8 years ago by hannosch

  • Status changed from new to closed
  • Resolution set to fixed

(In [9706]) Added missing i18n translation in live search for 'Advanced search' and 'Show all'. This closes #5425.

comment:3 Changed 8 years ago by hannosch

  • Milestone changed from 2.1.x to 2.1.3

comment:4 Changed 8 years ago by kteague

  • Status changed from closed to reopened
  • Resolution fixed deleted

There is a small spelling typo for 'Advanced Search' and it reads 'Advanched Search'. This typo exists in the 2.1.3-rc1 release.

comment:5 Changed 8 years ago by hannosch

  • Status changed from reopened to closed
  • Resolution set to fixed

(In [9903]) Fixed spelling error in livesearch. This closes #5425.

Note: See TracTickets for help on using tickets.