Tools > Labels home > Manage label Layouts lists the currently available layouts. The word "Layouts" eg. in the "Currently Available Layouts" -text cannot be translated. This also applies to "Templates", "Profiles" and "Batches" - these texts come from patroncards/manage.pl
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!