summaryrefslogtreecommitdiffstats
path: root/kmines/data/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2020-06-10 21:25:06 +0200
committerSlávek Banko <[email protected]>2020-06-12 14:19:33 +0200
commita25cdc59c6302046b3121276f5a33f6b1b55a538 (patch)
tree5c41c38d0c81e99bfe2d3a8564af42cc2d92941f /kmines/data/CMakeLists.txt
parentdc556f3e9a46e749b36cf773f9211db4ce58d96b (diff)
downloadtdegames-a25cdc59c6302046b3121276f5a33f6b1b55a538.tar.gz
tdegames-a25cdc59c6302046b3121276f5a33f6b1b55a538.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]>
Diffstat (limited to 'kmines/data/CMakeLists.txt')
-rw-r--r--kmines/data/CMakeLists.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/kmines/data/CMakeLists.txt b/kmines/data/CMakeLists.txt
index 45e39b94..49c51090 100644
--- a/kmines/data/CMakeLists.txt
+++ b/kmines/data/CMakeLists.txt
@@ -5,10 +5,10 @@ tde_install_icons( kmines )
##### other data ################################
-install( FILES kmines.desktop
- DESTINATION ${XDG_APPS_INSTALL_DIR}
-)
+tde_create_translated_desktop( kmines.desktop )
-install( FILES eventsrc
+tde_create_translated_desktop(
+ SOURCE eventsrc
DESTINATION ${DATA_INSTALL_DIR}/kmines
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kmines-eventsrc
)