]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Add info about plural formula for Belarusian.
authorBruno Haible <bruno@clisp.org>
Sat, 13 Nov 2010 23:01:39 +0000 (00:01 +0100)
committerBruno Haible <bruno@clisp.org>
Tue, 7 Jun 2011 21:38:49 +0000 (23:38 +0200)
gettext-tools/doc/ChangeLog
gettext-tools/doc/gettext.texi
gettext-tools/src/ChangeLog
gettext-tools/src/plural-table.c

index a9ee9cb0b64d2146e571882e5ead0f2127b2ad54..429847686d4e0cffef4d824b3c2706cb21ce7d3b 100644 (file)
@@ -1,3 +1,8 @@
+2010-11-13  Bruno Haible  <bruno@clisp.org>
+
+       * gettext.texi (Plural forms): Add Belarusian.
+       Reported by Ihar Hrachyshka <ihar.hrachyshka@gmail.com>.
+
 2010-08-29  Bruno Haible  <bruno@clisp.org>
 
        * gettext.texi (Using Compendia): Correct after 2007-09-09 change.
index 708678ee284e05528e80f2b3d8dbb0025f38071d..5b2c1bb9bbfe82d479db0b0dba0ed9c6e46200bd 100644 (file)
@@ -6368,6 +6368,7 @@ Languages with this property include:
 @item Slavic family
 Russian, @c    143.6 million speakers
 Ukrainian, @c   37.0 million speakers
+Belarusian, @c   8.6 million speakers
 Serbian, @c      7.0 million speakers
 Croatian @c      5.5 million speakers
 @end table
index 91e300d065c23a7a4539590d6fe4e95f103b2e2b..24a26d3dd6768c093fe93929130af862e5bbc766 100644 (file)
@@ -1,3 +1,8 @@
+2010-11-13  Ihar Hrachyshka  <ihar.hrachyshka@gmail.com>  (tiny change)
+
+       * plural-table.c (plural_table): Added Belarusian, copied from Russian
+       and Ukrainian.
+
 2010-11-07  Bruno Haible  <bruno@clisp.org>
 
        format-c.c: Share code with libintlext.
index ddbb056d34a9d8abc1ce35d32b1bb3f354f9fc44..556cbccd76e89424acf48a68016b736c770d16b1 100644 (file)
@@ -56,6 +56,7 @@ struct plural_table_entry plural_table[] =
     { "lt", "Lithuanian",        "nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2);" },
     { "ru", "Russian",           "nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);" },
     { "uk", "Ukrainian",         "nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);" },
+    { "be", "Belarusian",        "nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);" },
     { "sr", "Serbian",           "nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);" },
     { "hr", "Croatian",          "nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);" },
     { "cs", "Czech",             "nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;" },