update dependencies to Django 4.1 + rename blocktrans/trans templates

This commit is contained in:
bkfox
2022-08-07 09:56:29 +02:00
parent 9c147b2a6d
commit fbc61614d7
25 changed files with 120 additions and 120 deletions

View File

@ -15,7 +15,7 @@
{% with has_headline=False %}
<div class="columns is-desktop">
<section class="column">
<h5 class="title is-5">{% trans "Diffusions" %}</h5>
<h5 class="title is-5">{% translate "Diffusions" %}</h5>
{% for schedule in program.schedule_set.all %}
{{ schedule.get_frequency_verbose }}
{% with schedule.start|date:"H:i" as start %}
@ -28,8 +28,8 @@
<small>
{% if schedule.initial %}
{% with schedule.initial.date as date %}
<span title="{% blocktrans %}Rerun of {{ date }}{% endblocktrans %}">
({% trans "Rerun" %})
<span title="{% blocktranslate %}Rerun of {{ date }}{% endblocktranslate %}">
({% translate "Rerun" %})
</span>
{% endwith %}
{% endif %}
@ -40,7 +40,7 @@
{% if articles %}
<section class="column">
<h4 class="title is-5">{% trans "Articles" %}</h4>
<h4 class="title is-5">{% translate "Articles" %}</h4>
{% for object in articles %}
{% include "aircox/widgets/page_item.html" %}
@ -52,8 +52,8 @@
<li>
<a href="{% url "article-list" parent_slug=program.slug %}"
class="pagination-link"
aria-label="{% trans "Show all program's articles" %}">
{% trans "More articles" %}
aria-label="{% translate "Show all program's articles" %}">
{% translate "More articles" %}
</a>
</li>
</ul>