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.
tdepim/kaddressbook/CMakeL10n.txt

34 lines
825 B

##### prepare editors UI files ##################
file( GLOB_RECURSE _editors_ui
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/editors/*.ui
)
foreach( _editor_ui ${_editors_ui} )
tde_l10n_prepare_xml(
SOURCE ${_editor_ui}
CONTEXT "Instant messaging"
)
list( REMOVE_ITEM _editors_ui "${_editor_ui}" )
list( APPEND _editors_ui "${_editor_ui}.tde_l10n" )
endforeach( )
##### create translation templates ##############
tde_l10n_create_template(
CATALOG "kaddressbook"
SOURCES "." ${_editors_ui}
EXCLUDES
"^editors/.*\\\\.ui$"
"^kcmconfigs/"
)
tde_l10n_auto_add_subdirectories( )
tde_l10n_create_template(
CATALOG "desktop_files/kaddressbook-desktops/"
SOURCES *.desktop
DESTINATION "${CMAKE_SOURCE_DIR}/translations"
)