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 --- tdm/kfrontend/themes/o2_enterprise/CMakeLists.txt | 14 +++++++++++--- tdm/kfrontend/themes/o2_enterprise/GdmGreeterTheme.desktop | 3 +++ 2 files changed, 14 insertions(+), 3 deletions(-) (limited to 'tdm/kfrontend/themes/o2_enterprise') diff --git a/tdm/kfrontend/themes/o2_enterprise/CMakeLists.txt b/tdm/kfrontend/themes/o2_enterprise/CMakeLists.txt index bf9f738a0..b5566097f 100644 --- a/tdm/kfrontend/themes/o2_enterprise/CMakeLists.txt +++ b/tdm/kfrontend/themes/o2_enterprise/CMakeLists.txt @@ -9,8 +9,16 @@ # ################################################# -install( FILES +tde_create_translated_desktop( + SOURCE GdmGreeterTheme.desktop + DESTINATION ${DATA_INSTALL_DIR}/tdm/themes/o2_enterprise + PO_DIR tdm-themes +) + +install( + FILES Dialog.png enter_normal.png enter_over.png enter_pressed.png - enterprise.xml GdmGreeterTheme.desktop preview.png + enterprise.xml preview.png system_normal.png system_over.png system_pressed.png - DESTINATION ${DATA_INSTALL_DIR}/tdm/themes/o2_enterprise ) + DESTINATION ${DATA_INSTALL_DIR}/tdm/themes/o2_enterprise +) diff --git a/tdm/kfrontend/themes/o2_enterprise/GdmGreeterTheme.desktop b/tdm/kfrontend/themes/o2_enterprise/GdmGreeterTheme.desktop index 10ce5cc52..07d58f244 100644 --- a/tdm/kfrontend/themes/o2_enterprise/GdmGreeterTheme.desktop +++ b/tdm/kfrontend/themes/o2_enterprise/GdmGreeterTheme.desktop @@ -4,7 +4,10 @@ [GdmGreeterTheme] Encoding=UTF-8 Greeter=enterprise.xml + Name=O2 Enterprise + Description=A sleek and professional looking TDM theme for Trinity + Author=Ken Wimer (wimer@kde.org) and Timothy Pearson (kb9vqf@pearsoncomputing.net) Screenshot=preview.png -- cgit v1.2.1