From: Bruno Haible Date: Tue, 17 Apr 2001 15:27:14 +0000 (+0000) Subject: Plural forms for Lithuanian and Slovenian. X-Git-Tag: v0.10.37~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a70a2f5d21991e91d9311cffbd0a71aa5ee3b33d;p=thirdparty%2Fgettext.git Plural forms for Lithuanian and Slovenian. --- diff --git a/doc/ChangeLog b/doc/ChangeLog index 8f6aed0c9..c813ede98 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,9 @@ +2001-04-19 Bruno Haible + + * gettext.texi (Plural forms): Add section about Lithuanian, reported + by Ricardas Cepas . Fix formula for Slovenian, + reported by Roman Maurer . + 2001-04-19 Bruno Haible * gettext.texi (config.guess): New node. diff --git a/doc/gettext.texi b/doc/gettext.texi index abd0c1e42..b1337402f 100644 --- a/doc/gettext.texi +++ b/doc/gettext.texi @@ -3780,6 +3780,23 @@ Languages with this property include: Gaeilge @end table +@item Three forms, special case for numbers ending in 1[2-9] +The header entry would look like this: + +@smallexample +Plural-Forms: nplurals=3; \ + plural=n%10==1 && n%100!=11 ? 0 : \ + n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2; +@end smallexample + +@noindent +Languages with this property include: + +@table @asis +@item Baltic family +Lithuanian +@end table + @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: @@ -3816,12 +3833,12 @@ Languages with this property include: Polish @end table -@item Four forms, special case for one and all numbers ending in 2, 3, or 4 +@item Four forms, special case for one and all numbers ending in 02, 03, or 04 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%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3; @end smallexample @noindent