Opened 7 years ago

Closed 6 years ago

Last modified 5 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: UI/UX:

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 6 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 7 years ago by Gergely Kontra

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

comment:2 Changed 7 years ago by Russell Keith-Magee

Triage Stage: UnreviewedAccepted

Changed 6 years ago by Julien Phalip

Attachment: 11852_trans_string.diff added

comment:3 Changed 6 years ago by Julien Phalip

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 Changed 6 years ago by Russell Keith-Magee

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 Changed 5 years ago by Jacob

milestone: 1.3

Milestone 1.3 deleted

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