diff options
-rw-r--r-- | src/twin/config/config.cpp | 1 | ||||
-rw-r--r-- | src/twin/iaora.cpp | 5 | ||||
-rw-r--r-- | src/twin/iaora.desktop | 2 | ||||
-rw-r--r-- | translations/desktop_files/tde-style-ia-ora-desktops.pot | 9 |
4 files changed, 9 insertions, 8 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 diff --git a/translations/desktop_files/tde-style-ia-ora-desktops.pot b/translations/desktop_files/tde-style-ia-ora-desktops.pot index 7c9056b..ca137a3 100644 --- a/translations/desktop_files/tde-style-ia-ora-desktops.pot +++ b/translations/desktop_files/tde-style-ia-ora-desktops.pot @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-07-12 12:48+0200\n" +"POT-Creation-Date: 2021-07-12 13:08+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -17,7 +17,7 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" #. Name -#: widget/ia_ora.themerc:2 +#: widget/ia_ora.themerc:2 twin/iaora.desktop:2 msgid "Ia Ora" msgstr "" @@ -25,8 +25,3 @@ msgstr "" #: widget/ia_ora.themerc:3 msgid "Mandriva Widget Style" msgstr "" - -#. Name -#: twin/iaora.desktop:2 -msgid "Ia ora" -msgstr "" |