diff src/pages/g/page_meta.py @ 945:44dde9b955e8

pages (g): use invitee's locale as template locale
author Goffi <goffi@goffi.org>
date Sun, 21 May 2017 16:00:29 +0200
parents aba7208d9d50
children 43df2bf38787
line wrap: on
line diff
--- a/src/pages/g/page_meta.py	Fri May 19 17:03:04 2017 +0200
+++ b/src/pages/g/page_meta.py	Sun May 21 16:00:29 2017 +0200
@@ -75,7 +75,7 @@
 
     # we copy data useful in templates
     template_data = request.template_data
-    for key in ('name',):
+    for key in (u'name', u'locale'):
         if key in data:
             template_data[key] = data[key]