summaryrefslogtreecommitdiffstats
path: root/kcron/CMakeL10n.txt
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-05-31 19:18:47 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-05-31 19:18:47 +0200
commitcfe279f15a6ca1dad65d63f289a6a6a8a91bb024 (patch)
treea94e1b610ad1a7989454fea921479fcd34e6da7d /kcron/CMakeL10n.txt
parent1520d3a0913a80a9071c15c1a039e2b1c7dbb993 (diff)
downloadtdeadmin-cfe279f15a6ca1dad65d63f289a6a6a8a91bb024.tar.gz
tdeadmin-cfe279f15a6ca1dad65d63f289a6a6a8a91bb024.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 <slavek.banko@axis.cz>
Diffstat (limited to 'kcron/CMakeL10n.txt')
-rw-r--r--kcron/CMakeL10n.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/kcron/CMakeL10n.txt b/kcron/CMakeL10n.txt
index b1b6c06..a0d32d7 100644
--- a/kcron/CMakeL10n.txt
+++ b/kcron/CMakeL10n.txt
@@ -1,3 +1,9 @@
##### create translation templates ##############
tde_l10n_create_template( "kcron" )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/kcron.desktop/"
+ SOURCES kcron.desktop
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)