Opened 2 years ago

Closed 2 years ago

Last modified 2 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: master
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 Changed 2 years ago by Tim Graham

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 Changed 2 years ago by Claude Paroz

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 Changed 2 years ago by Claude Paroz

Has patch: set

comment:4 Changed 2 years ago by Claude Paroz <claude@…>

In e6bfd3d:

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

comment:5 Changed 2 years ago by Claude Paroz

Resolution: invalid
Status: closednew

comment:6 Changed 2 years ago by Claude Paroz

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

comment:7 Changed 2 years ago by Tim Graham

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

comment:8 Changed 2 years ago by Claude Paroz <claude@…>

Resolution: fixed
Status: newclosed

In c52ae33a:

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

comment:9 Changed 2 years ago by Tim Graham <timograham@…>

In 9412802:

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

comment:10 Changed 2 years ago by Tim Graham <timograham@…>

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