diff src/protocols/irc/irc.c @ 3427:8fa61405af2b

[gaim-migrate @ 3453] Who never commits anything *now*, Etan? I changed most of the error message text around. If you think any of it should be different, just let me know, or send a patch. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Sun, 25 Aug 2002 10:51:24 +0000
parents ba398df4c0b0
children 12202a328adf
line wrap: on
line diff
--- a/src/protocols/irc/irc.c	Sun Aug 25 06:08:15 2002 +0000
+++ b/src/protocols/irc/irc.c	Sun Aug 25 10:51:24 2002 +0000
@@ -822,12 +822,12 @@
 		irc_request_buddy_update(gc);
 		break;
 	case 401:
-		do_error_dialog(_("No such nick/channel"), _("IRC Error"));
+		do_error_dialog(_("There is no such nick or channel on this IRC channel."), NULL, GAIM_ERROR);
 		break;
 	case 402:
-		do_error_dialog(_("No such server"), _("IRC Error"));
+		do_error_dialog(_("There is no such IRC Server"), NULL, GAIM_ERROR);
 	case 431:
-		do_error_dialog(_("No nickname given"), _("IRC Error"));
+		do_error_dialog(_("No IRC nickname given"), NULL, GAIM_ERROR);
 		break;
 	}
 }
@@ -1068,9 +1068,9 @@
 				return FALSE;
 			gc->buddy_chats = g_slist_remove(gc->buddy_chats, c);
 			c->gc = NULL;
-			g_snprintf(outbuf, sizeof(outbuf), _("You have been kicked from %s: %s"),
-					word[3], *word_eol[5] == ':' ? word_eol[5] + 1 : word_eol[5]);
-			do_error_dialog(outbuf, _("IRC Error"));
+			g_snprintf(outbuf, sizeof(outbuf), _("You have been kicked from %s:"),
+				   word[3]);
+			do_error_dialog(outbuf, *word_eol[5] == ':' ? word_eol[5] + 1 : word_eol[5], GAIM_INFO);
 		} else {
 			char *reason = *word_eol[5] == ':' ? word_eol[5] + 1 : word_eol[5];
 			char *msg = g_strdup_printf(_("Kicked by %s: %s"), nick, reason);
@@ -1579,7 +1579,7 @@
 			gc->buddy_chats = g_slist_remove(gc->buddy_chats, c);
 			c->gc = NULL;
 			g_snprintf(buf, sizeof(buf), _("You have left %s"), chan);
-			do_error_dialog(buf, _("IRC Part"));
+			do_error_dialog(buf, NULL, GAIM_INFO);
 		}
 	} else if (!g_strcasecmp(pdibuf, "WHOIS")) {
 		g_snprintf(buf, sizeof(buf), "WHOIS %s\r\n", word_eol[2]);