From 92841ae8b62560f0b137dc838bfd12ac78d26599 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 28 Jun 2020 00:42:21 +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 2f706891f32258c2b070471905f983e4585296d2) --- applnk/CMakeLists.txt | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'applnk/CMakeLists.txt') diff --git a/applnk/CMakeLists.txt b/applnk/CMakeLists.txt index d24a872c7..fe30dd420 100644 --- a/applnk/CMakeLists.txt +++ b/applnk/CMakeLists.txt @@ -19,12 +19,15 @@ install( FILES tde-essential.menu DESTINATION ${XDG_MENU_INSTALL_DIR}/applications-merged ) -install( FILES - hidden.directory +tde_create_translated_desktop( + SOURCE hidden.directory DESTINATION ${APPS_INSTALL_DIR}/.hidden - RENAME .directory ) + PO_DIR applnk-directories + OUTPUT_NAME .directory +) -install( FILES +tde_create_translated_desktop( + SOURCE tde-games-logic.directory tde-main.directory tde-development.directory tde-editors.directory tde-edutainment.directory tde-games-arcade.directory @@ -58,4 +61,6 @@ install( FILES kde-settingsmenu.directory kde-system.directory kde-toys.directory kde-utilities-accessibility.directory kde-utilities-desktop.directory kde-utilities-pim.directory kde-utilities.directory tde-office-pim.directory - DESTINATION ${XDG_DIRECTORY_INSTALL_DIR} ) + DESTINATION ${XDG_DIRECTORY_INSTALL_DIR} + PO_DIR applnk-directories +) -- cgit v1.2.1