[Django] #28100: Change password of a user by form is given an 404 error

57 views
Skip to first unread message

Django

unread,
Apr 19, 2017, 7:30:23 AM4/19/17
to django-...@googlegroups.com
#28100: Change password of a user by form is given an 404 error
------------------------------------------------+------------------------
Reporter: Hélio Correia | Owner: nobody
Type: Bug | Status: new
Component: Internationalization | Version: 1.11
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 0 |
------------------------------------------------+------------------------
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

--
Ticket URL: <https://code.djangoproject.com/ticket/28100>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Apr 19, 2017, 7:36:04 AM4/19/17
to django-...@googlegroups.com
#28100: Change password of a user by form gives a 404 error due to bad Portuguese
translation
-------------------------------------+-------------------------------------

Reporter: Hélio Correia | Owner: nobody
Type: Bug | Status: closed
Component: | Version: 1.11
Internationalization |
Severity: Normal | Resolution: invalid

Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):

* status: new => closed
* resolution: => invalid


Comment:

Thanks for the report, however, translations are handled at
[https://docs.djangoproject.com/en/dev/internals/contributing/localizing/#translations
Transifex] rather than in this tracker.

--
Ticket URL: <https://code.djangoproject.com/ticket/28100#comment:1>

Django

unread,
Apr 19, 2017, 12:35:22 PM4/19/17
to django-...@googlegroups.com
#28100: Avoid including link into translatable string
--------------------------------------+------------------------------------

Reporter: Hélio Correia | Owner: nobody
Type: Bug | Status: closed
Component: Internationalization | Version: master
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage: Accepted

Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by Claude Paroz):

* version: 1.11 => master
* stage: Unreviewed => Accepted


Comment:

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.

--
Ticket URL: <https://code.djangoproject.com/ticket/28100#comment:2>

Django

unread,
Apr 19, 2017, 1:58:07 PM4/19/17
to django-...@googlegroups.com
#28100: Avoid including link into translatable string
--------------------------------------+------------------------------------
Reporter: Hélio Correia | Owner: nobody
Type: Bug | Status: closed
Component: Internationalization | Version: master
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by Claude Paroz):

* has_patch: 0 => 1


Comment:

[https://github.com/django/django/pull/8378 PR]

--
Ticket URL: <https://code.djangoproject.com/ticket/28100#comment:3>

Django

unread,
Apr 19, 2017, 2:16:30 PM4/19/17
to django-...@googlegroups.com
#28100: Avoid including link into translatable string
--------------------------------------+------------------------------------
Reporter: Hélio Correia | Owner: nobody
Type: Bug | Status: closed
Component: Internationalization | Version: master
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
--------------------------------------+------------------------------------

Comment (by Claude Paroz <claude@…>):

In [changeset:"e6bfd3d751278d7cfd09af1120c4bbce509c05da" e6bfd3d]:
{{{
#!CommitTicketReference repository=""
revision="e6bfd3d751278d7cfd09af1120c4bbce509c05da"
[1.11.x] Refs #28100 -- Fixed URL in el, es_MX, and pt auth translations
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/28100#comment:4>

Django

unread,
Apr 19, 2017, 2:16:47 PM4/19/17
to django-...@googlegroups.com
#28100: Avoid including link into translatable string
--------------------------------------+------------------------------------
Reporter: Hélio Correia | Owner: nobody
Type: Bug | Status: new
Component: Internationalization | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by Claude Paroz):

* status: closed => new
* resolution: invalid =>


--
Ticket URL: <https://code.djangoproject.com/ticket/28100#comment:5>

Django

unread,
Apr 19, 2017, 2:17:35 PM4/19/17
to django-...@googlegroups.com
#28100: Avoid including link into translatable string
--------------------------------------+------------------------------------
Reporter: Hélio Correia | Owner: nobody
Type: Bug | Status: new
Component: Internationalization | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
--------------------------------------+------------------------------------

Comment (by Claude Paroz):

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

--
Ticket URL: <https://code.djangoproject.com/ticket/28100#comment:6>

Django

unread,
Apr 19, 2017, 8:44:28 PM4/19/17
to django-...@googlegroups.com
#28100: Remove link in UserChangeForm.password's translatable help_text
-------------------------------------+-------------------------------------

Reporter: Hélio Correia | Owner: nobody
Type: Bug | Status: new
Component: | Version: master
Internationalization |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):

* stage: Accepted => Ready for checkin


--
Ticket URL: <https://code.djangoproject.com/ticket/28100#comment:7>

Django

unread,
Apr 22, 2017, 9:40:48 AM4/22/17
to django-...@googlegroups.com
#28100: Remove link in UserChangeForm.password's translatable help_text
-------------------------------------+-------------------------------------
Reporter: Hélio Correia | Owner: nobody
Type: Bug | Status: closed
Component: | Version: master
Internationalization |
Severity: Normal | Resolution: fixed

Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Claude Paroz <claude@…>):

* status: new => closed

* resolution: => fixed


Comment:

In [changeset:"c52ae33a0c0c0bbaa460607a8787e95fe983a2b9" c52ae33a]:
{{{
#!CommitTicketReference repository=""
revision="c52ae33a0c0c0bbaa460607a8787e95fe983a2b9"
Fixed #28100 -- Removed link in UserChangeForm.password's translatable
help_text
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/28100#comment:8>

Django

unread,
May 1, 2017, 9:31:33 PM5/1/17
to django-...@googlegroups.com
#28100: Remove link in UserChangeForm.password's translatable help_text
-------------------------------------+-------------------------------------
Reporter: Hélio Correia | Owner: nobody
Type: Bug | Status: closed
Component: | Version: master
Internationalization |
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Tim Graham <timograham@…>):

In [changeset:"941280229e8cd108c2d8ead12b0dcf3ff021bf23" 9412802]:
{{{
#!CommitTicketReference repository=""
revision="941280229e8cd108c2d8ead12b0dcf3ff021bf23"
Refs #28100 -- Added 1.11.1 release note for
e6bfd3d751278d7cfd09af1120c4bbce509c05da.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/28100#comment:9>

Django

unread,
May 1, 2017, 9:31:49 PM5/1/17
to django-...@googlegroups.com
#28100: Remove link in UserChangeForm.password's translatable help_text
-------------------------------------+-------------------------------------
Reporter: Hélio Correia | Owner: nobody
Type: Bug | Status: closed
Component: | Version: master
Internationalization |
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Tim Graham <timograham@…>):

In [changeset:"6e89abdc49e6c002290adb8f9e43db3cb9c889ab" 6e89abdc]:
{{{
#!CommitTicketReference repository=""
revision="6e89abdc49e6c002290adb8f9e43db3cb9c889ab"
[1.11.x] Refs #28100 -- Added 1.11.1 release note for
e6bfd3d751278d7cfd09af1120c4bbce509c05da.

Backport of 941280229e8cd108c2d8ead12b0dcf3ff021bf23 from master
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/28100#comment:10>

Reply all
Reply to author
Forward
0 new messages