* @brief libpurple has been made aware we closed or has informed us we should close
*
* Close our requestController's window if it's open; then release (we returned without autoreleasing initially).
*/
-(void)purpleRequestClose
{
AILogWithSignature(@"");
if(requestController){
[[requestControllerwindow]orderOut:self];
[requestControllerclose];
}
[selfautorelease];
}
/*!
* @brief Translate the strings in the info dictionary
*
* The following declarations let genstrings know about what translations we want
* AILocalizedString(@"Allow MSN Mobile pages?", nil)
* AILocalizedString(@"Do you want to allow or disallow people on your buddy list to send you MSN Mobile pages to your cell phone or other mobile device?", nil)
* AILocalizedString(@"Allow","Button title to allow an action")
* AILocalizedString(@"Disallow", "Button title to prevent an action")
title is "Buddy list synchronization issue in %s (%s)"),
purple_account_get_username(account),
purple_account_get_protocol_name(account));
message is ("%s on the local list is inside the group \"%s\" but not on the server list. Do you want this buddy to be added?")
or ("%s is on the local list but not on the server list. Do you want this buddy to be added?"),
*/
NSRangestartRange=[*titlerangeOfString:@"Buddy list synchronization issue in "];
*title=[NSStringstringWithFormat:AILocalizedString(@"Contact list synchronization error for %@",nil),[*titlesubstringFromIndex:NSMaxRange(startRange)]];
startRange=[*messagerangeOfString:@" "];
*message=[NSStringstringWithFormat:AILocalizedString(@"%@ is on your local contact list but not on the server list. Do you want to add this contact to your list?",nil),[*messagesubstringToIndex:startRange.location]];