[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-i18n-doc
Subject: Re: Question about only plural i18n string
From: "Yuri Chornoivan" <yurchor () ukr ! net>
Date: 2013-04-08 11:19:06
Message-ID: 60986.1365419946.3975732165617057792 () ffe8 ! ukr ! net
[Download RAW message or body]
> Mon, 08 Apr 2013 14:08:51 +0300 було написано Martin Klapetek
> <martin.klapetek@gmail.com>:
>
> > Hi,
> >
> > I have a question about a string which will always be plural. In the
> > Facebook notifications patch [1] I either display the notification text
> > directly if there is only one notification or I display this string if
> > there is more than one:
> >
> > i18n("You have %1 new Facebook notifications",
> > mDisplayedNotifications.size())
> >
> > Kevin in the review pointed out that it should use i18np and I'd like to
> > ask if it's the case even if the string will always be only plural -
> > should
> > I use i18np in the example above?
> >
> > [1] - https://git.reviewboard.kde.org/r/109825/
> >
> > Thanks
> > <https://git.reviewboard.kde.org/r/109825/>--
> > Martin Klapetek | KDE Developer
>
> Hi,
>
> Yes. There are many languages with different plural forms for "many" (e.g.
> Ukrainian) [1].
>
> And Pino is always right [2]. ;)
>
> Best regards,
> Yuri
>
> [1]
> http://www.unicode.org/cldr/charts/supplemental/language_plural_rules.html
>
> [2] http://osdir.com/ml/kde-commits/2009-08/msg01290.html
* I meant that Pino always fixes such things. Thanks to him. :)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic