From ad1aae40ec9ecfe9b698195cf2c0b0c5c637841d Mon Sep 17 00:00:00 2001 From: Marek Roszko <mark.roszko@gmail.com> Date: Tue, 8 Dec 2020 18:58:07 -0500 Subject: [PATCH] Unify the saved file strings --- eeschema/files-io.cpp | 2 +- pagelayout_editor/files.cpp | 6 +++--- pcbnew/files.cpp | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/eeschema/files-io.cpp b/eeschema/files-io.cpp index 992cf72346..ac09b3317d 100644 --- a/eeschema/files-io.cpp +++ b/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 diff --git a/pagelayout_editor/files.cpp b/pagelayout_editor/files.cpp index 34805ed276..fc1eac8f27 100644 --- a/pagelayout_editor/files.cpp +++ b/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() ) diff --git a/pcbnew/files.cpp b/pcbnew/files.cpp index f7f3bb12a1..5c9fadad13 100644 --- a/pcbnew/files.cpp +++ b/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 );