set translation domain for applets
their default translation domain has the same name as the plugin name (as the catalog in plasma1)
This commit is contained in:
parent
73bb587ee9
commit
d984a60a2d
@ -404,6 +404,7 @@ AppletQuickItem::AppletQuickItem(Plasma::Applet *applet, QQuickItem *parent)
|
||||
});
|
||||
|
||||
d->qmlObject = new KDeclarative::QmlObject(this);
|
||||
d->qmlObject->setTranslationDomain(applet->pluginInfo().pluginName());
|
||||
d->qmlObject->setInitializationDelayed(true);
|
||||
|
||||
// set the graphicObject dynamic property on applet
|
||||
|
Loading…
Reference in New Issue
Block a user