cheese r1031 - in trunk: . src
- From: dgsiegel svn gnome org
- To: svn-commits-list gnome org
- Subject: cheese r1031 - in trunk: . src
- Date: Mon, 15 Sep 2008 18:27:59 +0000 (UTC)
Author: dgsiegel
Date: Mon Sep 15 18:27:59 2008
New Revision: 1031
URL: http://svn.gnome.org/viewvc/cheese?rev=1031&view=rev
Log:
use the correct translated plural form when deleting more than one item from the thumbnail bar, fixes bug #552290, courtesy of Yuriy Penkin
Modified:
trunk/ChangeLog
trunk/src/cheese-window.c
Modified: trunk/src/cheese-window.c
==============================================================================
--- trunk/src/cheese-window.c (original)
+++ trunk/src/cheese-window.c Mon Sep 15 18:27:59 2008
@@ -570,7 +570,9 @@
{
if (list_length > 1)
{
- primary = g_strdup_printf (_("Are you sure you want to permanently delete the %'d selected items?"),
+ primary = g_strdup_printf (ngettext ("Are you sure you want to permanently delete the %'d selected item?",
+ "Are you sure you want to permanently delete the %'d selected items?",
+ list_length),
list_length);
}
else
@@ -658,6 +660,7 @@
/* forward the list to cmd_delete */
cheese_window_cmd_delete_file (cheese_window, l, TRUE);
return;
+
case GTK_RESPONSE_ACCEPT:
/* create a single file list for cmd_delete */
@@ -665,10 +668,12 @@
cheese_window_cmd_delete_file (cheese_window, d, TRUE);
g_list_free (d);
break;
+
case CHEESE_RESPONSE_SKIP:
/* do nothing, skip to the next item */
break;
+
case CHEESE_RESPONSE_SKIP_ALL:
case GTK_RESPONSE_CANCEL:
case GTK_RESPONSE_DELETE_EVENT:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]