[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-i18n-doc
Subject: Re: plural handling
From: Stephan Kulow <coolo () kde ! org>
Date: 2001-04-02 21:40:43
[Download RAW message or body]
Roman Maurer wrote:
>
> Stephan Kulow wrote:
> >
> > Four forms, special case for one and all numbers ending in 2, 3, or 4
> > The header entry would look like this:
> >
> > Plural-Forms: nplurals=4; \
> > plural=n==1 ? 0 : \
> > n%10==2 ? 1 : n%10==3 || n%10==4 ? 2 : 3;
> >
> > Languages with this property include:
> >
> > Slavic family
> > Slovenian
>
> I'm afraid that's not quite it for Slovenian. Our language
> computes singular, dual or plural forms regarding to "mod 100",
> not "mod 10":
>
> The same expression is for (BTW, "datoteka" means "file"):
>
> n%100==1:
> 1 datoteka, 101 datoteka, 201 datoteka, ...
>
> n%100==2:
> 2 datoteki, 102 datoteki, 202 datoteki, ...
>
> n%100==3 or n%100==4:
> 3 datoteke, 4 datoteke, 103 datoteke, 1003 datoteke, ...
>
> otherwise:
> 0 datotek, 5 datotek, 6 datotek, 10 datotek,
> 11 datotek, 99 datotek, 100 datotek,
> 105 datotek, 1005 datotek, etc.
Thanks for all the input.
Greetings, Stephan
--
Teigwaren heissen Teigwaren, weil sie Teig waren * J. v. d. Lippe
MFCH
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic