From: Bruno Haible Date: Mon, 2 Apr 2001 20:02:10 +0000 (+0000) Subject: Fix the plural formula for Russian. X-Git-Tag: v0.10.37~58 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c506713422a8c49652ffb4b848199f47c172c200;p=thirdparty%2Fgettext.git Fix the plural formula for Russian. --- diff --git a/doc/ChangeLog b/doc/ChangeLog index 47e904cb9..6fc415758 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,8 @@ +2001-04-02 Bruno Haible + + * gettext.texi (Plural forms): Add Estonian. Fix the formula for + Russian and add Czech and Slovak to this case. + 2001-03-29 Bruno Haible * gettext-0.10.36 released. diff --git a/doc/gettext.texi b/doc/gettext.texi index 2a706c32e..1a1e8772b 100644 --- a/doc/gettext.texi +++ b/doc/gettext.texi @@ -3738,7 +3738,7 @@ Languages with this property include: @item Germanic family Danish, Dutch, English, German, Norwegian, Swedish @item Finno-Ugric family -Finnish +Estonian, Finnish @item Latin/Greek family Greek @item Semitic family @@ -3779,12 +3779,13 @@ Languages with this property include: Gaeilge @end table -@item Three forms, special case for one and all numbers ending in 2, 3, or 4 +@item Three forms, special cases for numbers ending in 1 and 2, 3, 4, except those ending in 1[1-4] The header entry would look like this: @smallexample Plural-Forms: nplurals=3; \ - plural=n==1 ? 0 : n%10>=2 && n%10<=4 ? 1 : 2; + plural=n%10==1 && n%100!=11 ? 0 : \ + n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2; @end smallexample @noindent @@ -3792,7 +3793,7 @@ Languages with this property include: @table @asis @item Slavic family -Russian +Czech, Russian, Slovak @end table @item Three forms, special case for one and some numbers ending in 2, 3, or 4 @@ -3819,8 +3820,7 @@ The header entry would look like this: @smallexample Plural-Forms: nplurals=4; \ - plural=n==1 ? 0 : \ - n%10==2 ? 1 : n%10==3 || n%10==4 ? 2 : 3; + plural=n==1 ? 0 : n%10==2 ? 1 : n%10==3 || n%10==4 ? 2 : 3; @end smallexample @noindent