summaryrefslogtreecommitdiffstats
path: root/part/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2022-02-06 18:30:48 +0100
committerSlávek Banko <slavek.banko@axis.cz>2022-02-06 18:30:48 +0100
commit1b87ee119571516b414c70e4afab9fd68750b1cb (patch)
tree0a05fc146a523fe8fbc5f047c207d8a209466398 /part/CMakeLists.txt
parentcb952883c9662328e7b1ac026589a116e687aa69 (diff)
downloadkxmleditor-1b87ee119571516b414c70e4afab9fd68750b1cb.tar.gz
kxmleditor-1b87ee119571516b414c70e4afab9fd68750b1cb.zip
Copy translations to a new directory layout.
Use common rules for build and install translations. Added translation of .desktop files. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'part/CMakeLists.txt')
-rw-r--r--part/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/part/CMakeLists.txt b/part/CMakeLists.txt
index 58e5261..f515ba8 100644
--- a/part/CMakeLists.txt
+++ b/part/CMakeLists.txt
@@ -68,7 +68,7 @@ install(
DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}
)
-install(
- FILES kxmleditorpart.desktop
+tde_create_translated_desktop(
+ SOURCE kxmleditorpart.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
)