From a25cdc59c6302046b3121276f5a33f6b1b55a538 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Wed, 10 Jun 2020 21:25:06 +0200 Subject: Desktop file translations: + Creation of POT template for desktop files added to CMakeL10n rules. + Added creation of translated desktop files during build. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- knetwalk/src/CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'knetwalk/src/CMakeLists.txt') diff --git a/knetwalk/src/CMakeLists.txt b/knetwalk/src/CMakeLists.txt index 273e3cf6..76f7cccb 100644 --- a/knetwalk/src/CMakeLists.txt +++ b/knetwalk/src/CMakeLists.txt @@ -29,13 +29,13 @@ tde_add_executable( knetwalk AUTOMOC ##### other data ################################ -install( FILES eventsrc +tde_create_translated_desktop( + SOURCE eventsrc DESTINATION ${DATA_INSTALL_DIR}/knetwalk + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/knetwalk-eventsrc ) -install( FILES knetwalk.desktop - DESTINATION ${XDG_APPS_INSTALL_DIR} -) +tde_create_translated_desktop( knetwalk.desktop ) install( FILES knetwalkui.rc DESTINATION ${DATA_INSTALL_DIR}/knetwalk -- cgit v1.2.1