From 7adeaef8f73af8f6f29f91c36906d035fdcb2105 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20V=C3=A9ron?= Date: Tue, 21 Jun 2016 09:08:06 +0200 Subject: [PATCH] Bug 16701: Translatability: Fix problem with isolated ' in currency.tt This patch moves markup into template variables to avoid sentence splitting. To test: - Apply patch - Verify that currency administration works as before (Home > Administration > Currencies & Exchange rates > Currencies) - Examine code changes --- koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt index 63713fb..c21468a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt @@ -49,7 +49,7 @@ @@ -149,7 +149,7 @@ [% IF op =='delete_confirm' %] [% IF nb_of_orders or nb_of_vendors %]
-

Cannot delete currency '[% currency.currency %]'

+

Cannot delete currency [% '' _ currency.currency _ '' %]'

[% IF nb_of_orders %] This currency is used by [% nb_of_orders %] orders. @@ -164,7 +164,7 @@

[% ELSE %]
-

Confirm deletion of currency '[% currency.currency %]'

+

Confirm deletion of currency '[% '' _ currency.currency _ '' %]'

-- 1.7.10.4
Currency [% currency.currency %]