HomePhabricator

[backport#16224 2/5] Make ThreadSafe{MessageBox|Question} bilingual

Description

[backport#16224 2/5] Make ThreadSafe{MessageBox|Question} bilingual

Summary:

This PR:

  • makes GUI error messages bilingual: user's native language + untranslated (i.e. English)
  • insures that only untranslated messages are written to the debug log file and to stderr (that is not the case on master).

Backport of Core PR16224 - part 2 of 5
https://github.com/bitcoin/bitcoin/pull/16224/commits/917ca93553917251e0fd59717a347c63cdfd8a14

Depends on D7985

Test Plan: ninja && ninja check

Reviewers: O1 Bitcoin ABC, #bitcoin_abc, deadalnix

Reviewed By: O1 Bitcoin ABC, #bitcoin_abc, deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D7986

Details

Provenance
Hennadii Stepanov <32963518+hebasto@users.noreply.github.com>Authored on Apr 11 2020, 15:47
PiRKCommitted on Oct 20 2020, 14:15
PiRKPushed on Oct 20 2020, 14:15
Reviewer
Restricted Owners Package
Differential Revision
D7986: [backport#16224 2/5] Make ThreadSafe{MessageBox|Question} bilingual
Parents
rABC4ca53cf0090b: [backport#16224 1/5]gui: Add detailed text to BitcoinGUI::message
Branches
Unknown
Tags
Unknown