]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Plural forms for Lithuanian and Slovenian.
authorBruno Haible <bruno@clisp.org>
Tue, 17 Apr 2001 15:27:14 +0000 (15:27 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 17 Apr 2001 15:27:14 +0000 (15:27 +0000)
doc/ChangeLog
doc/gettext.texi

index 8f6aed0c9f2218af1551b796e33da570689aad51..c813ede98dca7baf59f516d0bafebf9b97bd0af2 100644 (file)
@@ -1,3 +1,9 @@
+2001-04-19  Bruno Haible  <haible@clisp.cons.org>
+
+       * gettext.texi (Plural forms): Add section about Lithuanian, reported
+       by Ricardas Cepas <rch@richard.eu.org>. Fix formula for Slovenian,
+       reported by Roman Maurer <roman.maurer@amis.net>.
+
 2001-04-19  Bruno Haible  <haible@clisp.cons.org>
 
        * gettext.texi (config.guess): New node.
index abd0c1e42704cf5098395fcf701b95dd2aa4534e..b1337402ff5c88eadd2bdb7ffd37512fad3d1097 100644 (file)
@@ -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