From 7fa2dd79a4f7711a65b45724448c1529dfb94e9f 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 --- kbabel/common/CMakeLists.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'kbabel/common/CMakeLists.txt') diff --git a/kbabel/common/CMakeLists.txt b/kbabel/common/CMakeLists.txt index d0377a65..2050d51c 100644 --- a/kbabel/common/CMakeLists.txt +++ b/kbabel/common/CMakeLists.txt @@ -35,7 +35,12 @@ install( FILES ##### other data ################################ -install( FILES kbabelfilter.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE kbabelfilter.desktop + DESTINATION ${SERVICETYPES_INSTALL_DIR} + PO_DIR kbabel-desktops +) + install( FILES kbprojectsettings.kcfg DESTINATION ${KCFG_INSTALL_DIR} ) install( FILES kbabel-projectrename.upd DESTINATION ${KCONF_UPDATE_INSTALL_DIR} ) -- cgit v1.2.1