summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleix Pol <[email protected]>2018-10-11 19:37:33 +0200
committerAleix Pol <[email protected]>2018-10-11 19:37:33 +0200
commit8bcf320295473fe03f852c9d03e57ff4beceb619 (patch)
tree23fa70faf78ba322d17fbe935d75dc9a3d90d96c
parent34582da543d66700abe196b75097b8c28f2ed6ec (diff)
Allow translators to appear on the About dialog
-rw-r--r--discover/main.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/discover/main.cpp b/discover/main.cpp
index aae6274..ba4b772 100644
--- a/discover/main.cpp
+++ b/discover/main.cpp
@@ -98,6 +98,11 @@ int main(int argc, char** argv)
about.addAuthor(i18n("Aleix Pol Gonzalez"), QString(), QStringLiteral("[email protected]"));
about.addAuthor(i18n("Jonathan Thomas"), QString(), QStringLiteral("[email protected]"));
about.setProductName("discover/discover");
+
+ about.setTranslator(
+ i18ndc(nullptr, "NAME OF TRANSLATORS", "Your names"),
+ i18ndc(nullptr, "EMAIL OF TRANSLATORS", "Your emails"));
+
KAboutData::setApplicationData(about);
DiscoverObject *mainWindow = nullptr;