Author: mtredinnick
Date: 2007-10-26 23:34:50 -0500 (Fri, 26 Oct 2007)
New Revision: 6617
Modified:
django/trunk/django/contrib/auth/forms.py
Log:
Fixed #5798 -- Added a missing translation marker. Thanks, maru.
Modified: django/trunk/django/contrib/auth/forms.py
===================================================================
--- django/trunk/django/contrib/auth/forms.py 2007-10-27 04:26:44 UTC (rev
6616)
+++ django/trunk/django/contrib/auth/forms.py 2007-10-27 04:34:50 UTC (rev
6617)
@@ -104,7 +104,7 @@
'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."
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---