fix settings: no tabs, moved malfunctioning docstring to a comment above
This commit is contained in:
parent
077b91c0dd
commit
5c4f8203eb
@ -378,5 +378,5 @@ MESSAGE_TAGS = {
|
||||
# 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')),
|
||||
('en', gettext_noop('English')),
|
||||
)
|
||||
|
@ -29,13 +29,9 @@ INSTALLED_APPS += (
|
||||
'debug_toolbar',
|
||||
)
|
||||
|
||||
# For language translations
|
||||
LANGUAGES = (
|
||||
('fr', gettext_noop('French')),
|
||||
"""
|
||||
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
|
||||
('de', _('German')),
|
||||
"""
|
||||
) + LANGUAGES
|
||||
# translations - for details, 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
|
||||
LANGUAGES += (
|
||||
('fr', gettext_noop('French')),
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user