diff --git a/src/plasmaquick/appletquickitem.cpp b/src/plasmaquick/appletquickitem.cpp index f56cbfec1..3d72ff9af 100644 --- a/src/plasmaquick/appletquickitem.cpp +++ b/src/plasmaquick/appletquickitem.cpp @@ -404,7 +404,7 @@ AppletQuickItem::AppletQuickItem(Plasma::Applet *applet, QQuickItem *parent) }); d->qmlObject = new KDeclarative::QmlObject(this); - d->qmlObject->setTranslationDomain(applet->pluginInfo().pluginName()); + d->qmlObject->setTranslationDomain("plasma_applet_" + applet->pluginInfo().pluginName()); d->qmlObject->setInitializationDelayed(true); // set the graphicObject dynamic property on applet diff --git a/src/plasmaquick/configview.cpp b/src/plasmaquick/configview.cpp index 24933685f..62a3feaed 100644 --- a/src/plasmaquick/configview.cpp +++ b/src/plasmaquick/configview.cpp @@ -88,7 +88,7 @@ void ConfigViewPrivate::init() KDeclarative::KDeclarative kdeclarative; kdeclarative.setDeclarativeEngine(q->engine()); - kdeclarative.setTranslationDomain(applet.data()->pluginInfo().pluginName()); + kdeclarative.setTranslationDomain("plasma_applet_" + applet.data()->pluginInfo().pluginName()); kdeclarative.setupBindings(); qmlRegisterType("org.kde.plasma.configuration", 2, 0, "ConfigModel"); qmlRegisterType("org.kde.plasma.configuration", 2, 0, "ConfigCategory"); diff --git a/src/plasmaquick/view.cpp b/src/plasmaquick/view.cpp index ae703f561..823308a8e 100644 --- a/src/plasmaquick/view.cpp +++ b/src/plasmaquick/view.cpp @@ -174,7 +174,7 @@ View::View(Plasma::Corona *corona, QWindow *parent) KDeclarative::KDeclarative kdeclarative; kdeclarative.setDeclarativeEngine(engine()); //binds things like kconfig and icons - kdeclarative.setTranslationDomain(corona->package().metadata().pluginName()); + kdeclarative.setTranslationDomain("plasma_shell_" + corona->package().metadata().pluginName()); kdeclarative.setupBindings(); } else { qWarning() << "Invalid home screen package";