diff src/gtkdialogs.c @ 10324:1034e77ff0ce

[gaim-migrate @ 11531] Attempt to fix a pluralization translation problem pointed out by Danilo Segan. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 06 Dec 2004 01:03:38 +0000
parents ec140184437b
children 584c792dd15c
line wrap: on
line diff
--- a/src/gtkdialogs.c	Mon Dec 06 00:34:42 2004 +0000
+++ b/src/gtkdialogs.c	Mon Dec 06 01:03:38 2004 +0000
@@ -743,8 +743,16 @@
 			!((GaimBlistNode*)buddy)->next) {
 		gaim_gtkdialogs_remove_buddy(buddy);
 	} else {
-		gchar *text = g_strdup_printf(_("You are about to remove the contact containing %s and %d other buddies from your buddy list.  Do you want to continue?"),
-			       buddy->name, contact->totalsize - 1);
+		gchar *text;
+		text = g_strdup_printf(
+					ngettext(
+						"You are about to remove the contact containing %s "
+						"and %d other buddy from your buddy list.  Do you "
+						"want to continue?",
+						"You are about to remove the contact containing %s "
+						"and %d other buddies from your buddy list.  Do you "
+						"want to continue?", contact->totalsize - 1),
+					buddy->name, contact->totalsize - 1);
 
 		gaim_request_action(contact, NULL, _("Remove Contact"), text, 0, contact, 2,
 				_("Remove Contact"), G_CALLBACK(gaim_gtkdialogs_remove_contact_cb),