Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2006:
[Freeciv-Dev] (PR#15583) Bad Plural-Forms in ru.po?
Home

[Freeciv-Dev] (PR#15583) Bad Plural-Forms in ru.po?

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#15583) Bad Plural-Forms in ru.po?
From: "Egor Vyscrebentsov" <evyscr@xxxxxxxxx>
Date: Thu, 16 Feb 2006 03:20:57 -0800
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=15583 >

Good daytime!

After long thought I think that current Plural-Forms formula from ru.po
is broken.

Now it is:
"Plural-Forms: nplurals=3; plural=n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
"|| n%100>=20) ? 1 : 2;\n"

This is right in all variants except (n%100<10 || n%100>=20) && n%10==1
Those values should return 0.

So, right formula should be (IMO) something like:
"Plural-Forms: nplurals=3; plural=n%100==1 || n%10=1 && n%100>=20 ? 0 : "
"n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"

If no one will protest, I will commit this change at next week.

-- 
Thanks, evyscr





[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#15583) Bad Plural-Forms in ru.po?, Egor Vyscrebentsov <=