diff src/prpl.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 a5d356cba156
children 7a3f16a375a5
line wrap: on
line diff
--- a/src/prpl.c	Sun Aug 25 06:08:15 2002 +0000
+++ b/src/prpl.c	Sun Aug 25 10:51:24 2002 +0000
@@ -67,11 +67,12 @@
 	struct prpl *p;
 	struct prpl *old;
 	if (size != sizeof(struct prpl)) {
-		do_error_dialog(_("You have attempted to load a protocol which was not compiled"
+		do_error_dialog(_("Incompatible protocol detected."),
+				_("You have attempted to load a protocol which was not compiled"
 				  " from the same version of the source as this application was."
 				  " Unfortunately, because it is not the same version I cannot"
 				  " safely tell you which one it was. Needless to say, it was not"
-				  " successfully loaded."), _("Protocol Error"));
+				  " successfully loaded."), GAIM_ERROR);
 		return;
 	}
 	
@@ -81,11 +82,12 @@
 		unload_protocol(old);
 
 	if (p->protocol == PROTO_ICQ) 
-		do_error_dialog(_("Gaim has loaded the ICQ plugin.  This plugin has been deprecated. "
+		do_error_dialog(_("Libicq.so detected."),
+				_("Gaim has loaded the ICQ plugin.  This plugin has been deprecated. "
 				  "As such, it was probably not compiled from the same version of the "
 				  "source as this application was, and cannot be guaranteed to work.  "
 				  "It is reccomended that you use the AIM/ICQ protocol to connect to ICQ"),
-				_("Protocol Warning"));
+				GAIM_WARNING);
 
 
 	protocols = g_slist_insert_sorted(protocols, p, (GCompareFunc)proto_compare);
@@ -103,7 +105,7 @@
 			g_snprintf(buf, sizeof buf, _("%s was using %s, which got removed."
 						      " %s is now offline."), g->username,
 				   p->name(), g->username);
-			do_error_dialog(buf, _("Disconnect"));
+			do_error_dialog(buf, NULL, GAIM_ERROR);
 			signoff(g);
 			c = connections;
 		} else
@@ -587,7 +589,7 @@
 		   msg ? msg : "",
 		   find_buddy(gc, ga->who) ? "" : _("\n\nDo you wish to add him or her to your buddy list?"));
 	if (find_buddy(gc, ga->who))
-		do_error_dialog(buf, "Added to List");
+		do_error_dialog(buf, NULL, GAIM_INFO);
 	else
 		do_ask_dialog(buf, ga, do_add, dont_add);
 }