summaryrefslogtreecommitdiffstats
path: root/klaptopdaemon/CMakeL10n.txt
blob: 6ef457ddec2f5baa5038a54571054b86d778f900 (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 ##############

set( KCMLAPTOP_SOURCES
    acpi.cpp
    apm.cpp
    battery.cpp
    buttons.cpp
    main.cpp
    pcmcia.cpp
    power.cpp
    profile.cpp
    sony.cpp
    warning.cpp
)

unset( KLAPTOPDAEMON_EXCLUDES )
foreach( _src ${KCMLAPTOP_SOURCES} )
    list( APPEND KLAPTOPDAEMON_EXCLUDES "^${_src}\\\$" )
endforeach( )

tde_l10n_create_template(
    CATALOG "kcmlaptop"
    SOURCES ${KCMLAPTOP_SOURCES}
)

tde_l10n_create_template(
    CATALOG "klaptopdaemon"
    SOURCES "."
    EXCLUDES ${KLAPTOPDAEMON_EXCLUDES}
)

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