diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2021-07-08 11:38:18 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2021-07-09 10:35:31 +0200 |
commit | fed5a8d5ad6d79254d4f3b4f427038b96034c549 (patch) | |
tree | 5d0d8779565d3592bf596f65fa8b457768ceba6e /twin-styles/smooth-blend/client | |
parent | 98e42e5e21b46c6c4068424dd415f5a39c2df06e (diff) | |
download | tdeartwork-fed5a8d5ad6d79254d4f3b4f427038b96034c549.tar.gz tdeartwork-fed5a8d5ad6d79254d4f3b4f427038b96034c549.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>
Diffstat (limited to 'twin-styles/smooth-blend/client')
-rw-r--r-- | twin-styles/smooth-blend/client/config/smoothblendconfig.cpp | 3 | ||||
-rw-r--r-- | twin-styles/smooth-blend/client/smoothblend.cpp | 3 |
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; } |