From 212aa32e2a27469f542a9298c5ba0c2c04e5b7ff Mon Sep 17 00:00:00 2001 From: Malcolm Tredinnick Date: Sat, 27 Oct 2007 04:34:50 +0000 Subject: [PATCH] Fixed #5798 -- Added a missing translation marker. Thanks, maru. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6617 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/contrib/auth/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/contrib/auth/forms.py b/django/contrib/auth/forms.py index 16ee0289a26..47a974cacdd 100644 --- a/django/contrib/auth/forms.py +++ b/django/contrib/auth/forms.py @@ -104,7 +104,7 @@ class PasswordResetForm(oldforms.Manipulator): 'site_name': site_name, 'user': user, } - send_mail('Password reset on %s' % site_name, t.render(Context(c)), None, [user.email]) + send_mail(_('Password reset on %s') % site_name, t.render(Context(c)), None, [user.email]) class PasswordChangeForm(oldforms.Manipulator): "A form that lets a user change his password."