Update of /cvsroot/gaim/gaim/src/protocols/irc
In directory usw-pr-cvs1:/tmp/cvs-serv7426/src/protocols/irc
Modified Files:
irc.c
Log Message:
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.
Index: irc.c
===================================================================
RCS file: /cvsroot/gaim/gaim/src/protocols/irc/irc.c,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -d -r1.78 -r1.79
--- irc.c 7 Jun 2002 18:57:18 -0000 1.78
+++ irc.c 25 Aug 2002 10:51:23 -0000 1.79
@@ -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]);
|