From 2f706891f32258c2b070471905f983e4585296d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Fri, 26 Jun 2020 11:36:35 +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 --- konsole/other/CMakeLists.txt | 33 ++++++++++++++++++++++----------- 1 file changed, 22 insertions(+), 11 deletions(-) (limited to 'konsole/other/CMakeLists.txt') diff --git a/konsole/other/CMakeLists.txt b/konsole/other/CMakeLists.txt index 58dcd038b..564bf3504 100644 --- a/konsole/other/CMakeLists.txt +++ b/konsole/other/CMakeLists.txt @@ -20,25 +20,36 @@ else() set( KONSOLE_SUPER_USER_COMMAND su CACHE INTERNAL "" FORCE ) endif() -configure_file( su.desktop.cmake su.desktop @ONLY ) -configure_file( sumc.desktop.cmake sumc.desktop @ONLY ) - -install( FILES +install( + FILES BlackOnLightColor.schema BlackOnLightYellow.schema BlackOnWhite.schema Example.Schema GreenOnBlack.schema WhiteOnBlack.schema README.default.Schema syscolor.schema Linux.schema XTerm.schema vim.schema DarkPicture.schema LightPicture.schema Transparent.schema GreenTint.schema Transparent_MC.schema GreenTint_MC.schema Transparent_lightbg.schema - Transparent_darkbg.schema LightPaper.schema linux.desktop - mc.desktop shell.desktop - ${CMAKE_CURRENT_BINARY_DIR}/su.desktop - ${CMAKE_CURRENT_BINARY_DIR}/sumc.desktop + Transparent_darkbg.schema LightPaper.schema linux.keytab vt100.keytab vt420pc.keytab x11r5.keytab solaris.keytab README.Schema README.KeyTab README.default.Keytab + DESTINATION ${DATA_INSTALL_DIR}/konsole +) + +tde_create_translated_desktop( + SOURCE + linux.desktop + mc.desktop + shell.desktop screen.desktop - DESTINATION ${DATA_INSTALL_DIR}/konsole ) + su.desktop.cmake + sumc.desktop.cmake + DESTINATION ${DATA_INSTALL_DIR}/konsole + PO_DIR konsole-desktops +) -install( FILES +tde_create_translated_desktop( + SOURCE 2shells 3shells 4shells 5shells - DESTINATION ${DATA_INSTALL_DIR}/konsole/profiles ) + DESTINATION ${DATA_INSTALL_DIR}/konsole/profiles + KEYWORDS Title0 Title1 Title2 Title3 Title4 Title5 + PO_DIR konsole-desktops +) -- cgit v1.2.1