Skip to content

Commit

Permalink
scripts: move update-translations.py to maintainer-tools repo
Browse files Browse the repository at this point in the history
  • Loading branch information
fanquake committed Aug 20, 2019
1 parent 33b1343 commit 3ded2d6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 229 deletions.
12 changes: 0 additions & 12 deletions contrib/devtools/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,18 +120,6 @@ If there are 'unsupported' symbols, the return value will be 1 a list like this
.../64/test_bitcoin: symbol std::out_of_range::~out_of_range() from unsupported version GLIBCXX_3.4.15
.../64/test_bitcoin: symbol _ZNSt8__detail15_List_nod from unsupported version GLIBCXX_3.4.15

update-translations.py
======================

Run this script from the root of the repository to update all translations from transifex.
It will do the following automatically:

- fetch all translations
- post-process them into valid and committable format
- add missing translations to the build system (TODO)

See doc/translation-process.md for more information.

circular-dependencies.py
========================

Expand Down
215 changes: 0 additions & 215 deletions contrib/devtools/update-translations.py

This file was deleted.

4 changes: 2 additions & 2 deletions doc/translation_process.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ username = USERNAME
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.

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

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

0 comments on commit 3ded2d6

Please sign in to comment.