#2186 closed defect (fixed)
[patch] password reset mail has broken variable substitution
| Reported by: | Owned by: | Adrian Holovaty | |
|---|---|---|---|
| Component: | Contrib apps | Version: | dev |
| Severity: | minor | Keywords: | |
| Cc: | md@… | Triage Stage: | Unreviewed |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
The variable Substitution in password_reset_email.html does not work as expected. This patch fixes that:
--- django/contrib/admin/templates/registration/password_reset_email.html (revision 3138)
-{% trans "for your user account at %(site_name)s" %}.
+{% blocktrans %}for your user account at {{ site_name}}{% endblocktrans %}.
See http://blogs.23.nu/c0re/stories/12199/ for some further explanation
Attachments (1)
Change History (2)
by , 19 years ago
| Attachment: | django-20060618-passwordmail.diff added |
|---|
comment:1 by , 19 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
(In [3140]) Fixed #2186 -- Fixed i18n variable substitution in admin/templates/registration/password_reset_email.html. Thanks, md@…