summaryrefslogtreecommitdiffstats
path: root/twin-styles/cde
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:35:31 +0200
commitfed5a8d5ad6d79254d4f3b4f427038b96034c549 (patch)
tree5d0d8779565d3592bf596f65fa8b457768ceba6e /twin-styles/cde
parent98e42e5e21b46c6c4068424dd415f5a39c2df06e (diff)
downloadtdeartwork-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/cde')
-rw-r--r--twin-styles/cde/cdeclient.cpp3
-rw-r--r--twin-styles/cde/config/config.cpp3
2 files changed, 5 insertions, 1 deletions
diff --git a/twin-styles/cde/cdeclient.cpp b/twin-styles/cde/cdeclient.cpp
index e439160b..84d98c2b 100644
--- a/twin-styles/cde/cdeclient.cpp
+++ b/twin-styles/cde/cdeclient.cpp
@@ -27,6 +27,7 @@
#include <tqdrawutil.h>
#include <tqpainter.h>
#include <tqapplication.h>
+#include <tdeglobal.h>
#include <tdelocale.h>
#include <tdeconfig.h>
@@ -210,6 +211,8 @@ static void readConfig(CdeClientFactory *f)
CdeClientFactory::CdeClientFactory()
{
+ TDEGlobal::locale()->insertCatalogue("twin_clients");
+ TDEGlobal::locale()->insertCatalogue("twin_art_clients");
CDE::readConfig(this);
}
diff --git a/twin-styles/cde/config/config.cpp b/twin-styles/cde/config/config.cpp
index 1d762c5c..1776df24 100644
--- a/twin-styles/cde/config/config.cpp
+++ b/twin-styles/cde/config/config.cpp
@@ -24,8 +24,9 @@ CdeConfig::CdeConfig( TDEConfig* conf, TQWidget* parent )
: TQObject( parent )
{
cdeConfig = new TDEConfig("twincderc");
+ TDEGlobal::locale()->insertCatalogue("twin_clients");
TDEGlobal::locale()->insertCatalogue("twin_art_clients");
-
+
groupBox = new TQVBox( parent );
bgAlign = new TQButtonGroup( 3, Qt::Horizontal, i18n("Text &Alignment"), groupBox );