##### 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}
)
