Browse files

newforms-admin: Fixed #7502 -- Fixed an i18n breakge introduced in [7…

…694]. Thanks frasern.

git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@7711 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent abe84c8 commit c929440fcd001b97b805f2229fb85deae3f86e05 @brosner brosner committed Jun 20, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/contrib/admin/sites.py
View
2 django/contrib/admin/sites.py
@@ -231,7 +231,7 @@ def login(self, request):
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)

0 comments on commit c929440

Please sign in to comment.