diff options
author | Bruno Haible <bruno@clisp.org> | 2005-08-26 20:43:16 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-06-23 12:12:49 +0200 |
commit | 2fd648e4bcb17f4584de53a1e5fc3053aead2772 (patch) | |
tree | 6dac2b211510cb68f1e4ecb656268f2d3ad6693e /gettext-tools/tests | |
parent | ba038fe481c27508303a056b0c7b6a1480dab077 (diff) | |
download | external_gettext-2fd648e4bcb17f4584de53a1e5fc3053aead2772.zip external_gettext-2fd648e4bcb17f4584de53a1e5fc3053aead2772.tar.gz external_gettext-2fd648e4bcb17f4584de53a1e5fc3053aead2772.tar.bz2 |
Test Romanian plural formula.
Diffstat (limited to 'gettext-tools/tests')
-rw-r--r-- | gettext-tools/tests/ChangeLog | 4 | ||||
-rwxr-xr-x | gettext-tools/tests/plural-2 | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gettext-tools/tests/ChangeLog b/gettext-tools/tests/ChangeLog index 64172bc..fc88890 100644 --- a/gettext-tools/tests/ChangeLog +++ b/gettext-tools/tests/ChangeLog @@ -1,3 +1,7 @@ +2005-08-26 Bruno Haible <bruno@clisp.org> + + * plural-2: Add test for Romanian plural formula. + 2005-07-22 Bruno Haible <bruno@clisp.org> * 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 c36265b..e3c624f 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 |