questionToAsk=(([chatControllerunviewedContentCount]>1)?[NSStringstringWithFormat:AILocalizedString(@"You have %d unread messages.",@"Quit Confirmation"),[chatControllerunviewedContentCount]]:AILocalizedString(@"You have an unread message.",@"Quit Confirmation"));
questionToAsk=(([fileTransferControlleractiveTransferCount]>1)?[NSStringstringWithFormat:AILocalizedString(@"You have %d file transfers in progress.",@"Quit Confirmation"),[fileTransferControlleractiveTransferCount]]:AILocalizedString(@"You have a file transfer in progress.",@"Quit Confirmation"));
questionToAsk=(([[chatControlleropenChats]count]>1)?[NSStringstringWithFormat:AILocalizedString(@"You have %d open chats.",@"Quit Confirmation"),[[chatControlleropenChats]count]]:AILocalizedString(@"You have an open chat.",@"Quit Confirmation"));
errorMessage=[NSStringstringWithFormat:AILocalizedString(@"%@ is the name of the default status icon pack; this pack therefore can not be installed.",nil),
//The first generation ended with 1.0.5 and 1.1. Our Sparkle Plus up to that point had a bug that left it unable to properly handle the sparkle:minimumSystemVersion element.
//The second generation began with 1.0.6 and 1.1.1, with a Sparkle Plus that can handle that element.
//Sparkle 1.5 has a different defaults key, do a one time migration of the value
if([defaultsboolForKey:@"SUIncludeProfile"]){
[defaultssetBool:YESforKey:@"SUSendProfileInfo"];
sendProfileInfo=YES;
[defaultssetBool:NOforKey:@"SUIncludeProfile"];//make sure this only runs once
}
//If we're not sending profile information, or if it hasn't been long enough since the last profile submission, return just the type of update we're looking for and the generation number.
[profileInfoaddObject:[NSDictionarydictionaryWithObjects:[NSArrayarrayWithObjects:@"detailedcputype",@"Detailed CPU Type",visibleCPUType,visibleCPUType,nil]forKeys:[NSArrayarrayWithObjects:@"key",@"displayKey",@"value",@"displayValue",nil]]];