1
0
forked from 0ad/0ad
0ad/source/tools/i18n
wraitii 6dc0ffd86f Add a 'debug' catalog & PEP8 the long string file
- Adds a function to generate a 'debug' catalog. This prepends 'X_X '
to strings, to make it obvious in-game which are translated and which
aren't, while still remaining usable.
 - cleans up the code and formats to PEP8 properly (except for line
lengths).

Differential Revision: https://code.wildfiregames.com/D3617
This was SVN commit r24966.
2021-03-01 16:37:33 +00:00
..
extractors Treat code between [] and {} as one blob for translations. 2020-12-16 21:12:54 +00:00
i18n_helper Add a 'debug' catalog & PEP8 the long string file 2021-03-01 16:37:33 +00:00
tests Update i18n scripts to run on Python3 2020-12-02 10:05:27 +00:00
checkDiff.py Update i18n scripts to run on Python3 2020-12-02 10:05:27 +00:00
checkTranslationsForSpam.py Update i18n scripts to run on Python3 2020-12-02 10:05:27 +00:00
creditTranslators.py Update credits again. I failed to notice not all languages were included. 2021-02-14 14:00:30 +00:00
generateDebugTranslation.py Add a 'debug' catalog & PEP8 the long string file 2021-03-01 16:37:33 +00:00
maintenanceTasks.sh Update i18n scripts to run on Python3 2020-12-02 10:05:27 +00:00
pullTranslations.py Update i18n scripts to run on Python3 2020-12-02 10:05:27 +00:00
README.md Update i18n scripts to run on Python3 2020-12-02 10:05:27 +00:00
requirements.txt Update i18n scripts to run on Python3 2020-12-02 10:05:27 +00:00
updateTemplates.py Update i18n scripts to run on Python3 2020-12-02 10:05:27 +00:00

i18n helper

This is a collection of scripts to automate 0 A.D.'s i18n process.

See maintenanceTasks.sh for the full process.

Run tests

pip3 install pytest
python3 -m pytest