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

List:       kde-commits
Subject:    kdepim/kmail
From:       Ingo Klöcker <kloecker () kde ! org>
Date:       2005-01-29 15:10:36
Message-ID: 20050129151036.2000A18FC3 () office ! kde ! org
[Download RAW message or body]

CVS commit by kloecker: 

Say 'No recipients' instead of '0 recipients' as suggested in the usability report.


  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 ) );
   if ( lines > 1 ) mTotalLabel->show();
   else mTotalLabel->hide();


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

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