comparison 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
comparison
equal deleted inserted replaced
7042:d3f8aa123372 7043:35a567991f76
1370 { 1370 {
1371 char *seed = NULL; 1371 char *seed = NULL;
1372 char *sn = NULL; 1372 char *sn = NULL;
1373 GSList *l = pkt->hash; 1373 GSList *l = pkt->hash;
1374 int m = 0; 1374 int m = 0;
1375 gchar *buf;
1375 1376
1376 1377
1377 while (l) { 1378 while (l) {
1378 struct yahoo_pair *pair = l->data; 1379 struct yahoo_pair *pair = l->data;
1379 if (pair->key == 94) 1380 if (pair->key == 94)
1392 break; 1393 break;
1393 case 1: 1394 case 1:
1394 yahoo_process_auth_new(gc, seed); 1395 yahoo_process_auth_new(gc, seed);
1395 break; 1396 break;
1396 default: 1397 default:
1398 buf = g_strdup_printf(_("The Yahoo server has requested the use of an unrecognized "
1399 "authentication method. This version of Gaim will likely not be able"
1400 "to successfully sign on to Yahoo. Check %s for updates."), GAIM_WEBSITE);
1397 gaim_notify_error(gc, "", _("Failed Yahoo! Authentication"), 1401 gaim_notify_error(gc, "", _("Failed Yahoo! Authentication"),
1398 _("The Yahoo server has requested the use of an unrecognized " 1402 buf);
1399 "authentication method. This version of Gaim will likely not be able" 1403 g_free(buf);
1400 "to successfully sign on to Yahoo. Check " GAIM_WEBSITE " for updates."));
1401 yahoo_process_auth_new(gc, seed); /* Can't hurt to try it anyway. */ 1404 yahoo_process_auth_new(gc, seed); /* Can't hurt to try it anyway. */
1402 } 1405 }
1403 } 1406 }
1404 } 1407 }
1405 1408