You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
koffice/kivio/CMakeL10n.txt

30 lines
754 B

##### prepare strings from data files ###########
unset( _kivio_data_l10n )
file( GLOB_RECURSE _kivio_data_files
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/*.shape
)
list( SORT _kivio_data_files )
foreach( _kivio_file ${_kivio_data_files} )
tde_l10n_prepare_xml(
SOURCE "${_kivio_file}"
CONTEXT "Stencils"
TAGS "name"
)
list( APPEND _kivio_data_l10n "${_kivio_file}.tde_l10n" )
endforeach( )
##### create translation templates ##############
tde_l10n_create_template(
CATALOG "kivio"
SOURCES
"."
${_kivio_data_l10n}
ATTRIBUTES
"desc:Title,data,Stencils:Description,data,Stencils"
"*.sml:Title,data,Stencils:Description,data,Stencils"
)