diff options
| author | Luke Dashjr <[email protected]> | 2015-12-09 10:53:12 +0000 |
|---|---|---|
| committer | Luke Dashjr <[email protected]> | 2015-12-14 02:11:10 +0000 |
| commit | d5f46832de900cee0801ca40bba743c9564cccb8 (patch) | |
| tree | 6cf53662ecd4e95a8803e7e51d6fe59f3e321708 /src/qt/splashscreen.cpp | |
| parent | Merge pull request #7092 (diff) | |
| download | discoin-d5f46832de900cee0801ca40bba743c9564cccb8.tar.xz discoin-d5f46832de900cee0801ca40bba743c9564cccb8.zip | |
Unify package name to as few places as possible without major changes
Diffstat (limited to 'src/qt/splashscreen.cpp')
| -rw-r--r-- | src/qt/splashscreen.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/qt/splashscreen.cpp b/src/qt/splashscreen.cpp index c15b64c32..339b68442 100644 --- a/src/qt/splashscreen.cpp +++ b/src/qt/splashscreen.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 "splashscreen.h" #include "networkstyle.h" @@ -38,9 +42,9 @@ SplashScreen::SplashScreen(Qt::WindowFlags f, const NetworkStyle *networkStyle) #endif // define text to place - QString titleText = tr("Bitcoin Core"); + QString titleText = tr(PACKAGE_NAME); QString versionText = QString("Version %1").arg(QString::fromStdString(FormatFullVersion())); - QString copyrightText = QChar(0xA9)+QString(" 2009-%1 ").arg(COPYRIGHT_YEAR) + QString(tr("The Bitcoin Core developers")); + QString copyrightText = QChar(0xA9)+QString(" 2009-%1 ").arg(COPYRIGHT_YEAR) + QString(tr("The %1 developers").arg(tr(PACKAGE_NAME))); QString titleAddText = networkStyle->getTitleAddText(); QString font = QApplication::font().toString(); |