summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2022-08-27 17:26:03 +0200
committerSlávek Banko <slavek.banko@axis.cz>2022-08-27 17:26:03 +0200
commitc81945a0823af6177bc05263edf11ba379e60e7c (patch)
tree7ff9a56a981409cccaa402f9a07c6b3327f609e1 /src/CMakeLists.txt
parent3e30a7a74408b3217e3f5a22754cdd39c29d3ca2 (diff)
downloadk3b-c81945a0823af6177bc05263edf11ba379e60e7c.tar.gz
k3b-c81945a0823af6177bc05263edf11ba379e60e7c.zip
Added translation of .desktop files.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 24f2ab3..f62e26b 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -84,14 +84,22 @@ tde_add_executable( k3b AUTOMOC
##### other data ################################
-install( FILES k3b-cue.desktop
+tde_create_translated_desktop(
+ SOURCE k3b-cue.desktop
DESTINATION ${APPS_INSTALL_DIR}/.hidden/
)
-install( FILES k3bui.rc eventsrc tips
+tde_create_translated_desktop(
+ SOURCE eventsrc
DESTINATION ${DATA_INSTALL_DIR}/k3b
)
-install( FILES k3b.desktop
+install(
+ FILES k3bui.rc tips
+ DESTINATION ${DATA_INSTALL_DIR}/k3b
+)
+
+tde_create_translated_desktop(
+ SOURCE k3b.desktop
DESTINATION ${XDG_APPS_INSTALL_DIR}
)