From f32d15bda3aef4e58772885ce0b7d741626d3f34 Mon Sep 17 00:00:00 2001 From: Andrej Kacian Date: Mon, 3 Sep 2007 20:58:14 +0000 Subject: [PATCH] 2007-09-03 [ticho] 3.0.0cvs4 * src/summaryview.c Handle plural form better in delete confirmation dialog. --- ChangeLog | 5 +++++ PATCHSETS | 1 + configure.ac | 2 +- src/summaryview.c | 11 ++++------- 4 files changed, 11 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index f07a38113..c499a52ad 100644 --- 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 diff --git a/PATCHSETS b/PATCHSETS index 3ec93a43e..986ff0039 100644 --- a/PATCHSETS +++ b/PATCHSETS @@ -2849,3 +2849,4 @@ ( 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 diff --git a/configure.ac b/configure.ac index 1f1ac7f69..a191a8333 100644 --- a/configure.ac +++ b/configure.ac @@ -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= diff --git a/src/summaryview.c b/src/summaryview.c index 4338ada35..fb3ba1dcb 100644 --- a/src/summaryview.c +++ b/src/summaryview.c @@ -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); -- 2.25.1