Opened 6 years ago

Closed 6 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, 6 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, 6 years ago

Triage Stage: UnreviewedAccepted

comment:3 by Etienne Chove, 6 years ago

Has patch: set
Version 0, edited 6 years ago by Etienne Chove (next)

comment:4 by Etienne Chove, 6 years ago

Owner: changed from nobody to Etienne Chove
Status: newassigned

comment:5 by Tim Graham <timograham@…>, 6 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