diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2021-10-22 23:43:28 +0300 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2021-10-22 23:50:20 +0300 |
commit | bdbefdcd5cce6d95896d7fcd25df49bfe2984af5 (patch) | |
tree | eaaa85ffac44bfc088875f47499b4fdf9a465041 /src/fs.h | |
parent | 224e90d9fdf895d3ee212edcf7dec3eb4d94ce91 (diff) | |
parent | 58765a450c40152db8160bca8a6b0f5b754c5858 (diff) |
Merge bitcoin-core/gui#454: Use only Qt translation primitives in GUI code
58765a450c40152db8160bca8a6b0f5b754c5858 qt: Use only Qt translation primitives in GUI code (W. J. van der Laan)
Pull request description:
Use `Object::tr`, `QT_TRANSLATE_NOOP`, and `QCoreApplication::translate` as appropriate instead of using `_()` which doesn't get picked up.
Replaces bitcoin/bitcoin#22764
Edit: I checked that the strings end up in the appropriate context in `bitcoin_en.ts` after `make translate`:
- "Settings file could not be read" "Settings file could not be written" end up in `bitcoin-core`
- "(press q to shutdown and continue later)" and "press q to shutdown" end up in `SplashScreen`
ACKs for top commit:
hebasto:
ACK 58765a450c40152db8160bca8a6b0f5b754c5858
Tree-SHA512: d0cc5901426c47d411d0fe75aac195b9684b51385f74c161da772dbf9f0977f7ad7a0976e17366f49b40718e9b6eb87c3e93306dc845f97adddbc47d00731742
Diffstat (limited to 'src/fs.h')
0 files changed, 0 insertions, 0 deletions