Update code with PACKAGE_NAME and COPYRIGHT_HOLDERS

This commit is contained in:
lateminer
2018-10-13 13:49:46 +03:00
parent 4184fc7707
commit b35f06eda3
33 changed files with 142 additions and 70 deletions

View File

@@ -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,11 +42,14 @@ 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 copyrightTextBitcoin = QChar(0xA9)+QString(" 2014-%1 ").arg(COPYRIGHT_YEAR) + QString("The Bitcoin Core developers");
QString copyrightTextBlackcoin = QChar(0xA9)+QString(" 2014-2018 ") + QString("The Blackcoin developers");
QString copyrightTextBlackmore = QChar(0xA9)+QString(" 2018-%1 ").arg(COPYRIGHT_YEAR) + QString("The Blackcoin More developers");
QString copyrightTextBitcoin = QChar(0xA9)+QString(" %1-%2 ").arg(2009).arg(COPYRIGHT_YEAR) + QString("The Bitcoin Core developers");
QString copyrightTextBlackcoin = QChar(0xA9)+QString(" %1-%2 ").arg(2014).arg(2018) + QString("The Blackcoin developers");
QString copyrightTextBlackmore = QChar(0xA9)+QString(" %1-%2 ").arg(2018).arg(COPYRIGHT_YEAR) + QString("The Blackcoin More developers");
// QString copyrightText = QChar(0xA9)+QString(" %1-%2 ").arg(2009).arg(COPYRIGHT_YEAR) + QString::fromStdString(CopyrightHolders());
QString titleAddText = networkStyle->getTitleAddText();
QString font = QApplication::font().toString();