#5287: i18n marking breaks choices in admin on being marked for translation
----------------------------------------------------------+-----------------
Reporter: kenneth gonsalves <[EMAIL PROTECTED]> | Owner:
nobody
Status: closed |
Component: Internationalization
Version: SVN |
Resolution: fixed
Keywords: |
Stage: Unreviewed
Has_patch: 0 |
Needs_docs: 0
Needs_tests: 0 |
Needs_better_patch: 0
----------------------------------------------------------+-----------------
Changes (by mtredinnick):
* status: new => closed
* resolution: => fixed
Comment:
I can only duplicate this problem using python 2.3 and that's now been
fixed.
If you are using 2.4 or 2.5 and it's still an issue, can you please reopen
and give a small example demonstrating the problem. My test case so far
has been this model (with {{{_()}}} bound to {{{ugettext_lazy()}}}):
{{{
#!python
CHOICES = (('a', _('a')), ('b', _('b')), ('c', _('c')))
class T5287(models.Model):
type = models.CharField(max_length=5, choices=CHOICES)
class Admin:
pass
}}}
That displays correctly for me on current trunk (although not with python
2.3 prior to [6452]) and seems to follow your explanation of the problem.
--
Ticket URL: <http://code.djangoproject.com/ticket/5287#comment:3>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---