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-26 12:21:51 +0100
commit53d7a67610a8dc0397c1367e4e3fc1db664062bb (patch)
tree2a0fe9b5a37b858ebaf65aec97a09b110248bcce /klaptopdaemon
parent938c5012fb59ef82218ae2f67283d8d94e0a92fb (diff)
downloadtdeutils-53d7a67610a8dc0397c1367e4e3fc1db664062bb.tar.gz
tdeutils-53d7a67610a8dc0397c1367e4e3fc1db664062bb.zip
Add CMakeL10n rules.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 4fe6ee9e7fc05c70f96afbc4d1f1d5030877d2ba)
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}
+)