buf=g_strdup_printf(_("Unable to sign on as %s because the username is invalid. Usernames must be a valid email address, or start with a letter and contain only letters, numbers and spaces, or contain only numbers."),purple_account_get_username(account));
purple_connection_error_reason(gc,PURPLE_CONNECTION_ERROR_AUTHENTICATION_FAILED,_("Your account is currently suspended"));
break;
case0x02:
case0x14:
/* service temporarily unavailable */
purple_connection_error_reason(gc,PURPLE_CONNECTION_ERROR_NETWORK_ERROR,_("The AOL Instant Messenger service is temporarily unavailable."));
break;
case0x18:
/* username connecting too frequently */
purple_connection_error_reason(gc,PURPLE_CONNECTION_ERROR_OTHER_ERROR,_("Your username has been connecting and disconnecting too frequently. Wait ten minutes and try again. If you continue to try, you will need to wait even longer."));
break;
case0x1c:
{
/* client too old */
g_snprintf(buf,sizeof(buf),_("The client version you are using is too old. Please upgrade at %s"),
purple_connection_error_reason(gc,PURPLE_CONNECTION_ERROR_OTHER_ERROR,_("Your IP address has been connecting and disconnecting too frequently. Wait a minute and try again. If you continue to try, you will need to wait even longer."));
"Received an authorization request from UIN %u\n",
args->uin);
aim_icq_getalias(od,bn,TRUE,reason);
g_free(bn);
g_free(reason);
}
}break;
case0x07:{/* Someone has denied you authorization */
if(i>=1){
gchar*dialog_msg=g_strdup_printf(_("The user %u has denied your request to add them to your buddy list for the following reason:\n%s"),args->uin,msg2[0]?msg2[0]:_("No reason given."));
"account info: because of %s, perms=0x%04x, err=0x%04x, url=%s, bn=%s, email=%s\n",
change?"change":"request",perms,err,
(url!=NULL)?url:"(null)",
(bn!=NULL)?bn:"(null)",
(email!=NULL)?email:"(null)");
if((err>0)&&(url!=NULL)){
char*dialog_msg;
if(err==0x0001)
dialog_msg=g_strdup_printf(_("Error 0x%04x: Unable to format username because the requested name differs from the original."),err);
elseif(err==0x0006)
dialog_msg=g_strdup_printf(_("Error 0x%04x: Unable to format username because it is invalid."),err);
elseif(err==0x00b)
dialog_msg=g_strdup_printf(_("Error 0x%04x: Unable to format username because the requested name is too long."),err);
elseif(err==0x001d)
dialog_msg=g_strdup_printf(_("Error 0x%04x: Unable to change email address because there is already a request pending for this username."),err);
elseif(err==0x0021)
dialog_msg=g_strdup_printf(_("Error 0x%04x: Unable to change email address because the given address has too many usernames associated with it."),err);
elseif(err==0x0023)
dialog_msg=g_strdup_printf(_("Error 0x%04x: Unable to change email address because the given address is invalid."),err);
buf=g_strdup_printf(_("Unable to add the buddy %s because the username is invalid. Usernames must be a valid email address, or start with a letter and contain only letters, numbers and spaces, or contain only numbers."),bname);
if(!purple_conv_present_error(bname,account,buf))
purple_notify_error(gc,NULL,_("Unable to Add"),buf);
"ssi: status is 0x%04hx for a 0x%04hx action with name %s\n",retval->ack,retval->action,retval->item?(retval->item->name?retval->item->name:"no name"):"no item");
if(retval->ack!=0xffff)
switch(retval->ack){
case0x0000:{/* added successfully */
}break;
case0x000c:{/* you are over the limit, the cheat is to the limit, come on fhqwhgads */
gchar*buf;
buf=g_strdup_printf(_("Unable to add the buddy %s because you have too many buddies in your buddy list. Please remove one and try again."),(retval->name?retval->name:_("(no name)")));
dialog_msg=g_strdup_printf(_("The user %s has denied your request to add them to your buddy list for the following reason:\n%s"),nombre,msg?msg:_("No reason given."));