No more need for I18N_NOOP string juggling

GIT_SILENT
parent ff5679aa
...@@ -35,8 +35,6 @@ ...@@ -35,8 +35,6 @@
#include "highscores.h" #include "highscores.h"
#include "mainwindow.h" #include "mainwindow.h"
static const char description[] = I18N_NOOP("KDE Reversi Board Game");
int main(int argc, char **argv) int main(int argc, char **argv)
{ {
// Fixes blurry icons with fractional scaling // Fixes blurry icons with fractional scaling
...@@ -49,7 +47,9 @@ int main(int argc, char **argv) ...@@ -49,7 +47,9 @@ int main(int argc, char **argv)
KLocalizedString::setApplicationDomain("kreversi"); KLocalizedString::setApplicationDomain("kreversi");
KAboutData aboutData(QStringLiteral("kreversi"), i18n("KReversi"), KAboutData aboutData(QStringLiteral("kreversi"), i18n("KReversi"),
QStringLiteral("2.1"), i18n(description), KAboutLicense::GPL, QStringLiteral("2.1"),
i18n("KDE Reversi Board Game"),
KAboutLicense::GPL,
i18n("(c) 1997-2000, Mario Weilguni\n(c) 2004-2006, Inge Wallin\n(c) 2006, Dmitry Suzdalev"), i18n("(c) 1997-2000, Mario Weilguni\n(c) 2004-2006, Inge Wallin\n(c) 2006, Dmitry Suzdalev"),
QString(), i18n("https://kde.org/applications/games/org.kde.kreversi")); QString(), i18n("https://kde.org/applications/games/org.kde.kreversi"));
aboutData.addAuthor(i18n("Mario Weilguni"), i18n("Original author"), QStringLiteral("mweilguni@sime.com")); aboutData.addAuthor(i18n("Mario Weilguni"), i18n("Original author"), QStringLiteral("mweilguni@sime.com"));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment