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 094a30578f)
r14.0.x
Slávek Banko 5 years ago
parent f3ed47ff48
commit 342c359f0d
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

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

@ -55,7 +55,4 @@ install(
DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME} DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}
) )
install( tde_create_translated_desktop( ${PROJECT_NAME}.desktop )
FILES ${PROJECT_NAME}.desktop
DESTINATION ${APPS_INSTALL_DIR}/Utilities
)

@ -7,13 +7,8 @@ Icon=knutclient
MiniIcon=knutclient MiniIcon=knutclient
X-DocPath=knutclient/index.html X-DocPath=knutclient/index.html
Name=KNutClient Name=KNutClient
Name[de]=KNutClient
Name[cs]=KNutClient
GenericName=Network UPS Client GenericName=Network UPS Client
Comment=Client for NUT Comment=Client for NUT
Comment[de]=
Comment[cs]=Klient pro UPS syst<73> NUT
Comment[es]=Cliente TDE para NUT
Terminal=0 Terminal=0
X-TDE-StartupNotify=true X-TDE-StartupNotify=true
Categories=Qt;TDE;System;Monitor; Categories=Qt;TDE;System;Monitor;

@ -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-01 19:18+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: cs\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Name
#: knutclient.desktop:9
msgid "KNutClient"
msgstr "KNutClient"
#. GenericName
#: knutclient.desktop:10
msgid "Network UPS Client"
msgstr ""
#. Comment
#: knutclient.desktop:11
msgid "Client for NUT"
msgstr "Klient pro UPS systém NUT"

@ -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-01 19:18+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: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Name
#: knutclient.desktop:9
msgid "KNutClient"
msgstr "KNutClient"
#. GenericName
#: knutclient.desktop:10
msgid "Network UPS Client"
msgstr ""
#. Comment
#: knutclient.desktop:11
msgid "Client for NUT"
msgstr ""

@ -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-01 19:18+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: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Name
#: knutclient.desktop:9
msgid "KNutClient"
msgstr ""
#. GenericName
#: knutclient.desktop:10
msgid "Network UPS Client"
msgstr ""
#. Comment
#: knutclient.desktop:11
msgid "Client for NUT"
msgstr "Cliente TDE para NUT"

@ -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-01 19:18+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
#: knutclient.desktop:9
msgid "KNutClient"
msgstr ""
#. GenericName
#: knutclient.desktop:10
msgid "Network UPS Client"
msgstr ""
#. Comment
#: knutclient.desktop:11
msgid "Client for NUT"
msgstr ""
Loading…
Cancel
Save