diff 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
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 ##