Localize crash button.

This commit is contained in:
Steve Checkoway
2006-03-02 05:48:11 +00:00
parent b4abd6f067
commit c425e718d9
+2 -1
View File
@@ -3,11 +3,12 @@
void InformUserOfCrash( const char *sPath )
{
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
NSString *sQuit = NSLocalizedString( @"Quit " PRODUCT_FAMILY, @"Button name" );
NSString *s = @PRODUCT_FAMILY " has crashed. Debugging information has been output to\n\n%s\n\n"
@"Please file a bug report at\n\n" REPORT_BUG_URL;
int ret = NSRunCriticalAlertPanel( @PRODUCT_FAMILY " has crashed", s, @"File Bug Report",
@"Quit", @"Open crashinfo.txt", sPath );
sQuit, @"Open crashinfo.txt", sPath );
NSWorkspace *ws = [NSWorkspace sharedWorkspace];