diff --git a/openstack_dashboard/settings.py b/openstack_dashboard/settings.py index 7950e80779..afe3c234b0 100644 --- a/openstack_dashboard/settings.py +++ b/openstack_dashboard/settings.py @@ -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'