mirror of https://github.com/django/django.git
Small fix to [4931].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4932 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
8424ea39f8
commit
e57d1bddda
|
@ -30,7 +30,7 @@ TECHNICAL_ID_MAP = {
|
|||
def gettext(message):
|
||||
return TECHNICAL_ID_MAP.get(message, message)
|
||||
|
||||
gettext_noop = gettext_lazy = gettext
|
||||
gettext_noop = gettext_lazy = _ = gettext
|
||||
|
||||
def to_locale(language):
|
||||
p = language.find('-')
|
||||
|
|
Loading…
Reference in New Issue