From 6d9d9874eb176c2b51d566255cb2c84a28db9392 Mon Sep 17 00:00:00 2001 From: Alex Buckley Date: Tue, 3 Oct 2017 08:33:37 +1300 Subject: [PATCH] Bug 19029 - Followup - Implemented .format() to ease translation Sponosred by: Catalyst IT --- 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 1804a74..d499c6e 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.10.2