summaryrefslogtreecommitdiffstats
path: root/twin-styles/smooth-blend
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-07-08 11:38:18 +0200
committerSlávek Banko <slavek.banko@axis.cz>2021-07-09 10:37:31 +0200
commit919d68292f83d3c28dcd9e0b4d72e3bcbf7ce404 (patch)
tree18ef6490a18b139bd12e912f7d6f2c223045d671 /twin-styles/smooth-blend
parent37115f79e4bb8316f3ee8fab2f01c6083eefefa0 (diff)
downloadtdeartwork-919d68292f83d3c28dcd9e0b4d72e3bcbf7ce404.tar.gz
tdeartwork-919d68292f83d3c28dcd9e0b4d72e3bcbf7ce404.zip
Use common twin clients translations catalog for twin styles.
Exclude commmon strings of twin cliens from translations. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit fed5a8d5ad6d79254d4f3b4f427038b96034c549)
Diffstat (limited to 'twin-styles/smooth-blend')
-rw-r--r--twin-styles/smooth-blend/client/config/smoothblendconfig.cpp3
-rw-r--r--twin-styles/smooth-blend/client/smoothblend.cpp3
2 files changed, 5 insertions, 1 deletions
diff --git a/twin-styles/smooth-blend/client/config/smoothblendconfig.cpp b/twin-styles/smooth-blend/client/config/smoothblendconfig.cpp
index a95e2f40..83f0afcf 100644
--- a/twin-styles/smooth-blend/client/config/smoothblendconfig.cpp
+++ b/twin-styles/smooth-blend/client/config/smoothblendconfig.cpp
@@ -30,7 +30,8 @@ smoothblendConfig::smoothblendConfig(TDEConfig* config, TQWidget* parent)
: TQObject(parent), config_(0), dialog_(0) {
// create the configuration object
config_ = new TDEConfig("twinsmoothblendrc");
- TDEGlobal::locale()->insertCatalogue("twin_smoothblend_config");
+ TDEGlobal::locale()->insertCatalogue("twin_clients");
+ TDEGlobal::locale()->insertCatalogue("twin_art_clients");
// create and show the configuration dialog
dialog_ = new ConfigDialog(parent);
diff --git a/twin-styles/smooth-blend/client/smoothblend.cpp b/twin-styles/smooth-blend/client/smoothblend.cpp
index c842574d..7c3adddd 100644
--- a/twin-styles/smooth-blend/client/smoothblend.cpp
+++ b/twin-styles/smooth-blend/client/smoothblend.cpp
@@ -11,6 +11,7 @@
#include <tdeversion.h>
#include <tdeglobal.h>
#include <tdeglobalsettings.h>
+#include <tdeglobal.h>
#include <tdelocale.h>
#include <kpixmap.h>
#include <kimageeffect.h>
@@ -68,6 +69,8 @@ extern "C" KDecorationFactory* create_factory() {
// Constructor
smoothblendFactory::smoothblendFactory() {
+ TDEGlobal::locale()->insertCatalogue("twin_clients");
+ TDEGlobal::locale()->insertCatalogue("twin_art_clients");
readConfig();
initialized_ = true;
}