Mercurial > pidgin.yaz
changeset 12254:95fd673021f6
[gaim-migrate @ 14556]
Bartosz Oler completed an ngettext TODO. This looks simple enough, so I'm wondering why it wasn't done before. Maybe that means I'm missing something.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Tue, 29 Nov 2005 10:51:20 +0000 |
parents | 868220a1a1b2 |
children | e0b512d67792 |
files | src/protocols/oscar/oscar.c |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c Tue Nov 29 05:43:12 2005 +0000 +++ b/src/protocols/oscar/oscar.c Tue Nov 29 10:51:20 2005 +0000 @@ -6156,8 +6156,11 @@ SNs = va_arg(ap, char *); va_end(ap); - /* TODO: Need to use ngettext() here */ - secondary = g_strdup_printf(_("The following screen names are associated with %s"), email); + secondary = g_strdup_printf( + ngettext("The following screen name is associated with %s", + "The following screen names are associated with %s", + num), + email); results = gaim_notify_searchresults_new(); column = gaim_notify_searchresults_column_new("Screen name");