fix settings: no tabs, moved malfunctioning docstring to a comment above

This commit is contained in:
Thomas Waldmann 2014-06-06 23:37:27 +02:00
parent 077b91c0dd
commit 5c4f8203eb
2 changed files with 7 additions and 11 deletions

View File

@ -378,5 +378,5 @@ MESSAGE_TAGS = {
# By default language is set to english - modify settings.py to set list of languages # By default language is set to english - modify settings.py to set list of languages
gettext_noop = lambda s: s gettext_noop = lambda s: s
LANGUAGES = ( LANGUAGES = (
('en', gettext_noop('English')), ('en', gettext_noop('English')),
) )

View File

@ -29,13 +29,9 @@ INSTALLED_APPS += (
'debug_toolbar', 'debug_toolbar',
) )
# For language translations # translations - for details, see:
LANGUAGES = ( # https://docs.djangoproject.com/en/dev/topics/i18n/translation/#message-files and
('fr', gettext_noop('French')), # https://docs.djangoproject.com/en/dev/topics/i18n/translation/#how-django-discovers-language-preference
""" LANGUAGES += (
see https://docs.djangoproject.com/en/dev/topics/i18n/translation/#message-files and ('fr', gettext_noop('French')),
https://docs.djangoproject.com/en/dev/topics/i18n/translation/#how-django-discovers-language-preference )
for details
('de', _('German')),
"""
) + LANGUAGES