pidgin: c75c4072: Slightly better error messages

markdoliner at pidgin.im markdoliner at pidgin.im
Fri Jul 3 21:10:22 EDT 2009


-----------------------------------------------------------------
Revision: c75c4072b910c269873d22b25bb5639d85bb1b9b
Ancestor: dc960b2ad7b32fa7d865552300a003a71689cfe9
Author: markdoliner at pidgin.im
Date: 2009-07-04T01:06:23
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/c75c4072b910c269873d22b25bb5639d85bb1b9b

Modified files:
        libpurple/protocols/oscar/oscar.c

ChangeLog: 

Slightly better error messages

-------------- next part --------------
============================================================
--- libpurple/protocols/oscar/oscar.c	db8c408b84e4ac267cc655217cf001ddc78d96cf
+++ libpurple/protocols/oscar/oscar.c	1262a774c28e1958d82b82ba638607185e90a8ac
@@ -1882,7 +1882,7 @@ purple_parse_auth_resp(OscarData *od, Fl
 		switch (info->errorcode) {
 		case 0x01:
 			/* Unregistered username */
-			purple_connection_error_reason(gc, PURPLE_CONNECTION_ERROR_INVALID_USERNAME, _("Invalid username."));
+			purple_connection_error_reason(gc, PURPLE_CONNECTION_ERROR_INVALID_USERNAME, _("Username does not exist"));
 			break;
 		case 0x05:
 			/* Incorrect password */
@@ -1917,7 +1917,7 @@ purple_parse_auth_resp(OscarData *od, Fl
 			purple_connection_error_reason(gc, PURPLE_CONNECTION_ERROR_OTHER_ERROR, _("You have been connecting and disconnecting too frequently. Wait a minute and try again. If you continue to try, you will need to wait even longer."));
 			break;
 		default:
-			purple_connection_error_reason(gc, PURPLE_CONNECTION_ERROR_AUTHENTICATION_FAILED, _("Authentication failed"));
+			purple_connection_error_reason(gc, PURPLE_CONNECTION_ERROR_AUTHENTICATION_FAILED, _("Unknown reason"));
 			break;
 		}
 		purple_debug_info("oscar", "Login Error Code 0x%04hx\n", info->errorcode);


More information about the Commits mailing list