summaryrefslogtreecommitdiffstats
path: root/kcontrol/keys/CMakeL10n.txt
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2018-12-09 04:00:36 +0100
committerSlávek Banko <slavek.banko@axis.cz>2018-12-09 04:00:36 +0100
commitb95b665c78a047fc540e2bc4a8c19be6db03b825 (patch)
treed458400982a64cea4f679de3419f3ae344ec34a1 /kcontrol/keys/CMakeL10n.txt
parent4fd188ff945d25bc049301e3f033d939bca87565 (diff)
downloadtdebase-b95b665c78a047fc540e2bc4a8c19be6db03b825.tar.gz
tdebase-b95b665c78a047fc540e2bc4a8c19be6db03b825.zip
Add CMakeL10n rules.
Update TIMEZONES list. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'kcontrol/keys/CMakeL10n.txt')
-rw-r--r--kcontrol/keys/CMakeL10n.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/kcontrol/keys/CMakeL10n.txt b/kcontrol/keys/CMakeL10n.txt
new file mode 100644
index 000000000..d68cd6fd5
--- /dev/null
+++ b/kcontrol/keys/CMakeL10n.txt
@@ -0,0 +1,13 @@
+##### create translation templates ##############
+
+file( STRINGS ${CMAKE_CURRENT_SOURCE_DIR}/keyconfig.cpp _keyconfig_includes REGEX "^.include .\\.\\." )
+unset( _keyconfig_sources )
+foreach( _keyconfig_include ${_keyconfig_includes} )
+ string( REGEX REPLACE ".*\"(.*)\"" "\\1" _keyconfig_include ${_keyconfig_include} )
+ list( APPEND _keyconfig_sources ${_keyconfig_include} )
+endforeach( )
+
+tde_l10n_create_template(
+ CATALOG "kcmkeys"
+ SOURCES "." ${_keyconfig_sources}
+)