validate_po.py: Report on progress
This commit is contained in:
parent
40b96c1348
commit
32e1532b46
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue