summaryrefslogtreecommitdiffstats
path: root/noatun-plugins/CMakeL10n.txt
diff options
context:
space:
mode:
Diffstat (limited to 'noatun-plugins/CMakeL10n.txt')
-rw-r--r--noatun-plugins/CMakeL10n.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/noatun-plugins/CMakeL10n.txt b/noatun-plugins/CMakeL10n.txt
index b585ce4..52bc71b 100644
--- a/noatun-plugins/CMakeL10n.txt
+++ b/noatun-plugins/CMakeL10n.txt
@@ -1,3 +1,16 @@
##### 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"
+)