summaryrefslogtreecommitdiffstats
path: root/kcontrol/keys/CMakeL10n.txt
blob: d68cd6fd54ac2fd7bf7376dcee2564bcb9b3184f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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}
)