From b9d818d1be3cb6b0f9629a067df384e63794ba40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sat, 31 Aug 2019 16:42:36 +0200 Subject: Rename translation catalog for tdehwdevicetray. Add CMakeL10n rules for kcmhwmanager and tdehwdevicetray. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- kcontrol/hwmanager/CMakeL10n.txt | 11 +++++++++++ kcontrol/hwmanager/hwdevicetray_main.cpp | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 kcontrol/hwmanager/CMakeL10n.txt diff --git a/kcontrol/hwmanager/CMakeL10n.txt b/kcontrol/hwmanager/CMakeL10n.txt new file mode 100644 index 000000000..92bf49b47 --- /dev/null +++ b/kcontrol/hwmanager/CMakeL10n.txt @@ -0,0 +1,11 @@ +##### create translation templates ############## + +tde_l10n_create_template( + CATALOG "kcmhwmanager" + EXCLUDES "^hwdevicetray.*" +) + +tde_l10n_create_template( + CATALOG "tdehwdevicetray" + SOURCES "hwdevicetray*.cpp" +) diff --git a/kcontrol/hwmanager/hwdevicetray_main.cpp b/kcontrol/hwmanager/hwdevicetray_main.cpp index b16f13509..9aad857f9 100644 --- a/kcontrol/hwmanager/hwdevicetray_main.cpp +++ b/kcontrol/hwmanager/hwdevicetray_main.cpp @@ -39,7 +39,7 @@ int main(int argc, char **argv) TDEAboutData aboutData("hwdevicetray", I18N_NOOP("Hardware Device Monitor"), hwdevicetrayVersion, I18N_NOOP("Hardware Device Monitor Tray Application"), TDEAboutData::License_GPL_V3, "(c) 2015 Timothy Pearson", 0L, ""); aboutData.addAuthor("Timothy Pearson",I18N_NOOP("Initial developer and maintainer"), "kb9vqf@pearsoncomputing.net"); aboutData.setProductName("hwdevices/hwdevicetray"); - TDEGlobal::locale()->setMainCatalogue("hwdevicetray"); + TDEGlobal::locale()->setMainCatalogue("tdehwdevicetray"); TDECmdLineArgs::init(argc,argv,&aboutData); TDECmdLineArgs::addCmdLineOptions(options); -- cgit v1.2.1