0ad/source/tools/i18n/tests
Dunedan 0bbd2ad7dd
Improve linting of PO files
During the mogration to git e9d1cb6cc7 removed the
`lint-translations.sh` script which was used together with
`check_translations.py` to lint POT- and PO-files. By doing so it
removed a valuable option to find problems in translations.

This commit undos that by merging the functionality of the removed
`lint-translations.sh` and `check_translations.py` into the latter
one. The new logic is easier to maintain, produces less false-positives
and has some unit test coverage.
2024-10-17 19:23:50 +02:00
..
__init__.py Enable additional ruff rules 2024-08-25 06:29:39 +02:00
test_check_diff.py Specify the Python target version in ruff.toml 2024-09-21 20:54:24 +02:00
test_check_translations.py Improve linting of PO files 2024-10-17 19:23:50 +02:00