summaryrefslogtreecommitdiffstats
path: root/kdpkg
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-07-24 09:56:16 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-07-24 09:56:36 +0200
commit692670ce772c1d412317a053b7ed9505c83eaf77 (patch)
tree0e6bc96805635b666ee6ae6df7cad8af0b1fc1ff /kdpkg
parente564eb713ae0d74979dc98275807c41c12998285 (diff)
downloadkdpkg-692670ce772c1d412317a053b7ed9505c83eaf77.tar.gz
kdpkg-692670ce772c1d412317a053b7ed9505c83eaf77.zip
Desktop file translations:
+ Creation of POT template for desktop files added to CMakeL10n rules. + Added creation of translated desktop files during build. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 4b46227c04deca66c831446190f9f6bb98511996)
Diffstat (limited to 'kdpkg')
-rw-r--r--kdpkg/CMakeLists.txt5
-rw-r--r--kdpkg/kdpkg.desktop11
2 files changed, 6 insertions, 10 deletions
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