diff --git a/django_lostplaces/lostplaces/templates/403.html b/django_lostplaces/lostplaces/templates/403.html index 3e56fb0..11a23b1 100644 --- a/django_lostplaces/lostplaces/templates/403.html +++ b/django_lostplaces/lostplaces/templates/403.html @@ -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 %} -
You will be redirected in 5 seconds
+{% translate 'You will be redirected in 5 seconds' %}
{% 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 bca584f..2846c3c 100644 --- a/django_lostplaces/lostplaces/templates/global.html +++ b/django_lostplaces/lostplaces/templates/global.html @@ -28,15 +28,15 @@ {% if user.is_authenticated %} Hi {{ user.username }}! - logout + {% translate 'Logout' %} {% if user.is_superuser %} - admin + {% translate 'Admin' %} {% endif %} {% else %} You are not logged in. - login | - signup + {% translate 'Login' %} | + {% translate 'Sign Up' %} {% endif %} @@ -46,14 +46,14 @@ diff --git a/django_lostplaces/lostplaces/templates/home.html b/django_lostplaces/lostplaces/templates/home.html index 6f36133..d19a4fb 100644 --- a/django_lostplaces/lostplaces/templates/home.html +++ b/django_lostplaces/lostplaces/templates/home.html @@ -6,7 +6,7 @@ {% endblock additional_head %} -# {% block title %}Start{% endblock %} +# {% block title %}{% translate 'Home' %}{% endblock %} {% block maincontent %} @@ -16,7 +16,7 @@ {% include 'partials/osm_map.html' with config=mapping_config %}