summaryrefslogtreecommitdiffstats
path: root/twin4/CMakeL10n.txt
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2020-06-10 21:25:06 +0200
committerSlávek Banko <[email protected]>2020-06-12 15:23:06 +0200
commit87f08539f4780f52819ddb9e7d291decbc14fa6f (patch)
tree902840117702b8d2c955b33f0402e0df6446a22c /twin4/CMakeL10n.txt
parentbd46b20a12f3634ad167206c497bb9a050ac533c (diff)
downloadtdegames-87f08539f4780f52819ddb9e7d291decbc14fa6f.tar.gz
tdegames-87f08539f4780f52819ddb9e7d291decbc14fa6f.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 a25cdc59c6302046b3121276f5a33f6b1b55a538)
Diffstat (limited to 'twin4/CMakeL10n.txt')
-rw-r--r--twin4/CMakeL10n.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/twin4/CMakeL10n.txt b/twin4/CMakeL10n.txt
index b585ce4a..1c05936e 100644
--- a/twin4/CMakeL10n.txt
+++ b/twin4/CMakeL10n.txt
@@ -1,3 +1,9 @@
##### create translation templates ##############
tde_l10n_auto_add_subdirectories( )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/twin4.desktop/"
+ SOURCES twin4.desktop
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)