LP1978567: Teach fieldmapper.py about field groups Because the "group" tag in IDL field_groups was never added to this file that helps with translations, Simple Reporter field groups all have the same name when built for release. Signed-off-by: Jason Boyer <JBoyer@equinoxOLI.org> Signed-off-by: Mike Rylander <mrylander@gmail.com>
LP#1922975: install python3 dependencies, rather than python2 Also specifies python3 in the shebang lines of python scripts, and improves the documentation for translators about installing these dependencies. Signed-off-by: Jane Sandberg <sandbergja@gmail.com> Signed-off-by: Bill Erickson <berickxx@gmail.com>
LP#1922975: update i18n scripts for Python 3 Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca> Signed-off-by: Jane Sandberg <sandbergja@gmail.com> Signed-off-by: Bill Erickson <berickxx@gmail.com>
Escape content when generating DTD for fieldmapper Noticed by Thomas Berezansky, if a translation in a PO or POT file contains an unescaped left angle bracket, a DTD will be generated that contains the unescaped left angle bracket - and that isn't valid. Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Once again into the breach git-svn-id: svn://svn.open-ils.org/ILS/trunk@15062 dcc99617-32d9-48b4-a31d-7c20da2025e4
Make i18n scripts stricter about UTF-8 input/output handling. Also, be strict about the JSON format of strings in Dojo resource bundles. git-svn-id: svn://svn.open-ils.org/ILS/trunk@13751 dcc99617-32d9-48b4-a31d-7c20da2025e4
More codecs conversion for i18n scripts git-svn-id: svn://svn.open-ils.org/ILS/trunk@13550 dcc99617-32d9-48b4-a31d-7c20da2025e4
Handle link elements with reporter labels git-svn-id: svn://svn.open-ils.org/ILS/trunk@11065 dcc99617-32d9-48b4-a31d-7c20da2025e4
Escape CDATA before adding it to our entityized XML file (fixes a bug with <> in oils_persist:source_definition for iatc) git-svn-id: svn://svn.open-ils.org/ILS/trunk@10570 dcc99617-32d9-48b4-a31d-7c20da2025e4
Update to correspond with polib 0.30.1: * occurences->occurrences * different handling of header newline characters Remove some inherited methods that add no new behaviour. git-svn-id: svn://svn.open-ils.org/ILS/trunk@8219 dcc99617-32d9-48b4-a31d-7c20da2025e4
Test suite for fieldmapper IDL i18n (and a fix - yay, tests). git-svn-id: svn://svn.open-ils.org/ILS/trunk@8187 dcc99617-32d9-48b4-a31d-7c20da2025e4
Split out localization base class into basel10n.py Add a class to support localization of fm_IDL.xml Generate a POT file for the fieldmapper IDL Clean up db-seed-i18n.py (thanks to pylint the pedantic) git-svn-id: svn://svn.open-ils.org/ILS/trunk@8168 dcc99617-32d9-48b4-a31d-7c20da2025e4