Summary: | Label card element title texts cannot be translated | ||
---|---|---|---|
Product: | Koha | Reporter: | paxed <pasi.kallinen> |
Component: | I18N/L10N | Assignee: | paxed <pasi.kallinen> |
Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
Severity: | normal | ||
Priority: | P5 - low | CC: | bgkriegel, f.demians, gmcharlt |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Attachments: |
Allow translating the patron card element title texts
[SIGNED-OFF] Bug 11365: Label card element title texts cannot be translated Bug 11365: Label card element title texts cannot be translated |
Description
paxed
2013-12-10 10:08:57 UTC
This also applies to the table that lists the available Layouts - the table column headers cannot be translated, and those texts come from the same place. Created attachment 27960 [details] [review] Allow translating the patron card element title texts To test: 1) cd misc/translator 2) perl translate update xx-YY 3) check that there's no msgid that contains the patron card label element title texts in po/xx-YY-i-staff-t-prog-v-3006000.po 4) apply patch 5) perl translate update xx-YY 6) check po/xx-YY-i-staff-t-prog-v-3006000.po that it contains the msgid. (search for "BLOCK translate_card_element") Created attachment 28300 [details] [review] [SIGNED-OFF] Bug 11365: Label card element title texts cannot be translated To test: 1) cd misc/translator 2) perl translate update xx-YY 3) check that there's no msgid that contains the patron card label element title texts in po/xx-YY-i-staff-t-prog-v-3006000.po 4) apply patch 5) perl translate update xx-YY 6) check po/xx-YY-i-staff-t-prog-v-3006000.po that it contains the msgid. (search for "BLOCK translate_card_element") Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> Work as described. Tested updating po file, translating and installing language, checked on tools page. No errors Created attachment 28397 [details] [review] Bug 11365: Label card element title texts cannot be translated To test: 1) cd misc/translator 2) perl translate update xx-YY 3) check that there's no msgid that contains the patron card label element title texts in po/xx-YY-i-staff-t-prog-v-3006000.po 4) apply patch 5) perl translate update xx-YY 6) check po/xx-YY-i-staff-t-prog-v-3006000.po that it contains the msgid. (search for "BLOCK translate_card_element") Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> Work as described. Tested updating po file, translating and installing language, checked on tools page. No errors Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> Pushed to master and 3.16.x, along with a follow-up that trims leading and trailing whitespace in the text emitted by the translate_card_element so as to not produce multi-line strings that break the JavaScript alerts. Thanks, Pasi! |