diff options
author | Slávek Banko <[email protected]> | 2020-05-14 15:26:41 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2020-05-14 15:26:41 +0200 |
commit | 094853ca31a9dc5e619b0951953d4dc862a99e25 (patch) | |
tree | 1d5cf4fca876d27b913dbf3afe5a212a91b2b681 /kworldwatch/CMakeLists.txt | |
parent | cbaa57c4db0b5723b68ff5e719d8d965b7f34ec2 (diff) | |
download | tdetoys-094853ca31a9dc5e619b0951953d4dc862a99e25.tar.gz tdetoys-094853ca31a9dc5e619b0951953d4dc862a99e25.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 'kworldwatch/CMakeLists.txt')
-rw-r--r-- | kworldwatch/CMakeLists.txt | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/kworldwatch/CMakeLists.txt b/kworldwatch/CMakeLists.txt index 72bc706..90c9d61 100644 --- a/kworldwatch/CMakeLists.txt +++ b/kworldwatch/CMakeLists.txt @@ -59,20 +59,23 @@ tde_install_icons( kworldclock ) ##### other data ################################ -install( FILES kworldclock.desktop - DESTINATION ${XDG_APPS_INSTALL_DIR} +tde_create_translated_desktop( + SOURCE kworldclock.desktop + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kworldwatch-desktops ) -install( FILES kdeworld.desktop - DESTINATION - ${DATA_INSTALL_DIR}/kdesktop/programs +tde_create_translated_desktop( + SOURCE kdeworld.desktop + DESTINATION ${DATA_INSTALL_DIR}/kdesktop/programs + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kworldwatch-desktops ) install( FILES zone.tab DESTINATION ${DATA_INSTALL_DIR}/kworldclock ) -install( FILES kwwapplet.desktop +tde_create_translated_desktop( + SOURCE kwwapplet.desktop DESTINATION ${DATA_INSTALL_DIR}/kicker/applets + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kworldwatch-desktops ) - |