From d11ce98ed0b2a0508fcfbe8bb0f956e3f671ad0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sat, 30 May 2020 00:57:03 +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 ff3f2006ce72b2edabc534188a4ad006e89b4f84) --- krec/mp3_export/CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'krec/mp3_export/CMakeLists.txt') diff --git a/krec/mp3_export/CMakeLists.txt b/krec/mp3_export/CMakeLists.txt index 13850c31..c0575e89 100644 --- a/krec/mp3_export/CMakeLists.txt +++ b/krec/mp3_export/CMakeLists.txt @@ -47,4 +47,8 @@ tde_add_kpart( libkrecexport_mp3 AUTOMOC ##### other data ################################ -install( FILES krec_exportmp3.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +tde_creat_translated_desktop( + SOURCE krec_exportmp3.desktop + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/krec-desktops +) -- cgit v1.2.1