summaryrefslogtreecommitdiffstats
path: root/kmilo/CMakeL10n.txt
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2020-05-22 02:49:40 +0200
committerSlávek Banko <[email protected]>2020-05-24 15:49:49 +0200
commita1066b66a7b397f1cdac40d6970b9640184fe8f6 (patch)
tree023614a603e30a1f7a3ae99c3bbc366fcb4b2178 /kmilo/CMakeL10n.txt
parent2f27665e4d477b9016dc38bf4d83945a371f9c0d (diff)
downloadtdeutils-a1066b66a7b397f1cdac40d6970b9640184fe8f6.tar.gz
tdeutils-a1066b66a7b397f1cdac40d6970b9640184fe8f6.zip
Desktop file translations:
+ Creation of POT template for desktop files added to CMakeL10n rules. + Added creation of translated desktop files during build. Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 296306a273438f476ab2266d1c03616de1fd5ef7)
Diffstat (limited to 'kmilo/CMakeL10n.txt')
-rw-r--r--kmilo/CMakeL10n.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/kmilo/CMakeL10n.txt b/kmilo/CMakeL10n.txt
index b585ce4..145ccd7 100644
--- a/kmilo/CMakeL10n.txt
+++ b/kmilo/CMakeL10n.txt
@@ -1,3 +1,9 @@
##### create translation templates ##############
tde_l10n_auto_add_subdirectories( )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/kmilo-desktops/"
+ SOURCES *.desktop
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)