Skip to content

Commit

Permalink
Merge pull request #179 from f-laurens/issue178
Browse files Browse the repository at this point in the history
Correct/translate audio weather forecast configuration messages.
  • Loading branch information
nabaztag2018 committed Apr 23, 2021
2 parents 7b760dd + 9138810 commit 8a8712d
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 9 deletions.
34 changes: 27 additions & 7 deletions nabweatherd/locale/fr_FR/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-10-12 16:52+0200\n"
"POT-Creation-Date: 2021-04-21 14:41+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
Expand All @@ -22,12 +22,12 @@ msgid "Day"
msgstr ""

#: templates/nabweatherd/rfid-data.html:7
#: templates/nabweatherd/settings.html:58
#: templates/nabweatherd/settings.html:68
msgid "Today"
msgstr "Aujourd'hui"

#: templates/nabweatherd/rfid-data.html:11
#: templates/nabweatherd/settings.html:59
#: templates/nabweatherd/settings.html:69
msgid "Tomorrow"
msgstr "Demain"

Expand Down Expand Up @@ -101,19 +101,39 @@ msgstr "Les deux"
msgid "No visual animation"
msgstr "Aucune information visuelle"

#: templates/nabweatherd/settings.html:56
#: templates/nabweatherd/settings.html:54
msgid "Forecast frequency"
msgstr "Fréquence de prévision"

#: templates/nabweatherd/settings.html:57
msgid "Every hour"
msgstr "Toutes les heures"

#: templates/nabweatherd/settings.html:58
msgid "Every two to three hours"
msgstr "Toutes les deux à trois heures"

#: templates/nabweatherd/settings.html:59
msgid "At wake up and at bedtime"
msgstr "Au lever et au coucher"

#: templates/nabweatherd/settings.html:60
msgid "None"
msgstr "Aucune"

#: templates/nabweatherd/settings.html:66
msgid "Forecast"
msgstr "Prévision"

#: templates/nabweatherd/settings.html:67
#: templates/nabweatherd/settings.html:77
msgid "Save"
msgstr "Enregistrer"

#: templates/nabweatherd/settings.html:68
#: templates/nabweatherd/settings.html:78
msgid "Reset"
msgstr "Annuler"

#: templates/nabweatherd/settings.html:127
#: templates/nabweatherd/settings.html:137
msgid "Unknown server error"
msgstr "Erreur inconnue du serveur"

Expand Down
4 changes: 2 additions & 2 deletions nabweatherd/templates/nabweatherd/settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@ <h5 class="card-title">{% trans "Weather" %}</h5>
</div>

<div class="form-group row">
<label for="weatherSelect" class="col-6 col-form-label">{% trans "Weather Frequency" %}</label>
<label for="weatherSelect" class="col-6 col-form-label">{% trans "Forecast frequency" %}</label>
<div class="col-6">
<select name="weather_frequency" id="weatherSelect">
<option value="1"{% if config.weather_frequency == 1 %} selected{% endif %}>{% trans "Every hour"%}</option>
<option value="2"{% if config.weather_frequency == 2 %} selected{% endif %}>{% trans "Every two to three hours"%}</option>
<option value="3"{% if config.weather_frequency == 3 %} selected{% endif %}>{% trans "At wake up and at bedtime"%}</option>
<option value="0"{% if config.weather_frequency == 0 %} selected{% endif %}>{% trans "Disabled"%}</option>
<option value="0"{% if config.weather_frequency == 0 %} selected{% endif %}>{% trans "None"%}</option>
</select>
</div>
</div>
Expand Down

0 comments on commit 8a8712d

Please sign in to comment.