Code

Opened 7 years ago

Closed 7 years ago

#4958 closed (fixed)

[newforms-admin] translated field labels doesn't show in newforms admin

Reported by: Honza Král <Honza.Kral@…> Owned by: Honza_Kral
Component: contrib.admin Version: newforms-admin
Severity: Keywords: newforms admin unicode label sprintsept14
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

The merge with Unicode branch might be responsible for that. It can be fixed by simple adding force_unicode() call to django.contrib.admin.options.BoundField.label_tag, see attached patch.

Attachments (4)

unicode_label-5751.diff (702 bytes) - added by Honza Král <Honza.Kral@…> 7 years ago.
simple patch to repair the issue
unicode_label-5751-for-django-6158.diff (696 bytes) - added by Honza_Kral 7 years ago.
new patch for version 6158
unicode_label-5751-for-django-6158-take2.diff (567 bytes) - added by Honza_Kral 7 years ago.
new patch for version 6158
unicode_label-5751-for-django-6158-take3.diff (580 bytes) - added by Honza_Kral 7 years ago.
new patch for python 2.3 compatibility

Download all attachments as: .zip

Change History (7)

Changed 7 years ago by Honza Král <Honza.Kral@…>

simple patch to repair the issue

Changed 7 years ago by Honza_Kral

new patch for version 6158

comment:1 Changed 7 years ago by Honza_Kral

  • Needs documentation unset
  • Needs tests unset
  • Owner changed from nobody to Honza_Kral
  • Patch needs improvement unset

Changed 7 years ago by Honza_Kral

new patch for version 6158

Changed 7 years ago by Honza_Kral

new patch for python 2.3 compatibility

comment:2 Changed 7 years ago by Honza_Kral

  • Keywords sprintsept14 added

comment:3 Changed 7 years ago by adrian

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

(In [6209]) newforms-admin: Fixed #4958 -- Translated field labels now show. Thanks, Honza Kral

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.