Commit 9ca540b6 authored by Albert Astals Cid's avatar Albert Astals Cid

Backport setting KAboutData from master

New strings acked by kde-i18n-doc
parent a7ba8a72
......@@ -17,18 +17,20 @@
*************************************************************************************/
#include <QApplication>
#include <KAboutData>
#include "kalgebra.h"
#include <klocalizedstring.h>
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
app.setApplicationName(QStringLiteral("kalgebra"));
app.setOrganizationDomain(QStringLiteral("kde.org"));
app.setApplicationDisplayName(i18n("KAlgebra"));
app.setApplicationVersion(QStringLiteral("0.99"));
KLocalizedString::setApplicationDomain("kalgebra");
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);
KLocalizedString::setApplicationDomain("kalgebra");
KAlgebra widget;
widget.show();
......
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