message=nls.localize('appCrashedDetails',"The window has crashed (reason: '{0}')",details?.reason);
}else{
message=nls.localize('appCrashed',"The window has crashed",details?.reason);
}
this.dialogMainService.showMessageBox({
title:product.nameLong,
type:'warning',
buttons:[mnemonicButtonLabel(nls.localize({key:'reopen',comment:['&& denotes a mnemonic']},"&&Reopen")),mnemonicButtonLabel(nls.localize({key:'close',comment:['&& denotes a mnemonic']},"&&Close"))],
message:nls.localize('appCrashed',"The window has crashed"),
message,
detail:nls.localize('appCrashedDetail',"We are sorry for the inconvenience! You can reopen the window to continue where you left off."),