diff src/protocols/yahoo/yahoo.c @ 7043:35a567991f76

[gaim-migrate @ 7606] "My patch (i18n30.patch) includes: - xgettext was not able to correctly extract a message in src/protocols/yahoo/yahoo.c - updated po/POTFILES.in Regards, Bj?rn" committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Tue, 30 Sep 2003 00:34:25 +0000
parents dece74f05509
children 86ed8b2aa665
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo.c	Mon Sep 29 23:59:25 2003 +0000
+++ b/src/protocols/yahoo/yahoo.c	Tue Sep 30 00:34:25 2003 +0000
@@ -1372,6 +1372,7 @@
 	char *sn   = NULL;
 	GSList *l = pkt->hash;
 	int m = 0;
+	gchar *buf;	
 
 	
 	while (l) {
@@ -1394,10 +1395,12 @@
 			yahoo_process_auth_new(gc, seed);
 			break;
 		default:
+			buf = g_strdup_printf(_("The Yahoo server has requested the use of an unrecognized "
+						"authentication method.  This version of Gaim will likely not be able"
+						"to successfully sign on to Yahoo.  Check %s for updates."), GAIM_WEBSITE);
 			gaim_notify_error(gc, "", _("Failed Yahoo! Authentication"),
-					  _("The Yahoo server has requested the use of an unrecognized "
-					    "authentication method.  This version of Gaim will likely not be able"
-					    "to successfully sign on to Yahoo.  Check " GAIM_WEBSITE " for updates."));
+					  buf);
+			g_free(buf);
 			yahoo_process_auth_new(gc, seed); /* Can't hurt to try it anyway. */
 		}
 	}