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

@ -4,3 +4,8 @@ tde_l10n_create_template(
CATALOG "messages/knowit" CATALOG "messages/knowit"
SOURCES "." "tips" SOURCES "." "tips"
) )
tde_l10n_create_template(
CATALOG "desktop_files/knowit.desktop/"
SOURCES knowit.desktop
)

@ -50,10 +50,7 @@ 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 ${XDG_APPS_INSTALL_DIR}
)
install( install(
FILES x-${PROJECT_NAME}.desktop FILES x-${PROJECT_NAME}.desktop

@ -5,10 +5,7 @@ Exec=knowit -caption "%c" %i %m
MimeType=application/x-knowit MimeType=application/x-knowit
Icon=desktop Icon=desktop
X-DocPath=knowit/index.html X-DocPath=knowit/index.html
Comment=
Comment[de]=
Terminal=0 Terminal=0
Name=KnowIt Name=KnowIt
Name[de]=KnowIt
Categories=Qt;TDE;Office Categories=Qt;TDE;Office
GenericName=Note Manager GenericName=Note Manager

@ -0,0 +1,27 @@
# 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-04-30 18:01+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
#: knowit.desktop:9
msgid "KnowIt"
msgstr "KnowIt"
#. GenericName
#: knowit.desktop:11
msgid "Note Manager"
msgstr ""

@ -0,0 +1,27 @@
# 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-04-30 18:01+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
#: knowit.desktop:9
msgid "KnowIt"
msgstr ""
#. GenericName
#: knowit.desktop:11
msgid "Note Manager"
msgstr ""
Loading…
Cancel
Save