Commit f7f18db3 authored by Yoann Laissus's avatar Yoann Laissus

Set application translation domain in kdf and kwikdisk.

parent 268a9fb6
......@@ -28,6 +28,7 @@
#include <kstandardshortcut.h>
#include <kstandardaction.h>
#include <kactioncollection.h>
#include <klocalizedstring.h>
#include <QApplication>
#include <QCommandLineParser>
......@@ -69,6 +70,8 @@ int main(int argc, char **argv)
{
QApplication app(argc, argv);
KLocalizedString::setApplicationDomain("kdf");
KAboutData aboutData(QStringLiteral("kdf"),
i18n("KDiskFree"),
QStringLiteral(KDF_VERSION_STRING),
......
......@@ -41,6 +41,7 @@
#include <ktoolinvocation.h>
#include <kshell.h>
#include <kstatusnotifieritem.h>
#include <klocalizedstring.h>
#include <QApplication>
#include <QCommandLineParser>
......@@ -318,6 +319,9 @@ void KwikDisk::invokeHelp()
int main(int argc, char **argv)
{
QApplication app(argc, argv);
KLocalizedString::setApplicationDomain("kdf");
KAboutData aboutData(QStringLiteral("kwikdisk"),
i18n("KwikDisk"),
QStringLiteral(KDF_VERSION_STRING),
......
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