Skip to content

Commit a16378e

Browse files
laanwjjonatack
authored andcommitted
doc: Remove unnecessary steps from translations update process
These have been integrated into the script long ago.
1 parent 2584929 commit a16378e

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

doc/translation_process.md

+4-9
Original file line numberDiff line numberDiff line change
@@ -63,17 +63,12 @@ username = USERNAME
6363
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.
6464

6565
### Synchronising translations
66-
To assist in updating translations, a helper script is available in the [maintainer-tools repo](https://github.com/bitcoin-core/bitcoin-maintainer-tools).
6766

68-
1. `python3 ../bitcoin-maintainer-tools/update-translations.py`
69-
2. `git add` new translations from `src/qt/locale/`
70-
3. Update `src/qt/bitcoin_locale.qrc` manually or via
71-
```bash
72-
git ls-files src/qt/locale/*ts|xargs -n1 basename|sed 's/\(bitcoin_\(.*\)\).ts/ <file alias="\2">locale\/\1.qm<\/file>/'
67+
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:
68+
7369
```
74-
4. Update `src/Makefile.qt_locale.include` manually or via
75-
```bash
76-
git ls-files src/qt/locale/*ts|xargs -n1 basename|sed 's/\(bitcoin_\(.*\)\).ts/ qt\/locale\/\1.ts \\/'
70+
python3 ../bitcoin-maintainer-tools/update-translations.py
71+
git commit -a
7772
```
7873

7974
**Do not directly download translations** one by one from the Transifex website, as we do a few post-processing steps before committing the translations.

0 commit comments

Comments
 (0)