Opened 14 years ago

Closed 14 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: no UI/UX: no

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 14 years ago.
Screenshot of the filter_horizontal widget
filter_horizontal.png (6.1 KB ) - added by Ramiro Morales 14 years ago.
Same attchment, format changed to PNG

Download all attachments as: .zip

Change History (4)

by jammon, 14 years ago

Attachment: filter_horizontal.tiff added

Screenshot of the filter_horizontal widget

comment:1 by jammon, 14 years ago

Component: django.contrib.adminInternationalization

by Ramiro Morales, 14 years ago

Attachment: filter_horizontal.png added

Same attchment, format changed to PNG

comment:2 by Ramiro Morales, 14 years ago

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