mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-12 18:44:59 +01:00
Merge bitcoin/bitcoin#31731: doc: update translation generation cmake example
758a93d621
doc: update translation generation cmake example (Lőrinc) Pull request description: While investigating https://github.com/bitcoin/bitcoin/pull/31730 I noticed that * the `dev-mode` preset already contained [`-DWITH_BDB=ON`](https://github.com/bitcoin/bitcoin/blob/master/CMakePresets.json#L83) and [`-DBUILD_GUI=ON`](https://github.com/bitcoin/bitcoin/blob/master/CMakePresets.json#L70); * the preset already contained a [default binary dir](https://github.com/bitcoin/bitcoin/blob/master/CMakePresets.json#L64) which we could use; * the command only runs on my Mac if we disable `USDT`, and `MULTIPROCESS` and on Linux also without `MULTIPROCESS`. ACKs for top commit: hebasto: ACK758a93d621
. Tree-SHA512: f5bef99bff090f53dae04018f17e60655698fea23084f6a3d38affd830ca041d5c56466633206b63ae01e85c55b784d003e323b2de7c59028b595d4e8f50783c
This commit is contained in:
commit
f236854a5b
1 changed files with 2 additions and 2 deletions
|
@ -18,8 +18,8 @@ We use automated scripts to help extract translations in both Qt, and non-Qt sou
|
|||
|
||||
To automatically regenerate the `bitcoin_en.ts` file, run the following commands:
|
||||
```sh
|
||||
cmake -B build --preset dev-mode -DWITH_BDB=ON -DBUILD_GUI=ON
|
||||
cmake --build build --target translate
|
||||
cmake --preset dev-mode -DWITH_USDT=OFF
|
||||
cmake --build build_dev_mode --target translate
|
||||
```
|
||||
|
||||
**Example Qt translation**
|
||||
|
|
Loading…
Add table
Reference in a new issue