[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: Re: kdenetwork/kopete/kopete/chatwindow
From: David Faure <faure () kde ! org>
Date: 2005-04-12 8:13:27
Message-ID: 200504121013.28507.faure () kde ! org
[Download RAW message or body]
On Tuesday 12 April 2005 09:23, Olivier Goffart wrote:
> Le Mardi 12 Avril 2005 00:04, David Faure a écrit :
> > CVS commit by faure:
> >
> > Fix wrong plural form - it's %n, not %1!
>
> Not sure about that.
> Here, the %1 correspond to the list of the names of people which are typing
> the message, not their number.
>
>
> > M +1 -1 chatview.cpp 1.195
> >
> >
> > --- kdenetwork/kopete/kopete/chatwindow/chatview.cpp #1.194:1.195
> > @@ -559,5 +559,5 @@ void ChatView::remoteTyping( const Kopet
> > if( !typingList.isEmpty() )
> > {
> > - setStatusText( i18n( "%1 is typing a message", "%1 are
> > typing a message", typingList.count() ).arg( statusTyping ) ); +
> > setStatusText( i18n( "1 is typing a message", "%n are typing a
> > message", typingList.count() ).arg( statusTyping ) ); setTabState( Typing
typingList.count() looks like a number to me, not a list of names.
Ah, you had arg() as well. This is very weird. This isn't a plural form, if you just
have a list of names and no number, AFAIK - coolo?
Example output: "Joe, John, Lucy are typing a message".
Do the plural forms rules apply to such a sentence? Hmm. Guess so. Will revert.
--
David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic