Opened 15 years ago

Closed 14 years ago

Last modified 13 years ago

#11852 closed (fixed)

html template password_reset_email.html has badly translatable string

Reported by: Gergely Kontra Owned by: nobody
Component: contrib.admin Version: 1.1
Severity: Keywords: i18n, l10n
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

django/contrib/admin/templates/registration/password_reset_email.html contains ugly trans tags:

{% trans "You're receiving this e-mail because you requested a password reset" %}
{% blocktrans %}for your user account at {{ site_name }}{% endblocktrans %}.

Maybe it worth considering using one big blocktrans for the whole letter (with aliases), as you should not reuse small pieces from that letter.

Attachments (1)

11852_trans_string.diff (823 bytes ) - added by Julien Phalip 14 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 by Gergely Kontra, 15 years ago

Summary: password_reset_email has badly translatable stringhtml template password_reset_email.html has badly translatable string

comment:2 by Russell Keith-Magee, 15 years ago

Triage Stage: UnreviewedAccepted

by Julien Phalip, 14 years ago

Attachment: 11852_trans_string.diff added

comment:3 by Julien Phalip, 14 years ago

Has patch: set
milestone: 1.3
Triage Stage: AcceptedReady for checkin

I presume the patch is trivial enough to promote to RFC before 1.3's string freeze.

comment:4 by Russell Keith-Magee, 14 years ago

Resolution: fixed
Status: newclosed

In [15606]:

Fixed #11852 -- Ensure that a long string in the password reset email can be translated. Thanks to pihentagy for the report.

comment:5 by Jacob, 13 years ago

milestone: 1.3

Milestone 1.3 deleted

Note: See TracTickets for help on using tickets.
Back to Top