From 83f97e662d77c99666c7873c947b91f9e8630a17 Mon Sep 17 00:00:00 2001 From: Alex Buckley Date: Tue, 3 Oct 2017 08:33:37 +1300 Subject: [PATCH] Bug 19029: (follow-up) Implemented .format() to ease translation Sponosred by: Catalyst IT Signed-off-by: Jonathan Druart --- koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt index 1804a74344..d499c6e82e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt @@ -39,7 +39,7 @@ $(document).ready(function() { var selected_library = library_dropdown.options[library_dropdown.selectedIndex].value; if (selected_library === "*") { var to_library = $("#tobranch option:selected").text(); - var MSG_CONFIRM_CLONE = _("Are you sure you want to clone this standard rule to " + to_library + " library? This will override the existing rules in " + to_library + " library."); + var MSG_CONFIRM_CLONE = _("Are you sure you want to clone this standard rule to %s library? This will override the existing rules in this library.").format(to_library); return confirmClone(MSG_CONFIRM_CLONE); } }); -- 2.39.5