summaryrefslogtreecommitdiffstats
path: root/kcontrol/keys/CMakeL10n.txt
diff options
context:
space:
mode:
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 00000000..d68cd6fd
--- /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}
+)