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/.directory | 8 ++------ khelpcenter/plugins/Scrollkeeper/CMakeLists.txt | 7 +++++-- 2 files changed, 7 insertions(+), 8 deletions(-) (limited to 'khelpcenter/plugins/Scrollkeeper') diff --git a/khelpcenter/plugins/Scrollkeeper/.directory b/khelpcenter/plugins/Scrollkeeper/.directory index 8148db1c5..1ce8dfa65 100644 --- a/khelpcenter/plugins/Scrollkeeper/.directory +++ b/khelpcenter/plugins/Scrollkeeper/.directory @@ -1,9 +1,5 @@ [Desktop Entry] -Name=Scrollkeeper -Name[eo]=Dokumentara Katalogo -Name[hi]=स्क्रॉलकीपर -Name[hr]=Držač klizanja -Name[km]=ឧបករណ៍​រក្សា​រមូរ -Name[lo]=ໂປຣແກຣມຮັກສາຈໍພາບ Icon=contents2 X-DOC-Weight=-400 + +Name=Scrollkeeper 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