# HG changeset patch # User Mark Doliner # Date 1102295018 0 # Node ID 1034e77ff0ce57d229e2870692f8cd6d999bbd8d # Parent bb2514e075db3ed9bf4d4de2da972b6dc18b2730 [gaim-migrate @ 11531] Attempt to fix a pluralization translation problem pointed out by Danilo Segan. committer: Tailor Script diff -r bb2514e075db -r 1034e77ff0ce src/conversation.c --- a/src/conversation.c Mon Dec 06 00:34:42 2004 +0000 +++ b/src/conversation.c Mon Dec 06 01:03:38 2004 +0000 @@ -2215,6 +2215,10 @@ } if (size > 10) + /* + * This should probably use ngettext(), but this function + * isn't called from anywhere, so I'm going to leave it. + */ g_snprintf(tmp, sizeof(tmp), _("(+%d more)"), size - 10); diff -r bb2514e075db -r 1034e77ff0ce src/gtkdialogs.c --- 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),