fix translation

This commit is contained in:
bkfox 2020-05-31 16:17:11 +02:00
parent c5a175d483
commit 4cda6d42e4
3 changed files with 6 additions and 3 deletions

View File

@ -123,10 +123,13 @@ msgid "edit the diffusion's planification"
msgstr "éditer la planification de la diffusion" msgstr "éditer la planification de la diffusion"
#: aircox/models/episode.py:180 aircox/templates/aircox/episode_detail.html:22 #: aircox/models/episode.py:180 aircox/templates/aircox/episode_detail.html:22
#: aircox/templates/aircox/program_header.html:21
msgid "rerun" msgid "rerun"
msgstr "rediffusion" msgstr "rediffusion"
#: aircox/templates/aircox/program_header.html:21
msgid "Rerun"
msgstr "Rediffusion"
#: aircox/models/log.py:82 #: aircox/models/log.py:82
msgid "stop" msgid "stop"
msgstr "stop" msgstr "stop"

View File

@ -320,7 +320,7 @@ class Schedule(BaseRerun):
from django.template.defaultfilters import date from django.template.defaultfilters import date
return self.get_frequency_display().format( return self.get_frequency_display().format(
day=date(self.date, 'l') day=date(self.date, 'l')
) ).capitalize()
# initial cached data # initial cached data
__initial = None __initial = None

View File

@ -18,7 +18,7 @@ FIXME: consider moving into the "widgets" directory.
{% if schedule.initial %} {% if schedule.initial %}
{% with schedule.initial.date as date %} {% with schedule.initial.date as date %}
<span title="{% blocktrans %}Rerun of {{ date }}{% endblocktrans %}"> <span title="{% blocktrans %}Rerun of {{ date }}{% endblocktrans %}">
({% trans "rerun" %}) ({% trans "Rerun" %})
</span> </span>
{% endwith %} {% endwith %}
{% endif %} {% endif %}