Commit 4188514e authored by Nicolas Fella's avatar Nicolas Fella

Set translation domain

parent 9be20382
......@@ -35,6 +35,7 @@
#include <KPublicTransport/Manager>
#include <KPublicTransport/LocationRequest>
#include <KLocalizedContext>
#include <KLocalizedString>
#ifdef Q_OS_ANDROID
Q_DECL_EXPORT
......@@ -56,6 +57,8 @@ int main(int argc, char *argv[])
QGuiApplication::setApplicationDisplayName(QStringLiteral("KTrip"));
QGuiApplication::setDesktopFileName(QStringLiteral("org.kde.ktrip"));
KLocalizedString::setApplicationDomain("ktrip");
QQmlApplicationEngine engine(QUrl(QStringLiteral("qrc:/qml/main.qml")));
engine.rootContext()->setContextObject(new KLocalizedContext(&engine));
......
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