diff options
author | Luke Dashjr <luke-jr+git@utopios.org> | 2015-12-09 10:53:12 +0000 |
---|---|---|
committer | Luke Dashjr <luke-jr+git@utopios.org> | 2015-12-14 02:11:10 +0000 |
commit | d5f46832de900cee0801ca40bba743c9564cccb8 (patch) | |
tree | 6cf53662ecd4e95a8803e7e51d6fe59f3e321708 /src/timedata.cpp | |
parent | 348b281f8a672e02c066b452793f22231010fac1 (diff) |
Unify package name to as few places as possible without major changes
Diffstat (limited to 'src/timedata.cpp')
-rw-r--r-- | src/timedata.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/timedata.cpp b/src/timedata.cpp index 861c375989..2eaa9e4c81 100644 --- a/src/timedata.cpp +++ b/src/timedata.cpp @@ -2,6 +2,10 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. +#if defined(HAVE_CONFIG_H) +#include "config/bitcoin-config.h" +#endif + #include "timedata.h" #include "netbase.h" @@ -99,7 +103,7 @@ void AddTimeData(const CNetAddr& ip, int64_t nOffsetSample) if (!fMatch) { fDone = true; - string strMessage = _("Please check that your computer's date and time are correct! If your clock is wrong Bitcoin Core will not work properly."); + string 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)); strMiscWarning = strMessage; uiInterface.ThreadSafeMessageBox(strMessage, "", CClientUIInterface::MSG_WARNING); } |