#10956: Possible typo in documentation - topics/i18n/
------------------------------+---------------------------------------------
 Reporter:  stranded          |       Owner:  nobody    
   Status:  new               |   Milestone:            
Component:  Documentation     |     Version:  1.0       
 Keywords:  javascript, typo  |       Stage:  Unreviewed
Has_patch:  0                 |  
------------------------------+---------------------------------------------
 In the example for Named interpolation in javascript on link
 http://docs.djangoproject.com/en/dev/topics/i18n/#topics-i18n is sais:

 fmts = ngettext('Total: %(total)s, there is %(count)s object',
 'there are %(count)s of a total of %(total)s objects', d.count);
 s = interpolate(fmts, d, true);

 should it not be d and not d.count in the ngettext function?

 Cheers,
 Tommy

-- 
Ticket URL: <http://code.djangoproject.com/ticket/10956>
Django <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 django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to