From a137ff62af27778ed001a9e9898871a6f9e9a9ad Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sat, 11 Jan 2014 15:54:44 +0100 Subject: [PATCH] [SIGNED-OFF] Bug 11495: Make "Select titles to: " translatable Content-Type: text/plain; charset="utf-8" Fixes translation of "Select titles to: " on the Bootstrap OPAC result page. Test plan: - Update one of the po files running: perl translate update - Verify that "Select titles to: " is only listed once for search-results.tt Apply patch - Verify addings titles to lists and cart from the result list still works as expected - Rerun the po file update - Verify the string is now listed twice for search-results.tt Signed-off-by: Owen Leonard --- .../opac-tmpl/bootstrap/en/modules/opac-results.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt index 2ad3029..8f0a089 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt @@ -704,7 +704,7 @@ $(document).ready(function(){ var param1 = ""; [% IF ( ( Koha.Preference( 'opacbookbag' ) == 1 ) || ( Koha.Preference( 'virtualshelves' ) == 1 ) || loggedinusername ) %] - param1 += "Select titles to: "; + param1 += ""+_("Select titles to: ")+""; [% END %] [% IF Koha.Preference( 'opacbookbag' ) == 1 %] -- 1.7.9.5