comparison src/protocols/oscar/oscar.c @ 2943:5d757d040a6a

[gaim-migrate @ 2956] no more plural hacks committer: Tailor Script <tailor@pidgin.im>
author Rob Flynn <gaim@robflynn.com>
date Wed, 30 Jan 2002 04:52:00 +0000
parents 10a2d4d5bcf2
children 6a26e125b623
comparison
equal deleted inserted replaced
2942:bd983bced1d3 2943:5d757d040a6a
1419 struct aim_incomingim_ch2_args *args; 1419 struct aim_incomingim_ch2_args *args;
1420 1420
1421 args = va_arg(ap, struct aim_incomingim_ch2_args *); 1421 args = va_arg(ap, struct aim_incomingim_ch2_args *);
1422 1422
1423 ret = incomingim_chan2(sess, fr->conn, userinfo, args); 1423 ret = incomingim_chan2(sess, fr->conn, userinfo, args);
1424 } else if (channel == 3) {
1425 printf("Chan 3\n");
1426 } else if (channel == 4) {
1427 printf("Chan 4\n");
1424 } 1428 }
1425 1429
1426 va_end(ap); 1430 va_end(ap);
1427 1431
1428 return ret; 1432 return ret;
1454 break; 1458 break;
1455 case 1: 1459 case 1:
1456 /* Message too large */ 1460 /* Message too large */
1457 g_snprintf(buf, 1461 g_snprintf(buf,
1458 sizeof(buf), 1462 sizeof(buf),
1459 _("You missed %d message%s from %s because %s too large."), 1463 nummissed == 1 ?
1464 _("You missed %d message from %s because it was too large.") :
1465 _("You missed %s messages from %s because they were too large."),
1460 nummissed, 1466 nummissed,
1461 nummissed == 1 ? "" : "s", 1467 userinfo->sn);
1462 userinfo->sn,
1463 nummissed == 1 ? "it was" : "they were");
1464 break; 1468 break;
1465 case 2: 1469 case 2:
1466 /* Rate exceeded */ 1470 /* Rate exceeded */
1467 g_snprintf(buf, 1471 g_snprintf(buf,
1468 sizeof(buf), 1472 sizeof(buf),
1469 _("You missed %d message%s from %s because the rate limit has been exceeded."), 1473 nummissed == 1 ?
1474 _("You missed %d message from %s because the rate limit has been exceeded.") :
1475 _("You missed %d messages from %s because the rate limit has been exceeded."),
1470 nummissed, 1476 nummissed,
1471 nummissed == 1 ? "" : "s",
1472 userinfo->sn); 1477 userinfo->sn);
1473 break; 1478 break;
1474 case 3: 1479 case 3:
1475 /* Evil Sender */ 1480 /* Evil Sender */
1476 g_snprintf(buf, 1481 g_snprintf(buf,
1477 sizeof(buf), 1482 sizeof(buf),
1478 _("You missed %d message%s from %s because they are too evil."), 1483 nummissed == 1 ?
1484 _("You missed %d message from %s because they are too evil.") :
1485 _("You missed %d messages from %s because they are too evil."),
1479 nummissed, 1486 nummissed,
1480 nummissed == 1 ? "" : "s",
1481 userinfo->sn); 1487 userinfo->sn);
1482 break; 1488 break;
1483 case 4: 1489 case 4:
1484 /* Evil Receiver */ 1490 /* Evil Receiver */
1485 g_snprintf(buf, 1491 g_snprintf(buf,
1486 sizeof(buf), 1492 sizeof(buf),
1487 _("You missed %d message%s from %s because you are too evil."), 1493 nummissed == 1 ?
1494 _("You missed %d message from %s because you are too evil.") :
1495 _("You missed %d messages from %s because you are too evil."),
1488 nummissed, 1496 nummissed,
1489 nummissed == 1 ? "" : "s",
1490 userinfo->sn); 1497 userinfo->sn);
1491 break; 1498 break;
1492 default: 1499 default:
1493 g_snprintf(buf, 1500 g_snprintf(buf,
1494 sizeof(buf), 1501 sizeof(buf),
1495 _("You missed %d message%s from %s for unknown reasons."), 1502 nummissed == 1 ?
1503 _("You missed %d message from %s for unknown reasons.") :
1504 _("You missed %d messages from %s for unknown reasons."),
1496 nummissed, 1505 nummissed,
1497 nummissed == 1 ? "" : "s",
1498 userinfo->sn); 1506 userinfo->sn);
1499 break; 1507 break;
1500 } 1508 }
1501 do_error_dialog(buf, _("Gaim - Error")); 1509 do_error_dialog(buf, _("Gaim - Error"));
1502 1510