Commit 738da689 authored by Yuri Chornoivan's avatar Yuri Chornoivan
Browse files

Make the new KCMs with QtQuick translatable

Differential Revision: https://phabricator.kde.org/D12982
parent 8f7a827f
......@@ -81,7 +81,7 @@ IconModule::IconModule(QObject *parent, const QVariantList &args)
// to be able to access its enums
qmlRegisterUncreatableType<KIconLoader>("org.kde.private.kcms.icons", 1, 0, "KIconLoader", QString());
KAboutData* about = new KAboutData(QStringLiteral("kcm_icons"), i18n("Icons"), QStringLiteral("1.0"),
KAboutData* about = new KAboutData(QStringLiteral("kcm5_icons"), i18n("Icons"), QStringLiteral("1.0"),
i18n("Icons Control Panel Module"), KAboutLicense::GPL,
i18n("(c) 2000-2003 Geert Jansen"));
about->addAuthor(i18n("Geert Jansen"), QString(), QStringLiteral("jansen@kde.org"));
......
# KI18N Translation Domain for this library.
add_definitions(-DTRANSLATION_DOMAIN=\"kcmlaunchfeedback\")
add_definitions(-DTRANSLATION_DOMAIN=\"kcm_launchfeedback\")
########### next target ###############
......
#! /usr/bin/env bash
$XGETTEXT `find . -name \*.cpp -o -name \*.qml` -o $podir/kcmlaunchfeedback.pot
$XGETTEXT `find . -name \*.cpp -o -name \*.qml` -o $podir/kcm_launchfeedback.pot
......@@ -2,7 +2,7 @@ include(ECMQMLModules)
ecm_find_qmlmodule(org.kde.plasma.core 2.0)
# KI18N Translation Domain for this library.
add_definitions(-DTRANSLATION_DOMAIN=\"kcmtranslations\")
add_definitions(-DTRANSLATION_DOMAIN=\"kcm_translations\")
########### next target ###############
......
#! /usr/bin/env bash
$XGETTEXT `find . -name \*.cpp -o -name \*.qml` -o $podir/kcmtranslations.pot
$XGETTEXT `find . -name \*.cpp -o -name \*.qml` -o $podir/kcm_translations.pot
# KI18N Translation Domain for this library
add_definitions(-DTRANSLATION_DOMAIN=\"kcm5_workspace\")
add_definitions(-DTRANSLATION_DOMAIN=\"kcm_workspace\")
########### next target ###############
set(kcm_workspace_SRCS
......
#! /usr/bin/env bash
$XGETTEXT `find . -name "*.cpp" -o -name "*.qml"` -o $podir/kcm5_workspace.pot
$XGETTEXT `find . -name "*.cpp" -o -name "*.qml"` -o $podir/kcm_workspace.pot
Supports Markdown
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