[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: kdepim/kmail
From:       David Faure <faure () kde ! org>
Date:       2005-01-29 15:30:23
Message-ID: 200501291630.23629.faure () kde ! org
[Download RAW message or body]

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).

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic