blob: 11540e442ac2e2f3da71430921db52ef091bf4db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
##### 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"
)
|