comparison libpurple/protocols/yahoo/libymsg.c @ 28314:975e213733e8

Change some strings in Yahoo! for 2.6.1.
author John Bailey <rekkanoryo@rekkanoryo.org>
date Sat, 18 Jul 2009 17:57:48 +0000
parents 0ec880685f5f
children 248e47560a4a
comparison
equal deleted inserted replaced
28313:8d413ce87e7e 28314:975e213733e8
2068 } 2068 }
2069 #endif /* TRY_WEBMESSENGER_LOGIN */ 2069 #endif /* TRY_WEBMESSENGER_LOGIN */
2070 if (!purple_account_get_remember_password(account)) 2070 if (!purple_account_get_remember_password(account))
2071 purple_account_set_password(account, NULL); 2071 purple_account_set_password(account, NULL);
2072 2072
2073 msg = g_strdup(_("Incorrect password")); 2073 msg = g_strdup(_("Invalid username or password"));
2074 reason = PURPLE_CONNECTION_ERROR_AUTHENTICATION_FAILED; 2074 reason = PURPLE_CONNECTION_ERROR_AUTHENTICATION_FAILED;
2075 break; 2075 break;
2076 case 14: 2076 case 14:
2077 msg = g_strdup(_("Your account is locked, please log in to the Yahoo! website.")); 2077 msg = g_strdup(_("Your account has been locked due to too many failed login attempts."
2078 "Please try logging into the Yahoo! website."));
2078 reason = PURPLE_CONNECTION_ERROR_AUTHENTICATION_FAILED; 2079 reason = PURPLE_CONNECTION_ERROR_AUTHENTICATION_FAILED;
2079 break; 2080 break;
2080 case 1013: 2081 case 1013:
2081 msg = g_strdup(_("Invalid username")); 2082 msg = g_strdup(_("Error 1013: The username you have entered is invalid."
2083 " The most common cause of this error is entering your e-mail"
2084 " address instead of your Yahoo! ID."));
2082 reason = PURPLE_CONNECTION_ERROR_INVALID_USERNAME; 2085 reason = PURPLE_CONNECTION_ERROR_INVALID_USERNAME;
2083 break; 2086 break;
2084 default: 2087 default:
2085 msg = g_strdup_printf(_("Unknown error number %d. Logging into the Yahoo! website may fix this."), err); 2088 msg = g_strdup_printf(_("Unknown error number %d. Logging into the Yahoo! website may fix this."), err);
2086 } 2089 }