@@ -, +, @@
- Create a translation for a language 'aa-AA
- po file aa-AA-staff-prog.po / translate.koha-community.org for 17.05 contains a line
'%%]'%sCurrencies %s
- Apply patch on top of Bug 18665
- Recreate translation
- Verify that line above is gone
- Verify that in staff client currencies administration wors as before
---
koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt
@@ -1,5 +1,6 @@
[% USE KohaDates %]
[% USE ColumnsSettings %]
+[% USE HtmlTags %]
[% INCLUDE 'doc-head-open.inc' %]
Koha › Administration › Currencies & Exchange rates ›
[% IF op == 'add_form' %][% IF currency %]Modify currency '[% currency.currency %]'[% ELSE %]New currency[% END %][% END %]
@@ -52,7 +53,7 @@
Home ›
Administration ›
Currencies & Exchange rates › [% IF op == 'add_form' %][% IF currency %]Modify currency '[% currency.currency %]'[% ELSE %]New currency[% END %][% END %]
-[% IF op == 'delete_confirm' %]Confirm deletion of currency '[% '
' _ currency.currency _ '' %]'
+[% IF op == 'delete_confirm' %]Confirm deletion of currency [% currency.currency | $HtmlTags tag='span' attributes=>'class="ex"' %]
[% ELSIF op == 'list' %]Currencies
[% END %]
@@ -152,7 +153,8 @@
[% IF op =='delete_confirm' %]
[% IF nb_of_orders or nb_of_vendors %]
-
Cannot delete currency '[% '' _ currency.currency _ '' %]'
+
Cannot delete currency [% currency.currency | $HtmlTags tag='span' attributes=>'class="ex"' %]
+
[% IF nb_of_orders %]
This currency is used by [% nb_of_orders %] orders.
@@ -167,7 +169,8 @@
[% ELSE %]
-
Confirm deletion of currency '[% '' _ currency.currency _ '' %]'
+
Confirm deletion of currency [% currency.currency | $HtmlTags tag='span' attributes=>'class="ex"' %]
+
Currency |
[% currency.currency %] |
--
---|