From: Bruno Haible Date: Tue, 17 Apr 2001 16:09:30 +0000 (+0000) Subject: Update for changed documentation (lt, sl). X-Git-Tag: v0.10.37~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd7a9b78a7b2254177ccd2d706413d0e966c294c;p=thirdparty%2Fgettext.git Update for changed documentation (lt, sl). --- diff --git a/tests/ChangeLog b/tests/ChangeLog index 2298294c4..19fab7801 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,7 @@ +2001-04-17 Bruno Haible + + * plural-2: Change formula and result for sl. Add test for lt. + 2001-04-09 Bruno Haible * msgfmt-3: Update regexp to filter out specific warnings. diff --git a/tests/plural-2 b/tests/plural-2 index f8410ceac..7db2c0c84 100755 --- a/tests/plural-2 +++ b/tests/plural-2 @@ -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