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

@ -22,7 +22,7 @@ Context:
<span class="icon is-small">
<i class="fa fa-pen"></i>
</span>&nbsp;
<span>{% trans "Edit" %}</span>
<span>{% translate "Edit" %}</span>
</a>
{% endif %}
{% endblock %}
@ -34,7 +34,7 @@ Context:
{% if comments or comment_form %}
<hr>
<section class="mt-6">
<h4 class="title is-4">{% trans "Comments" %}</h4>
<h4 class="title is-4">{% translate "Comments" %}</h4>
{% for comment in comments %}
<div class="media box">
@ -55,7 +55,7 @@ Context:
{% if comment_form %}
<form method="POST">
<h5 class="title is-5">{% trans "Post a comment" %}</h5>
<h5 class="title is-5">{% translate "Post a comment" %}</h5>
{% csrf_token %}
{% render_honeypot_field "website" %}
@ -80,8 +80,8 @@ Context:
</div>
{% endfor %}
<div class="has-text-right">
<button type="reset" class="button is-danger">{% trans "Reset" %}</button>
<button type="submit" class="button is-success">{% trans "Post comment" %}</button>
<button type="reset" class="button is-danger">{% translate "Reset" %}</button>
<button type="submit" class="button is-success">{% translate "Post comment" %}</button>
</div>
</form>
{% endif %}