diff options
| author | MarcoFalke <[email protected]> | 2019-06-26 10:28:13 -0400 |
|---|---|---|
| committer | fanquake <[email protected]> | 2019-09-24 07:53:28 +0800 |
| commit | 87908e9c98f2bc6975d70d8f427a9be965effc3b (patch) | |
| tree | 754a3d528171431446d26202252dc2387fccd934 /src/qt/splashscreen.cpp | |
| parent | build: Stop translating PACKAGE_NAME (diff) | |
| download | discoin-87908e9c98f2bc6975d70d8f427a9be965effc3b.tar.xz discoin-87908e9c98f2bc6975d70d8f427a9be965effc3b.zip | |
scripted-diff: Avoid passing PACKAGE_NAME for translation
-BEGIN VERIFY SCRIPT-
sed -i --regexp-extended -e 's/\<\w+(::\w+)?\(PACKAGE_NAME\)/PACKAGE_NAME/g' $(git grep -l --extended-regexp '\<\w+(::\w+)?\(PACKAGE_NAME\)' src)
-END VERIFY SCRIPT-
Github-Pull: #16291
Rebased-From: fabe87d2c923ab3a70b8cde2666a4d1cda8b22fb
Diffstat (limited to 'src/qt/splashscreen.cpp')
| -rw-r--r-- | src/qt/splashscreen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/splashscreen.cpp b/src/qt/splashscreen.cpp index 61696ace1..98eeee1a4 100644 --- a/src/qt/splashscreen.cpp +++ b/src/qt/splashscreen.cpp @@ -39,7 +39,7 @@ SplashScreen::SplashScreen(interfaces::Node& node, Qt::WindowFlags f, const Netw devicePixelRatio = static_cast<QGuiApplication*>(QCoreApplication::instance())->devicePixelRatio(); // define text to place - QString titleText = tr(PACKAGE_NAME); + QString titleText = PACKAGE_NAME; QString versionText = QString("Version %1").arg(QString::fromStdString(FormatFullVersion())); QString copyrightText = QString::fromUtf8(CopyrightHolders(strprintf("\xc2\xA9 %u-%u ", 2009, COPYRIGHT_YEAR)).c_str()); QString titleAddText = networkStyle->getTitleAddText(); |