From 861155be3a6d2b297e0f45d31dd68140b137b1b9 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Wed, 18 Mar 2015 01:46:18 +0100 Subject: [PATCH] Bug 13861: \n in confirmation message on closing a budget \n in strings doesn't translate well, so we move it outside the translated string. To test: - create at least 2 budgets - close one of the budgets (moving orders from one budget to the other) - after selecting the budget to move your orders to, save - the confirmation message shown should read: You have chosen to move all unreceived orders from 'budget 1' to 'budget 2'. This action cannot be reversed. Do you wish to continue? --- koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt index 86c6ad3..5d7918d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt @@ -130,7 +130,7 @@ var budget_from = "[% budget_period_description %]"; var budget_to = $("#to_budget_period_id").find("option:selected").html(); var alert_message = _("You have chosen to move all unreceived orders from '%s' to '%s'.").format(budget_from, budget_to); - alert_message += _("\nThis action cannot be reversed. Do you wish to continue?"); + alert_message += "\n" + _("This action cannot be reversed. Do you wish to continue?"); return confirm ( alert_message ); }); [% END %] -- 1.9.1