summaryrefslogtreecommitdiffstats
path: root/deco
diff options
context:
space:
mode:
Diffstat (limited to 'deco')
-rw-r--r--deco/CMakeL10n.txt6
-rw-r--r--deco/baghiraclient.cpp3
-rw-r--r--deco/config/CMakeL10n.txt3
-rw-r--r--deco/config/baghiraconfig.cpp3
-rw-r--r--deco/config/baghiraconfig.cpp.new3
5 files changed, 12 insertions, 6 deletions
diff --git a/deco/CMakeL10n.txt b/deco/CMakeL10n.txt
index b585ce4..61144bd 100644
--- a/deco/CMakeL10n.txt
+++ b/deco/CMakeL10n.txt
@@ -1,3 +1,7 @@
##### create translation templates ##############
-tde_l10n_auto_add_subdirectories( )
+tde_l10n_create_template(
+ CATALOG "messages/twin_baghira/"
+ SOURCES .
+ X-POT ${CMAKE_SOURCE_DIR}/../../../core/tde-i18n/template/messages/tdebase/twin_clients.pot
+)
diff --git a/deco/baghiraclient.cpp b/deco/baghiraclient.cpp
index 471e440..558ede3 100644
--- a/deco/baghiraclient.cpp
+++ b/deco/baghiraclient.cpp
@@ -297,6 +297,9 @@ void ResizeHandle::paintEvent ( TQPaintEvent * )
// Constructor
BaghiraFactory::BaghiraFactory() {
+ TDEGlobal::locale()->insertCatalogue("twin_clients");
+ TDEGlobal::locale()->insertCatalogue("twin_baghira");
+
helpMask = TQBitmap( 14, 15, help_bits, true );
jaguarDownMask = TQBitmap( 14, 15, jaguar2_bits, true );
jaguarMenuDownMask = TQBitmap( 20, 15, jaguar_menu_down_bits, true );
diff --git a/deco/config/CMakeL10n.txt b/deco/config/CMakeL10n.txt
deleted file mode 100644
index e0bfdcd..0000000
--- a/deco/config/CMakeL10n.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-##### create translation templates ##############
-
-tde_l10n_create_template( "messages/twin_baghira_config/" )
diff --git a/deco/config/baghiraconfig.cpp b/deco/config/baghiraconfig.cpp
index 5d1c14d..2ea55a8 100644
--- a/deco/config/baghiraconfig.cpp
+++ b/deco/config/baghiraconfig.cpp
@@ -44,7 +44,8 @@ BaghiraConfig::BaghiraConfig(TDEConfig*, TQWidget* parent)
// config_ = new TDEConfig("baghirarc");
// config_ = new TQSettings;
// config_->beginGroup("/baghira/Deco");
- TDEGlobal::locale()->insertCatalogue("twin_baghira_config");
+ TDEGlobal::locale()->insertCatalogue("twin_clients");
+ TDEGlobal::locale()->insertCatalogue("twin_baghira");
dialog_ = new ConfigDialog(parent);
buttonDialog_ = new ButtonColors(parent, "Button Colors");
diff --git a/deco/config/baghiraconfig.cpp.new b/deco/config/baghiraconfig.cpp.new
index 5f2a29f..c03e90e 100644
--- a/deco/config/baghiraconfig.cpp.new
+++ b/deco/config/baghiraconfig.cpp.new
@@ -45,7 +45,8 @@ BaghiraConfig::BaghiraConfig(TDEConfig*, TQWidget* parent)
// config_ = new TDEConfig("baghirarc");
// config_ = new TQSettings;
// config_->beginGroup("/baghira/Deco");
- TDEGlobal::locale()->insertCatalogue("twin_baghira_config");
+ TDEGlobal::locale()->insertCatalogue("twin_clients");
+ TDEGlobal::locale()->insertCatalogue("twin_baghira");
dialog_ = new ConfigDialog(parent);
buttonDialog_ = new ButtonColors(parent, "Button Colors");