Mercurial > libervia-templates
diff default/error/401.html @ 20:8fa2fd2e928e
default: added i18n support
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 21 May 2017 16:10:44 +0200 |
parents | 2b26eadd8ad7 |
children |
line wrap: on
line diff
--- a/default/error/401.html Fri May 19 12:59:43 2017 +0200 +++ b/default/error/401.html Sun May 21 16:10:44 2017 +0200 @@ -1,6 +1,6 @@ {% extends 'error/base.html' %} {% block body %} -<h1>Unauthorized</h1> -<p>Sorry, you are not allowed to access this page.</p> +<h1>{% trans %}Unauthorized{% endtrans %}</h1> +<p>{% trans %}Sorry, you are not allowed to access this page.{% endtrans %}</p> {% endblock body %}