Fix this lang thing the correct way.

This commit is contained in:
Kevin Fenzi 2014-01-20 17:26:28 +00:00
parent 2bf861fb4d
commit 193d5c8337

View file

@ -4,7 +4,6 @@ import logging
import sys
import askbot
import site
import gettext
#this line is added so that we can import pre-packaged askbot dependencies
ASKBOT_ROOT = os.path.abspath(os.path.dirname(askbot.__file__))
@ -250,6 +249,7 @@ CACHES = {
'LOCATION': 'ask-staging'
}
}
gettext = lambda s: s
LANGUAGES = (
('es', gettext('Spanish')),
('en', gettext('English')),
@ -269,6 +269,7 @@ CACHES = {
]
}
}
gettext = lambda s: s
LANGUAGES = (
('es', gettext('Spanish')),
('en', gettext('English')),