From 296306a273438f476ab2266d1c03616de1fd5ef7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Fri, 22 May 2020 02:49:40 +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 --- kcalc/CMakeLists.txt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'kcalc/CMakeLists.txt') diff --git a/kcalc/CMakeLists.txt b/kcalc/CMakeLists.txt index 9da35bf..528b162 100644 --- a/kcalc/CMakeLists.txt +++ b/kcalc/CMakeLists.txt @@ -53,9 +53,7 @@ install( FILES kcalcui.rc DESTINATION ${DATA_INSTALL_DIR}/kcalc ) -install( FILES kcalc.desktop - DESTINATION ${XDG_APPS_INSTALL_DIR} -) +tde_create_translated_desktop( kcalc.desktop ) install( FILES kcalcrc.upd DESTINATION ${KCONF_UPDATE_INSTALL_DIR} @@ -64,4 +62,3 @@ install( FILES kcalcrc.upd install( FILES kcalc.kcfg DESTINATION ${KCFG_INSTALL_DIR} ) - -- cgit v1.2.1