diff options
author | Slávek Banko <[email protected]> | 2021-07-12 10:51:25 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2021-07-12 10:51:50 +0200 |
commit | 121339c53bda69fd0551540699d28fb5a9df8790 (patch) | |
tree | aacce6fff82660e74f23833c3cc77d175a0a777e /deco | |
parent | 1177376df03b288d9588f2031f633a78c054c2a9 (diff) | |
download | tde-style-baghira-121339c53bda69fd0551540699d28fb5a9df8790.tar.gz tde-style-baghira-121339c53bda69fd0551540699d28fb5a9df8790.zip |
Add twin client translations into template.
Rename template from twin_baghira_config to twin_baghira.
Signed-off-by: Slávek Banko <[email protected]>
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"); |