[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-i18n-doc
Subject: Re: Kuickshow plural handling
From: Tom Albers <toma () kovoks ! nl>
Date: 2006-11-24 8:56:31
Message-ID: 2169937.GUD8cemOCC () kovoks ! nl
[Download RAW message or body]
At Friday 24 November 2006 02:26, you wrote:
> I can't remember how plurals are handled when the %n can never be 1. Here is
> the code:
>
> kuickshow.cpp:134
> int numArgs = args->count();
> if ( numArgs >= 10 )
> {
> if ( KMessageBox::warningYesNo(
> this,
> i18n("Do you really want to display these %1 images at the
> same time? This might be quite resource intensive and could overload your
> computer.\nIf you choose %2, only the first image will be
> shown.").arg(numArgs).arg(KStdGuiItem::no().plainText()),
> i18n("Display %1 images?").arg(numArgs))
> != KMessageBox::Yes)
> {
> numArgs = 1;
> }
> }
>
> What do we do in this case?
It should be the plural form anyway, as some languages will deal with numArgs=11 or \
101 or whatever differently.
Tom
ps. mind the \n when changing
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic