From 692670ce772c1d412317a053b7ed9505c83eaf77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Fri, 24 Jul 2020 09:56:16 +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 (cherry picked from commit 4b46227c04deca66c831446190f9f6bb98511996) --- kdpkg-install/CMakeLists.txt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'kdpkg-install/CMakeLists.txt') diff --git a/kdpkg-install/CMakeLists.txt b/kdpkg-install/CMakeLists.txt index 0dc2bf9..9ee0c1c 100644 --- a/kdpkg-install/CMakeLists.txt +++ b/kdpkg-install/CMakeLists.txt @@ -36,10 +36,7 @@ tde_add_executable( ${PROJECT_NAME}-install AUTOMOC ##### other data -install( - FILES ${PROJECT_NAME}-install.desktop - DESTINATION ${XDG_APPS_INSTALL_DIR} -) +tde_create_translated_desktop( ${PROJECT_NAME}-install.desktop ) install( PROGRAMS ${CMAKE_CURRENT_SOURCE_DIR}/sh/${PROJECT_NAME}-sh -- cgit v1.2.1