Skip to content

Commit db67101

Browse files
committed
Merge #16665: scripts: move update-translations.py to maintainer-tools repo
3d50fe2 scripts: move update-translations.py to maintainer-tools repo (fanquake) Pull request description: As mentioned in [#16644](bitcoin/bitcoin#16644 (comment)), move the `update-translations.py` script out of the `bitcoin/bitcoin` repo. This script is run infrequently by maintainers, and aside from #16644, doesn't see many changes. If it is going to be changed, it probably shouldn't consume review bandwidth in bitcoin/bitcoin anyways. PR adding the script to the maintainer-tools repo: bitcoin-core/bitcoin-maintainer-tools#31 Could also move some other scripts, such as [`gen-manpages.sh`](https://github.com/bitcoin/bitcoin/blob/master/contrib/devtools/gen-manpages.sh). ACKs for top commit: laanwj: ACK 3d50fe2 Tree-SHA512: b68da68e2df0c1b3275729890a02726af602eb398507f0a03387a313a73e7629a06db57f3472a1dbcf9e11506e88a8f5f725a397a9ce6afef7627188c88d3d48
2 parents 3ca514d + 3d50fe2 commit db67101

File tree

3 files changed

+2
-229
lines changed

3 files changed

+2
-229
lines changed

contrib/devtools/README.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -120,18 +120,6 @@ If there are 'unsupported' symbols, the return value will be 1 a list like this
120120
.../64/test_bitcoin: symbol std::out_of_range::~out_of_range() from unsupported version GLIBCXX_3.4.15
121121
.../64/test_bitcoin: symbol _ZNSt8__detail15_List_nod from unsupported version GLIBCXX_3.4.15
122122

123-
update-translations.py
124-
======================
125-
126-
Run this script from the root of the repository to update all translations from transifex.
127-
It will do the following automatically:
128-
129-
- fetch all translations
130-
- post-process them into valid and committable format
131-
- add missing translations to the build system (TODO)
132-
133-
See doc/translation-process.md for more information.
134-
135123
circular-dependencies.py
136124
========================
137125

contrib/devtools/update-translations.py

Lines changed: 0 additions & 215 deletions
This file was deleted.

doc/translation_process.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ username = USERNAME
6565
The Transifex Bitcoin project config file is included as part of the repo. It can be found at `.tx/config`, however you shouldn’t need to change anything.
6666

6767
### Synchronising translations
68-
To assist in updating translations, we have created a script to help.
68+
To assist in updating translations, a helper script is available in the [maintainer-tools repo](https://github.com/bitcoin-core/bitcoin-maintainer-tools).
6969

70-
1. `python contrib/devtools/update-translations.py`
70+
1. `python3 ../bitcoin-maintainer-tools/update-translations.py`
7171
2. `git add` new translations from `src/qt/locale/`
7272
3. Update `src/qt/bitcoin_locale.qrc` manually or via
7373
```bash

0 commit comments

Comments
 (0)