Skip to content

Commit

Permalink
PICARD-2746: Localize XDG desktop file
Browse files Browse the repository at this point in the history
Share the translation resource for AppStream and desktop file. Both
provide metadata and the translations are only used during build
and never actually installed separately.
  • Loading branch information
phw committed Sep 6, 2023
1 parent 1a83269 commit edbc07f
Show file tree
Hide file tree
Showing 45 changed files with 526 additions and 155 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ installer/picard-setup.nsi
installer/i18n/out/*.nsh
locale/
org.musicbrainz.Picard.appdata.xml
org.musicbrainz.Picard.desktop
picard.egg-info
po/attributes/attributes.pot
po/countries/countries.pot
Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions po/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ $ python setup.py regen_pot_file
Weblate will _automatically_ sync the changed `picard.pot` and update the translation files (`*.po`) with msgmerge.


AppStream metadata translations
-------------------------------
AppStream metadata and XDG desktop file translations
----------------------------------------------------

Translations for the strings from `org.musicbrainz.Picard.appdata.xml.in` are handled at <https://translations.metabrainz.org/projects/picard/appstream/>.
Translations for the strings from `org.musicbrainz.Picard.appdata.xml.in` and `org.musicbrainz.Picard.desktop.in` are handled at <https://translations.metabrainz.org/projects/picard/appstream/>.

One can update `appstream/picard-appstream.pot` using:

Expand Down
14 changes: 11 additions & 3 deletions po/appstream/bg.po
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-11-23 07:49+0100\n"
"POT-Creation-Date: 2023-09-05 22:58+0200\n"
"PO-Revision-Date: 2018-11-25 07:37+0000\n"
"Last-Translator: Transifex Bot <>, 2023\n"
"Language-Team: Bulgarian (https://app.transifex.com/musicbrainz/teams/13846/"
Expand All @@ -24,7 +24,7 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#: org.musicbrainz.Picard.appdata.xml.in:6
#: org.musicbrainz.Picard.appdata.xml.in:6 org.musicbrainz.Picard.desktop.in:3
msgid "MusicBrainz Picard"
msgstr "MusicBrainz Picard"

Expand Down Expand Up @@ -131,6 +131,14 @@ msgstr ""
"по-късно, и се хоства на GitHub, където и активно разработван от някои "
"страхотни разработчици."

#: org.musicbrainz.Picard.appdata.xml.in:102
#: org.musicbrainz.Picard.appdata.xml.in:109
msgid "MetaBrainz Foundation"
msgstr "MetaBrainz фондация"

#: org.musicbrainz.Picard.desktop.in:4
msgid "Tag your music with the next generation MusicBrainz tagger"
msgstr ""

#: org.musicbrainz.Picard.desktop.in:16
msgid "New Window"
msgstr ""
14 changes: 11 additions & 3 deletions po/appstream/ca.po
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-11-23 07:49+0100\n"
"POT-Creation-Date: 2023-09-05 22:58+0200\n"
"PO-Revision-Date: 2018-11-25 07:37+0000\n"
"Last-Translator: Transifex Bot <>, 2023\n"
"Language-Team: Catalan (https://app.transifex.com/musicbrainz/teams/13846/"
Expand All @@ -23,7 +23,7 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#: org.musicbrainz.Picard.appdata.xml.in:6
#: org.musicbrainz.Picard.appdata.xml.in:6 org.musicbrainz.Picard.desktop.in:3
msgid "MusicBrainz Picard"
msgstr "MusicBrainz Picard"

Expand Down Expand Up @@ -104,6 +104,14 @@ msgid ""
"awesome developers."
msgstr ""

#: org.musicbrainz.Picard.appdata.xml.in:102
#: org.musicbrainz.Picard.appdata.xml.in:109
msgid "MetaBrainz Foundation"
msgstr ""

#: org.musicbrainz.Picard.desktop.in:4
msgid "Tag your music with the next generation MusicBrainz tagger"
msgstr ""

#: org.musicbrainz.Picard.desktop.in:16
msgid "New Window"
msgstr ""
14 changes: 11 additions & 3 deletions po/appstream/cs.po
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-11-23 07:49+0100\n"
"POT-Creation-Date: 2023-09-05 22:58+0200\n"
"PO-Revision-Date: 2023-08-23 19:10+0000\n"
"Last-Translator: Philipp Wolfer <[email protected]>\n"
"Language-Team: Czech <https://translations.metabrainz.org/projects/picard/"
Expand All @@ -25,7 +25,7 @@ msgstr ""
"<= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n"
"X-Generator: Weblate 4.18.2\n"

#: org.musicbrainz.Picard.appdata.xml.in:6
#: org.musicbrainz.Picard.appdata.xml.in:6 org.musicbrainz.Picard.desktop.in:3
msgid "MusicBrainz Picard"
msgstr "MusicBrainz Picard"

Expand Down Expand Up @@ -135,6 +135,14 @@ msgstr ""
"2.0 či novější a je hostován na platformě GitHub, kde je aktivně vyvíjen "
"několika skvělými vývojáři."

#: org.musicbrainz.Picard.appdata.xml.in:102
#: org.musicbrainz.Picard.appdata.xml.in:109
msgid "MetaBrainz Foundation"
msgstr "Sdružení MetaBrainz"

#: org.musicbrainz.Picard.desktop.in:4
msgid "Tag your music with the next generation MusicBrainz tagger"
msgstr ""

#: org.musicbrainz.Picard.desktop.in:16
msgid "New Window"
msgstr ""
14 changes: 11 additions & 3 deletions po/appstream/cy.po
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-11-23 07:49+0100\n"
"POT-Creation-Date: 2023-09-05 22:58+0200\n"
"PO-Revision-Date: 2018-11-25 07:37+0000\n"
"Last-Translator: Transifex Bot <>, 2023\n"
"Language-Team: Welsh (https://app.transifex.com/musicbrainz/teams/13846/"
Expand All @@ -24,7 +24,7 @@ msgstr ""
"Plural-Forms: nplurals=4; plural=(n==1) ? 0 : (n==2) ? 1 : (n != 8 && n != "
"11) ? 2 : 3;\n"

#: org.musicbrainz.Picard.appdata.xml.in:6
#: org.musicbrainz.Picard.appdata.xml.in:6 org.musicbrainz.Picard.desktop.in:3
msgid "MusicBrainz Picard"
msgstr "MusicBrainz Picard"

Expand Down Expand Up @@ -105,6 +105,14 @@ msgid ""
"awesome developers."
msgstr ""

#: org.musicbrainz.Picard.appdata.xml.in:102
#: org.musicbrainz.Picard.appdata.xml.in:109
msgid "MetaBrainz Foundation"
msgstr ""

#: org.musicbrainz.Picard.desktop.in:4
msgid "Tag your music with the next generation MusicBrainz tagger"
msgstr ""

#: org.musicbrainz.Picard.desktop.in:16
msgid "New Window"
msgstr ""
14 changes: 11 additions & 3 deletions po/appstream/da.po
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-11-23 07:49+0100\n"
"POT-Creation-Date: 2023-09-05 22:58+0200\n"
"PO-Revision-Date: 2018-11-25 07:37+0000\n"
"Last-Translator: Transifex Bot <>, 2023\n"
"Language-Team: Danish (https://app.transifex.com/musicbrainz/teams/13846/"
Expand All @@ -23,7 +23,7 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#: org.musicbrainz.Picard.appdata.xml.in:6
#: org.musicbrainz.Picard.appdata.xml.in:6 org.musicbrainz.Picard.desktop.in:3
msgid "MusicBrainz Picard"
msgstr "MusicBrainz Picard"

Expand Down Expand Up @@ -104,6 +104,14 @@ msgid ""
"awesome developers."
msgstr ""

#: org.musicbrainz.Picard.appdata.xml.in:102
#: org.musicbrainz.Picard.appdata.xml.in:109
msgid "MetaBrainz Foundation"
msgstr ""

#: org.musicbrainz.Picard.desktop.in:4
msgid "Tag your music with the next generation MusicBrainz tagger"
msgstr ""

#: org.musicbrainz.Picard.desktop.in:16
msgid "New Window"
msgstr ""
14 changes: 11 additions & 3 deletions po/appstream/de.po
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-11-23 07:49+0100\n"
"POT-Creation-Date: 2023-09-05 22:58+0200\n"
"PO-Revision-Date: 2018-11-25 07:37+0000\n"
"Last-Translator: Philipp Wolfer <[email protected]>, 2022\n"
"Language-Team: German (https://app.transifex.com/musicbrainz/teams/13846/"
Expand All @@ -25,7 +25,7 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#: org.musicbrainz.Picard.appdata.xml.in:6
#: org.musicbrainz.Picard.appdata.xml.in:6 org.musicbrainz.Picard.desktop.in:3
msgid "MusicBrainz Picard"
msgstr "MusicBrainz Picard"

Expand Down Expand Up @@ -133,6 +133,14 @@ msgstr ""
"höher) lizenziert und wird auf GitHub von großartigen Entwicklern "
"weiterentwickelt."

#: org.musicbrainz.Picard.appdata.xml.in:102
#: org.musicbrainz.Picard.appdata.xml.in:109
msgid "MetaBrainz Foundation"
msgstr "MetaBrainz Foundation"

#: org.musicbrainz.Picard.desktop.in:4
msgid "Tag your music with the next generation MusicBrainz tagger"
msgstr ""

#: org.musicbrainz.Picard.desktop.in:16
msgid "New Window"
msgstr ""
14 changes: 11 additions & 3 deletions po/appstream/el.po
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-11-23 07:49+0100\n"
"POT-Creation-Date: 2023-09-05 22:58+0200\n"
"PO-Revision-Date: 2018-11-25 07:37+0000\n"
"Last-Translator: Transifex Bot <>, 2023\n"
"Language-Team: Greek (https://app.transifex.com/musicbrainz/teams/13846/"
Expand All @@ -24,7 +24,7 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#: org.musicbrainz.Picard.appdata.xml.in:6
#: org.musicbrainz.Picard.appdata.xml.in:6 org.musicbrainz.Picard.desktop.in:3
msgid "MusicBrainz Picard"
msgstr "MusicBrainz Picard"

Expand Down Expand Up @@ -120,6 +120,14 @@ msgid ""
"awesome developers."
msgstr ""

#: org.musicbrainz.Picard.appdata.xml.in:102
#: org.musicbrainz.Picard.appdata.xml.in:109
msgid "MetaBrainz Foundation"
msgstr ""

#: org.musicbrainz.Picard.desktop.in:4
msgid "Tag your music with the next generation MusicBrainz tagger"
msgstr ""

#: org.musicbrainz.Picard.desktop.in:16
msgid "New Window"
msgstr ""
14 changes: 11 additions & 3 deletions po/appstream/en_GB.po
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-11-23 07:49+0100\n"
"POT-Creation-Date: 2023-09-05 22:58+0200\n"
"PO-Revision-Date: 2018-11-25 07:37+0000\n"
"Last-Translator: Transifex Bot <>, 2023\n"
"Language-Team: English (United Kingdom) (https://app.transifex.com/"
Expand All @@ -23,7 +23,7 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#: org.musicbrainz.Picard.appdata.xml.in:6
#: org.musicbrainz.Picard.appdata.xml.in:6 org.musicbrainz.Picard.desktop.in:3
msgid "MusicBrainz Picard"
msgstr ""

Expand Down Expand Up @@ -112,6 +112,14 @@ msgstr ""
"later, and is hosted on GitHub where it is actively developed by some "
"awesome developers."

#: org.musicbrainz.Picard.appdata.xml.in:102
#: org.musicbrainz.Picard.appdata.xml.in:109
msgid "MetaBrainz Foundation"
msgstr ""

#: org.musicbrainz.Picard.desktop.in:4
msgid "Tag your music with the next generation MusicBrainz tagger"
msgstr ""

#: org.musicbrainz.Picard.desktop.in:16
msgid "New Window"
msgstr ""
14 changes: 11 additions & 3 deletions po/appstream/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-11-23 07:49+0100\n"
"POT-Creation-Date: 2023-09-05 22:58+0200\n"
"PO-Revision-Date: 2023-08-23 19:10+0000\n"
"Last-Translator: Philipp Wolfer <[email protected]>\n"
"Language-Team: Spanish <https://translations.metabrainz.org/projects/picard/"
Expand All @@ -27,7 +27,7 @@ msgstr ""
"0) ? 1 : 2);\n"
"X-Generator: Weblate 4.18.2\n"

#: org.musicbrainz.Picard.appdata.xml.in:6
#: org.musicbrainz.Picard.appdata.xml.in:6 org.musicbrainz.Picard.desktop.in:3
msgid "MusicBrainz Picard"
msgstr "MusicBrainz Picard"

Expand Down Expand Up @@ -133,6 +133,14 @@ msgstr ""
"o posterior, y está alojado en GitHub, donde lo desarrollan activamente "
"muchos magníficos desarrolladores."

#: org.musicbrainz.Picard.appdata.xml.in:102
#: org.musicbrainz.Picard.appdata.xml.in:109
msgid "MetaBrainz Foundation"
msgstr "Fundación MetaBrainz"

#: org.musicbrainz.Picard.desktop.in:4
msgid "Tag your music with the next generation MusicBrainz tagger"
msgstr ""

#: org.musicbrainz.Picard.desktop.in:16
msgid "New Window"
msgstr ""
14 changes: 11 additions & 3 deletions po/appstream/et.po
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-11-23 07:49+0100\n"
"POT-Creation-Date: 2023-09-05 22:58+0200\n"
"PO-Revision-Date: 2018-11-25 07:37+0000\n"
"Last-Translator: Transifex Bot <>, 2023\n"
"Language-Team: Estonian (https://app.transifex.com/musicbrainz/teams/13846/"
Expand All @@ -23,7 +23,7 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#: org.musicbrainz.Picard.appdata.xml.in:6
#: org.musicbrainz.Picard.appdata.xml.in:6 org.musicbrainz.Picard.desktop.in:3
msgid "MusicBrainz Picard"
msgstr "MusicBrainz Picard"

Expand Down Expand Up @@ -104,6 +104,14 @@ msgid ""
"awesome developers."
msgstr ""

#: org.musicbrainz.Picard.appdata.xml.in:102
#: org.musicbrainz.Picard.appdata.xml.in:109
msgid "MetaBrainz Foundation"
msgstr ""

#: org.musicbrainz.Picard.desktop.in:4
msgid "Tag your music with the next generation MusicBrainz tagger"
msgstr ""

#: org.musicbrainz.Picard.desktop.in:16
msgid "New Window"
msgstr ""
14 changes: 11 additions & 3 deletions po/appstream/fi.po
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-11-23 07:49+0100\n"
"POT-Creation-Date: 2023-09-05 22:58+0200\n"
"PO-Revision-Date: 2023-08-24 13:50+0000\n"
"Last-Translator: zer0bitz <[email protected]>\n"
"Language-Team: Finnish <https://translations.metabrainz.org/projects/picard/"
Expand All @@ -24,7 +24,7 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.18.2\n"

#: org.musicbrainz.Picard.appdata.xml.in:6
#: org.musicbrainz.Picard.appdata.xml.in:6 org.musicbrainz.Picard.desktop.in:3
msgid "MusicBrainz Picard"
msgstr "MusicBrainz Picard"

Expand Down Expand Up @@ -132,6 +132,14 @@ msgstr ""
"uudemmalla lisenssillä, ja se on saatavilla GitHubista, jossa sitä "
"aktiivisesti kehitetään."

#: org.musicbrainz.Picard.appdata.xml.in:102
#: org.musicbrainz.Picard.appdata.xml.in:109
msgid "MetaBrainz Foundation"
msgstr "MetaBrainz-säätiö"

#: org.musicbrainz.Picard.desktop.in:4
msgid "Tag your music with the next generation MusicBrainz tagger"
msgstr ""

#: org.musicbrainz.Picard.desktop.in:16
msgid "New Window"
msgstr ""
Loading

0 comments on commit edbc07f

Please sign in to comment.