[Django] #30221: Disabled field in admin for use hard coded label_suffix

4 views
Skip to first unread message

Django

unread,
Feb 27, 2019, 11:54:47 AM2/27/19
to django-...@googlegroups.com
#30221: Disabled field in admin for use hard coded label_suffix
-----------------------------------------+------------------------
Reporter: Etienne Chove | Owner: nobody
Type: Bug | Status: new
Component: contrib.admin | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-----------------------------------------+------------------------
In the class '''helpers.AdminReadonlyField''', the '''label_tag''' method
has hard coded "''':'''" It is nor configurable neither able to tranlate
(in French we use a space before "''':'''").

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

Django

unread,
Feb 27, 2019, 12:05:04 PM2/27/19
to django-...@googlegroups.com
#30221: Disabled field in admin use hard coded label_suffix
-------------------------------+--------------------------------------

Reporter: Etienne Chove | Owner: nobody
Type: Bug | Status: new
Component: contrib.admin | Version: master
Severity: Normal | Resolution:

Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------

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

Django

unread,
Feb 27, 2019, 1:27:11 PM2/27/19
to django-...@googlegroups.com
#30221: Disabled field in admin use hard coded label_suffix
-------------------------------+------------------------------------

Reporter: Etienne Chove | Owner: nobody
Type: Bug | Status: new
Component: contrib.admin | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted

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

* stage: Unreviewed => Accepted


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

Django

unread,
Feb 27, 2019, 3:05:41 PM2/27/19
to django-...@googlegroups.com
#30221: Disabled field in admin use hard coded label_suffix
-------------------------------+------------------------------------
Reporter: Etienne Chove | Owner: nobody
Type: Bug | Status: new
Component: contrib.admin | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+------------------------------------
Changes (by Etienne Chove):

* has_patch: 0 => 1


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

Django

unread,
Feb 27, 2019, 3:06:15 PM2/27/19
to django-...@googlegroups.com
#30221: Disabled field in admin use hard coded label_suffix
-------------------------------+-----------------------------------------
Reporter: Etienne Chove | Owner: Etienne Chove
Type: Bug | Status: assigned
Component: contrib.admin | Version: master

Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+-----------------------------------------
Changes (by Etienne Chove):

* status: new => assigned
* owner: nobody => Etienne Chove


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

Django

unread,
Feb 28, 2019, 12:36:55 PM2/28/19
to django-...@googlegroups.com
#30221: Disabled field in admin use hard coded label_suffix
-------------------------------+-----------------------------------------
Reporter: Etienne Chove | Owner: Etienne Chove
Type: Bug | Status: closed
Component: contrib.admin | Version: master
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+-----------------------------------------
Changes (by Tim Graham <timograham@…>):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"4dcbe6eb2de38a856dae39928692e46fbcf5c475" 4dcbe6e]:
{{{
#!CommitTicketReference repository=""
revision="4dcbe6eb2de38a856dae39928692e46fbcf5c475"
Fixed #30221 -- Made label suffix of admin's read-only fields
translatable.
}}}

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

Reply all
Reply to author
Forward
0 new messages