mirror of
https://github.com/skylanix/MamieHenriette.git
synced 2026-02-06 14:50:34 +01:00
Corrige les fautes de français dans le projet
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
<input type="checkbox" name="humble_bundle_enable" {% if configuration.getValue('humble_bundle_enable') %}
|
||||
checked="checked" {% endif %}>
|
||||
<label>Activer les notifications Humble bundle</label>
|
||||
<label for="humble_bundle_channel">Canal de notification des pack Humble Bundle</label>
|
||||
<label for="humble_bundle_channel">Canal de notification des packs Humble Bundle</label>
|
||||
<select name="humble_bundle_channel">
|
||||
{% for channel in channels %}
|
||||
<option value="{{channel.id}}" {% if configuration.getIntValue('humble_bundle_channel')==channel.id %}
|
||||
@@ -32,9 +32,9 @@
|
||||
<label for="proton_db_api_key">Api KEY</label>
|
||||
<input name="proton_db_api_key" type="text" value="{{ configuration.getValue('proton_db_api_key') }}" />
|
||||
<input type="Submit" value="Définir">
|
||||
<p>Pour trouver les clefs, dans votre navigateur avec l'outil d'inspection ouvert (F12 ou clic droit > Inspecter
|
||||
<p>Pour trouver les clés, dans votre navigateur avec l'outil d'inspection ouvert (F12 ou clic droit > Inspecter
|
||||
l'élément dans Firefox/Chrome) faites une recherche de jeux sur protondb,
|
||||
puis chercher les clef dans les requetes (onglet Réseau/Network),
|
||||
puis chercher les clés dans les requêtes (onglet Réseau/Network),
|
||||
<a href="/static/img/algolia-key.jpg" target="_blank">comme le montre cet exemple</a>
|
||||
</p>
|
||||
</form>
|
||||
@@ -44,7 +44,7 @@
|
||||
<label for="discord_token">Api Discord (cachée)</label>
|
||||
<input name="discord_token" type="password" />
|
||||
<input type="Submit" value="Définir">
|
||||
<p>Nécéssite un redémarrage</p>
|
||||
<p>Nécessite un redémarrage</p>
|
||||
</form>
|
||||
|
||||
<h2>Api Twitch</h2>
|
||||
@@ -57,13 +57,13 @@
|
||||
<input name="twitch_access_token" type="text" value="{{ configuration.getValue('twitch_access_token') }}" />
|
||||
<label for="twitch_refresh_token">Refresh Token</label>
|
||||
<input name="twitch_refresh_token" type="text" value="{{ configuration.getValue('twitch_refresh_token') }}" />
|
||||
<label for="twitch_channel">Chaine à rejoindre</label>
|
||||
<label for="twitch_channel">Chaîne à rejoindre</label>
|
||||
<input name="twitch_channel" type="text" value="{{ configuration.getValue('twitch_channel') }}"
|
||||
placeholder="#machinTruc" />
|
||||
<input type="Submit" value="Définir">
|
||||
<p>
|
||||
<a href="{{ url_for('twitchConfigurationHelp') }}">Aide</a>
|
||||
</p>
|
||||
<p>Nécéssite un redémarrage</p>
|
||||
<p>Nécessite un redémarrage</p>
|
||||
</form>
|
||||
{% endblock %}
|
||||
@@ -6,15 +6,15 @@
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="table_td">Text</th>
|
||||
<th class="table_td">Action</th>
|
||||
<th>Texte</th>
|
||||
<th>Action</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for humeur in humeurs %}
|
||||
<tr>
|
||||
<td class="table_td">{{humeur.text}}</td>
|
||||
<td class="table_td"><a href="{{ url_for('delHumeur', id = humeur.id) }}" onclick="return confirm('Êtes-vous sûr de vouloir supprimer cette humeur ?')">Supprimer</a></td>
|
||||
<td>{{humeur.text}}</td>
|
||||
<td><a href="{{ url_for('delHumeur', id = humeur.id) }}" onclick="return confirm('Êtes-vous sûr de vouloir supprimer cette humeur ?')">Supprimer</a></td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
<h2>Ajouter une humeur</h2>
|
||||
<form action="{{ url_for('addHumeur') }}" method="POST">
|
||||
<label for="text">Text</label>
|
||||
<label for="text">Texte</label>
|
||||
<input name="text" type="text" />
|
||||
<input type="Submit" value="Ajouter">
|
||||
</form>
|
||||
|
||||
@@ -2,6 +2,6 @@
|
||||
|
||||
{% block content %}
|
||||
<h1>Bienvenue sur l'interface d'administration de Mamie.</h1>
|
||||
<p>Nous devons définir ce que nous souhaitons afficher sur la page d'acceuil. Peut-être l'historique des derniere
|
||||
modification ? de la modération ?</p>
|
||||
<p>Nous devons définir ce que nous souhaitons afficher sur la page d'accueil. Peut-être l'historique des dernières
|
||||
modifications ? de la modération ?</p>
|
||||
{% endblock %}
|
||||
@@ -1,36 +1,40 @@
|
||||
{% extends "template.html" %}
|
||||
|
||||
{% block content %}
|
||||
<h1>Procedure configuration de Twitch</h1>
|
||||
<h1>Procédure de configuration de Twitch</h1>
|
||||
<p>
|
||||
Rendez vous sur <a href="https://dev.twitch.tv/console" target="_blank">la console d'application twitch</a> et
|
||||
ajouter une application. Renseigner :
|
||||
<strong>Avant toute chose, activez l'authentification à deux facteurs (2FA) :</strong>
|
||||
<a href="https://help.twitch.tv/s/article/two-factor-authentication?language=en_US" target="_blank">Guide officiel Twitch pour la 2FA</a>
|
||||
</p>
|
||||
<p>
|
||||
Rendez-vous sur <a href="https://dev.twitch.tv/console" target="_blank">la console d'applications Twitch</a> et
|
||||
ajoutez une application. Renseignez :
|
||||
<ul>
|
||||
<li>url de redirection : https://twitchtokengenerator.com</li>
|
||||
<li>catégorie : Chat Bot</li>
|
||||
<li>URL de redirection : https://twitchtokengenerator.com</li>
|
||||
<li>Catégorie : Chat Bot</li>
|
||||
</ul>
|
||||
</p>
|
||||
|
||||
<img src="/static/img/twitch-api-01.jpg">
|
||||
|
||||
<p>
|
||||
Creer le bot. Puis de retour à la liste, editer le en cliquant sur Gérer. Puis cliquer sur <strong>Nouveau
|
||||
Secret</strong>. Vous trouvez ici le <strong>Client ID</strong> et <strong>Client Secret</strong>.
|
||||
Créez le bot. Puis, de retour à la liste, éditez-le en cliquant sur Gérer. Puis cliquez sur <strong>Nouveau
|
||||
Secret</strong>. Vous trouverez ici le <strong>Client ID</strong> et le <strong>Client Secret</strong>.
|
||||
</p>
|
||||
|
||||
<img src="/static/img/twitch-api-02.jpg">
|
||||
|
||||
<p>
|
||||
Ensuite rendez vous sur <a href="https://twitchtokengenerator.com/" target="_blank">twitchtokengenerator.com</a> et
|
||||
selectionner <strong>Custum Scope Target</strong>. Dans la section <strong>Use My Client Secret and Client
|
||||
ID</strong>, renseigner les deux champs.
|
||||
Ensuite, rendez-vous sur <a href="https://twitchtokengenerator.com/" target="_blank">twitchtokengenerator.com</a> et
|
||||
sélectionnez <strong>Custom Scope Target</strong>. Dans la section <strong>Use My Client Secret and Client
|
||||
ID</strong>, renseignez les deux champs.
|
||||
</p>
|
||||
|
||||
<img src="/static/img/twitch-api-03.jpg">
|
||||
|
||||
<p>
|
||||
Ensuite dans la section <strong>Available Token Scopes</strong>, cocher <em>chat:read</em> et <em>chat:edit</em>.
|
||||
Puis, dans la même section, cliquer sur <strong>Generate token</strong>.
|
||||
Ensuite, dans la section <strong>Available Token Scopes</strong>, cochez <em>chat:read</em> et <em>chat:edit</em>.
|
||||
Puis, dans la même section, cliquez sur <strong>Generate token</strong>.
|
||||
</p>
|
||||
|
||||
<img src="/static/img/twitch-api-04.jpg">
|
||||
|
||||
Reference in New Issue
Block a user