summaryrefslogtreecommitdiffstats
path: root/tdefilereplace/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-03-16 00:02:31 +0100
committerSlávek Banko <slavek.banko@axis.cz>2021-05-05 20:39:11 +0200
commit9a433f8b79341838590b19b833a59b4a1db216bf (patch)
tree07608f16e2af3f42a91b57cc90d35abebb40d210 /tdefilereplace/CMakeLists.txt
parent6a49862306032b0d39f3bbd7521798e50b63dd95 (diff)
downloadtdewebdev-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 'tdefilereplace/CMakeLists.txt')
-rw-r--r--tdefilereplace/CMakeLists.txt11
1 files changed, 9 insertions, 2 deletions
diff --git a/tdefilereplace/CMakeLists.txt b/tdefilereplace/CMakeLists.txt
index a7ad9df1..24033e1a 100644
--- a/tdefilereplace/CMakeLists.txt
+++ b/tdefilereplace/CMakeLists.txt
@@ -29,8 +29,15 @@ link_directories(
##### other data ################################
tde_install_icons( )
-install( FILES tdefilereplace.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
-install( FILES tdefilereplacepart.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE tdefilereplace.desktop
+ PO_DIR tdefilereplace-desktops
+)
+tde_create_translated_desktop(
+ SOURCE tdefilereplacepart.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR tdefilereplace-desktops
+)
install( FILES tdefilereplacepartui.rc DESTINATION ${DATA_INSTALL_DIR}/tdefilereplacepart )
install( FILES tdefilereplaceui.rc DESTINATION ${DATA_INSTALL_DIR}/tdefilereplace )