Browse Source

Various small updates before releasing v1.1

* Remove empty tags in addon.xml and add a disclaimer
* Update the description of the add-on in addon.xml
* Move icon.png into the "resources" folder to match Kodi guidelines (a
  solid white background is added automatically by Kodi so the icon was
  modified with a white background to avoid unexpected display and to
  match Kodi guidelines)
* Improve the translation guidelines
* Add a missing dot in a localized string
merge-requests/26/head
Thomas 2 years ago
parent
commit
7297f8cef0
  1. 13
      addon.xml
  2. 10
      contributing.md
  3. BIN
      icon.png
  4. BIN
      resources/icon.png
  5. 2
      resources/language/resource.language.en_gb/strings.po
  6. 4
      resources/language/resource.language.fr_fr/strings.po

13
addon.xml

@ -10,15 +10,14 @@
</extension>
<extension point="xbmc.service" library="service.py"/>
<extension point="xbmc.addon.metadata">
<summary lang="en_GB">Plugin for PeerTube</summary>
<description lang="en_GB">PeerTube is a federated open source alternative to YouTube</description>
<summary lang="en_GB">Add-on for PeerTube</summary>
<description lang="en_GB">PeerTube is a free, decentralized and federated alternative to other video platforms (like YouTube).</description>
<disclaimer lang="en_GB">This add-on is not developed by PeerTube team.</disclaimer>
<summary lang="fr_FR">Extension pour PeerTube</summary>
<description lang="fr_FR">PeerTube est une alternative libre et fédérée à YouTube </description>
<disclaimer lang="en_GB"></disclaimer>
<language></language>
<description lang="fr_FR">PeerTube est une alternative libre, décentralisée et fédérée aux autres plateformes vidéo (comme YouTube).</description>
<disclaimer lang="fr_FR">Cette extension n'est pas dévelopée par l'équipe de PeerTube.</disclaimer>
<platform>all</platform>
<license>GNU GENERAL PUBLIC LICENSE. Version 3, 29 June 2007</license>
<forum></forum>
<website>https://joinpeertube.org</website>
<source>https://framagit.org/StCyr/plugin.video.peertube</source>
<news>Version 1.0.1 (12 April 2021)
@ -31,7 +30,7 @@ Bugs fixed:
* Hide the setting related to download files because it was not used
</news>
<assets>
<icon>icon.png</icon>
<icon>resources/icon.png</icon>
</assets>
</extension>
</addon>

10
contributing.md

@ -145,9 +145,13 @@ These steps should be followed only by maintainers.
## Translation
To translate the add-on you may:
* edit one of the `strings.po` file existing in the subfolders of
`resources/language`
* create a new `strings.po` for your language
* update an existing translation &rarr; edit the corresponding
`strings.po` file in the folder of `resources/language/resource.language.<lang>`
* translate the add-on into a new language:
* create a new `strings.po` file for your language in
`resources/language/resource.language.<lang>`
* translate the `summary`, `description` and `disclaimer` tags in the file
`addon.xml`
More information about the translation system used by Kodi and its add-ons is
available [here](https://kodi.wiki/view/Language_support).

BIN
icon.png

Before

Width: 512  |  Height: 512  |  Size: 10 KiB

BIN
resources/icon.png

After

Width: 512  |  Height: 512  |  Size: 6.4 KiB

2
resources/language/resource.language.en_gb/strings.po

@ -158,7 +158,7 @@ msgid "Instance changed"
msgstr ""
msgctxt "#30419"
msgid "{} is now the selected instance"
msgid "{} is now the selected instance."
msgstr ""
msgctxt "#30420"

4
resources/language/resource.language.fr_fr/strings.po

@ -158,8 +158,8 @@ msgid "Instance changed"
msgstr "Instance modifiée"
msgctxt "#30419"
msgid "{} is now the selected instance"
msgstr "{} est maintenant l'instance sélectionnée"
msgid "{} is now the selected instance."
msgstr "{} est maintenant l'instance sélectionnée."
msgctxt "#30420"
msgid "You can still browse and search videos but you will not be able to play them (except live videos).\nPlease follow the instructions at {}"

Loading…
Cancel
Save