Create help text for most of the settings

This commit is contained in:
Thomas Bétous 2021-09-03 18:11:25 +02:00
parent 7793a6a1f2
commit f37a34eaef
4 changed files with 102 additions and 6 deletions

View File

@ -77,6 +77,36 @@ msgctxt "#30013"
msgid "Display a notification when the service starts"
msgstr "Eine Benachrichtigung anzeigen, wenn der Dienst startet"
msgctxt "#30014"
msgid "URL of the PeerTube instance to use (with or without the HTTP(s) prefix)"
msgstr ""
msgctxt "#30015"
msgid "This notification is especially useful on slow devices where the service"
" takes time to start."
msgstr ""
msgctxt "#30016"
msgid "The greater the longer the pages will take to load."
msgstr ""
msgctxt "#30017"
msgid "Note: only ascending order is supported."
msgstr ""
msgctxt "#30018"
msgid "[local] Only display the videos which are local to the selected instance"
"\n[all-local] Only display the videos which are local to the selected instance"
" [B]plus[/B] the private and unlisted videos (requires admin privileges)"
msgstr ""
msgctxt "#30019"
msgid "If the preferred resolution is not available for a given video,"
" the lower resolution that is the closest to your preference will be used.\n"
"If not available, the higher resolution that is the closest from your"
" preference will be used."
msgstr ""
# -----------------------------------
# Other strings (from 30400 to 30999)
# -----------------------------------

View File

@ -77,6 +77,36 @@ msgctxt "#30013"
msgid "Display a notification when the service starts"
msgstr ""
msgctxt "#30014"
msgid "URL of the PeerTube instance to use (with or without the HTTP(s) prefix)"
msgstr ""
msgctxt "#30015"
msgid "This notification is especially useful on slow devices where the service"
" takes time to start."
msgstr ""
msgctxt "#30016"
msgid "The greater the longer the pages will take to load."
msgstr ""
msgctxt "#30017"
msgid "Note: only ascending order is supported."
msgstr ""
msgctxt "#30018"
msgid "[local] Only display the videos which are local to the selected instance"
"\n[all-local] Only display the videos which are local to the selected instance"
" [B]plus[/B] the private and unlisted videos (requires admin privileges)"
msgstr ""
msgctxt "#30019"
msgid "If the preferred resolution is not available for a given video,"
" the lower resolution that is the closest to your preference will be used.\n"
"If not available, the higher resolution that is the closest from your"
" preference will be used."
msgstr ""
# -----------------------------------
# Other strings (from 30400 to 30999)
# -----------------------------------

View File

@ -77,6 +77,42 @@ msgctxt "#30013"
msgid "Display a notification when the service starts"
msgstr "Afficher une notification au démarrage du service"
msgctxt "#30014"
msgid "URL of the PeerTube instance to use (with or without the HTTP(s) prefix)"
msgstr "URL de l'instance PeerTube à utiliser (avec ou sans le préfixe HTTP(s))"
msgctxt "#30015"
msgid "This notification is especially useful on slow devices where the service"
" takes time to start."
msgstr "Cette notification est particulièrement utile sur les appareils lents"
" où le service met du temps à démarrer."
msgctxt "#30016"
msgid "The greater the longer the pages will take to load."
msgstr "Plus ce nombre est élevé plus les pages mettront du temps à charger."
msgctxt "#30017"
msgid "Note: only ascending order is supported."
msgstr "Note : les élements ne seront classés que dans l'ordre ascendant."
msgctxt "#30018"
msgid "[local] Only display the videos which are local to the selected instance"
"\n[all-local] Only display the videos which are local to the selected instance"
" [B]plus[/B] the private and unlisted videos (requires admin privileges)"
msgstr "[local] Affiche seulement les vidéos qui sont locales à l'instance sélectionnée"
"\n[all-local] Affiche seulement les vidéos qui sont locales à l'instance"
" sélectionnée [B]plus[/B] les vidéos privées and non référencées (nécessite les droits admin)"
msgctxt "#30019"
msgid "If the preferred resolution is not available for a given video,"
" the lower resolution that is the closest to your preference will be used.\n"
"If not available, the higher resolution that is the closest from your"
" preference will be used."
msgstr "Si la résolution préférée n'est pas disponible pour une vidéo donnée,"
" la résolution plus basse et la plus proche de votre préférence sera utilisée.\n"
"Si elle n'est pas disponible, la résolution plus haute et la plus proche de"
" votre préférence sera utilisée."
# -----------------------------------
# Other strings (from 30400 to 30999)
# -----------------------------------

View File

@ -3,21 +3,21 @@
<section id="plugin.video.peertube">
<category help="" id="général" label="30006">
<group id="1">
<setting help="" id="preferred_instance" label="30000" type="string">
<setting help="30014" id="preferred_instance" label="30000" type="string">
<level>0</level>
<default>framatube.org</default>
<control format="string" type="edit">
<heading>30000</heading>
</control>
</setting>
<setting help="" id="service_start_notif" label="30013" type="boolean">
<setting help="30015" id="service_start_notif" label="30013" type="boolean">
<level>0</level>
<default>true</default>
<control type="toggle"/>
</setting>
</group>
<group id="2" label="30007">
<setting help="" id="items_per_page" label="30001" type="string">
<setting help="30016" id="items_per_page" label="30001" type="string">
<level>0</level>
<default>20</default>
<constraints>
@ -32,7 +32,7 @@
<heading>30001</heading>
</control>
</setting>
<setting help="" id="video_sort_method" label="30002" type="integer">
<setting help="30017" id="video_sort_method" label="30002" type="integer">
<level>0</level>
<default>1</default>
<constraints>
@ -45,7 +45,7 @@
<heading>30002</heading>
</control>
</setting>
<setting help="" id="video_filter" label="30005" type="integer">
<setting help="30018" id="video_filter" label="30005" type="integer">
<level>0</level>
<default>0</default>
<constraints>
@ -60,7 +60,7 @@
</setting>
</group>
<group id="3" label="30008">
<setting help="" id="preferred_resolution" label="30003" type="string">
<setting help="30019" id="preferred_resolution" label="30003" type="string">
<level>0</level>
<default>480</default>
<constraints>