summaryrefslogtreecommitdiffstats
path: root/tutorials/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2020-07-15 20:12:47 +0200
committerSlávek Banko <[email protected]>2020-07-16 14:56:12 +0200
commite604ddcc4c22f4baa33b3ac7737271346c5b33c8 (patch)
tree5801d6f9c361d087b54fff6d554d02c91befcb57 /tutorials/CMakeLists.txt
parent02e3da597ed8db74f0a8e8866682d4549da9fbd0 (diff)
downloadtdeaddons-e604ddcc4c22f4baa33b3ac7737271346c5b33c8.tar.gz
tdeaddons-e604ddcc4c22f4baa33b3ac7737271346c5b33c8.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 cb8cda7bca532df21c02bc4d2bfd03387df7f852)
Diffstat (limited to 'tutorials/CMakeLists.txt')
-rw-r--r--tutorials/CMakeLists.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/tutorials/CMakeLists.txt b/tutorials/CMakeLists.txt
index c6732ad..627b594 100644
--- a/tutorials/CMakeLists.txt
+++ b/tutorials/CMakeLists.txt
@@ -6,6 +6,9 @@
#
#################################################
-install( FILES
+tde_create_translated_desktop(
+ SOURCE
.directory docprimer.desktop markup.desktop styleguide.desktop
- DESTINATION ${DATA_INSTALL_DIR}/khelpcenter/plugins/Tutorials )
+ DESTINATION ${DATA_INSTALL_DIR}/khelpcenter/plugins/Tutorials
+ PO_DIR tutorials-desktops
+)