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

@ -24,7 +24,7 @@
{% if is_primary %}
<span class="fas fa-play"></span>
<time datetime="{{ object.start }}">
{% trans "Currently" %}
{% translate "Currently" %}
</time>
{% else %}
{{ object.start|date:"H:i" }}
@ -43,7 +43,7 @@
<hr>
{% endif %}
<h4 class="title is-4">{% trans "Last publications" %}</h4>
<h4 class="title is-4">{% translate "Last publications" %}</h4>
{% with has_headline=True %}
{{ block.super }}
{% endwith %}
@ -54,8 +54,8 @@
<ul class="pagination-list">
<li>
<a href="{% url "page-list" %}" class="pagination-link"
aria-label="{% trans "Show all publication" %}">
{% trans "More publications..." %}
aria-label="{% translate "Show all publication" %}">
{% translate "More publications..." %}
</a>
</li>
</ul>
@ -64,14 +64,14 @@
{% block sidebar %}
<section>
<h4 class="title is-4">{% trans "Previously on air" %}</h4>
<h4 class="title is-4">{% translate "Previously on air" %}</h4>
{% with logs as object_list %}
{% include "aircox/widgets/log_list.html" %}
{% endwith %}
</section>
<section>
<h4 class="title is-4">{% trans "Today" %}</h4>
<h4 class="title is-4">{% translate "Today" %}</h4>
{% with is_thin=True %}
{% with hide_schedule=True %}
{% with has_headline=False %}