commit 687b5c0129a4c9905342949b1fb45c31a2de71a4
parent 8c0d70a20d948a2f8bb77b4252e4c96fd61b4a48
Author: Paul Mangan <paul@claws-mail.org>
Date: Wed, 16 Feb 2011 06:08:24 +0000
2011-02-16 [paul] 3.7.8cvs56
* src/summaryview.c
use gettext plural form for "item selected"/"items selected"
Diffstat:
4 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,3 +1,8 @@
+2011-02-16 [paul] 3.7.8cvs56
+
+ * src/summaryview.c
+ use gettext plural form for "item selected"/"items selected"
+
2011-02-13 [colin] 3.7.8cvs55
* src/mimeview.c
diff --git a/PATCHSETS b/PATCHSETS
@@ -4129,3 +4129,4 @@
( cvs diff -u -r 1.1.2.17 -r 1.1.2.18 manual/es/advanced.xml; cvs diff -u -r 1.179.2.252 -r 1.179.2.253 src/imap.c; ) > 3.7.8cvs53.patchset
( cvs diff -u -r 1.1.2.1 -r 1.1.2.2 po/lt.po; ) > 3.7.8cvs54.patchset
( cvs diff -u -r 1.83.2.165 -r 1.83.2.166 src/mimeview.c; cvs diff -u -r 1.20.2.29 -r 1.20.2.30 src/mimeview.h; ) > 3.7.8cvs55.patchset
+( cvs diff -u -r 1.395.2.425 -r 1.395.2.426 src/summaryview.c; ) > 3.7.8cvs56.patchset
diff --git a/configure.ac b/configure.ac
@@ -12,7 +12,7 @@ MINOR_VERSION=7
MICRO_VERSION=8
INTERFACE_AGE=0
BINARY_AGE=0
-EXTRA_VERSION=55
+EXTRA_VERSION=56
EXTRA_RELEASE=
EXTRA_GTK2_VERSION=
diff --git a/src/summaryview.c b/src/summaryview.c
@@ -2542,10 +2542,7 @@ static void summary_status_show(SummaryView *summaryview)
if (n_selected) {
sel = g_strdup_printf(" (%s)", to_human_readable((goffset)sel_size));
- if (n_selected == 1)
- itstr = g_strdup(_(" item selected"));
- else
- itstr = g_strdup(_(" items selected"));
+ itstr = g_strdup_printf(ngettext(" item selected"," items selected", n_selected));
} else {
sel = g_strdup("");
itstr = g_strdup("");