From kde-commits Sat Jan 29 15:30:23 2005 From: David Faure Date: Sat, 29 Jan 2005 15:30:23 +0000 To: kde-commits Subject: Re: kdepim/kmail Message-Id: <200501291630.23629.faure () kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=110701262926631 On Saturday 29 January 2005 16:10, Ingo Klöcker wrote: > CVS commit by kloecker: > > Say 'No recipients' instead of '0 recipients' as suggested in the usability report. Yes, using a plural form for 0 is wrong anyway. (in french it would show "1 recipient" even when recipients == 0). > M +17 -15 recipientseditor.cpp 1.33 > > > --- kdepim/kmail/recipientseditor.cpp #1.32:1.33 > @@ -618,5 +618,7 @@ void SideWidget::setTotal( int recipient > #endif > > - mTotalLabel->setText( i18n("1 recipient","%n recipients", recipients ) ); > + mTotalLabel->setText( ( recipients == 0 ) > + ? i18n("No recipient") > + : i18n("1 recipient", "%n recipients", recipients ) ); -- David Faure, faure@kde.org, sponsored by Trolltech to work on KDE, Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).