2007-09-03 [ticho] 3.0.0cvs4

* src/summaryview.c
		Handle plural form better in delete confirmation dialog.
This commit is contained in:
Andrej Kacian 2007-09-03 20:58:14 +00:00
parent e12a64b2c1
commit f32d15bda3
4 changed files with 11 additions and 8 deletions

View file

@ -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

View file

@ -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

View 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=

View 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);