We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d4eae6 commit aee2c86Copy full SHA for aee2c86
1 file changed
manage_translation.py
@@ -30,7 +30,9 @@ def fetch():
30
sys.stderr.write("The Transifex client app is required (pip install transifex-client).\n")
31
exit(1)
32
lang = LANGUAGE
33
- call(f'tx pull -l {lang} --minimum-perc=1 --use-git-timestamps', shell=True)
+ pull_returncode = call(f'tx pull -l {lang} --minimum-perc=1 --use-git-timestamps', shell=True)
34
+ if pull_returncode != 0:
35
+ exit(pull_returncode)
36
for root, _, po_files in os.walk('.'):
37
for po_file in po_files:
38
if not po_file.endswith(".po"):
0 commit comments