Use shorter trans tag instead of translate.

This commit is contained in:
2020-10-10 23:46:26 +02:00
parent f73b264a2a
commit 3fa6170f0c
17 changed files with 61 additions and 61 deletions

View File

@@ -1,7 +1,7 @@
{% extends 'global.html'%}
{% load i18n %}
{% block title %}{% translate 'Forbidden' %}{% endblock %}
{% block title %}{% trans 'Forbidden' %}{% endblock %}
{% block additional_head %}
{% if request.META.HTTP_REFERER %}
@@ -11,6 +11,6 @@
{% block maincontent %}
{% if request.META.HTTP_REFERER %}
<p class="LP-Headline">{% translate 'You will be redirected in 5 seconds' %}</p><p class="LP-Headline"><a href="{{ request.META.HTTP_REFERER }}" class="LP-Link">{% translate 'Go Back' %}</a></p>
<p class="LP-Headline">{% trans 'You will be redirected in 5 seconds' %}</p><p class="LP-Headline"><a href="{{ request.META.HTTP_REFERER }}" class="LP-Link">{% trans 'Go Back' %}</a></p>
{% endif %}
{% endblock maincontent %}