aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-component.c
diff options
context:
space:
mode:
authorChristian Neumair <chris@gnome-de.org>2004-06-05 16:37:49 +0800
committerChristian Neumair <cneumair@src.gnome.org>2004-06-05 16:37:49 +0800
commit5727ab6f4eb11ef8d957202e1708c80645b1d496 (patch)
tree360033efa9bff2c7829e7c32216bd3d406cf92cb /mail/mail-component.c
parent4a84e86501716d533eb4459dc3f3b8abb8bd2cfb (diff)
downloadgsoc2013-evolution-5727ab6f4eb11ef8d957202e1708c80645b1d496.tar.gz
gsoc2013-evolution-5727ab6f4eb11ef8d957202e1708c80645b1d496.tar.zst
gsoc2013-evolution-5727ab6f4eb11ef8d957202e1708c80645b1d496.zip
Use ngettext for message count information.
2004-06-05 Christian Neumair <chris@gnome-de.org> * mail-component.c (view_changed_cb): Use ngettext for message count information. svn path=/trunk/; revision=26226
Diffstat (limited to 'mail/mail-component.c')
-rw-r--r--mail/mail-component.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/mail/mail-component.c b/mail/mail-component.c
index 7d406ed109..028d45257c 100644
--- a/mail/mail-component.c
+++ b/mail/mail-component.c
@@ -458,9 +458,9 @@ view_changed_cb(EMFolderView *emfv, EInfoLabel *el)
if (CAMEL_IS_VTRASH_FOLDER(emfv->folder)) {
if (((CamelVTrashFolder *)emfv->folder)->type == CAMEL_VTRASH_FOLDER_TRASH)
- g_string_append_printf(tmp, _("%d deleted"), deleted);
+ g_string_append_printf(tmp, ngettext ("%d deleted", "%d deleted", deleted), deleted);
else
- g_string_append_printf(tmp, _("%d junk"), junked);
+ g_string_append_printf(tmp, ngettext ("%d junk", "%d junk", junked), junked);
} else {
int bits = 0;
GPtrArray *selected;
@@ -483,21 +483,21 @@ view_changed_cb(EMFolderView *emfv, EInfoLabel *el)
bits |= 8;
if (bits == 1)
- g_string_append_printf(tmp, _("%d drafts"), visible);
+ g_string_append_printf(tmp, ngettext ("%d draft", "%d drafts", visible), visible);
else if (bits == 2)
- g_string_append_printf(tmp, _("%d sent"), visible);
+ g_string_append_printf(tmp, ngettext ("%d sent", "%d send", visible), visible);
else if (bits == 4)
- g_string_append_printf(tmp, _("%d unsent"), visible);
+ g_string_append_printf(tmp, ngettext ("%d unsent", "%d unsent", visible), visible);
else {
if (!emfv->hide_deleted)
visible += deleted;
- g_string_append_printf(tmp, _("%d total"), visible);
+ g_string_append_printf(tmp, ngettext ("%d total", "%d total", visible), visible);
if (unread && selected->len <=1)
- g_string_append_printf(tmp, _(", %d unread"), unread);
+ g_string_append_printf(tmp, ngettext (", %d unread", ", %d unread", unread), unread);
}
if (selected->len > 1)
- g_string_append_printf(tmp, _(", %d selected"), selected->len);
+ g_string_append_printf(tmp, ngettext (", %d selected", ", %d selected", selected->len), selected->len);
message_list_free_uids(emfv->list, selected);
}