From 8d3c58171cf2fbb11306a00425979f1180d8002a 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? Signed-off-by: Marcel de Rooy Signed-off-by: Tomas Cohen Arazi (cherry picked from commit b4a9b23ab7d926f8d2031de0b0fc822988a8e5ae) Signed-off-by: Chris Cormack --- .../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 86c6ad3d28..5d7918dd51 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 %] -- 2.39.5