From 4b6c0f20201b86276dbd82c0951beb6b2ce90b19 Mon Sep 17 00:00:00 2001 From: Victor Grousset Date: Tue, 24 Oct 2017 15:38:50 +0200 Subject: [PATCH] Bug 19522: Label creator - some strings are not translatable Add missing case to make "Fields to print" translatable Test plan: 1. install the fr_FR locale 2. go to /cgi-bin/koha/labels/label-manage.pl?label_element=layout 3. ensure that the list isn't empty 4. then you should see "Fields to print" in the table header 5. apply this patch 6. update the language 7. open misc/translator/po/fr-FR-staff-prog.po 8. translate the new string with something like "foobar" and remove the fuzzy flag 9. install the language 10. refresh the page 11. then you should see "foobar" instead of "Fields to print" Signed-off-by: Simon Pouchol Signed-off-by: Kyle M Hall --- koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tt | 1 + 1 file changed, 1 insertion(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tt index 3444b21..fc33a83 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tt @@ -138,6 +138,7 @@ [% CASE 'Paper Bin' %]Paper bin [% CASE 'Batch ID' %]Batch ID [% CASE 'Item Count' %]Item count + [% CASE 'Fields to Print' %]Fields to print [% CASE %][% header_field.field_label %] [% END %] [% END %] -- 2.10.2