Fix languages setting for askbot

This commit is contained in:
Kevin Fenzi 2014-01-20 17:15:16 +00:00
parent 935277bfea
commit 7b38b40873

View file

@ -249,14 +249,14 @@ CACHES = {
'LOCATION': 'ask-staging' 'LOCATION': 'ask-staging'
} }
} }
LANGUAGES = { LANGUAGES = (
'zh-tw': 'Chinese', ('es', gettext('Spanish')),
'en': 'English', ('en', gettext('English')),
'fr': 'French', ('ru', gettext('Russian')),
'el': 'Greek', ('zh-tw', gettext('Chinese')),
'ru': 'Russian', ('fr', gettext('French')),
'es': 'Spanish', ('el', gettext('Greek')),
} )
{% else %} {% else %}
DOMAIN_NAME = 'ask.fedoraproject.org' DOMAIN_NAME = 'ask.fedoraproject.org'
CACHES = { CACHES = {
@ -268,10 +268,10 @@ CACHES = {
] ]
} }
} }
LANGUAGES = { LANGUAGES = (
'en': 'English', ('es', gettext('Spanish')),
'es': 'Spanish', ('en', gettext('English')),
} )
{% endif %} {% endif %}
#https://docs.djangoproject.com/en/1.3/ref/contrib/csrf/ #https://docs.djangoproject.com/en/1.3/ref/contrib/csrf/