-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kenneth Gonsalves escribió:
> hi,
> 
> when i upgraded to the latest svn head, I found that all the places  
> in admin that had drop downs for choices were blank. I had always  
> marked my choices for translation like so:
> 
> article_type = (
> ("NW", _("News")),
> ("FT",_("Features")),
> )
> 
> now, this doesnt work - when I remove the _(), then the choices  
> appear. How do I then mark them for translation?
> 

Make sure to use gettext_lazy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG1EyOSyMaQ2t7ZwcRAgMiAKCXgHMMs+GgGxhTb5MDrXvPE/omfwCcCL62
en0reRc7vwT/s4WZuRnA8Ns=
=dHi8
-----END PGP SIGNATURE-----

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

begin:vcard
fn:Christian Hoeppner
n:Hoeppner;Christian
email;internet:[EMAIL PROTECTED]
note:I am a freelance coder specialized in web applications and their deployment at a small or medium scale.
x-mozilla-html:FALSE
version:2.1
end:vcard

Reply via email to