From eaa238cc1c6cfe3fe9757b32e3cc01bfe3564c6b 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" 9. install the language 10. refresh the page 11. then you should see "foobar" instead of "Fields to print" --- .../prog/en/modules/labels/label-manage.tt | 29 +++++++++++----------- 1 file changed, 15 insertions(+), 14 deletions(-) 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..7bd00e5 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 @@ -125,20 +125,21 @@ [% FOREACH header_field IN table_loo.header_fields %] [% SWITCH header_field.field_label %] - [% CASE 'Layout ID' %]Layout ID - [% CASE 'Layout' %]Layout - [% CASE 'Barcode Type' %]Barcode type - [% CASE 'Print Type' %]Print type - [% CASE 'Template ID' %]Template ID - [% CASE 'Template Name' %]Template name - [% CASE 'Description' %]Description - [% CASE 'Actions' %]Actions - [% CASE 'Profile ID' %]Profile ID - [% CASE 'Printer Name' %]Printer name - [% CASE 'Paper Bin' %]Paper bin - [% CASE 'Batch ID' %]Batch ID - [% CASE 'Item Count' %]Item count - [% CASE %][% header_field.field_label %] + [% CASE 'Layout ID' %]Layout ID + [% CASE 'Layout' %]Layout + [% CASE 'Barcode Type' %]Barcode type + [% CASE 'Print Type' %]Print type + [% CASE 'Template ID' %]Template ID + [% CASE 'Template Name' %]Template name + [% CASE 'Description' %]Description + [% CASE 'Actions' %]Actions + [% CASE 'Profile ID' %]Profile ID + [% CASE 'Printer Name' %]Printer name + [% 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.7.4