aboutsummaryrefslogtreecommitdiff
path: root/src/timedata.cpp
diff options
context:
space:
mode:
authorLuke Dashjr <[email protected]>2016-02-27 06:11:04 +0000
committerLuke Dashjr <[email protected]>2016-02-27 06:11:37 +0000
commite5daa2e2aef61f0b9441d19f0b67015f426c6056 (patch)
tree90a095dcd23c8a74cb605f55e224a902cba75a06 /src/timedata.cpp
parentBugfix: gitian: Add curl to packages (now needed for depends) (diff)
parentMerge #7583: [doc] Fix typos (diff)
downloaddiscoin-e5daa2e2aef61f0b9441d19f0b67015f426c6056.tar.xz
discoin-e5daa2e2aef61f0b9441d19f0b67015f426c6056.zip
Merge branch 'master' into depends_curl
Diffstat (limited to 'src/timedata.cpp')
-rw-r--r--src/timedata.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/timedata.cpp b/src/timedata.cpp
index 861c37598..4d2f8d1e3 100644
--- a/src/timedata.cpp
+++ b/src/timedata.cpp
@@ -1,7 +1,11 @@
-// Copyright (c) 2014 The Bitcoin Core developers
+// Copyright (c) 2014-2015 The Bitcoin Core developers
// 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);
}