Improved auto-save message.

Fixes https://gitlab.com/kicad/code/kicad/issues/12589
This commit is contained in:
Jeff Young 2022-10-12 10:55:41 +01:00
parent c857e533a9
commit a02d156e5d
1 changed files with 7 additions and 7 deletions

View File

@ -1204,13 +1204,13 @@ void EDA_BASE_FRAME::CheckForAutoSaveFile( const wxFileName& aFileName )
if( !autoSaveFileName.FileExists() )
return;
wxString msg = wxString::Format( _(
"Well this is potentially embarrassing!\n"
"It appears that the last time you were editing the file\n"
"%s\n"
"it was not saved properly. Do you wish to restore the last saved edits you made?" ),
aFileName.GetFullName()
);
wxString msg = wxString::Format( _( "Well this is potentially embarrassing!\n"
"It appears that the last time you were editing\n"
"%s\n"
"KiCad exited before saving.\n"
"\n"
"Do you wish to open the auto-saved file instead?" ),
aFileName.GetFullName() );
int response = wxMessageBox( msg, Pgm().App().GetAppDisplayName(), wxYES_NO | wxICON_QUESTION,
this );