http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6709
Tomás Cohen Arazi <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #17758|0 |1 is obsolete| | --- Comment #10 from Tomás Cohen Arazi <[email protected]> --- Created attachment 17759 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=17759&action=edit Bug 6709 - marc21_field_006.xml and marc21_field_008.xml can't be translated This patch changes 1) structure and schema for xml files used in MARC21 006 and 008 value builders. 2) JavaScript functions used to show value builders. 3) Adds xml processing to translation script Any translatable string has been moved to an xml element, those strings that no need translation remains as xml attributes. NOTE_1: I do not include as translatable material types codes, because those values are restricted in schema definition. But this restriction can be removed. NOTE_2: Anyone with experience in XML/XSD please check the new schema definition. NOTE_3: Anyone with experience in the former and JavaScript please check xmlControlfield.js To test: 1) Apply the patch 2) Verify that 006 and 008 value builders show and work properly 3) Update translation files for your favorite language, a new set of strings must show up corresponding to names and descriptions on value builders. Signed-off-by: Tomas Cohen Arazi <[email protected]> Signoff notes: Tested both value builders. They work as expected. Running $ perl translate update es-ES resulted in the xml string being added to the relevant .po file (the staff one). No koha-qa.pl errors BTW. To-. -- 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/
