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

tde_l10n_auto_add_subdirectories( )

file(
    GLOB_RECURSE _plugins
    RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
    ${CMAKE_CURRENT_SOURCE_DIR}/*.plugin
)
list( SORT _plugins )

tde_l10n_create_template(
    CATALOG "desktop_files/noatun-plugins-desktops/"
    SOURCES_DESKTOP ${_plugins}
    DESTINATION "${CMAKE_SOURCE_DIR}/translations"
)
