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.
37 lines
794 B
37 lines
794 B
##### create translation templates ##############
|
|
|
|
tde_l10n_create_template(
|
|
CATALOG "twin"
|
|
EXCLUDES
|
|
"^clients/"
|
|
"^kcmtwin/"
|
|
)
|
|
|
|
tde_l10n_auto_add_subdirectories( )
|
|
|
|
file(
|
|
GLOB_RECURSE _twin_kcms
|
|
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
|
|
${CMAKE_CURRENT_SOURCE_DIR}/kcmtwin/*.desktop
|
|
)
|
|
list( SORT _twin_kcms )
|
|
|
|
file(
|
|
GLOB_RECURSE _twin_data
|
|
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
|
|
${CMAKE_CURRENT_SOURCE_DIR}/data/*.twinrules
|
|
)
|
|
list( SORT _twin_data )
|
|
|
|
tde_l10n_create_template(
|
|
CATALOG "desktop_files/twin-desktops/"
|
|
SOURCES_DESKTOP ${_twin_kcms} ${_twin_data}
|
|
DESTINATION "${CMAKE_SOURCE_DIR}/translations"
|
|
)
|
|
|
|
tde_l10n_create_template(
|
|
CATALOG "desktop_files/twin-eventsrc/"
|
|
SOURCES eventsrc
|
|
DESTINATION "${CMAKE_SOURCE_DIR}/translations"
|
|
)
|