Opened 6 years ago

Closed 6 years ago

#14869 closed (invalid)

The filter_horizontal widget converts the fields 'verbose_name_plural' to lower case

Reported by: jammon Owned by: nobody
Component: Internationalization Version: 1.3-alpha
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

In the filter_horizontal widget the fields 'verbose_name_plural' is used, but is converted to lower case.

Attachments (2)

filter_horizontal.tiff (10.8 KB) - added by jammon 6 years ago.
Screenshot of the filter_horizontal widget
filter_horizontal.png (6.1 KB) - added by Ramiro Morales 6 years ago.
Same attchment, format changed to PNG

Download all attachments as: .zip

Change History (4)

Changed 6 years ago by jammon

Attachment: filter_horizontal.tiff added

Screenshot of the filter_horizontal widget

comment:1 Changed 6 years ago by jammon

Component: django.contrib.adminInternationalization

Changed 6 years ago by Ramiro Morales

Attachment: filter_horizontal.png added

Same attchment, format changed to PNG

comment:2 Changed 6 years ago by Ramiro Morales

Resolution: invalid
Status: newclosed

From reading the code, the value actually being used it Meta.verbose_name and it is being used verbatim. Please reopen this ticket if my analisis is wrong.

If you want it to appear with some special casing, use that casing in verbose_name.

An issue maybe worth another ticket is giving the widgets used for filter_horizontal, filter_vertical the ability to handle i18n plural forms.

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