summaryrefslogtreecommitdiffstats
path: root/ksplashml/CMakeL10n.txt
blob: 2e1ad51f1abbaddc4461c5ebbc9bf5333b76bbbd (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
##### create translation templates ##############

tde_l10n_create_template(
    CATALOG "ksplash"
    EXCLUDES "^kcmksplash"
)

tde_l10n_auto_add_subdirectories( )

tde_l10n_create_template(
    CATALOG "desktop_files/ksplash-desktops/"
    SOURCES *.desktop
    DESTINATION "${CMAKE_SOURCE_DIR}/translations"
)

file(
  GLOB_RECURSE _themes
  RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
  ${CMAKE_CURRENT_SOURCE_DIR}/*Theme.rc
)
list( SORT _themes )

tde_l10n_create_template(
    CATALOG "desktop_files/ksplash-themes/"
    SOURCES_DESKTOP ${_themes}
    KEYWORDS Message1 Message2 Message3 Message4 Message5 Message6 Message7 Message8
    DESTINATION "${CMAKE_SOURCE_DIR}/translations"
)