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:
    ACK 758a93d621.

Tree-SHA512: f5bef99bff090f53dae04018f17e60655698fea23084f6a3d38affd830ca041d5c56466633206b63ae01e85c55b784d003e323b2de7c59028b595d4e8f50783c
This commit is contained in:
merge-script 2025-02-20 12:18:34 -05:00
commit f236854a5b
No known key found for this signature in database
GPG key ID: 2EEB9F5CC09526C1

View file

@ -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: To automatically regenerate the `bitcoin_en.ts` file, run the following commands:
```sh ```sh
cmake -B build --preset dev-mode -DWITH_BDB=ON -DBUILD_GUI=ON cmake --preset dev-mode -DWITH_USDT=OFF
cmake --build build --target translate cmake --build build_dev_mode --target translate
``` ```
**Example Qt translation** **Example Qt translation**