Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

newforms-admin: Fixed #4958 -- Translated field labels now show. Than…

…ks, Honza Kral

git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@6209 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 276c941d08ba891940954d3c43c63b5b760e17a0 1 parent 337f198
Adrian Holovaty authored September 14, 2007

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/contrib/admin/options.py
2  django/contrib/admin/options.py
@@ -113,7 +113,7 @@ def label_tag(self):
113 113
             classes.append(u'vCheckboxLabel')
114 114
             contents = escape(self.field.label)
115 115
         else:
116  
-            contents = escape(self.field.label) + u':'
  116
+            contents = force_unicode(escape(self.field.label)) + u':'
117 117
         if self.field.field.required:
118 118
             classes.append(u'required')
119 119
         if not self.is_first:

0 notes on commit 276c941

Please sign in to comment.
Something went wrong with that request. Please try again.