From ffda7f0ba7f037069b1ee228707352d1acaa1c13 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 31 Jul 2021 00:12:51 +0900 Subject: [PATCH] Align structure of translations/messages to similar modules. Signed-off-by: Michele Calgaro (cherry picked from commit 8b834eeb6658ff386f2e729091f94069980b8898) --- client/CMakeL10n.txt | 4 ++-- client/config/deKoratorconfig.cpp | 2 +- client/deKoratorclient.cpp | 2 +- ...Korator-desktops.pot => twin-style-dekorator-desktops.pot} | 0 .../twin_deKorator.pot => twin-style-dekorator.pot} | 0 5 files changed, 4 insertions(+), 4 deletions(-) rename translations/desktop_files/{twin-style-deKorator-desktops.pot => twin-style-dekorator-desktops.pot} (100%) rename translations/messages/{twin_deKorator/twin_deKorator.pot => twin-style-dekorator.pot} (100%) diff --git a/client/CMakeL10n.txt b/client/CMakeL10n.txt index c76af0e..4fde5c8 100644 --- a/client/CMakeL10n.txt +++ b/client/CMakeL10n.txt @@ -1,12 +1,12 @@ ##### create translation templates ############## tde_l10n_create_template( - CATALOG "messages/twin_deKorator/" + CATALOG "messages/twin-style-dekorator" SOURCES . X-POT ${CMAKE_SOURCE_DIR}/../../../core/tde-i18n/template/messages/tdebase/twin_clients.pot ) tde_l10n_create_template( - CATALOG "desktop_files/twin-style-deKorator-desktops" + CATALOG "desktop_files/twin-style-dekorator-desktops" SOURCES deKorator.desktop ) diff --git a/client/config/deKoratorconfig.cpp b/client/config/deKoratorconfig.cpp index 8f8ac71..5db97e3 100644 --- a/client/config/deKoratorconfig.cpp +++ b/client/config/deKoratorconfig.cpp @@ -68,7 +68,7 @@ DeKoratorConfig::DeKoratorConfig( TDEConfig* config, TQWidget* parent ) // create the configuration object config_ = new TDEConfig( "twindeKoratorrc" ); TDEGlobal::locale()->insertCatalogue("twin_clients"); - TDEGlobal::locale()->insertCatalogue("twin_deKorator"); + TDEGlobal::locale()->insertCatalogue("twin-style-dekorator"); // create and show the configuration dialog dialog_ = new ConfigDialog( parent ); diff --git a/client/deKoratorclient.cpp b/client/deKoratorclient.cpp index 406248d..ac294ca 100644 --- a/client/deKoratorclient.cpp +++ b/client/deKoratorclient.cpp @@ -191,7 +191,7 @@ extern "C" DeKoratorFactory::DeKoratorFactory() { TDEGlobal::locale()->insertCatalogue("twin_clients"); - TDEGlobal::locale()->insertCatalogue("twin_deKorator"); + TDEGlobal::locale()->insertCatalogue("twin-style-dekorator"); readConfig(); initialized_ = TRUE; diff --git a/translations/desktop_files/twin-style-deKorator-desktops.pot b/translations/desktop_files/twin-style-dekorator-desktops.pot similarity index 100% rename from translations/desktop_files/twin-style-deKorator-desktops.pot rename to translations/desktop_files/twin-style-dekorator-desktops.pot diff --git a/translations/messages/twin_deKorator/twin_deKorator.pot b/translations/messages/twin-style-dekorator.pot similarity index 100% rename from translations/messages/twin_deKorator/twin_deKorator.pot rename to translations/messages/twin-style-dekorator.pot