From a7ac0b817d9a1f180e5aa93b5fb7c0284d169e45 Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Mon, 26 Feb 2018 12:08:27 +0200 Subject: [PATCH] Bug 20296: Untranslatable "All" in patrons table filter There's an untranslatable "All" in the "Show X entries" filter when browsing the patrons. Test plan: 1) Home --> Patrons --> Browse by last name. 2) In the table filtering toolbar, there's a dropdown with "Show [20] entries" and the last in the dropdown is "All". 3) Update and install a language, check that msgid "All" is translated and isn't fuzzy. 4) Check the "All" in the dropdown, it is not translated. 5) Install patch, repeat 1-3, and check the "All" in the dropdown, it should now be translated. Signed-off-by: Pasi Kallinen Signed-off-by: Jonathan Druart Conflicts: koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt --- koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt index 0c5e044d86..2602e3f913 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt @@ -154,7 +154,7 @@ $(document).ready(function() { $(aLengthMenu).each(function(){ if ( this == -1 ) { // Label for -1 is "All" - aLengthMenuLabel.push("All"); + aLengthMenuLabel.push(_("All")); } else { aLengthMenuLabel.push(this); } -- 2.39.5