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
This commit is contained in:
Thomas 2021-04-30 16:35:20 +00:00
parent 134d2ea974
commit 7297f8cef0
6 changed files with 16 additions and 13 deletions

View File

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

View File

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

BIN
icon.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

BIN
resources/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

View File

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

View File

@ -158,8 +158,8 @@ msgid "Instance changed"
msgstr "Instance modifiée" msgstr "Instance modifiée"
msgctxt "#30419" msgctxt "#30419"
msgid "{} is now the selected instance" msgid "{} is now the selected instance."
msgstr "{} est maintenant l'instance sélectionnée" msgstr "{} est maintenant l'instance sélectionnée."
msgctxt "#30420" 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 {}" 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 {}"