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:
parent
631446f619
commit
9e8bd1926b
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user