Localize crash button.
This commit is contained in:
@@ -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];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user