Skip to content

Commit 0b46792

Browse files
committed
Merge #142: Use new Transifex CLI
4dad098 Use new Transifex CLI (Hennadii Stepanov) Pull request description: 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 A PR with accompanying changes to `.tx/config`: bitcoin/bitcoin#26321 Top commit has no ACKs. Tree-SHA512: daab5058a9cc8de9df8bdcb92e818c77304b25f8d606b23def6b8afed4cf295af8192734dd80146d9ee0f449b5fae58c683b6695bab3a6531a5964ee28b114a7
2 parents 112deab + 4dad098 commit 0b46792

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)