Mercurial > pidgin
diff libpurple/protocols/qq/qq_base.c @ 27381:f541583e31bd
More uniformity among disconnect error messages
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 06 Jul 2009 09:07:42 +0000 |
parents | 8f757b2139d2 |
children | 33921125348d |
line wrap: on
line diff
--- a/libpurple/protocols/qq/qq_base.c Mon Jul 06 07:26:12 2009 +0000 +++ b/libpurple/protocols/qq/qq_base.c Mon Jul 06 09:07:42 2009 +0000 @@ -72,7 +72,7 @@ qq_show_packet("Login reply OK, but length < 139", data, len); purple_connection_error_reason(gc, PURPLE_CONNECTION_ERROR_ENCRYPTION_ERROR, - _("Cannot decrypt server reply")); + _("Unable to decrypt server reply")); return QQ_LOGIN_REPLY_ERR; } @@ -160,7 +160,7 @@ if (len < 11) { purple_connection_error_reason(gc, PURPLE_CONNECTION_ERROR_ENCRYPTION_ERROR, - _("Cannot decrypt server reply")); + _("Unable to decrypt server reply")); return QQ_LOGIN_REPLY_ERR; } @@ -412,7 +412,7 @@ if (!purple_account_get_remember_password(gc->account)) { purple_account_set_password(gc->account, NULL); } - error = g_strdup( _("Incorrect password.")); + error = g_strdup( _("Incorrect password")); reason = PURPLE_CONNECTION_ERROR_AUTHENTICATION_FAILED; break; case 0x06: /* need activation */ @@ -655,7 +655,7 @@ if (data_len < 15) { purple_connection_error_reason(gc, PURPLE_CONNECTION_ERROR_ENCRYPTION_ERROR, - _("Could not decrypt server reply")); + _("Unable to decrypt server reply")); return QQ_LOGIN_REPLY_ERR; } @@ -1097,7 +1097,7 @@ if (!purple_account_get_remember_password(gc->account)) { purple_account_set_password(gc->account, NULL); } - error = g_strdup(_("Incorrect password.")); + error = g_strdup(_("Incorrect password")); reason = PURPLE_CONNECTION_ERROR_AUTHENTICATION_FAILED; break; case 0x33: /* need activation */ @@ -1106,7 +1106,7 @@ reason = PURPLE_CONNECTION_ERROR_AUTHENTICATION_FAILED; break; case 0xBF: /* uid is not exist */ - error = g_strdup(_("Invalid username.")); + error = g_strdup(_("Username does not exist")); reason = PURPLE_CONNECTION_ERROR_INVALID_USERNAME; break; default: