Set catalog name for scripted plasmoids
svn path=/trunk/KDE/kdelibs/; revision=974548
This commit is contained in:
parent
0b2053400f
commit
9511f6f429
@ -2271,6 +2271,7 @@ void AppletPrivate::setupScriptSupport()
|
||||
//FIXME: we should _probably_ use a KComponentData to segregate the applets
|
||||
// from each other; but I want to get the basics working first :)
|
||||
KGlobal::dirs()->addResourceDir("locale", translationsPath);
|
||||
KGlobal::locale()->insertCatalog(package->metadata().pluginName());
|
||||
}
|
||||
|
||||
QString xmlPath = package->filePath("mainconfigxml");
|
||||
|
Loading…
Reference in New Issue
Block a user