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 b262eedefe)
r14.0.x
Slávek Banko 5 years ago
parent 67e18f5fce
commit 77f505516b
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -1,3 +1,8 @@
##### create translation templates ##############
tde_l10n_create_template( "messages/kvkbd" )
tde_l10n_create_template(
CATALOG "desktop_files/kvkbd.desktop/"
SOURCES kvkbd.desktop
)

@ -47,7 +47,4 @@ install(
DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}/pics
)
install(
FILES ${PROJECT_NAME}.desktop
DESTINATION ${XDG_APPS_INSTALL_DIR}
)
tde_create_translated_desktop( ${PROJECT_NAME}.desktop )

@ -1,7 +1,6 @@
[Desktop Entry]
Encoding=UTF-8
Name=Kvkbd
Name[xx]=xxkvkbdxx
GenericName=Virtual Keyboard
Exec=kvkbd
Icon=kvkbd

@ -0,0 +1,32 @@
# 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-05-03 10:29+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
#: kvkbd.desktop:3
msgid "Kvkbd"
msgstr ""
#. GenericName
#: kvkbd.desktop:4
msgid "Virtual Keyboard"
msgstr ""
#. Comment
#: kvkbd.desktop:8
msgid "A virtual keyboard for TDE"
msgstr ""
Loading…
Cancel
Save