From bb8c686cb39a1490b8738037a70a9926d8260891 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 16 Jul 2020 18:30:12 +0200 Subject: Desktop file translations: + Creation of POT template for desktop files added to CMakeL10n rules. + Added creation of translated desktop files during build. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit 7fa2dd79a4f7711a65b45724448c1529dfb94e9f) --- kompare/komparepart/CMakeLists.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'kompare/komparepart/CMakeLists.txt') 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 ) -- cgit v1.2.1