From 692670ce772c1d412317a053b7ed9505c83eaf77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Fri, 24 Jul 2020 09:56:16 +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 4b46227c04deca66c831446190f9f6bb98511996) --- kdpkg/CMakeLists.txt | 5 +---- kdpkg/kdpkg.desktop | 11 +++++------ 2 files changed, 6 insertions(+), 10 deletions(-) (limited to 'kdpkg') diff --git a/kdpkg/CMakeLists.txt b/kdpkg/CMakeLists.txt index cf6bfc9..2da1f20 100644 --- a/kdpkg/CMakeLists.txt +++ b/kdpkg/CMakeLists.txt @@ -32,7 +32,4 @@ tde_add_executable( ${PROJECT_NAME} AUTOMOC ##### other data -install( - FILES ${PROJECT_NAME}.desktop - DESTINATION ${XDG_APPS_INSTALL_DIR} -) +tde_create_translated_desktop( ${PROJECT_NAME}.desktop ) diff --git a/kdpkg/kdpkg.desktop b/kdpkg/kdpkg.desktop index ead1783..0abeb74 100644 --- a/kdpkg/kdpkg.desktop +++ b/kdpkg/kdpkg.desktop @@ -1,12 +1,11 @@ [Desktop Entry] -Encoding=UTF-8 -Icon=kdpkg -Type=Application -Exec=kdpkg %U - Name=Debian Package Information + Comment=TDE-based Debian package information and installation utility +Encoding=UTF-8 +Type=Application +Icon=kdpkg +Exec=kdpkg %U MimeType=application/x-deb;application/x-debian-package; - Categories=Qt;TDE;Utility -- cgit v1.2.3