Thanks Ramiro, both patches are great! I've just left a small comment about the doc patch.
Regards, Julien On Mar 24, 7:24 am, "Ramiro Morales" <[EMAIL PROTECTED]> wrote: > Julien, > > On Sat, Mar 22, 2008 at 9:00 PM, Julien <[EMAIL PROTECTED]> wrote: > > > Hi, > > > In fact, I'm using my own po file, and the plural rule is exactly the > > same one as you've mentioned above. So, I've changed the rule to: > > "Plural-Forms: nplurals=2; plural=(n > 1)?1:0;\n" > > Glad to see it' working for you now. Sorry for trying to help > without grasping all the details. > > I've tried to solve it in a similar way but at a different point to be safe > in > the case an author of a (Django or app) djangojs.po catalog specifies > > Plural-Forms: nplurals=2; plural=n>1; > > instead of > > Plural-Forms: nplurals=2; plural=n>1 ? 1 : 0; > > because the first form (the one that relies on the "feature of C > expressions that boolean > expressions have to value zero or one.") is shown in the [1]official GNU > gettext > documentation. > > I've opened ticket #6864 with a patch attached. could you give it a try?. > > > > > Also, I've spotted another glitch in the doc, which I've reported in > > the ticket you've opened:http://code.djangoproject.com/ticket/6859 > > I've updated the patch, do you think it's Ok?, thanks!. > > Regards, > > -- > Ramiro Morales > > 1.http://www.gnu.org/software/gettext/manual/html_node/Plural-forms.htm... --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---