aboutsummaryrefslogtreecommitdiff
path: root/src/timedata.cpp
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-04-11 18:47:17 +0300
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-05-05 04:45:59 +0300
commit917ca93553917251e0fd59717a347c63cdfd8a14 (patch)
tree6dd3c84f09109c1da19d1a23e798a32efdafa9a9 /src/timedata.cpp
parent23b9fa2e5ec0425980301d2eebad81e660a5ea39 (diff)
downloadbitcoin-917ca93553917251e0fd59717a347c63cdfd8a14.tar.xz
Make ThreadSafe{MessageBox|Question} bilingual
Diffstat (limited to 'src/timedata.cpp')
-rw-r--r--src/timedata.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/timedata.cpp b/src/timedata.cpp
index 942b3cb919..dd56acf44f 100644
--- a/src/timedata.cpp
+++ b/src/timedata.cpp
@@ -101,8 +101,8 @@ void AddTimeData(const CNetAddr& ip, int64_t nOffsetSample)
if (!fMatch)
{
fDone = true;
- std::string strMessage = strprintf(_("Please check that your computer's date and time are correct! If your clock is wrong, %s will not work properly.").translated, PACKAGE_NAME);
- SetMiscWarning(strMessage);
+ bilingual_str strMessage = strprintf(_("Please check that your computer's date and time are correct! If your clock is wrong, %s will not work properly."), PACKAGE_NAME);
+ SetMiscWarning(strMessage.translated);
uiInterface.ThreadSafeMessageBox(strMessage, "", CClientUIInterface::MSG_WARNING);
}
}