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 --- khelpcenter/plugins/Scrollkeeper/CMakeLists.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'khelpcenter/plugins/Scrollkeeper/CMakeLists.txt') diff --git a/khelpcenter/plugins/Scrollkeeper/CMakeLists.txt b/khelpcenter/plugins/Scrollkeeper/CMakeLists.txt index fe2acd80f..16ae52e8d 100644 --- a/khelpcenter/plugins/Scrollkeeper/CMakeLists.txt +++ b/khelpcenter/plugins/Scrollkeeper/CMakeLists.txt @@ -9,6 +9,9 @@ # ################################################# -install( FILES +tde_create_translate_desktop( + SOURCE .directory scrollkeeper.desktop - DESTINATION ${DATA_INSTALL_DIR}/khelpcenter/plugins/Scrollkeeper ) + DESTINATION ${DATA_INSTALL_DIR}/khelpcenter/plugins/Scrollkeeper + PO_DIR khelpcenter-desktops +) -- cgit v1.2.1