From a1066b66a7b397f1cdac40d6970b9640184fe8f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Fri, 22 May 2020 02:49:40 +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 296306a273438f476ab2266d1c03616de1fd5ef7) --- tdelirc/irkick/CMakeLists.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'tdelirc/irkick/CMakeLists.txt') diff --git a/tdelirc/irkick/CMakeLists.txt b/tdelirc/irkick/CMakeLists.txt index 415c3b7..79b74d2 100644 --- a/tdelirc/irkick/CMakeLists.txt +++ b/tdelirc/irkick/CMakeLists.txt @@ -50,11 +50,12 @@ tde_install_icons( ) ##### other data ################################ -install( FILES irkick.desktop - DESTINATION ${XDG_APPS_INSTALL_DIR} +tde_create_translated_desktop( + SOURCE irkick.desktop + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdelirc-desktops ) -install( FILES irkick.desktop +install( + FILES ${CMAKE_CURRENT_BINARY_DIR}/irkick.desktop DESTINATION ${AUTOSTART_INSTALL_DIR} ) - -- cgit v1.2.1