From 67ab75c0fd00457cb2ef32415841ca0dfd0f6288 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Wed, 2 Nov 2011 14:48:41 +0100 Subject: [PATCH] the catalog is called "plasma_applet_"+pluginname --- scriptengines/javascript/plasmoid/declarativeappletscript.cpp | 2 +- scriptengines/javascript/plasmoid/simplejavascriptapplet.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scriptengines/javascript/plasmoid/declarativeappletscript.cpp b/scriptengines/javascript/plasmoid/declarativeappletscript.cpp index 249f5e3c0..005894a2f 100644 --- a/scriptengines/javascript/plasmoid/declarativeappletscript.cpp +++ b/scriptengines/javascript/plasmoid/declarativeappletscript.cpp @@ -82,7 +82,7 @@ bool DeclarativeAppletScript::init() { m_declarativeWidget = new Plasma::DeclarativeWidget(applet()); m_declarativeWidget->setInitializationDelayed(true); - KGlobal::locale()->insertCatalog(description().pluginName()); + KGlobal::locale()->insertCatalog("plasma_applet_" % description().pluginName()); //make possible to import extensions from the package //FIXME: probably to be removed, would make possible to use native code from within the package :/ diff --git a/scriptengines/javascript/plasmoid/simplejavascriptapplet.cpp b/scriptengines/javascript/plasmoid/simplejavascriptapplet.cpp index f879ae94b..112c26520 100644 --- a/scriptengines/javascript/plasmoid/simplejavascriptapplet.cpp +++ b/scriptengines/javascript/plasmoid/simplejavascriptapplet.cpp @@ -314,7 +314,7 @@ bool SimpleJavaScriptApplet::init() this, SLOT(extenderItemRestored(Plasma::ExtenderItem*))); connect(applet(), SIGNAL(activate()), this, SLOT(activate())); - KGlobal::locale()->insertCatalog(description().pluginName()); + KGlobal::locale()->insertCatalog("plasma_applet_" % description().pluginName()); setupObjects(); AppletAuthorization auth(this);