summaryrefslogtreecommitdiffstats
path: root/src/knemod/CMakeLists.txt
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-10-09 15:43:27 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-10-09 15:50:48 +0800
commita4ef8ce2e72c3e864b25d703efb22d053e6237b3 (patch)
treeea00341456944c915666b9644b8e0fb31abe397c /src/knemod/CMakeLists.txt
parent449493e3e51bee8cf10949149de4cba381210d8b (diff)
downloadknemo-a4ef8ce2e72c3e864b25d703efb22d053e6237b3.tar.gz
knemo-a4ef8ce2e72c3e864b25d703efb22d053e6237b3.zip
Added translation of .desktop files.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 7865a399008d1433aff41b09458caf9376400a7b)
Diffstat (limited to 'src/knemod/CMakeLists.txt')
-rw-r--r--src/knemod/CMakeLists.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/knemod/CMakeLists.txt b/src/knemod/CMakeLists.txt
index 1c20c7a..17b833d 100644
--- a/src/knemod/CMakeLists.txt
+++ b/src/knemod/CMakeLists.txt
@@ -49,12 +49,13 @@ tde_add_kpart( kded_knemod AUTOMOC
##### other data
-install(
- FILES eventsrc
+tde_create_translated_desktop(
+ SOURCE eventsrc
DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}
)
tde_create_translated_desktop(
SOURCE knemod.desktop
+ PO_DIR knemo-desktops
DESTINATION ${SERVICES_INSTALL_DIR}/kded
)