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

Katrin Fischer <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #24185|0                           |1
        is obsolete|                            |

--- Comment #3 from Katrin Fischer <[email protected]> ---
Created attachment 24200
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=24200&action=edit
[PASSED QA] 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.

Signed-off-by: Chris Cormack <[email protected]>
Signed-off-by: Katrin Fischer <[email protected]>
Works as described, passes all tests.
Similar fixes are probably needed for other pages of the labels
modules.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to