summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-07-12 13:09:43 +0200
committerSlávek Banko <slavek.banko@axis.cz>2021-07-12 13:18:48 +0200
commitf1a743b321c66cd0575ff6a490e4afbdbf395c29 (patch)
treee6f5796ef0333eaa8a8d463c24732adb2ae2a6c0 /src
parentef1942f65a25011fc41613900b0c6a91ae2f4763 (diff)
downloadtde-style-ia-ora-f1a743b321c66cd0575ff6a490e4afbdbf395c29.tar.gz
tde-style-ia-ora-f1a743b321c66cd0575ff6a490e4afbdbf395c29.zip
Fix the lowercase letter in the name of twin style to match the other occurrences.
Add loading translation catalog during twin style initialization. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'src')
-rw-r--r--src/twin/config/config.cpp1
-rw-r--r--src/twin/iaora.cpp5
-rw-r--r--src/twin/iaora.desktop2
3 files changed, 7 insertions, 1 deletions
diff --git a/src/twin/config/config.cpp b/src/twin/config/config.cpp
index 1410345..4fda2fe 100644
--- a/src/twin/config/config.cpp
+++ b/src/twin/config/config.cpp
@@ -42,6 +42,7 @@ IaOraConfig::IaOraConfig(TDEConfig* config, TQWidget* parent)
// create the configuration object
m_config = new TDEConfig("twiniaorarc");
TDEGlobal::locale()->insertCatalogue("twin_clients");
+ TDEGlobal::locale()->insertCatalogue("twin_iaora");
// create and show the configuration dialog
m_dialog = new ConfigDialog(parent);
diff --git a/src/twin/iaora.cpp b/src/twin/iaora.cpp
index a588888..a4477e3 100644
--- a/src/twin/iaora.cpp
+++ b/src/twin/iaora.cpp
@@ -27,6 +27,8 @@
#include <tqimage.h>
#include <tqapplication.h>
#include <tdeconfig.h>
+#include <tdeglobal.h>
+#include <tdelocale.h>
#include <kpixmap.h>
#include <kpixmapeffect.h>
@@ -41,6 +43,9 @@ namespace KWinIaOra
IaOraHandler::IaOraHandler()
{
+ TDEGlobal::locale()->insertCatalogue("twin_clients");
+ TDEGlobal::locale()->insertCatalogue("twin_iaora");
+
memset(m_pixmaps, 0, sizeof(TQPixmap*)*NumPixmaps*2*2); // set elements to 0
memset(m_bitmaps, 0, sizeof(TQBitmap*)*NumButtonIcons*2);
diff --git a/src/twin/iaora.desktop b/src/twin/iaora.desktop
index 254ae74..99e23f8 100644
--- a/src/twin/iaora.desktop
+++ b/src/twin/iaora.desktop
@@ -1,4 +1,4 @@
[Desktop Entry]
-Name=Ia ora
+Name=Ia Ora
Encoding=UTF-8
X-TDE-Library=twin3_iaora