Django

Code

Ticket #4958 (closed: fixed)

Opened 1 year ago

Last modified 1 year ago

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

Reported by: Honza Král <Honza.Kral@gmail.com> Assigned to: Honza_Kral
Milestone: Component: django.contrib.admin
Version: newforms-admin Keywords: newforms admin unicode label sprintsept14
Cc: Triage Stage: Unreviewed
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

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

unicode_label-5751.diff (0.7 kB) - added by Honza Král <Honza.Kral@gmail.com> on 07/23/07 06:09:28.
simple patch to repair the issue
unicode_label-5751-for-django-6158.diff (0.7 kB) - added by Honza_Kral on 09/14/07 07:37:12.
new patch for version 6158
unicode_label-5751-for-django-6158-take2.diff (0.6 kB) - added by Honza_Kral on 09/14/07 09:07:02.
new patch for version 6158
unicode_label-5751-for-django-6158-take3.diff (0.6 kB) - added by Honza_Kral on 09/14/07 09:23:33.
new patch for python 2.3 compatibility

Change History

07/23/07 06:09:28 changed by Honza Král <Honza.Kral@gmail.com>

  • attachment unicode_label-5751.diff added.

simple patch to repair the issue

09/14/07 07:37:12 changed by Honza_Kral

  • attachment unicode_label-5751-for-django-6158.diff added.

new patch for version 6158

09/14/07 07:43:04 changed by Honza_Kral

  • owner changed from nobody to Honza_Kral.
  • needs_better_patch changed.
  • needs_tests changed.
  • needs_docs changed.

09/14/07 09:07:02 changed by Honza_Kral

  • attachment unicode_label-5751-for-django-6158-take2.diff added.

new patch for version 6158

09/14/07 09:23:33 changed by Honza_Kral

  • attachment unicode_label-5751-for-django-6158-take3.diff added.

new patch for python 2.3 compatibility

09/14/07 12:10:15 changed by Honza_Kral

  • keywords changed from newforms admin unicode label to newforms admin unicode label sprintsept14.

09/14/07 14:30:03 changed by adrian

  • status changed from new to closed.
  • resolution set to fixed.

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


Add/Change #4958 ([newforms-admin] translated field labels doesn't show in newforms admin)




Change Properties
Action