Opened 5 years ago

Closed 5 years ago

#30221 closed Bug (fixed)

Disabled field in admin use hard coded label_suffix

Reported by: Etienne Chove Owned by: Etienne Chove
Component: contrib.admin Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

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 ":").

Change History (5)

comment:1 by Etienne Chove, 5 years ago

Summary: Disabled field in admin for use hard coded label_suffixDisabled field in admin use hard coded label_suffix

comment:2 by Tim Graham, 5 years ago

Triage Stage: UnreviewedAccepted

comment:3 by Etienne Chove, 5 years ago

Has patch: set
Last edited 5 years ago by Tim Graham (previous) (diff)

comment:4 by Etienne Chove, 5 years ago

Owner: changed from nobody to Etienne Chove
Status: newassigned

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

Resolution: fixed
Status: assignedclosed

In 4dcbe6e:

Fixed #30221 -- Made label suffix of admin's read-only fields translatable.

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