From 133746136cb1c8b2f2ab1d1c08650369ca4b9ee8 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sat, 11 Jan 2014 15:54:44 +0100 Subject: [PATCH] Bug 11495: Make "Select titles to: " translatable 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 Signed-off-by: Marcel de Rooy Signed-off-by: Galen Charlton --- koha-tmpl/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 2ad3029d98..8f0a089823 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 %] -- 2.39.5