2007-09-03 [ticho] 3.0.0cvs4
authorAndrej Kacian <ticho@claws-mail.org>
Mon, 3 Sep 2007 20:58:14 +0000 (20:58 +0000)
committerAndrej Kacian <ticho@claws-mail.org>
Mon, 3 Sep 2007 20:58:14 +0000 (20:58 +0000)
* src/summaryview.c
Handle plural form better in delete confirmation dialog.

ChangeLog
PATCHSETS
configure.ac
src/summaryview.c

index f07a381..c499a52 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-09-03 [ticho]     3.0.0cvs4
+
+       * src/summaryview.c
+               Handle plural form better in delete confirmation dialog.
+
 2007-09-03 [wwp]       3.0.0cvs3
 
        * src/compose.c
index 3ec93a4..986ff00 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.60.2.45 -r 1.60.2.46 po/es.po;  cvs diff -u -r 1.9.2.41 -r 1.9.2.42 src/common/defs.h;  ) > 3.0.0cvs1.patchset
 ( cvs diff -u -r 1.49.2.96 -r 1.49.2.97 src/procmime.c;  cvs diff -u -r 1.17.2.19 -r 1.17.2.20 src/procmime.h;  cvs diff -u -r 1.13.2.29 -r 1.13.2.30 src/common/plugin.c;  cvs diff -u -r 1.5.2.12 -r 1.5.2.13 src/common/plugin.h;  ) > 3.0.0cvs2.patchset
 ( cvs diff -u -r 1.382.2.406 -r 1.382.2.407 src/compose.c;  ) > 3.0.0cvs3.patchset
+( cvs diff -u -r 1.395.2.324 -r 1.395.2.325 src/summaryview.c;  ) > 3.0.0cvs4.patchset
index 1f1ac7f..a191a83 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=0
 MICRO_VERSION=0
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=3
+EXTRA_VERSION=4
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index 4338ada..fb3ba1d 100644 (file)
@@ -4012,13 +4012,10 @@ void summary_delete(SummaryView *summaryview)
        if (!prefs_common.live_dangerously) {
                gchar *buf = NULL;
                int num = g_list_length(GTK_CLIST(summaryview->ctree)->selection);
-               if (num == 1)
-                       buf = g_strdup_printf(_(
-                               "Do you really want to delete the selected message?"));
-               else
-                       buf = g_strdup_printf(_(
-                               "Do you really want to delete the %d selected messages?"), 
-                               num);
+               buf = g_strdup_printf(ngettext(
+                       "Do you really want to delete the selected message?",
+                       "Do you really want to delete the %d selected messages?", num), 
+                       num);
                aval = alertpanel(_("Delete message(s)"),
                                  buf,
                                  GTK_STOCK_CANCEL, "+"GTK_STOCK_DELETE, NULL);