[evolution] Bug 659395 - Missing plural handling for "%d attached messages"



commit 604743bfd1f4d8f0e7bd5ffe7834a875936bae79
Author: David Morley <gnome dmorlo com>
Date:   Wed Feb 1 09:33:23 2012 -0500

    Bug 659395 - Missing plural handling for "%d attached messages"

 modules/mail/e-mail-attachment-handler.c |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/modules/mail/e-mail-attachment-handler.c b/modules/mail/e-mail-attachment-handler.c
index e6493f2..0c00279 100644
--- a/modules/mail/e-mail-attachment-handler.c
+++ b/modules/mail/e-mail-attachment-handler.c
@@ -380,8 +380,12 @@ mail_attachment_handler_x_uid_list (EAttachmentView *view,
 	wrapper = CAMEL_DATA_WRAPPER (multipart);
 	camel_medium_set_content (CAMEL_MEDIUM (mime_part), wrapper);
 
-	/* Translators: This is only for multiple messages. */
-	description = g_strdup_printf (_("%d attached messages"), uids->len);
+	description = g_strdup_printf (
+		ngettext (
+			"%d attached message",
+			"%d attached messages",
+			uids->len),
+		uids->len);
 	camel_mime_part_set_description (mime_part, description);
 	g_free (description);
 



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