Dunedan
57308bb847
This refactors the script for cleaning the translations to get the same result by doing less. This is achieved by the following changes: - Use glob-patterns for finding the files to clean more efficiently, without the need to exclude collected files again. - Only write files which are supposed to be modified (previously all portable object files did get rewritten by this script, no matter if it did change something or not). - Stop searching for sections in files to clean up, once they are already passed. |
||
---|---|---|
.. | ||
i18n_helper | ||
tests | ||
check_diff.py | ||
check_translations.py | ||
clean_translation_files.py | ||
credit_translators.py | ||
generate_debug_translation.py | ||
get-nightly-translations.sh | ||
pull_translations.py | ||
README.md | ||
requirements.txt | ||
update_templates.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