Code

Opened 3 years ago

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

Download all attachments as: .zip

Change History (4)

Changed 3 years ago by jammon

Screenshot of the filter_horizontal widget

comment:1 Changed 3 years ago by jammon

  • Component changed from django.contrib.admin to Internationalization
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

Changed 3 years ago by ramiro

Same attchment, format changed to PNG

comment:2 Changed 3 years ago by ramiro

  • Resolution set to invalid
  • Status changed from new to closed

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.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.