Commit b823636e authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

Make the translators tab in the about dialog appear

These are not new strings

This usually happens automagically by calling KLocalizedString::setApplicationDomain but that only works if
the app uses a KMainWindow (or child  class).

Since in this case it's not, we need to call setTranslator directly
parent ee8a964c
......@@ -28,6 +28,7 @@ int main(int argc, char *argv[])
KAboutData about("kalgebra", "KAlgebra", "0.10", i18n("A portable calculator"),
KAboutLicense::GPL, i18n("(C) 2006-2016 Aleix Pol i Gonzalez"));
about.addAuthor( "Aleix Pol i Gonzalez", QString(), "aleixpol@kde.org" );
about.setTranslator(i18nc("NAME OF TRANSLATORS", "Your names"), i18nc("EMAIL OF TRANSLATORS", "Your emails"));
KAboutData::setApplicationData(about);
QCommandLineParser parser;
......
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