From 604743bfd1f4d8f0e7bd5ffe7834a875936bae79 Mon Sep 17 00:00:00 2001 From: David Morley Date: Wed, 1 Feb 2012 09:33:23 -0500 Subject: Bug 659395 - Missing plural handling for "%d attached messages" --- modules/mail/e-mail-attachment-handler.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/modules/mail/e-mail-attachment-handler.c b/modules/mail/e-mail-attachment-handler.c index e6493f2f77..0c00279028 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); -- cgit v1.2.3