Skip to content

Commit 4dad098

Browse files
committed
Use new Transifex CLI
The old Transifex Command-Line Tool is considered deprecated (as of January 2022) and will sunset on Nov 30, 2022. See: transifex/transifex-client#340
1 parent 112deab commit 4dad098

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@ It will do the following automatically:
8282
- Post-process them into valid and committable format
8383
- Add missing translations to the build system (TODO)
8484

85+
To be able to pull translation files from the Transifex website, it needs
86+
the [Transifex CLI](https://github.com/transifex/cli).
87+
8588
clang-format
8689
------------
8790

update-translations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def remove_current_translations():
6262
os.remove(name + ORIGINAL_SUFFIX)
6363

6464
def fetch_all_translations():
65-
if subprocess.call([TX, 'pull', '-f', '-a']):
65+
if subprocess.call([TX, 'pull', '--translations', '--force', '--all']):
6666
print('Error while fetching translations', file=sys.stderr)
6767
sys.exit(1)
6868

0 commit comments

Comments
 (0)