comparison libpurple/protocols/qq/qq_base.c @ 24679:55b7371eadf4

Fix some English in the QQ plugin. And remove some translated phrases that are in purple_debug_* calls.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Thu, 11 Dec 2008 04:03:27 +0000
parents 2f84f888d3db
children 8f757b2139d2
comparison
equal deleted inserted replaced
24678:2f84f888d3db 24679:55b7371eadf4
70 70
71 if (len < 148) { 71 if (len < 148) {
72 qq_show_packet("Login reply OK, but length < 139", data, len); 72 qq_show_packet("Login reply OK, but length < 139", data, len);
73 purple_connection_error_reason(gc, 73 purple_connection_error_reason(gc,
74 PURPLE_CONNECTION_ERROR_ENCRYPTION_ERROR, 74 PURPLE_CONNECTION_ERROR_ENCRYPTION_ERROR,
75 _("Can not decrypt server reply")); 75 _("Cannot decrypt server reply"));
76 return QQ_LOGIN_REPLY_ERR; 76 return QQ_LOGIN_REPLY_ERR;
77 } 77 }
78 78
79 bytes = 0; 79 bytes = 0;
80 bytes += qq_get8(&ret, data + bytes); 80 bytes += qq_get8(&ret, data + bytes);
158 158
159 159
160 if (len < 11) { 160 if (len < 11) {
161 purple_connection_error_reason(gc, 161 purple_connection_error_reason(gc,
162 PURPLE_CONNECTION_ERROR_ENCRYPTION_ERROR, 162 PURPLE_CONNECTION_ERROR_ENCRYPTION_ERROR,
163 _("Can not decrypt get server reply")); 163 _("Cannot decrypt server reply"));
164 return QQ_LOGIN_REPLY_ERR; 164 return QQ_LOGIN_REPLY_ERR;
165 } 165 }
166 166
167 qd = (qq_data *) gc->proto_data; 167 qd = (qq_data *) gc->proto_data;
168 bytes = 0; 168 bytes = 0;