Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#28100 closed Bug (fixed)

Remove link in UserChangeForm.password's translatable help_text

Reported by: Hélio Correia Owned by: nobody
Component: Internationalization Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

When i try to change the password on an user by the admin on the form is getting a page 404 error, the error is because in Portuguese the translation of <a href=\"../password/""\">this form</a>." an it its translated for <a href=\"password/\">deste formulário</a>." . To fix this just change the translation for <a href=\"../password/""\">deste formulário</a>.

the file is django/contrib/auth/locale/pt/LC_MESSAGES/django.po on line 77

Best regards
Hélio

Change History (10)

comment:1 by Tim Graham, 7 years ago

Resolution: invalid
Status: newclosed
Summary: Change password of a user by form is given an 404 errorChange password of a user by form gives a 404 error due to bad Portuguese translation

Thanks for the report, however, translations are handled at Transifex rather than in this tracker.

comment:2 by Claude Paroz, 7 years ago

Summary: Change password of a user by form gives a 404 error due to bad Portuguese translationAvoid including link into translatable string
Triage Stage: UnreviewedAccepted
Version: 1.11master

This is not the first time we have this error. Including the link inside the translatable string is a really bad idea.
We should fix that.

comment:3 by Claude Paroz, 7 years ago

Has patch: set

comment:4 by Claude Paroz <claude@…>, 7 years ago

In e6bfd3d:

[1.11.x] Refs #28100 -- Fixed URL in el, es_MX, and pt auth translations

comment:5 by Claude Paroz, 7 years ago

Resolution: invalid
Status: closednew

comment:6 by Claude Paroz, 7 years ago

Note that I have fixed the translations in Transifex, too.

comment:7 by Tim Graham, 7 years ago

Summary: Avoid including link into translatable stringRemove link in UserChangeForm.password's translatable help_text
Triage Stage: AcceptedReady for checkin

comment:8 by Claude Paroz <claude@…>, 7 years ago

Resolution: fixed
Status: newclosed

In c52ae33a:

Fixed #28100 -- Removed link in UserChangeForm.password's translatable help_text

comment:9 by Tim Graham <timograham@…>, 7 years ago

In 9412802:

Refs #28100 -- Added 1.11.1 release note for e6bfd3d751278d7cfd09af1120c4bbce509c05da.

comment:10 by Tim Graham <timograham@…>, 7 years ago

In 6e89abdc:

[1.11.x] Refs #28100 -- Added 1.11.1 release note for e6bfd3d751278d7cfd09af1120c4bbce509c05da.

Backport of 941280229e8cd108c2d8ead12b0dcf3ff021bf23 from master

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