]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
doc: Document plural forms for arb, tha, and ind
authorDaiki Ueno <ueno@gnu.org>
Mon, 9 Feb 2015 03:17:22 +0000 (12:17 +0900)
committerDaiki Ueno <ueno@gnu.org>
Tue, 10 Feb 2015 02:56:09 +0000 (11:56 +0900)
* gettext.texi (Plural forms): Add Arabic, Bahasa Indonesian, and
Thai.
Reported by Maryam Aly in:
<https://lists.gnu.org/archive/html/bug-gettext/2015-02/msg00012.html>.

gettext-tools/doc/ChangeLog
gettext-tools/doc/gettext.texi

index edac43167a7be2323973dc64183bfd3ae5b455e6..7226dde8f59fb6872b2c1eee396be48e5c817479 100644 (file)
@@ -1,3 +1,10 @@
+2015-02-09  Daiki Ueno  <ueno@gnu.org>
+
+       * gettext.texi (Plural forms): Add Arabic, Bahasa Indonesian, and
+       Thai.
+       Reported by Maryam Aly in:
+       <https://lists.gnu.org/archive/html/bug-gettext/2015-02/msg00012.html>.
+
 2015-02-03  Daiki Ueno  <ueno@gnu.org>
 
        * msgexec.texi, msgfilter.texi: Fix markup error caused by commit
index c0dc529d7e680dc70113d909c724c5251a0dcb15..366a646d99ac79cdadc8aa58b92415c9be7a18b2 100644 (file)
@@ -6242,6 +6242,8 @@ Languages with this property include:
 Japanese, @c   122.1 million speakers
 Vietnamese, @c  68.6 million speakers
 Korean @c       66.3 million speakers
+@item Tai-Kadai family
+Thai @c         20.4 million speakers
 @end table
 
 @item Two forms, singular used for one only
@@ -6279,6 +6281,8 @@ Finnish, @c      5.0 million speakers
 Estonian @c      1.0 million speakers
 @item Semitic family
 Hebrew @c        5.3 million speakers
+@item Austronesian family
+Bahasa Indonesian @c 23.2 million speakers
 @item Artificial
 Esperanto @c       2 million speakers
 @end table
@@ -6454,6 +6458,23 @@ Languages with this property include:
 @item Slavic family
 Slovenian @c   1.9 million speakers
 @end table
+
+@item Six forms, special cases for one, two, all numbers ending in 02, 03, @dots{} 10, all numbers ending in 11 @dots{} 99, and others
+The header entry would look like this:
+
+@smallexample
+Plural-Forms: nplurals=6; \
+    plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 \
+    : n%100>=11 ? 4 : 5;
+@end smallexample
+
+@noindent
+Languages with this property include:
+
+@table @asis
+@item Afroasiatic family
+Arabic @c    246.0 million speakers
+@end table
 @end table
 
 You might now ask, @code{ngettext} handles only numbers @var{n} of type