Defining Strings to be translated

This commit is contained in:
2020-10-01 22:10:31 +02:00
parent a2004bd789
commit 556931d2b1
6 changed files with 20 additions and 20 deletions

View File

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