diff options
author | Slávek Banko <[email protected]> | 2020-06-26 11:36:35 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2020-06-28 00:41:12 +0200 |
commit | 2f706891f32258c2b070471905f983e4585296d2 (patch) | |
tree | 6c74e28fd7c74d26b1c36c371a9ed56295cc05ae /konsole/other/CMakeLists.txt | |
parent | 98f2d732f33659ba749b70fb939e8eaa0c97edf8 (diff) | |
download | tdebase-2f706891f32258c2b070471905f983e4585296d2.tar.gz tdebase-2f706891f32258c2b070471905f983e4585296d2.zip |
Desktop file translations:
+ Creation of POT template for desktop files added to CMakeL10n rules.
+ Added creation of translated desktop files during build.
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'konsole/other/CMakeLists.txt')
-rw-r--r-- | konsole/other/CMakeLists.txt | 33 |
1 files changed, 22 insertions, 11 deletions
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 +) |