0ad/source/tools/i18n
wraitii 0e234dbb61 Check translations for spam, broken font tags and sprintf errors.
Supersedes D1674 and D3520.

This still generates some false positives (particularly the
singular-plural check), but in general it will suffice to better check
bundled languages.

Refs #4250

Differential Revision: https://code.wildfiregames.com/D3926
This was SVN commit r25538.
2021-05-24 10:25:19 +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
checkTranslations.py Check translations for spam, broken font tags and sprintf errors. 2021-05-24 10:25:19 +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