Browse Source

Unify the saved file strings

6.0.7
Marek Roszko 5 years ago
parent
commit
ad1aae40ec
  1. 2
      eeschema/files-io.cpp
  2. 6
      pagelayout_editor/files.cpp
  3. 2
      pcbnew/files.cpp

2
eeschema/files-io.cpp

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

6
pagelayout_editor/files.cpp

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

2
pcbnew/files.cpp

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

Loading…
Cancel
Save