changeset 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 f6b0088ce247
children 68a7543ebbb3
files sat/core/constants.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/sat/core/constants.py	Wed Apr 10 21:04:41 2019 +0200
+++ b/sat/core/constants.py	Wed Apr 10 21:04:51 2019 +0200
@@ -233,6 +233,7 @@
     TEMPLATE_TPL_DIR = u"templates"
     TEMPLATE_THEME_DEFAULT = u"default"
     TEMPLATE_STATIC_DIR = u"static"
+    KEY_LANG = u"lang"  # templates i18n
 
     ## Plugins ##