From 919d68292f83d3c28dcd9e0b4d72e3bcbf7ce404 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 8 Jul 2021 11:38:18 +0200 Subject: Use common twin clients translations catalog for twin styles. Exclude commmon strings of twin cliens from translations. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit fed5a8d5ad6d79254d4f3b4f427038b96034c549) --- twin-styles/smooth-blend/client/config/smoothblendconfig.cpp | 3 ++- twin-styles/smooth-blend/client/smoothblend.cpp | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'twin-styles/smooth-blend') 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 #include #include +#include #include #include #include @@ -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; } -- cgit v1.2.1