1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-15 00:30:33 +03:00

pre-commit: Run scripts/find_localised_strings.py

This will report on any missing LANG comments at commit time. NB: set to
run on all files in case of L10n/en.template changes.
This commit is contained in:
Athanasius 2021-06-07 16:37:53 +01:00
parent 631446f619
commit 9e8bd1926b

View File

@ -66,6 +66,15 @@ repos:
args: [check, --bare, -r]
language: system
# Check translation comments are up to date
- repo: local
hooks:
- id: LANG_comments
name: 'LANG comments'
language: system
entry: python scripts/find_localised_strings.py --compare-lang L10n/en.template --directory . --ignore coriolis-data --ignore dist.win32
pass_filenames: false
default_language_version:
python: python3.9