2011-02-16 [paul] 3.7.8cvs56
authorPaul Mangan <paul@claws-mail.org>
Wed, 16 Feb 2011 06:08:24 +0000 (06:08 +0000)
committerPaul Mangan <paul@claws-mail.org>
Wed, 16 Feb 2011 06:08:24 +0000 (06:08 +0000)
* src/summaryview.c
use gettext plural form for "item selected"/"items selected"

ChangeLog
PATCHSETS
configure.ac
src/summaryview.c

index e12703f..900655b 100644 (file)
--- 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
index f33d761..83a3075 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( 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
index 7b1222d..3036727 100644 (file)
@@ -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=
 
index 79fb17d..ce9f62f 100644 (file)
@@ -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("");