diff options
author | Slávek Banko <[email protected]> | 2020-05-22 02:49:40 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2020-05-22 02:49:40 +0200 |
commit | 296306a273438f476ab2266d1c03616de1fd5ef7 (patch) | |
tree | 7788ff1608858031d0b9816452591f2c62f42bc0 /tdewallet/CMakeLists.txt | |
parent | 5422ccd94be4a116b9334fb3b350c3a07ff7505e (diff) | |
download | tdeutils-296306a273438f476ab2266d1c03616de1fd5ef7.tar.gz tdeutils-296306a273438f476ab2266d1c03616de1fd5ef7.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 'tdewallet/CMakeLists.txt')
-rw-r--r-- | tdewallet/CMakeLists.txt | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/tdewallet/CMakeLists.txt b/tdewallet/CMakeLists.txt index 7a4817e..659d654 100644 --- a/tdewallet/CMakeLists.txt +++ b/tdewallet/CMakeLists.txt @@ -48,8 +48,9 @@ install( FILES tdewalletmanager.rc tdewalleteditor.rc DESTINATION ${DATA_INSTALL_DIR}/tdewalletmanager ) -install( FILES tdewalletmanager.desktop - tdewalletmanager-tdewalletd.desktop - DESTINATION ${XDG_APPS_INSTALL_DIR} -) - +foreach( _desktop tdewalletmanager.desktop tdewalletmanager-tdewalletd.desktop ) + tde_create_translated_desktop( + SOURCE ${_desktop} + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdewallet-desktops + ) +endforeach() |