#5425: [newforms-admin] - more flexible pagination template
-----------------------------------------------------+----------------------
   Reporter:  Petr Marhoun <[EMAIL PROTECTED]>  |                Owner:  nobody 
        
     Status:  new                                    |            Component:  
Admin interface
    Version:  newforms-admin                         |           Resolution:    
             
   Keywords:  admin, templates, pagination           |                Stage:  
Unreviewed     
  Has_patch:  1                                      |           Needs_docs:  0 
             
Needs_tests:  0                                      |   Needs_better_patch:  0 
             
-----------------------------------------------------+----------------------
Comment (by Densetsu no Ero-sennin <[EMAIL PROTECTED]>):

 This won't work for languages with more than one plural form. For example,
 in Russian "1 object, 2 objects, 10 objects" becomes "1 объект, 2 объекта,
 10 объектов". I think, the only way to handle it correctly is to use
 `ungettext`, possibly via `{% blocktrans %}` ... `{% plural %}` ... `{%
 endblocktrans %}` template tag.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/5425#comment:2>
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to