diff options
author | Wladimir J. van der Laan <laanwj@protonmail.com> | 2021-03-16 14:14:03 +0100 |
---|---|---|
committer | Jon Atack <jon@atack.com> | 2021-07-03 21:31:29 +0200 |
commit | a16378e501199144b5aecda57d8bfbc014546764 (patch) | |
tree | 01ea3af18c8fdc32afbadab19b724d0af8f5a28c /doc/translation_process.md | |
parent | 258492982386dac174461f641965c8d78fa6f1ce (diff) |
doc: Remove unnecessary steps from translations update process
These have been integrated into the script long ago.
Diffstat (limited to 'doc/translation_process.md')
-rw-r--r-- | doc/translation_process.md | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/doc/translation_process.md b/doc/translation_process.md index f132693264..97a8fbfff2 100644 --- a/doc/translation_process.md +++ b/doc/translation_process.md @@ -63,17 +63,12 @@ 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, a helper script is available in the [maintainer-tools repo](https://github.com/bitcoin-core/bitcoin-maintainer-tools). -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 -git ls-files src/qt/locale/*ts|xargs -n1 basename|sed 's/\(bitcoin_\(.*\)\).ts/ <file alias="\2">locale\/\1.qm<\/file>/' +To assist in updating translations, a helper script is available in the [maintainer-tools repo](https://github.com/bitcoin-core/bitcoin-maintainer-tools). To use it and commit the result, simply do: + ``` -4. Update `src/Makefile.qt_locale.include` manually or via -```bash -git ls-files src/qt/locale/*ts|xargs -n1 basename|sed 's/\(bitcoin_\(.*\)\).ts/ qt\/locale\/\1.ts \\/' +python3 ../bitcoin-maintainer-tools/update-translations.py +git commit -a ``` **Do not directly download translations** one by one from the Transifex website, as we do a few post-processing steps before committing the translations. |