From: Bruno Haible Date: Fri, 26 Aug 2005 20:43:16 +0000 (+0000) Subject: Test Romanian plural formula. X-Git-Tag: v0.15~411 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2fd648e4bcb17f4584de53a1e5fc3053aead2772;p=thirdparty%2Fgettext.git Test Romanian plural formula. --- diff --git a/gettext-tools/tests/ChangeLog b/gettext-tools/tests/ChangeLog index 64172bc2d..fc888907f 100644 --- a/gettext-tools/tests/ChangeLog +++ b/gettext-tools/tests/ChangeLog @@ -1,3 +1,7 @@ +2005-08-26 Bruno Haible + + * plural-2: Add test for Romanian plural formula. + 2005-07-22 Bruno Haible * gettext-6-prg.c: Don't compile the test on non-glibc systems. diff --git a/gettext-tools/tests/plural-2 b/gettext-tools/tests/plural-2 index c36265be4..e3c624fe7 100755 --- a/gettext-tools/tests/plural-2 +++ b/gettext-tools/tests/plural-2 @@ -22,6 +22,9 @@ n>1 gd n==1 ? 0 : n==2 ? 1 : 2 20122222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 +ro +n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < 20)) ? 1 : 2 +10111111111111111111222222222222222222222222222222222222222222222222222222222222222222222222222222222111111111111111111122222222222222222222222222222222222222222222222222222222222222222222222222222222 lt n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2 20111111112222222222201111111120111111112011111111201111111120111111112011111111201111111120111111112011111111222222222220111111112011111111201111111120111111112011111111201111111120111111112011111111