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.
|
|
|
##### create translation templates ##############
|
|
|
|
|
|
|
|
tde_l10n_create_template( "kontact" )
|
|
|
|
|
|
|
|
tde_l10n_auto_add_subdirectories( )
|
|
|
|
|
|
|
|
file(
|
|
|
|
GLOB_RECURSE _desktops
|
|
|
|
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/*.desktop
|
|
|
|
)
|
|
|
|
list( SORT _desktops )
|
|
|
|
|
|
|
|
file(
|
|
|
|
GLOB_RECURSE _profiles
|
|
|
|
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/*profile.cfg
|
|
|
|
)
|
|
|
|
list( SORT _profiles )
|
|
|
|
|
|
|
|
tde_l10n_create_template(
|
|
|
|
CATALOG "desktop_files/kontact-desktops/"
|
|
|
|
SOURCES_DESKTOP ${_desktops} ${_profiles} src/kontact.setdlg
|
|
|
|
DESTINATION "${CMAKE_SOURCE_DIR}/translations"
|
|
|
|
)
|