Mercurial > pidgin
changeset 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 | bb2514e075db |
children | 1657438d537b |
files | src/conversation.c src/gtkdialogs.c |
diffstat | 2 files changed, 14 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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);
--- 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),