wraitii
6dc0ffd86f
- 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. |
||
---|---|---|
.. | ||
extractors | ||
i18n_helper | ||
tests | ||
checkDiff.py | ||
checkTranslationsForSpam.py | ||
creditTranslators.py | ||
generateDebugTranslation.py | ||
maintenanceTasks.sh | ||
pullTranslations.py | ||
README.md | ||
requirements.txt | ||
updateTemplates.py |
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