summaryrefslogtreecommitdiffstats
path: root/kontact/CMakeL10n.txt
blob: 1df9203a986c88ab2622926ce791ab0a49553e96 (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
##### 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"
)