Skip to content

Commit f236854

Browse files
committed
Merge bitcoin#31731: doc: update translation generation cmake example
758a93d doc: update translation generation cmake example (Lőrinc) Pull request description: While investigating bitcoin#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: ACK 758a93d. Tree-SHA512: f5bef99bff090f53dae04018f17e60655698fea23084f6a3d38affd830ca041d5c56466633206b63ae01e85c55b784d003e323b2de7c59028b595d4e8f50783c
2 parents eb51963 + 758a93d commit f236854

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/translation_process.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ We use automated scripts to help extract translations in both Qt, and non-Qt sou
1818

1919
To automatically regenerate the `bitcoin_en.ts` file, run the following commands:
2020
```sh
21-
cmake -B build --preset dev-mode -DWITH_BDB=ON -DBUILD_GUI=ON
22-
cmake --build build --target translate
21+
cmake --preset dev-mode -DWITH_USDT=OFF
22+
cmake --build build_dev_mode --target translate
2323
```
2424

2525
**Example Qt translation**

0 commit comments

Comments
 (0)