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/icewm | |
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/icewm')
-rw-r--r-- | twin-styles/icewm/config/config.cpp | 1 | ||||
-rw-r--r-- | twin-styles/icewm/icewm.cpp | 3 |
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) |