From ff3f2006ce72b2edabc534188a4ad006e89b4f84 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 --- noatun/CMakeLists.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'noatun/CMakeLists.txt') diff --git a/noatun/CMakeLists.txt b/noatun/CMakeLists.txt index df9f15b4..dc2a6817 100644 --- a/noatun/CMakeLists.txt +++ b/noatun/CMakeLists.txt @@ -56,8 +56,13 @@ add_custom_target( noatun.api ##### other data ################################ -install( FILES noatun.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE noatun.desktop + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/noatun-desktops +) + install( FILES noatun.upd DESTINATION ${DATA_INSTALL_DIR}/tdeconf_update ) + install( FILES preset.dance preset.jazz preset.metal preset.trance preset.zero -- cgit v1.2.1