diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2021-07-12 11:57:33 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2021-07-12 12:02:27 +0200 |
commit | 4ca763e94ef7e3095a26f7aa0f5f60f8cedb8e16 (patch) | |
tree | aa6ee3732be62d4a49874661fb9ac9c8b310e135 /client/dominoclient.cpp | |
parent | 2d919b46ba3e709daafa837bf37c21b68d2bcfcc (diff) | |
download | tde-style-domino-4ca763e94ef7e3095a26f7aa0f5f60f8cedb8e16.tar.gz tde-style-domino-4ca763e94ef7e3095a26f7aa0f5f60f8cedb8e16.zip |
Add twin client translations into template.
Rename template from twin_domino_config to twin_domino.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit fe4ffe9ab210d4fad1b68b6e9b2c24092691e267)
Diffstat (limited to 'client/dominoclient.cpp')
-rw-r--r-- | client/dominoclient.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/client/dominoclient.cpp b/client/dominoclient.cpp index 75af3f3..a6162dd 100644 --- a/client/dominoclient.cpp +++ b/client/dominoclient.cpp @@ -25,6 +25,7 @@ #include <tdeconfig.h> #include <tdeglobal.h> +#include <tdelocale.h> #include <tqlayout.h> #include <tqbitmap.h> #include <tqimage.h> @@ -105,7 +106,10 @@ const int borderWidth = 5; DominoHandler::DominoHandler() { int ignore, maj, min; - + + TDEGlobal::locale()->insertCatalogue("twin_clients"); + TDEGlobal::locale()->insertCatalogue("twin_domino"); + if(XShapeQueryExtension(tqt_xdisplay(), &ignore, &ignore) && XShapeQueryVersion(tqt_xdisplay(), &maj, &min) && maj >= 1 && min >= 1) { @@ -651,7 +655,7 @@ DominoClient::~DominoClient() TQString DominoClient::visibleName() const { - return "Domino"; + return i18n("Domino"); } TQString DominoClient::defaultButtonsLeft() const |