mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-14 00:04:15 +09:00
fix: fixed python script that check the translation. Added missing exit code when error found.
This commit is contained in:
@@ -38,6 +38,7 @@ def main():
|
||||
for i, el in enumerate(en_keys):
|
||||
if el != keys[i]:
|
||||
sys.exit(f"line {i}: en=`{el}`; {name}=`{keys[i]}`\n")
|
||||
exit(1)
|
||||
|
||||
print(f"All fine, found {en_count} lines in {len(languages)} languages.")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user