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

default: added i18n support
author Goffi <goffi@goffi.org>
date Sun, 21 May 2017 16:10:44 +0200
parents 422c54e0204a
children b046a7835374
line wrap: on
line diff
--- a/default/base/base.html	Fri May 19 12:59:43 2017 +0200
+++ b/default/base/base.html	Sun May 21 16:10:44 2017 +0200
@@ -29,6 +29,6 @@
     {% block body %}
     {% endblock body %}
     </div>
-    <footer>{% block footer %}Powered by {{C.APP_NAME}}{% endblock %}</footer>
+    <footer>{% block footer %}{% trans app_name=C.APP_NAME %}Powered by {{app_name}}{% endtrans %}{% endblock %}</footer>
 </body>
 </html>