Mercurial > libervia-templates
diff default/error/404.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/404.html Fri May 19 12:59:43 2017 +0200 +++ b/default/error/404.html Sun May 21 16:10:44 2017 +0200 @@ -1,6 +1,6 @@ {% extends 'error/base.html' %} {% block body %} -<h1>Not Found</h1> -<p>Sorry, we can't find the resource you are trying to access.</p> +<h1>{% trans %}Not Found{% endtrans %}</h1> +<p>{% trans %}Sorry, we can't find the resource you are trying to access.{% endtrans %}</p> {% endblock body %}