summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMavridis Philippe <[email protected]>2021-06-27 11:12:50 +0300
committerMichele Calgaro <[email protected]>2021-06-28 17:16:31 +0900
commit6c69d35ade862c0904756a1dd5b208bd103602ec (patch)
tree11a6a8a8f92fd3e7e54dbc30cb4056ba25311598 /src
parent66638dbefa4105fc0ac4e4a8662f7e5a449e3789 (diff)
downloadtwin-style-suse2-6c69d35ade862c0904756a1dd5b208bd103602ec.tar.gz
twin-style-suse2-6c69d35ade862c0904756a1dd5b208bd103602ec.zip
Various L10n fixes
* Removed old POT file * Fixed TDEGlobal->locale()->insertCatalogue() to use new file naming Signed-off-by: Mavridis Philippe <[email protected]> (cherry picked from commit 7d07debf70de7043e91439dd14918e66a4a36be6)
Diffstat (limited to 'src')
-rw-r--r--src/CMakeL10n.txt4
-rw-r--r--src/SUSE2.cpp2
-rw-r--r--src/config/CMakeL10n.txt3
-rw-r--r--src/config/config.cpp2
4 files changed, 3 insertions, 8 deletions
diff --git a/src/CMakeL10n.txt b/src/CMakeL10n.txt
index d781e81..94762c4 100644
--- a/src/CMakeL10n.txt
+++ b/src/CMakeL10n.txt
@@ -1,10 +1,8 @@
##### create translation templates ##############
-tde_l10n_create_template( "messages/twin-style-suse2" )
+tde_l10n_create_template("messages/twin-style-suse2")
tde_l10n_create_template(
CATALOG "desktop_files/twin-style-suse2-desktops"
SOURCES *.desktop
)
-
-tde_l10n_auto_add_subdirectories( )
diff --git a/src/SUSE2.cpp b/src/SUSE2.cpp
index f336167..e874790 100644
--- a/src/SUSE2.cpp
+++ b/src/SUSE2.cpp
@@ -48,7 +48,7 @@ SUSE2Handler::SUSE2Handler()
memset(m_pixmaps, 0, sizeof(TQPixmap *) * NumButtonStatus * NumButtonIcons); // set elements to 0
TDEGlobal::locale()->insertCatalogue("twin_clients");
- TDEGlobal::locale()->insertCatalogue("twin_SUSE2");
+ TDEGlobal::locale()->insertCatalogue("twin-style-suse2");
reset(0);
}
diff --git a/src/config/CMakeL10n.txt b/src/config/CMakeL10n.txt
deleted file mode 100644
index 66ed1eb..0000000
--- a/src/config/CMakeL10n.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-##### create translation templates ##############
-
-tde_l10n_create_template( "messages/twin_suse2_config" )
diff --git a/src/config/config.cpp b/src/config/config.cpp
index 215c230..0853828 100644
--- a/src/config/config.cpp
+++ b/src/config/config.cpp
@@ -57,7 +57,7 @@ SUSE2Config::SUSE2Config(TDEConfig *config, TQWidget *parent)
// create the configuration object
m_config = new TDEConfig("twinSUSE2rc");
TDEGlobal::locale()->insertCatalogue("twin_clients");
- TDEGlobal::locale()->insertCatalogue("twin_SUSE2");
+ TDEGlobal::locale()->insertCatalogue("twin-style-suse2");
// create and show the configuration dialog
m_dialog = new ConfigDialog(parent);