forked from rc/aircox
update dependencies to Django 4.1 + rename blocktrans/trans templates
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
{% if sidebar_object_list %}
|
||||
<section>
|
||||
{% comment %}Translators: in page detail sidebar{% endcomment %}
|
||||
<h4 class="title is-4">{% trans "Latest news" %}</h4>
|
||||
<h4 class="title is-4">{% translate "Latest news" %}</h4>
|
||||
|
||||
{% for object in sidebar_object_list %}
|
||||
{% include "aircox/widgets/page_item.html" %}
|
||||
@ -19,8 +19,8 @@
|
||||
<ul class="pagination-list">
|
||||
<li>
|
||||
<a href="{% url "article-list" %}" class="pagination-link"
|
||||
aria-label="{% trans "Show all news" %}">
|
||||
{% trans "More news" %}
|
||||
aria-label="{% translate "Show all news" %}">
|
||||
{% translate "More news" %}
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
Reference in New Issue
Block a user