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>
pull/5/head
Slávek Banko 4 years ago
parent f1a89342b1
commit 4b46227c04
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -21,3 +21,8 @@ include( TDEL10n )
##### create translation templates ##############
tde_l10n_auto_add_subdirectories( )
tde_l10n_create_template(
CATALOG "desktop_files/kdpkg-desktops"
SOURCES *.desktop
)

@ -36,10 +36,7 @@ tde_add_executable( ${PROJECT_NAME}-install AUTOMOC
##### other data
install(
FILES ${PROJECT_NAME}-install.desktop
DESTINATION ${XDG_APPS_INSTALL_DIR}
)
tde_create_translated_desktop( ${PROJECT_NAME}-install.desktop )
install(
PROGRAMS ${CMAKE_CURRENT_SOURCE_DIR}/sh/${PROJECT_NAME}-sh

@ -1,12 +1,11 @@
[Desktop Entry]
Encoding=UTF-8
Icon=kdpkg
Type=Application
Exec=su-to-root -X -c "kdpkg-install %U"
Name=Debian Package Install
Comment=TDE-based Debian package installation utility
Encoding=UTF-8
Type=Application
Icon=kdpkg
Exec=su-to-root -X -c "kdpkg-install %U"
MimeType=application/x-deb;application/x-debian-package;
Categories=Qt;TDE;Utility

@ -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 )

@ -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

@ -0,0 +1,37 @@
# SOME DESCRIPTIVE TITLE.
# This file is put in the public domain.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-07-24 09:53+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Name
#: kdpkg-install/kdpkg-install.desktop:2
msgid "Debian Package Install"
msgstr ""
#. Comment
#: kdpkg-install/kdpkg-install.desktop:4
msgid "TDE-based Debian package installation utility"
msgstr ""
#. Name
#: kdpkg/kdpkg.desktop:2
msgid "Debian Package Information"
msgstr ""
#. Comment
#: kdpkg/kdpkg.desktop:4
msgid "TDE-based Debian package information and installation utility"
msgstr ""
Loading…
Cancel
Save