0
0
mirror of https://github.com/django/django.git synced 2024-12-01 15:42:04 +01:00

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:
Malcolm Tredinnick 2007-04-05 03:25:30 +00:00
parent 8424ea39f8
commit e57d1bddda

View File

@ -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('-')