Unify the saved file strings

This commit is contained in:
Marek Roszko 2020-12-08 18:58:07 -05:00
parent fbc70511c7
commit ad1aae40ec
3 changed files with 5 additions and 5 deletions

View File

@ -182,7 +182,7 @@ bool SCH_EDIT_FRAME::SaveEEFile( SCH_SHEET* aSheet, bool aSaveUnderNewName )
screen->ClrSave(); screen->ClrSave();
screen->ClrModify(); screen->ClrModify();
msg.Printf( _( "File %s saved" ), screen->GetFileName() ); msg.Printf( _( "File \"%s\" saved." ), screen->GetFileName() );
SetStatusText( msg, 0 ); SetStatusText( msg, 0 );
} }
else else

View File

@ -156,7 +156,7 @@ void PL_EDITOR_FRAME::Files_io( wxCommandEvent& event )
else else
{ {
OnNewPageLayout(); OnNewPageLayout();
msg.Printf( _( "File \"%s\" loaded" ), filename ); msg.Printf( _( "File \"%s\" saved." ), filename );
SetStatusText( msg ); SetStatusText( msg );
} }
} }
@ -170,7 +170,7 @@ void PL_EDITOR_FRAME::Files_io( wxCommandEvent& event )
} }
else else
{ {
msg.Printf( _("File \"%s\" written"), filename ); msg.Printf( _("File \"%s\" saved."), filename );
SetStatusText( msg ); SetStatusText( msg );
} }
break; break;
@ -201,7 +201,7 @@ void PL_EDITOR_FRAME::Files_io( wxCommandEvent& event )
else else
{ {
msg.Printf( _("File \"%s\" written"), filename ); msg.Printf( _("File \"%s\" saved."), filename );
SetStatusText( msg ); SetStatusText( msg );
if( GetCurrentFileName().IsEmpty() ) if( GetCurrentFileName().IsEmpty() )

View File

@ -914,7 +914,7 @@ bool PCB_EDIT_FRAME::SavePcbFile( const wxString& aFileName, bool addToHistory,
if( autoSaveFileName.FileExists() ) if( autoSaveFileName.FileExists() )
wxRemoveFile( autoSaveFileName.GetFullPath() ); wxRemoveFile( autoSaveFileName.GetFullPath() );
lowerTxt.Printf( _( "Wrote board file: \"%s\"" ), pcbFileName.GetFullPath() ); lowerTxt.Printf( _( "File \"%s\" saved." ), pcbFileName.GetFullPath() );
SetStatusText( lowerTxt, 0 ); SetStatusText( lowerTxt, 0 );