HomePhabricator

[backport#16224 3/5] Make InitError bilingual

Description

[backport#16224 3/5] Make InitError 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 3 of 5
Commit: https://github.com/bitcoin/bitcoin/pull/16224/commits/7e923d47ba9891856b86bc9f718cf2f1f773bdf6

Depends on D7986

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/D7997

Details

Provenance
Hennadii Stepanov <32963518+hebasto@users.noreply.github.com>Authored on Oct 20 2020, 15:44
PiRKCommitted on Oct 20 2020, 15:45
abc-botPushed on Oct 20 2020, 15:50
Reviewer
Restricted Owners Package
Differential Revision
D7997: [backport#16224 3/5] Make InitError bilingual
Parents
rABC5ab783b9812e: tests: Add fuzzing harness for strprintf(…)
Branches
Unknown
Tags
Unknown