From 2f706891f32258c2b070471905f983e4585296d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Fri, 26 Jun 2020 11:36:35 +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 --- tdeprint/tdeprint_part/CMakeLists.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'tdeprint/tdeprint_part/CMakeLists.txt') diff --git a/tdeprint/tdeprint_part/CMakeLists.txt b/tdeprint/tdeprint_part/CMakeLists.txt index c0f04a9fe..ce1f06956 100644 --- a/tdeprint/tdeprint_part/CMakeLists.txt +++ b/tdeprint/tdeprint_part/CMakeLists.txt @@ -25,7 +25,12 @@ link_directories( ##### other data ################################ install( FILES tdeprint_part.rc DESTINATION ${DATA_INSTALL_DIR}/tdeprint_part ) -install( FILES tdeprint_part.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) + +tde_create_translated_desktop( + SOURCE tdeprint_part.desktop + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR tdeprint-desktops +) ##### libtdeprint_part (module) ################# -- cgit v1.2.1