]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Update for changed documentation (lt, sl).
authorBruno Haible <bruno@clisp.org>
Tue, 17 Apr 2001 16:09:30 +0000 (16:09 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 17 Apr 2001 16:09:30 +0000 (16:09 +0000)
tests/ChangeLog
tests/plural-2

index 2298294c48363fc142549d63f0639f9e0eb98bbc..19fab78015b9b08f76eeb35d5ee4eb6029961111 100644 (file)
@@ -1,3 +1,7 @@
+2001-04-17  Bruno Haible  <haible@clisp.cons.org>
+
+       * plural-2: Change formula and result for sl. Add test for lt.
+
 2001-04-09  Bruno Haible  <haible@clisp.cons.org>
 
        * msgfmt-3: Update regexp to filter out specific warnings.
index f8410ceacc77e052759b7ff3cba62131635744d2..7db2c0c84aecfb2f39f0331fc700d766c0854b7e 100755 (executable)
@@ -21,6 +21,9 @@ n>1
 gd
 n==1 ? 0 : n==2 ? 1 : 2
 20122222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
+lt
+n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2
+20111111112222222222201111111120111111112011111111201111111120111111112011111111201111111120111111112011111111222222222220111111112011111111201111111120111111112011111111201111111120111111112011111111
 ru
 n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2
 20111222222222222222201112222220111222222011122222201112222220111222222011122222201112222220111222222011122222222222222220111222222011122222201112222220111222222011122222201112222220111222222011122222
@@ -28,8 +31,8 @@ pl
 n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2
 20111222222222222222221112222222111222222211122222221112222222111222222211122222221112222222111222222211122222222222222222111222222211122222221112222222111222222211122222221112222222111222222211122222
 sl
-n==1 ? 0 : n%10==2 ? 1 : n%10==3 || n%10==4 ? 2 : 3
-30122333333312233333331223333333122333333312233333331223333333122333333312233333331223333333122333333312233333331223333333122333333312233333331223333333122333333312233333331223333333122333333312233333
+n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3
+30122333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333012233333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333
 EOF
 while read lang; do
   read formula