[gaim-migrate @ 14556]

Tue, 29 Nov 2005 10:51:20 +0000

author
Richard Laager <rlaager@pidgin.im>
date
Tue, 29 Nov 2005 10:51:20 +0000
changeset 12254
af73b85cad3d
parent 12253
5025434b18f8
child 12255
f37495b09522

[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.

src/protocols/oscar/oscar.c file | annotate | diff | comparison | revisions
--- 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");

mercurial