changeset 27671:d53d082f1641

Display an error message when we receive error code 1013 from the Yahoo! logon process. I borrowed this string from MSN and intend to change it after the release.
author John Bailey <rekkanoryo@rekkanoryo.org>
date Fri, 17 Jul 2009 00:37:59 +0000
parents b448b259e3cf
children 4bd3f7d841e3
files libpurple/protocols/yahoo/libymsg.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/libymsg.c	Thu Jul 16 22:56:37 2009 +0000
+++ b/libpurple/protocols/yahoo/libymsg.c	Fri Jul 17 00:37:59 2009 +0000
@@ -2087,6 +2087,10 @@
 		msg = g_strdup(_("Your account is locked, please log in to the Yahoo! website."));
 		reason = PURPLE_CONNECTION_ERROR_AUTHENTICATION_FAILED;
 		break;
+	case 1013:
+		msg = g_strdup(_("Invalid username"));
+		reason = PURPLE_CONNECTION_ERROR_INVALID_USERNAME;
+		break;
 	default:
 		msg = g_strdup_printf(_("Unknown error number %d. Logging into the Yahoo! website may fix this."), err);
 	}