diff --git a/django_lostplaces/lostplaces/templates/403.html b/django_lostplaces/lostplaces/templates/403.html index 566a9ab..ef4fbb8 100644 --- a/django_lostplaces/lostplaces/templates/403.html +++ b/django_lostplaces/lostplaces/templates/403.html @@ -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 %} -

{% translate 'You will be redirected in 5 seconds' %}

{% translate 'Go Back' %}

+

{% trans 'You will be redirected in 5 seconds' %}

{% trans 'Go Back' %}

{% endif %} {% endblock maincontent %} \ No newline at end of file diff --git a/django_lostplaces/lostplaces/templates/global.html b/django_lostplaces/lostplaces/templates/global.html index 3cfa30c..32d751f 100644 --- a/django_lostplaces/lostplaces/templates/global.html +++ b/django_lostplaces/lostplaces/templates/global.html @@ -29,15 +29,15 @@ {% if user.is_authenticated %} Hi {{ user.username }}! - {% translate 'Logout' %} + {% trans 'Logout' %} {% if user.is_superuser %} - {% translate 'Admin' %} + {% trans 'Admin' %} {% endif %} {% else %} You are not logged in. - {% translate 'Login' %} | - {% translate 'Sign Up' %} + {% trans 'Login' %} | + {% trans 'Sign Up' %} {% endif %} @@ -47,14 +47,14 @@ diff --git a/django_lostplaces/lostplaces/templates/home.html b/django_lostplaces/lostplaces/templates/home.html index 36c77aa..df98f0e 100644 --- a/django_lostplaces/lostplaces/templates/home.html +++ b/django_lostplaces/lostplaces/templates/home.html @@ -7,7 +7,7 @@ {% endblock additional_head %} -# {% block title %}{% translate 'Home' %}{% endblock %} +# {% block title %}{% trans 'Home' %}{% endblock %} {% block maincontent %} @@ -17,7 +17,7 @@ {% include 'partials/osm_map.html' with config=mapping_config %}
-

{% translate 'Explore the latest places' %}

+

{% trans 'Explore the latest places' %}