Remove gettext_noop from language list

Language names in LANGUAGES list are marked as translatable,
but it is unnecessary, so this change removes gettext_noop.

Change-Id: I8f8dd9d16daebf8fec6ecb3f9191ece05c3ceead
Closes-Bug: #1254488
This commit is contained in:
Peter Belanyi 2014-03-04 17:31:40 +01:00
parent 9f8a5eb349
commit 9726f596f3

View File

@ -176,19 +176,18 @@ SESSION_COOKIE_MAX_SIZE = 4093
# TODO(mrunge): remove after Icehouse
SESSION_SERIALIZER = 'django.contrib.sessions.serializers.PickleSerializer'
gettext_noop = lambda s: s
LANGUAGES = (
('en', gettext_noop('English')),
('en-au', gettext_noop('Australian English')),
('en-gb', gettext_noop('British English')),
('es', gettext_noop('Spanish')),
('fr', gettext_noop('French')),
('ja', gettext_noop('Japanese')),
('ko', gettext_noop('Korean (Korea)')),
('nl', gettext_noop('Dutch (Netherlands)')),
('pl', gettext_noop('Polish')),
('pt-br', gettext_noop('Portuguese (Brazil)')),
('zh-cn', gettext_noop('Simplified Chinese')),
('en', 'English'),
('en-au', 'Australian English'),
('en-gb', 'British English'),
('es', 'Spanish'),
('fr', 'French'),
('ja', 'Japanese'),
('ko', 'Korean (Korea)'),
('nl', 'Dutch (Netherlands)'),
('pl', 'Polish'),
('pt-br', 'Portuguese (Brazil)'),
('zh-cn', 'Simplified Chinese'),
)
LANGUAGE_CODE = 'en'
LANGUAGE_COOKIE_NAME = 'horizon_language'