diff options
author | Slávek Banko <[email protected]> | 2020-06-11 14:54:26 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2020-06-12 14:21:08 +0200 |
commit | 7c7c238be19c9d17b1182d0b0fad31479aa7f59a (patch) | |
tree | dc86c967040e3d25bdabd4af40e606f2484930dc /tdescreensaver/kdesavers/CMakeLists.txt | |
parent | 0dc9e3c5476898c5fd5308cbdd84755b7b6c1c23 (diff) | |
download | tdeartwork-7c7c238be19c9d17b1182d0b0fad31479aa7f59a.tar.gz tdeartwork-7c7c238be19c9d17b1182d0b0fad31479aa7f59a.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 'tdescreensaver/kdesavers/CMakeLists.txt')
-rw-r--r-- | tdescreensaver/kdesavers/CMakeLists.txt | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tdescreensaver/kdesavers/CMakeLists.txt b/tdescreensaver/kdesavers/CMakeLists.txt index f08693ee..16eb09a8 100644 --- a/tdescreensaver/kdesavers/CMakeLists.txt +++ b/tdescreensaver/kdesavers/CMakeLists.txt @@ -124,7 +124,7 @@ endif( WITH_OPENGL ) # this screensavers will work only in X list( APPEND SCREENSAVERS ${X11_SCREENSAVERS} ) list( APPEND SCREENSAVERS ${NORMAL_SCREENSAVERS} ) - + ##### create install/compile rules ############## foreach( saver ${SCREENSAVERS} ) tde_add_executable( ${saver}.kss AUTOMOC @@ -132,8 +132,11 @@ foreach( saver ${SCREENSAVERS} ) LINK tdescreensaver-shared tdeui-shared ${${saver}_LINK} DESTINATION ${BIN_INSTALL_DIR} ) - install( FILES ${${saver}_DESKTOP} - DESTINATION ${APPS_INSTALL_DIR}/System/ScreenSavers ) + tde_create_translated_desktop( + SOURCE ${${saver}_DESKTOP} + DESTINATION ${APPS_INSTALL_DIR}/System/ScreenSavers + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdescreensaver-desktops + ) endforeach( saver ${SCREENSAVERS} ) ##### install various data ###################### |