summaryrefslogtreecommitdiffstats
path: root/twin-styles/system
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2021-07-08 11:38:18 +0200
committerSlávek Banko <[email protected]>2021-07-09 10:35:31 +0200
commitfed5a8d5ad6d79254d4f3b4f427038b96034c549 (patch)
tree5d0d8779565d3592bf596f65fa8b457768ceba6e /twin-styles/system
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 <[email protected]>
Diffstat (limited to 'twin-styles/system')
-rw-r--r--twin-styles/system/systemclient.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/twin-styles/system/systemclient.cpp b/twin-styles/system/systemclient.cpp
index 69e0709e..d1edc611 100644
--- a/twin-styles/system/systemclient.cpp
+++ b/twin-styles/system/systemclient.cpp
@@ -9,6 +9,7 @@
#include <kpixmapeffect.h>
#include <kdrawutil.h>
+#include <tdeglobal.h>
#include <tdelocale.h>
#include <tdeapplication.h>
#include <kdebug.h>
@@ -684,6 +685,8 @@ void SystemClient::borders(int& left, int& right, int& top, int& bottom) const
SystemDecoFactory::SystemDecoFactory()
{
+ TDEGlobal::locale()->insertCatalogue("twin_clients");
+ TDEGlobal::locale()->insertCatalogue("twin_art_clients");
create_pixmaps();
}