balsa r8039 - in trunk: . libbalsa



Author: PeterB
Date: Sat Jan  3 16:05:09 2009
New Revision: 8039
URL: http://svn.gnome.org/viewvc/balsa?rev=8039&view=rev

Log:
use ngettext to handle plural

Modified:
   trunk/ChangeLog
   trunk/libbalsa/send.c

Modified: trunk/libbalsa/send.c
==============================================================================
--- trunk/libbalsa/send.c	(original)
+++ trunk/libbalsa/send.c	Sat Jan  3 16:05:09 2009
@@ -2114,9 +2114,15 @@
 			                        message->headers->cc_list);
 		encrypt_for = get_mailbox_names(encrypt_for,
 					        message->headers->from);
-		if (message->headers->bcc_list)
-		    libbalsa_information(LIBBALSA_INFORMATION_WARNING,
-					 _("This message will not be encrypted for the BCC: recipient(s)."));
+                if (message->headers->bcc_list)
+                    libbalsa_information
+                        (LIBBALSA_INFORMATION_WARNING,
+                         ngettext("This message will not be encrypted "
+                                  "for the BCC: recipient.",
+                                  "This message will not be encrypted "
+                                  "for the BCC: recipients.",
+                                  internet_address_list_length
+                                  (message->headers->bcc_list)));
 
 		if (mode & LIBBALSA_PROTECT_SIGN)
 		    result = 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]