Koha/koha-tmpl/intranet-tmpl/prog/en/modules/labels
Owen Leonard e8f5ee9eef Bug 11505: fix untranslatable table headers in Label batch manager
The label batch manager script hard-codes the table header cell labels
in order to pass them to an HTML-building function. This obviously isn't
the best solution for internationalization, but picking the whole scheme
apart would be very complicated.

Instead this patch uses a SWITCH statement to check for each possible
case and outputs the correct translatable string for each.

To test, apply the patch and run "perl translate update" for any
translation. Check the revised po file and confirm that the new strings
are present. View the label batch edit page and confirm that the table
headings look correct: Tools -> Labels -> Manage batches -> Edit batch.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Works as described, passes all tests.
Similar fixes are probably needed for other pages of the labels
modules.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2014-01-13 21:03:49 +00:00
..
label-bib-search.tt
label-edit-batch.tt Bug 11505: fix untranslatable table headers in Label batch manager 2014-01-13 21:03:49 +00:00
label-edit-layout.tt Bug 2835 - Inconsistent use of colon at the end of sentences 2013-04-02 09:03:42 -04:00
label-edit-profile.tt
label-edit-template.tt
label-home.tt Bug 8061: Follow up - RTL CSS overrides (staff client) 2013-04-07 12:51:54 -04:00
label-manage.tt Bug 2774 - Path to theme is hard-coded in many places 2013-06-07 09:04:15 -07:00
label-print.tt
result.tt
search.tt Bug 2835 - Inconsistent use of colon at the end of sentences 2013-04-02 09:03:42 -04:00
spinelabel-home.tt
spinelabel-print.tt Bug 10850 - give quick spine label template page its own ID 2013-10-18 04:51:14 +00:00