From 0ae524b539148db0ff0dff082e781e8c6b5614d5 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 27 Aug 2014 09:33:13 +0200 Subject: [PATCH] Bug 9043: Make strings translatable Signed-off-by: Jonathan Druart --- koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt index 9c3c195..6f3457a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt @@ -17,7 +17,13 @@ });[% END %] $(document).ready(function(){ - $("select[multiple='multiple']").multipleSelect( { placeholder: _("Please select ...") } ); + $("select[multiple='multiple']").multipleSelect( { + placeholder: _("Please select ..."), + selectAllText: _("Select all"), + allSelected: _("All selected"), + countSelected: _("# of % selected"), + noMatchesFound: _("No matches found") + } ); }); // This is here because of its dependence on template variables, everything else should go in js/pages/preferences.js - jpw var to_highlight = "[% searchfield |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %]"; -- 2.0.0.rc2