Mercurial > libervia-backend
comparison sat/core/constants.py @ 2902:9241f9d1f9e5
constants: added KEY_LANG which is the key/name used in templates to change language/locale.
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 10 Apr 2019 21:04:51 +0200 |
parents | 4e875d9eea48 |
children | bb36cf6289c6 |
comparison
equal
deleted
inserted
replaced
2901:f6b0088ce247 | 2902:9241f9d1f9e5 |
---|---|
231 | 231 |
232 ## Templates ## | 232 ## Templates ## |
233 TEMPLATE_TPL_DIR = u"templates" | 233 TEMPLATE_TPL_DIR = u"templates" |
234 TEMPLATE_THEME_DEFAULT = u"default" | 234 TEMPLATE_THEME_DEFAULT = u"default" |
235 TEMPLATE_STATIC_DIR = u"static" | 235 TEMPLATE_STATIC_DIR = u"static" |
236 KEY_LANG = u"lang" # templates i18n | |
236 | 237 |
237 ## Plugins ## | 238 ## Plugins ## |
238 | 239 |
239 # PLUGIN_INFO keys | 240 # PLUGIN_INFO keys |
240 # XXX: we use PI instead of PLUG_INFO which would normally be used | 241 # XXX: we use PI instead of PLUG_INFO which would normally be used |