validate_po.py: Report on progress

This commit is contained in:
Sebastian Pipping 2023-08-03 16:48:16 +02:00
parent 40b96c1348
commit 32e1532b46
1 changed files with 1 additions and 0 deletions

View File

@ -37,5 +37,6 @@ locales = os.listdir('safeeyes/config/locale')
for locale in sorted(locales):
path = os.path.join('safeeyes/config/locale', locale, "LC_MESSAGES/safeeyes.po")
if os.path.isfile(path):
print('Validating translation %s...' % path)
success = validate_po(locale, path) and success
sys.exit(0 if success else 1)