comparison 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
comparison
equal deleted inserted replaced
10323:bb2514e075db 10324:1034e77ff0ce
741 741
742 if (((GaimBlistNode*)contact)->child == (GaimBlistNode*)buddy && 742 if (((GaimBlistNode*)contact)->child == (GaimBlistNode*)buddy &&
743 !((GaimBlistNode*)buddy)->next) { 743 !((GaimBlistNode*)buddy)->next) {
744 gaim_gtkdialogs_remove_buddy(buddy); 744 gaim_gtkdialogs_remove_buddy(buddy);
745 } else { 745 } else {
746 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?"), 746 gchar *text;
747 buddy->name, contact->totalsize - 1); 747 text = g_strdup_printf(
748 ngettext(
749 "You are about to remove the contact containing %s "
750 "and %d other buddy from your buddy list. Do you "
751 "want to continue?",
752 "You are about to remove the contact containing %s "
753 "and %d other buddies from your buddy list. Do you "
754 "want to continue?", contact->totalsize - 1),
755 buddy->name, contact->totalsize - 1);
748 756
749 gaim_request_action(contact, NULL, _("Remove Contact"), text, 0, contact, 2, 757 gaim_request_action(contact, NULL, _("Remove Contact"), text, 0, contact, 2,
750 _("Remove Contact"), G_CALLBACK(gaim_gtkdialogs_remove_contact_cb), 758 _("Remove Contact"), G_CALLBACK(gaim_gtkdialogs_remove_contact_cb),
751 _("Cancel"), NULL); 759 _("Cancel"), NULL);
752 760