aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorDavid Morley <gnome@dmorlo.com>2012-02-01 22:33:23 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-02-01 22:33:23 +0800
commit604743bfd1f4d8f0e7bd5ffe7834a875936bae79 (patch)
tree00d107ca780e5a5c9675b59c7a8da3238b2b3e30 /modules
parent4ca964860bf00a4e45fd434eed771b85ba443fd6 (diff)
downloadgsoc2013-evolution-604743bfd1f4d8f0e7bd5ffe7834a875936bae79.tar
gsoc2013-evolution-604743bfd1f4d8f0e7bd5ffe7834a875936bae79.tar.gz
gsoc2013-evolution-604743bfd1f4d8f0e7bd5ffe7834a875936bae79.tar.bz2
gsoc2013-evolution-604743bfd1f4d8f0e7bd5ffe7834a875936bae79.tar.lz
gsoc2013-evolution-604743bfd1f4d8f0e7bd5ffe7834a875936bae79.tar.xz
gsoc2013-evolution-604743bfd1f4d8f0e7bd5ffe7834a875936bae79.tar.zst
gsoc2013-evolution-604743bfd1f4d8f0e7bd5ffe7834a875936bae79.zip
Bug 659395 - Missing plural handling for "%d attached messages"
Diffstat (limited to 'modules')
-rw-r--r--modules/mail/e-mail-attachment-handler.c8
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 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);