Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 18-Oct-2019 | - | ||||
README | H A D | 18-Oct-2019 | 580 | 27 | 16 | |
layoutparse.cxx | H A D | 18-Oct-2019 | 4.3 KiB | 132 | 92 | |
layoutparse.hxx | H A D | 18-Oct-2019 | 1.5 KiB | 48 | 17 | |
loc.sdf | H A D | 18-Oct-2019 | 2.2 KiB | 25 | 24 | |
makefile.mk | H A D | 18-Oct-2019 | 1.8 KiB | 74 | 32 | |
tralay.cxx | H A D | 18-Oct-2019 | 11.8 KiB | 396 | 328 | |
zoom.xml | H A D | 18-Oct-2019 | 2.8 KiB | 61 | 36 |
README
1Tralay - Extract and translate strings in Layout xml files. 2 3Translatable strings in layout xml files are attributes that have name 4which starts with an underscore, eg 5 6 _title="Set Zoom" 7 _label="Whole Page" 8 9Here is how it works 10 11 * Extract: generate out.sdf 12 ../unxlngx6.pro/bin/tralay -l en-US zoom.xml > out.sdf 13 14 * Translate: do: 15 cat out.sdf > trans.sdf 16 sed 's/en-US\t/de\tde:/' out.sdf >> trans.sdf 17 18 * Merge: translate 19 ../unxlngx6.pro/bin/tralay -m trans.sdf -l de zoom.xml > zoom-DE.xml 20 21Running 22 23 dmake test 24 25does something similar. 26 27