changeset 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
files src/log.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/log.c	Mon Nov 17 15:23:45 2003 +0000
+++ b/src/log.c	Mon Nov 17 15:50:10 2003 +0000
@@ -446,9 +446,9 @@
 			date, from, message);
 	else if (type & GAIM_MESSAGE_AUTO_RESP) {
 		if (type & GAIM_MESSAGE_SEND)
-			fprintf(log->logger_data, "<font color=\"#16569E\">(%s) <b>%s <AUTO-REPLY>:</b></font> %s<br/>\n", date, from, message);
+			fprintf(log->logger_data, _("<font color=\"#16569E\">(%s) <b>%s <AUTO-REPLY>:</b></font> %s<br/>\n"), date, from, message);
 		else if (type & GAIM_MESSAGE_RECV)
-			fprintf(log->logger_data, "<font color=\"#A82F2F\">(%s) <b>%s <AUTO-REPLY>:</b></font> %s<br/>\n", date, from, message);
+			fprintf(log->logger_data, _("<font color=\"#A82F2F\">(%s) <b>%s <AUTO-REPLY>:</b></font> %s<br/>\n"), date, from, message);
 	} else if (type & GAIM_MESSAGE_RECV)
 		fprintf(log->logger_data, "<font color=\"#A82F2F\">(%s) <b>%s:</b></font> <font sml=\"%s\">%s</font><br/>\n", 
 			date, from, gc->prpl->info->name, message);
@@ -570,7 +570,7 @@
 	else if (type & GAIM_MESSAGE_SYSTEM)
 		fprintf(log->logger_data, "(%s) %s\n", date, stripped);
 	else if (type & GAIM_MESSAGE_AUTO_RESP)
-		fprintf(log->logger_data, "(%s) %s <AUTO-REPLY>: %s\n", date, from, stripped);
+		fprintf(log->logger_data, _("(%s) %s <AUTO-REPLY>: %s\n"), date, from, stripped);
 	else if (type & GAIM_MESSAGE_NO_LOG) {
 		/* This shouldn't happen */
 		g_free(stripped);