bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug in Slovak plural forms


From: Marcel Telka
Subject: Bug in Slovak plural forms
Date: Tue, 27 May 2003 08:54:18 +0200
User-agent: Mutt/1.4.1i

Hello.

I've found bug in handling of the Slovak (sk) plural forms.
gettext's manual (info gettext) says this:

=================================================================
Three forms, special cases for numbers ending in 1 and 2, 3, 4, except those 
ending in 1[1-4]
     The header entry would look like this:

          Plural-Forms: nplurals=3; \
              plural=n%10==1 && n%100!=11 ? 0 : \
                     n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;

     Languages with this property include:

    Slavic family
          Croatian, Czech, Russian, Slovak, Ukrainian
=================================================================

But this is not true. For Slovak language it should be (cite from glibc
documentation `info libc`):

=================================================================
Three forms, special cases for 1 and 2, 3, 4
     The header entry would look like this:

          Plural-Forms: nplurals=3; \
              plural=(n==1) ? 1 : (n>=2 && n<=4) ? 2 : 0;

     Languages with this property include:

    Slavic family
          Slovak
=================================================================

Also Plural-Forms entry in the header of the sk.po file generated by
`msginit -l sk` is invalid.

Please fix these issues.

Thank you.

PS: Version information: gettext-0.11.5, glibc-2.3.2

-- 
+-------------------------------------------+
| Marcel Telka   e-mail:   address@hidden  |
|                homepage: http://telka.sk/ |
|                jabber:   address@hidden |
+-------------------------------------------+




reply via email to

[Prev in Thread] Current Thread [Next in Thread]