From 7876893f5e60e478326c645e6606945770d2bb87 Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Mon, 5 Mar 2018 12:10:56 +0200 Subject: [PATCH] Bug 20332: Allow translating some grouped opac results texts The grouped OPAC results page has several untranslatable javascript-added texts, including the selection modifiers "Clear all" and "Select all" links, and the entries in the shelves/lists dropdown. Compare to opac-results.tt Signed-off-by: Pasi Kallinen Signed-off-by: Katrin Fischer --- .../opac-tmpl/bootstrap/en/modules/opac-results-grouped.tt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results-grouped.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results-grouped.tt index b0ba7d5659..f12ef5d410 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results-grouped.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results-grouped.tt @@ -296,9 +296,9 @@ $(document).ready(function(){ $('#sort_by').change(function() { $('#bookbag_form').submit(); }); - $("span.clearall").html("Clear all"); - $("span.checkall").html("Select all"); - $("span.addto").html(" "); + $("span.clearall").html("" + _("Clear all") + ""); + $("span.checkall").html("" + _("Select all") + ""); + $("span.addto").html(" "); $("#addto").change(function(){ cartList(); }); -- 2.17.1