summaryrefslogtreecommitdiffstats
path: root/klaptopdaemon
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2018-12-25 19:59:04 +0100
committerSlávek Banko <slavek.banko@axis.cz>2018-12-25 19:59:04 +0100
commit4fe6ee9e7fc05c70f96afbc4d1f1d5030877d2ba (patch)
tree5cae13fb3b8c80153c152464efe352a4c6762eba /klaptopdaemon
parent44d731b5ac31423121985a509cf8880048a2f110 (diff)
downloadtdeutils-4fe6ee9e7fc05c70f96afbc4d1f1d5030877d2ba.tar.gz
tdeutils-4fe6ee9e7fc05c70f96afbc4d1f1d5030877d2ba.zip
Add CMakeL10n rules.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'klaptopdaemon')
-rw-r--r--klaptopdaemon/CMakeL10n.txt30
1 files changed, 30 insertions, 0 deletions
diff --git a/klaptopdaemon/CMakeL10n.txt b/klaptopdaemon/CMakeL10n.txt
new file mode 100644
index 0000000..8fb67db
--- /dev/null
+++ b/klaptopdaemon/CMakeL10n.txt
@@ -0,0 +1,30 @@
+##### create translation templates ##############
+
+set( KCMLAPTOP_SOURCES
+ acpi.cpp
+ apm.cpp
+ battery.cpp
+ buttons.cpp
+ main.cpp
+ pcmcia.cpp
+ power.cpp
+ profile.cpp
+ sony.cpp
+ warning.cpp
+)
+
+unset( KLAPTOPDAEMON_EXCLUDES )
+foreach( _src ${KCMLAPTOP_SOURCES} )
+ list( APPEND KLAPTOPDAEMON_EXCLUDES "^${_src}\\\$" )
+endforeach( )
+
+tde_l10n_create_template(
+ CATALOG "kcmlaptop"
+ SOURCES ${KCMLAPTOP_SOURCES}
+)
+
+tde_l10n_create_template(
+ CATALOG "klaptopdaemon"
+ SOURCES "."
+ EXCLUDES ${KLAPTOPDAEMON_EXCLUDES}
+)