summaryrefslogtreecommitdiffstats
path: root/kompare/komparepart/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-07-16 18:30:12 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-07-19 10:59:29 +0200
commitbb8c686cb39a1490b8738037a70a9926d8260891 (patch)
tree3b1ede7af76cc89884ea1bba650dd0cc6442f9f6 /kompare/komparepart/CMakeLists.txt
parent02c8258b5adb8e5025937fd96f5b1a585a9096a6 (diff)
downloadtdesdk-bb8c686cb39a1490b8738037a70a9926d8260891.tar.gz
tdesdk-bb8c686cb39a1490b8738037a70a9926d8260891.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> (cherry picked from commit 7fa2dd79a4f7711a65b45724448c1529dfb94e9f)
Diffstat (limited to 'kompare/komparepart/CMakeLists.txt')
-rw-r--r--kompare/komparepart/CMakeLists.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/kompare/komparepart/CMakeLists.txt b/kompare/komparepart/CMakeLists.txt
index 10083566..06682808 100644
--- a/kompare/komparepart/CMakeLists.txt
+++ b/kompare/komparepart/CMakeLists.txt
@@ -25,8 +25,11 @@ link_directories(
##### other data ################################
-install( FILES komparepart.desktop
- DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE komparepart.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR kompare-desktops
+)
install( FILES komparepartui.rc
DESTINATION ${DATA_INSTALL_DIR}/kompare )