# HG changeset patch # User Sulabh Mahajan # Date 1244276282 0 # Node ID 48bf7a89370918d7d9f47dce88a9bcf1473af901 # Parent 5d4e33e3938a155c9147a5cbd54ffc65e6cabda9 yahoo login ver 16: Add another case of error reporting. Ask user to visit yahoo website in case of locked account. diff -r 5d4e33e3938a -r 48bf7a893709 libpurple/protocols/yahoo/yahoo.c --- a/libpurple/protocols/yahoo/yahoo.c Sat Jun 06 04:02:28 2009 +0000 +++ b/libpurple/protocols/yahoo/yahoo.c Sat Jun 06 08:18:02 2009 +0000 @@ -1741,7 +1741,7 @@ break; case 1213: /* security lock from too many failed login attempts */ - error_reason = g_strdup(_("Account locked: Too many failed login attempts")); + error_reason = g_strdup(_("Account locked: Too many failed login attempts.\nLogging into the Yahoo! website may fix this.")); error = PURPLE_CONNECTION_ERROR_OTHER_ERROR; break; case 1235: @@ -1749,9 +1749,10 @@ error_reason = g_strdup(_("Username does not exist")); error = PURPLE_CONNECTION_ERROR_INVALID_USERNAME; break; + case 1214: case 1236: /* indicates a lock of some description */ - error_reason = g_strdup(_("Account locked: See the debug log")); + error_reason = g_strdup(_("Account locked: Unknown reason.\nLogging into the Yahoo! website may fix this.")); error = PURPLE_CONNECTION_ERROR_OTHER_ERROR; break; case 100: