comparison src/protocols/toc/toc.c @ 4115:474265997752

[gaim-migrate @ 4332] Nicola's Lichtmaier (niqueco) " Marked some translatable strings in the protocol plugins (mostly the configuration widgets)." committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Mon, 23 Dec 2002 15:18:24 +0000
parents ee884f1d7ae3
children 511c2b63caa4
comparison
equal deleted inserted replaced
4114:fa5075168c23 4115:474265997752
1440 ret->chat_whisper = toc_chat_whisper; 1440 ret->chat_whisper = toc_chat_whisper;
1441 ret->chat_send = toc_chat_send; 1441 ret->chat_send = toc_chat_send;
1442 ret->keepalive = toc_keepalive; 1442 ret->keepalive = toc_keepalive;
1443 1443
1444 puo = g_new0(struct proto_user_opt, 1); 1444 puo = g_new0(struct proto_user_opt, 1);
1445 puo->label = g_strdup("TOC Host:"); 1445 puo->label = g_strdup(_("TOC Host:"));
1446 puo->def = g_strdup("toc.oscar.aol.com"); 1446 puo->def = g_strdup("toc.oscar.aol.com");
1447 puo->pos = USEROPT_AUTH; 1447 puo->pos = USEROPT_AUTH;
1448 ret->user_opts = g_list_append(ret->user_opts, puo); 1448 ret->user_opts = g_list_append(ret->user_opts, puo);
1449 1449
1450 puo = g_new0(struct proto_user_opt, 1); 1450 puo = g_new0(struct proto_user_opt, 1);
1451 puo->label = g_strdup("TOC Port:"); 1451 puo->label = g_strdup(_("TOC Port:"));
1452 puo->def = g_strdup("9898"); 1452 puo->def = g_strdup("9898");
1453 puo->pos = USEROPT_AUTHPORT; 1453 puo->pos = USEROPT_AUTHPORT;
1454 ret->user_opts = g_list_append(ret->user_opts, puo); 1454 ret->user_opts = g_list_append(ret->user_opts, puo);
1455 1455
1456 my_protocol = ret; 1456 my_protocol = ret;
1573 toc_write(source, ft, 256); 1573 toc_write(source, ft, 256);
1574 1574
1575 if (ft->files == 1) { 1575 if (ft->files == 1) {
1576 ft->file = fopen(ft->filename, "w"); 1576 ft->file = fopen(ft->filename, "w");
1577 if (!ft->file) { 1577 if (!ft->file) {
1578 buf = g_strdup_printf("Could not open %s for writing!", ft->filename); 1578 buf = g_strdup_printf(_("Could not open %s for writing!"), ft->filename);
1579 do_error_dialog(buf, strerror(errno), GAIM_ERROR); 1579 do_error_dialog(buf, strerror(errno), GAIM_ERROR);
1580 g_free(buf); 1580 g_free(buf);
1581 gaim_input_remove(ft->inpa); 1581 gaim_input_remove(ft->inpa);
1582 toc_soc_close(source); 1582 toc_soc_close(source);
1583 g_free(ft->filename); 1583 g_free(ft->filename);