diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2021-03-16 00:02:31 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2021-05-05 20:39:11 +0200 |
commit | 9a433f8b79341838590b19b833a59b4a1db216bf (patch) | |
tree | 07608f16e2af3f42a91b57cc90d35abebb40d210 /quanta/src/CMakeLists.txt | |
parent | 6a49862306032b0d39f3bbd7521798e50b63dd95 (diff) | |
download | tdewebdev-9a433f8b79341838590b19b833a59b4a1db216bf.tar.gz tdewebdev-9a433f8b79341838590b19b833a59b4a1db216bf.zip |
Added translation of .desktop files.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 9b215fd2af36fbe86fc507d0cb3bba415c88fb58)
Diffstat (limited to 'quanta/src/CMakeLists.txt')
-rw-r--r-- | quanta/src/CMakeLists.txt | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/quanta/src/CMakeLists.txt b/quanta/src/CMakeLists.txt index fb9ec188..4ca5e552 100644 --- a/quanta/src/CMakeLists.txt +++ b/quanta/src/CMakeLists.txt @@ -53,8 +53,16 @@ link_directories( ##### other data ################################ -install( FILES quanta.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) -install( FILES x-webprj.desktop DESTINATION ${MIME_INSTALL_DIR}/application ) +tde_create_translated_desktop( + SOURCE quanta.desktop + DESTINATION ${XDG_APPS_INSTALL_DIR} + PO_DIR quanta-desktops +) +tde_create_translated_desktop( + SOURCE x-webprj.desktop + DESTINATION ${MIME_INSTALL_DIR}/application + PO_DIR quanta-desktops +) ##### quanta (executable) ####################### |