1
0
mirror of https://github.com/django/django.git synced 2025-07-04 17:59:13 +00:00

newforms-admin: Fixed #7502 -- Fixed an i18n breakge introduced in [7694]. Thanks frasern.

git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@7711 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Brian Rosner 2008-06-20 07:40:45 +00:00
parent abe84c8648
commit c929440fcd

View File

@ -231,7 +231,7 @@ class AdminSite(object):
else:
if user.check_password(password):
message = _("Your e-mail address is not your username."
" Try '%s' instead." % user.username)
" Try '%s' instead.") % user.username
else:
message = _("Usernames cannot contain the '@' character.")
return self.display_login_form(request, message)