diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-05-22 02:49:40 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-05-22 02:49:40 +0200 |
commit | 296306a273438f476ab2266d1c03616de1fd5ef7 (patch) | |
tree | 7788ff1608858031d0b9816452591f2c62f42bc0 /tdelirc/irkick/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 <slavek.banko@axis.cz>
Diffstat (limited to 'tdelirc/irkick/CMakeLists.txt')
-rw-r--r-- | tdelirc/irkick/CMakeLists.txt | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tdelirc/irkick/CMakeLists.txt b/tdelirc/irkick/CMakeLists.txt index 415c3b7..79b74d2 100644 --- a/tdelirc/irkick/CMakeLists.txt +++ b/tdelirc/irkick/CMakeLists.txt @@ -50,11 +50,12 @@ tde_install_icons( ) ##### other data ################################ -install( FILES irkick.desktop - DESTINATION ${XDG_APPS_INSTALL_DIR} +tde_create_translated_desktop( + SOURCE irkick.desktop + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdelirc-desktops ) -install( FILES irkick.desktop +install( + FILES ${CMAKE_CURRENT_BINARY_DIR}/irkick.desktop DESTINATION ${AUTOSTART_INSTALL_DIR} ) - |