summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);