summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2019-08-31 16:42:36 +0200
committerSlávek Banko <slavek.banko@axis.cz>2019-08-31 16:42:36 +0200
commitb9d818d1be3cb6b0f9629a067df384e63794ba40 (patch)
tree2035fd46dc4a8a6ff8d618ff31999ded8f5b88d7
parent969a048cd6ee684dce8f71c79cf529c1b349e482 (diff)
downloadtdebase-b9d818d1be3cb6b0f9629a067df384e63794ba40.tar.gz
tdebase-b9d818d1be3cb6b0f9629a067df384e63794ba40.zip
Rename translation catalog for tdehwdevicetray.
Add CMakeL10n rules for kcmhwmanager and tdehwdevicetray. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--kcontrol/hwmanager/CMakeL10n.txt11
-rw-r--r--kcontrol/hwmanager/hwdevicetray_main.cpp2
2 files changed, 12 insertions, 1 deletions
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);