summaryrefslogtreecommitdiffstats
path: root/kate/openheader/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-07-15 20:12:47 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-07-15 20:12:47 +0200
commitcb8cda7bca532df21c02bc4d2bfd03387df7f852 (patch)
tree7f6b988c304024c9a45bccc2070790b65b95553e /kate/openheader/CMakeLists.txt
parent41f27d91571102626d9aae843adbe070fcb5aef3 (diff)
downloadtdeaddons-cb8cda7bca532df21c02bc4d2bfd03387df7f852.tar.gz
tdeaddons-cb8cda7bca532df21c02bc4d2bfd03387df7f852.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 'kate/openheader/CMakeLists.txt')
-rw-r--r--kate/openheader/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/kate/openheader/CMakeLists.txt b/kate/openheader/CMakeLists.txt
index 36fc5e0..69fb28e 100644
--- a/kate/openheader/CMakeLists.txt
+++ b/kate/openheader/CMakeLists.txt
@@ -28,6 +28,8 @@ install( FILES ui.rc
DESTINATION ${DATA_INSTALL_DIR}/kate/plugins/kateopenheader
)
-install( FILES kateopenheader.desktop
+tde_create_translated_desktop(
+ SOURCE kateopenheader.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR kate-plugins-desktops
)