seahorse r2804 - in trunk: . pkcs11



Author: wbolster
Date: Sat Feb 14 20:29:19 2009
New Revision: 2804
URL: http://svn.gnome.org/viewvc/seahorse?rev=2804&view=rev

Log:
2009-02-14  Wouter Bolsterlee  <wbolster svn gnome org>

	reviewed by: Stef Walter <stef memberwebs com>

	* pkcs11/seahorse-pkcs11-commands.c:
	(seahorse_pkcs11_commands_delete_objects):

	Use ngettext() where appropriate. Fixes bug #571778.



Modified:
   trunk/ChangeLog
   trunk/pkcs11/seahorse-pkcs11-commands.c

Modified: trunk/pkcs11/seahorse-pkcs11-commands.c
==============================================================================
--- trunk/pkcs11/seahorse-pkcs11-commands.c	(original)
+++ trunk/pkcs11/seahorse-pkcs11-commands.c	Sat Feb 14 20:29:19 2009
@@ -107,7 +107,10 @@
 		display = seahorse_object_get_label (SEAHORSE_OBJECT (objects->data));
 		prompt = g_strdup_printf (_("Are you sure you want to delete the certificate '%s'?"), display);
 	} else {
-		prompt = g_strdup_printf (_("Are you sure you want to delete %d certificates?"), num);
+		prompt = g_strdup_printf (ngettext (
+				"Are you sure you want to delete %d certificate?",
+				"Are you sure you want to delete %d certificates?",
+				num) num);
 	}
 	
 	ret = seahorse_util_prompt_delete (prompt, GTK_WIDGET (seahorse_view_get_window (seahorse_commands_get_view (cmds))));



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]