diff default/error/base.html @ 20:8fa2fd2e928e

default: added i18n support
author Goffi <goffi@goffi.org>
date Sun, 21 May 2017 16:10:44 +0200
parents abd55d94f82b
children
line wrap: on
line diff
--- a/default/error/base.html	Fri May 19 12:59:43 2017 +0200
+++ b/default/error/base.html	Sun May 21 16:10:44 2017 +0200
@@ -1,7 +1,7 @@
 {% extends 'base/base.html' %}
 
-{% block title %}Error {{error_code}}{% endblock %}
+{% block title %}{% trans %}Error {{error_code}}{% endtrans %}{% endblock %}
 {% block body %}
-An error occured while trying to access the resource.
+{% trans %}An error occured while trying to access the resource.{% endtrans %}
 {% endblock body %}
 {% block footer %}{% endblock %}