[Koha-bugs] [Bug 11505] Untranslatable table headers in Label batch manager

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jan 10 22:03:47 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11505

--- Comment #1 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 24182
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=24182&action=edit
Bug 11505 - 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.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list