From c929440fcd001b97b805f2229fb85deae3f86e05 Mon Sep 17 00:00:00 2001 From: Brian Rosner Date: Fri, 20 Jun 2008 07:40:45 +0000 Subject: [PATCH] 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 --- django/contrib/admin/sites.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/contrib/admin/sites.py b/django/contrib/admin/sites.py index a3eb5143e7..9146b59537 100644 --- a/django/contrib/admin/sites.py +++ b/django/contrib/admin/sites.py @@ -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)