aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorDanilo Šegan <danilo@src.gnome.org>2004-03-24 08:18:02 +0800
committerDanilo Šegan <danilo@src.gnome.org>2004-03-24 08:18:02 +0800
commit7c70ddcc35a65e1078a7789832e5209a7a2e4a5b (patch)
tree75dd3c44ad9d0eeb512969116852bb765fba1bd5 /mail
parent6f309e984bbfd7b5376dd38637a55dd46d307c92 (diff)
downloadgsoc2013-evolution-7c70ddcc35a65e1078a7789832e5209a7a2e4a5b.tar
gsoc2013-evolution-7c70ddcc35a65e1078a7789832e5209a7a2e4a5b.tar.gz
gsoc2013-evolution-7c70ddcc35a65e1078a7789832e5209a7a2e4a5b.tar.bz2
gsoc2013-evolution-7c70ddcc35a65e1078a7789832e5209a7a2e4a5b.tar.lz
gsoc2013-evolution-7c70ddcc35a65e1078a7789832e5209a7a2e4a5b.tar.xz
gsoc2013-evolution-7c70ddcc35a65e1078a7789832e5209a7a2e4a5b.tar.zst
gsoc2013-evolution-7c70ddcc35a65e1078a7789832e5209a7a2e4a5b.zip
Use ngettext for handling plural forms throughout (fixes bug 53464).
svn path=/trunk/; revision=25168
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-ops.c8
2 files changed, 11 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index f57d52913b..ca6781ea58 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2004-03-24 Danilo Šegan <dsegan@gmx.net>
+
+ * mail-ops.c (get_messages_desc): Use ngettext for handling plural
+ forms (fixes bug #53464).
+
2004-03-23 Jeffrey Stedfast <fejj@ximian.com>
* em-format-html.c (emfh_gethttp): Use sizeof() to decide how big
diff --git a/mail/mail-ops.c b/mail/mail-ops.c
index ca2027c25d..d2e8a19c4e 100644
--- a/mail/mail-ops.c
+++ b/mail/mail-ops.c
@@ -1835,7 +1835,9 @@ static char * get_messages_desc(struct _mail_msg *mm, int done)
{
struct _get_messages_msg *m = (struct _get_messages_msg *)mm;
- return g_strdup_printf(_("Retrieving %d message(s)"), m->uids->len);
+ return g_strdup_printf(ngettext("Retrieving %d message",
+ "Retrieving %d messages", m->uids->len),
+ m->uids->len);
}
static void get_messages_get(struct _mail_msg *mm)
@@ -1919,7 +1921,9 @@ static char *save_messages_desc(struct _mail_msg *mm, int done)
{
struct _save_messages_msg *m = (struct _save_messages_msg *)mm;
- return g_strdup_printf(_("Saving %d messsage(s)"), m->uids->len);
+ return g_strdup_printf(ngettext("Saving %d message",
+ "Saving %d messsages", m->uids->len),
+ m->uids->len);
}
static void