correct syntax errors
This commit is contained in:
parent
c3ab638092
commit
b83440a073
@ -53,7 +53,7 @@ TIME_ZONE = 'Europe/Berlin'
|
||||
|
||||
# Language code for this installation. All choices can be found here:
|
||||
# http://www.i18nguy.com/unicode/language-identifiers.html
|
||||
#LANGUAGE_CODE = 'en-us'
|
||||
LANGUAGE_CODE = 'en-us'
|
||||
|
||||
SITE_ID = 1
|
||||
|
||||
@ -375,9 +375,7 @@ MESSAGE_TAGS = {
|
||||
constants.ERROR: 'alert-danger',
|
||||
}
|
||||
|
||||
#by default language is set to english - modify settings.py to set list of languages
|
||||
#see https://docs.djangoproject.com/en/dev/topics/i18n/translation/#message-files and
|
||||
# https://docs.djangoproject.com/en/dev/topics/i18n/translation/#how-django-discovers-language-preference for details
|
||||
# By default language is set to english - modify settings.py to set list of languages
|
||||
gettext_noop = lambda s: s
|
||||
LANGUAGES = (
|
||||
('en', gettext_noop('English')),
|
||||
|
Loading…
x
Reference in New Issue
Block a user