aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2012-02-16 17:37:09 +0800
committerMilan Crha <mcrha@redhat.com>2012-02-16 17:37:09 +0800
commit14063dfbe507039b140fcf87089de4bf66e2d1fa (patch)
tree14a572b5869cc95f38e320fbde0a362f39893333
parent0676e3a7683f72f34a649e0f4603eea1183ba7ad (diff)
downloadgsoc2013-evolution-14063dfbe507039b140fcf87089de4bf66e2d1fa.tar.gz
gsoc2013-evolution-14063dfbe507039b140fcf87089de4bf66e2d1fa.tar.zst
gsoc2013-evolution-14063dfbe507039b140fcf87089de4bf66e2d1fa.zip
Bug #659394 - Missing plural handling for "Failed to send %d of %d messages"
-rw-r--r--libemail-engine/mail-ops.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libemail-engine/mail-ops.c b/libemail-engine/mail-ops.c
index 7063179e55..514105d9c2 100644
--- a/libemail-engine/mail-ops.c
+++ b/libemail-engine/mail-ops.c
@@ -866,7 +866,10 @@ send_queue_exec (struct _send_queue_msg *m,
if (j > 0)
report_status (
m, CAMEL_FILTER_STATUS_END, 100,
- _("Failed to send %d of %d messages"),
+ /* Translators: The string is distinguished by total count of messages to be send. Failed messages is always more than zero. */
+ ngettext ("Failed to send a message",
+ "Failed to send %d of %d messages",
+ send_uids->len),
j, send_uids->len);
else if (g_error_matches (
m->base.error, G_IO_ERROR, G_IO_ERROR_CANCELLED))