diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2021-07-12 10:51:25 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2021-07-12 11:19:29 +0200 |
commit | 9bc2c65626badfee875de52791d91deb968cad03 (patch) | |
tree | 787c90b86611149a4d8ff89e856aabca023bf74e /deco | |
parent | 46b13b70c111130e7b0a00866d7177c8c3533074 (diff) | |
download | tde-style-baghira-9bc2c65626badfee875de52791d91deb968cad03.tar.gz tde-style-baghira-9bc2c65626badfee875de52791d91deb968cad03.zip |
Add twin client translations into template.
Rename template from twin_baghira_config to twin_baghira.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 121339c53bda69fd0551540699d28fb5a9df8790)
Diffstat (limited to 'deco')
-rw-r--r-- | deco/CMakeL10n.txt | 6 | ||||
-rw-r--r-- | deco/baghiraclient.cpp | 3 | ||||
-rw-r--r-- | deco/config/CMakeL10n.txt | 3 | ||||
-rw-r--r-- | deco/config/baghiraconfig.cpp | 3 | ||||
-rw-r--r-- | deco/config/baghiraconfig.cpp.new | 3 |
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"); |