comparison libpurple/protocols/yahoo/libymsg.c @ 27595: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 0d32c4c08deb
children 4bd3f7d841e3
comparison
equal deleted inserted replaced
27594:b448b259e3cf 27595:d53d082f1641
2085 break; 2085 break;
2086 case 14: 2086 case 14:
2087 msg = g_strdup(_("Your account is locked, please log in to the Yahoo! website.")); 2087 msg = g_strdup(_("Your account is locked, please log in to the Yahoo! website."));
2088 reason = PURPLE_CONNECTION_ERROR_AUTHENTICATION_FAILED; 2088 reason = PURPLE_CONNECTION_ERROR_AUTHENTICATION_FAILED;
2089 break; 2089 break;
2090 case 1013:
2091 msg = g_strdup(_("Invalid username"));
2092 reason = PURPLE_CONNECTION_ERROR_INVALID_USERNAME;
2093 break;
2090 default: 2094 default:
2091 msg = g_strdup_printf(_("Unknown error number %d. Logging into the Yahoo! website may fix this."), err); 2095 msg = g_strdup_printf(_("Unknown error number %d. Logging into the Yahoo! website may fix this."), err);
2092 } 2096 }
2093 2097
2094 if (url) 2098 if (url)