##### create translation templates ##############

tde_l10n_create_template(
    CATALOG "kcmlayout"
    SOURCES
        kcmlayout.cpp
        kcmmisc.cpp
        kxkbbindings.cpp
        pixmap.cpp
        rules.cpp
        *.ui
)

tde_l10n_create_template(
    CATALOG "kxkb"
    SOURCES
        extension.cpp
        kxkb.cpp
        kxkbbindings.cpp
        kxkbtraywindow.cpp
        pixmap.cpp
        rules.cpp
)

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

tde_l10n_create_template(
    CATALOG "desktop_files/kxkb-eventsrc/"
    SOURCES eventsrc
    DESTINATION "${CMAKE_SOURCE_DIR}/translations"
)