summaryrefslogtreecommitdiffstats
path: root/twin-styles/icewm
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/icewm
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/icewm')
-rw-r--r--twin-styles/icewm/config/config.cpp1
-rw-r--r--twin-styles/icewm/icewm.cpp3
2 files changed, 4 insertions, 0 deletions
diff --git a/twin-styles/icewm/config/config.cpp b/twin-styles/icewm/config/config.cpp
index feb4acbe..88905c80 100644
--- a/twin-styles/icewm/config/config.cpp
+++ b/twin-styles/icewm/config/config.cpp
@@ -59,6 +59,7 @@ IceWMConfig::IceWMConfig( TDEConfig* conf, TQWidget* parent )
: TQObject( parent )
{
icewmConfig = new TDEConfig("twinicewmrc");
+ TDEGlobal::locale()->insertCatalogue("twin_clients");
TDEGlobal::locale()->insertCatalogue("twin_art_clients");
mainWidget = new TQVBox( parent );
diff --git a/twin-styles/icewm/icewm.cpp b/twin-styles/icewm/icewm.cpp
index 9da97d03..990ce1dc 100644
--- a/twin-styles/icewm/icewm.cpp
+++ b/twin-styles/icewm/icewm.cpp
@@ -153,6 +153,9 @@ bool validPixmaps( TQPixmap* p[] )
ThemeHandler::ThemeHandler()
{
+ TDEGlobal::locale()->insertCatalogue("twin_clients");
+ TDEGlobal::locale()->insertCatalogue("twin_art_clients");
+
initialized = false;
// Prevent having globals objects (use pointers to objects)