[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-i18n-doc
Subject:    Re: Plural Handling
From:       Eduard Werner <edi.werner () gmx ! de>
Date:       2003-05-13 7:09:04
[Download RAW message or body]


> I don't know where you got your info from, but the code KDE uses is the
> one for the correct form:
>
>   case 6: // Slovenian
>     EXPECT_LENGTH( 4 );
>     if ( n%100 == 1 )
>       return put_n_in( forms[1], n); // ena datoteka
>     else if ( n%100 == 2 )
>       return put_n_in( forms[2], n); // dve datoteki
>     else if ( n%100 == 3 || n%100 == 4 )
>       return put_n_in( forms[3], n); // tri datoteke
>     else
>       return put_n_in( forms[0], n); // sto datotek
>
> Greetings, Stephan

Good to hear. I got my info from the translation howto. I just followed the 
link from Thomas's mail http://i18n.kde.org/translation-howto/ to your mail
on plural handling. Sorry if I didn't get it was outdated.

Best

Edi
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic