intret=NSRunInformationalAlertPanel(_NS("VLC has previously crashed"),
intret=NSRunInformationalAlertPanel(_NS("VLC has previously crashed"),
_NS("VLC has previously crashed, do you want to send an email with the crash to VLC's team?"),
_NS("VLC has previously crashed, do you want to send an email with the crash to VLC's team?"),
_NS("Send"),_NS("Don't Send"),nil,nil);
_NS("Send"),_NS("Don't Send"),nil,nil);
if(ret==NSAlertDefaultReturn)
if(ret==NSAlertDefaultReturn)
{
{
[selfmailCrashLog:crashLogwithUserComment:_NS("<Explain here what you were doing when VLC crashed, with possibly a link to the failing video>")];
[selfmailCrashLog:[NSStringstringWithContentsOfFile:crashLogPath]withUserComment:_NS("<Explain here what you were doing when VLC crashed, with possibly a link to the failing video>")];