diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-04-11 18:48:04 +0300 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-05-05 04:46:04 +0300 |
commit | 7e923d47ba9891856b86bc9f718cf2f1f773bdf6 (patch) | |
tree | e4636c6b5209ed93b240dc1c23c58745f33fd1e8 /src/ui_interface.cpp | |
parent | 917ca93553917251e0fd59717a347c63cdfd8a14 (diff) |
Make InitError bilingual
Diffstat (limited to 'src/ui_interface.cpp')
-rw-r--r-- | src/ui_interface.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ui_interface.cpp b/src/ui_interface.cpp index ec8c969fc5..9cfde9502d 100644 --- a/src/ui_interface.cpp +++ b/src/ui_interface.cpp @@ -53,10 +53,9 @@ void CClientUIInterface::NotifyBlockTip(bool b, const CBlockIndex* i) { return g void CClientUIInterface::NotifyHeaderTip(bool b, const CBlockIndex* i) { return g_ui_signals.NotifyHeaderTip(b, i); } void CClientUIInterface::BannedListChanged() { return g_ui_signals.BannedListChanged(); } - -bool InitError(const std::string& str) +bool InitError(const bilingual_str& str) { - uiInterface.ThreadSafeMessageBox(Untranslated(str), "", CClientUIInterface::MSG_ERROR); + uiInterface.ThreadSafeMessageBox(str, "", CClientUIInterface::MSG_ERROR); return false; } |