#15634: Malformed Plural-Forms for HR locale
----------------------------------------+----------------------
               Reporter:  bmihelac      |        Owner:  nobody
                 Status:  new           |    Milestone:
              Component:  Translations  |      Version:  SVN
             Resolution:                |     Keywords:
           Triage Stage:  Accepted      |    Has patch:  0
    Needs documentation:  0             |  Needs tests:  0
Patch needs improvement:  0             |
----------------------------------------+----------------------
Changes (by ramiro):

 * needs_docs:   => 0
 * needs_better_patch:   => 0
 * needs_tests:   => 0
 * stage:  Unreviewed => Accepted


Old description:

> This is introduced in r15823
>
> error is:
>
>   File "/usr/lib/python2.6/gettext.py", line 126, in c2py
>     return eval('lambda n: int(%s)' % plural)
>   File "<string>", line 1
>     lambda n: int(test(n%10==1  and  n%100!=11 ,  0 , test( n%10>=2  and
> n%" "10<=4  and  (n%100<10  or  n%100>=20) ,  1 ,  2)))
> ^
> SyntaxError: invalid syntax

New description:

 This is introduced in r15823

 error is:

 {{{
   File "/usr/lib/python2.6/gettext.py", line 126, in c2py
     return eval('lambda n: int(%s)' % plural)
   File "<string>", line 1
     lambda n: int(test(n%10==1  and  n%100!=11 ,  0 , test( n%10>=2  and
 n%" "10<=4  and  (n%100<10  or  n%100>=20) ,  1 ,  2)))
 ^
 SyntaxError: invalid syntax
 }}}

--

-- 
Ticket URL: <http://code.djangoproject.com/ticket/15634#comment:1>
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 [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