From 747d1a09914f4a6de3ce9dd58575fac3afaf3ae1 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 Content-Type: text/plain; charset=utf-8 \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 --- .../prog/en/modules/admin/aqbudgetperiods.tt | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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.7.7.6