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>
master
Slávek Banko 3 years ago
parent 9cc21b83f7
commit 976023e1c3
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/kbibtex" )
tde_l10n_create_template(
CATALOG "desktop_files/kbibtex-desktops"
SOURCES *.desktop
)

@ -113,14 +113,16 @@ install(
DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}
)
install(
FILES kbibtex_part.desktop
tde_create_translated_desktop(
SOURCE kbibtex_part.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files
)
install(
FILES ${PROJECT_NAME}.desktop
tde_create_translated_desktop(
SOURCE ${PROJECT_NAME}.desktop
DESTINATION ${XDG_APPS_INSTALL_DIR}
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files
)
install(

@ -6,7 +6,6 @@ Icon=kbibtex
Type=Application
X-DocPath=kbibtex/index.html
Comment=A BibTeX editor for TDE
Comment[de]=Ein BibTeX-Editor für TDE
MimeType=text/x-bibtex;
Categories=Qt;TDE;Office;
X-TDE-HasTempFileOption=true

@ -1,14 +1,6 @@
[Desktop Entry]
Encoding=UTF-8
Name=KBibTeXPart
Name[et]=KBibTeX komponent
Name[hi]=KBibTeXपार्ट
Name[sv]=KBibTeX-del
Name[ta]=KBibTeXபாகம்
Name[xx]=xxKBibTeXPartxx
Name[pl]=Moduł KBibTeX
Name[pt_BR]=Parte do KBibTeX
Name[de]=Einbettungsfähige Komponente von KBibTeX
MimeType=text/x-bibtex;application/x-endnote-library;
X-TDE-ServiceTypes=KParts/ReadOnlyPart,KParts/ReadWritePart
X-TDE-Library=libkbibtexpart

@ -0,0 +1,38 @@
# 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-05 15:39+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
#: kbibtex.desktop:2
#, fuzzy
msgid "KBibTeX"
msgstr "Einbettungsfähige Komponente von KBibTeX"
#. GenericName
#: kbibtex.desktop:3
msgid "Bibliography Manager"
msgstr ""
#. Comment
#: kbibtex.desktop:8
msgid "A BibTeX editor for TDE"
msgstr "Ein BibTeX-Editor für TDE"
#. Name
#: kbibtex_part.desktop:3
msgid "KBibTeXPart"
msgstr "Einbettungsfähige Komponente von KBibTeX"

@ -0,0 +1,38 @@
# 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-05 15:39+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: et\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Name
#: kbibtex.desktop:2
#, fuzzy
msgid "KBibTeX"
msgstr "KBibTeX komponent"
#. GenericName
#: kbibtex.desktop:3
msgid "Bibliography Manager"
msgstr ""
#. Comment
#: kbibtex.desktop:8
msgid "A BibTeX editor for TDE"
msgstr ""
#. Name
#: kbibtex_part.desktop:3
msgid "KBibTeXPart"
msgstr "KBibTeX komponent"

@ -0,0 +1,38 @@
# 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-05 15:39+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: hi\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Name
#: kbibtex.desktop:2
#, fuzzy
msgid "KBibTeX"
msgstr "KBibTeXपार्ट"
#. GenericName
#: kbibtex.desktop:3
msgid "Bibliography Manager"
msgstr ""
#. Comment
#: kbibtex.desktop:8
msgid "A BibTeX editor for TDE"
msgstr ""
#. Name
#: kbibtex_part.desktop:3
msgid "KBibTeXPart"
msgstr "KBibTeXपार्ट"

@ -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-04-05 15:39+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
#: kbibtex.desktop:2
msgid "KBibTeX"
msgstr ""
#. GenericName
#: kbibtex.desktop:3
msgid "Bibliography Manager"
msgstr ""
#. Comment
#: kbibtex.desktop:8
msgid "A BibTeX editor for TDE"
msgstr ""
#. Name
#: kbibtex_part.desktop:3
msgid "KBibTeXPart"
msgstr ""

@ -0,0 +1,38 @@
# 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-05 15:39+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: pl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Name
#: kbibtex.desktop:2
#, fuzzy
msgid "KBibTeX"
msgstr "Moduł KBibTeX"
#. GenericName
#: kbibtex.desktop:3
msgid "Bibliography Manager"
msgstr ""
#. Comment
#: kbibtex.desktop:8
msgid "A BibTeX editor for TDE"
msgstr ""
#. Name
#: kbibtex_part.desktop:3
msgid "KBibTeXPart"
msgstr "Moduł KBibTeX"

@ -0,0 +1,38 @@
# 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-05 15:39+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: pt_BR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Name
#: kbibtex.desktop:2
#, fuzzy
msgid "KBibTeX"
msgstr "Parte do KBibTeX"
#. GenericName
#: kbibtex.desktop:3
msgid "Bibliography Manager"
msgstr ""
#. Comment
#: kbibtex.desktop:8
msgid "A BibTeX editor for TDE"
msgstr ""
#. Name
#: kbibtex_part.desktop:3
msgid "KBibTeXPart"
msgstr "Parte do KBibTeX"

@ -0,0 +1,38 @@
# 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-05 15:39+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: sv\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Name
#: kbibtex.desktop:2
#, fuzzy
msgid "KBibTeX"
msgstr "KBibTeX-del"
#. GenericName
#: kbibtex.desktop:3
msgid "Bibliography Manager"
msgstr ""
#. Comment
#: kbibtex.desktop:8
msgid "A BibTeX editor for TDE"
msgstr ""
#. Name
#: kbibtex_part.desktop:3
msgid "KBibTeXPart"
msgstr "KBibTeX-del"

@ -0,0 +1,38 @@
# 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-05 15:39+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: ta\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Name
#: kbibtex.desktop:2
#, fuzzy
msgid "KBibTeX"
msgstr "KBibTeXபாகம்"
#. GenericName
#: kbibtex.desktop:3
msgid "Bibliography Manager"
msgstr ""
#. Comment
#: kbibtex.desktop:8
msgid "A BibTeX editor for TDE"
msgstr ""
#. Name
#: kbibtex_part.desktop:3
msgid "KBibTeXPart"
msgstr "KBibTeXபாகம்"
Loading…
Cancel
Save