Mercurial > pidgin.yaz
comparison src/log.c @ 7540:60a3721eed2a
[gaim-migrate @ 8153]
(10:45:30) seanegn: you shouldn't have removed the _()'s from log.c
(10:45:46) lschiere2: okay, i can put them back easy enough
(10:47:21) seanegn: and, in fact, it should be translated in gtkconv.c. I just didn't because I felt bad enough breaking the string freeze there in new code. I didn't want to touch old code.
(10:47:56) lschiere2: so the _() theoretically should be in gtkconv.c not log.c?
(10:48:20) seanegn: It should be in both. Both include the <AUTO-REPLY> string.
(10:48:32) lschiere2: ah
(10:48:54) seanegn: it's a #define in gtkconv.c, though.
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Mon, 17 Nov 2003 15:50:10 +0000 |
parents | d519d7940db5 |
children | e1d1b60d823b |
comparison
equal
deleted
inserted
replaced
7539:d519d7940db5 | 7540:60a3721eed2a |
---|---|
444 else if (type & GAIM_MESSAGE_WHISPER) | 444 else if (type & GAIM_MESSAGE_WHISPER) |
445 fprintf(log->logger_data, "<font color=\"#6C2585\">(%s)<b> %s:</b></font> %s<br/>\n", | 445 fprintf(log->logger_data, "<font color=\"#6C2585\">(%s)<b> %s:</b></font> %s<br/>\n", |
446 date, from, message); | 446 date, from, message); |
447 else if (type & GAIM_MESSAGE_AUTO_RESP) { | 447 else if (type & GAIM_MESSAGE_AUTO_RESP) { |
448 if (type & GAIM_MESSAGE_SEND) | 448 if (type & GAIM_MESSAGE_SEND) |
449 fprintf(log->logger_data, "<font color=\"#16569E\">(%s) <b>%s <AUTO-REPLY>:</b></font> %s<br/>\n", date, from, message); | 449 fprintf(log->logger_data, _("<font color=\"#16569E\">(%s) <b>%s <AUTO-REPLY>:</b></font> %s<br/>\n"), date, from, message); |
450 else if (type & GAIM_MESSAGE_RECV) | 450 else if (type & GAIM_MESSAGE_RECV) |
451 fprintf(log->logger_data, "<font color=\"#A82F2F\">(%s) <b>%s <AUTO-REPLY>:</b></font> %s<br/>\n", date, from, message); | 451 fprintf(log->logger_data, _("<font color=\"#A82F2F\">(%s) <b>%s <AUTO-REPLY>:</b></font> %s<br/>\n"), date, from, message); |
452 } else if (type & GAIM_MESSAGE_RECV) | 452 } else if (type & GAIM_MESSAGE_RECV) |
453 fprintf(log->logger_data, "<font color=\"#A82F2F\">(%s) <b>%s:</b></font> <font sml=\"%s\">%s</font><br/>\n", | 453 fprintf(log->logger_data, "<font color=\"#A82F2F\">(%s) <b>%s:</b></font> <font sml=\"%s\">%s</font><br/>\n", |
454 date, from, gc->prpl->info->name, message); | 454 date, from, gc->prpl->info->name, message); |
455 else if (type & GAIM_MESSAGE_SEND) | 455 else if (type & GAIM_MESSAGE_SEND) |
456 fprintf(log->logger_data, "<font color=\"#16569E\">(%s) <b>%s:</b></font> <font sml=\"%s\">%s</font><br/>\n", | 456 fprintf(log->logger_data, "<font color=\"#16569E\">(%s) <b>%s:</b></font> <font sml=\"%s\">%s</font><br/>\n", |
568 type & GAIM_MESSAGE_RECV) | 568 type & GAIM_MESSAGE_RECV) |
569 fprintf(log->logger_data, "(%s) %s: %s\n", date, from, stripped); | 569 fprintf(log->logger_data, "(%s) %s: %s\n", date, from, stripped); |
570 else if (type & GAIM_MESSAGE_SYSTEM) | 570 else if (type & GAIM_MESSAGE_SYSTEM) |
571 fprintf(log->logger_data, "(%s) %s\n", date, stripped); | 571 fprintf(log->logger_data, "(%s) %s\n", date, stripped); |
572 else if (type & GAIM_MESSAGE_AUTO_RESP) | 572 else if (type & GAIM_MESSAGE_AUTO_RESP) |
573 fprintf(log->logger_data, "(%s) %s <AUTO-REPLY>: %s\n", date, from, stripped); | 573 fprintf(log->logger_data, _("(%s) %s <AUTO-REPLY>: %s\n"), date, from, stripped); |
574 else if (type & GAIM_MESSAGE_NO_LOG) { | 574 else if (type & GAIM_MESSAGE_NO_LOG) { |
575 /* This shouldn't happen */ | 575 /* This shouldn't happen */ |
576 g_free(stripped); | 576 g_free(stripped); |
577 return; | 577 return; |
578 } else if (type & GAIM_MESSAGE_WHISPER) | 578 } else if (type & GAIM_MESSAGE_WHISPER) |