From 53e0523207738cd489d77007c8e642b88030d4c6 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 Signed-off-by: Chris Cormack Signed-off-by: Nick Clemens Signed-off-by: Martin Renvoize --- .../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.39.5