From e8332d6f2424b0c63a5ff6529f3409217d052b58 Mon Sep 17 00:00:00 2001 From: Nicolas Goutte Date: Fri, 23 Jul 2004 18:34:15 +0000 Subject: [PATCH] The clients in kdeartwork have all mini-pot files, so the previous commit needs to be partially reverted. svn path=/trunk/kdebase/kwin/; revision=332110 --- lib/kdecoration_plugins_p.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/kdecoration_plugins_p.cpp b/lib/kdecoration_plugins_p.cpp index 331de2f979..a7fab3f514 100644 --- a/lib/kdecoration_plugins_p.cpp +++ b/lib/kdecoration_plugins_p.cpp @@ -164,7 +164,12 @@ bool KDecorationPlugins::loadPlugin( QString nameStr ) fact->checkRequirements( this ); // let it check what is supported pluginStr = nameStr; - + + // For clients in kdeartwork + QString catalogue = nameStr; + catalogue.replace( "kwin3_", "kwin_" ); + KGlobal::locale()->insertCatalogue( catalogue ); + // For clients in kdebase KGlobal::locale()->insertCatalogue( "kwin_clients" ); old_library = oldLibrary; // save for delayed destroying