Git commit d9c1306ab69fca50702d332127150602a3b4e819 by Pino Toscano. Committed on 23/09/2018 at 08:06. Pushed by pino into branch 'master'. i18n: set the application domain use the same 'peruse' domain for both peruse itself, and perusecreator, as the amount of messages is not that high to justify splitting (and there are common parts, which could potentially have messages in the future) M +2 -0 src/app/main.cpp M +2 -0 src/creator/main.cpp https://commits.kde.org/peruse/d9c1306ab69fca50702d332127150602a3b4e819 diff --git a/src/app/main.cpp b/src/app/main.cpp index 5e38fa1..cf0ca15 100644 --- a/src/app/main.cpp +++ b/src/app/main.cpp @@ -37,6 +37,8 @@ int main(int argc, char** argv) app.setApplicationDisplayName("Peruse"); app.setOrganizationDomain("kde.org"); = + KLocalizedString::setApplicationDomain("peruse"); + QCommandLineParser parser; parser.addOption(QCommandLineOption(QStringLiteral("clear-db"), i18n("= Clear the metainfo cache and perform a full rescan."))); // TODO file option for opening comics by passing them through on the = command line diff --git a/src/creator/main.cpp b/src/creator/main.cpp index 6468e71..7af926d 100644 --- a/src/creator/main.cpp +++ b/src/creator/main.cpp @@ -33,6 +33,8 @@ int main(int argc, char** argv) QApplication app(argc, argv); app.setApplicationDisplayName("Peruse Creator"); = + KLocalizedString::setApplicationDomain("peruse"); + QCommandLineParser parser; // TODO file option for opening comics by passing them through on the = command line parser.addHelpOption();