diff --git a/pcbnew/netlist_reader/board_netlist_updater.cpp b/pcbnew/netlist_reader/board_netlist_updater.cpp index 622e5fe8fb..0df4727d68 100644 --- a/pcbnew/netlist_reader/board_netlist_updater.cpp +++ b/pcbnew/netlist_reader/board_netlist_updater.cpp @@ -149,7 +149,7 @@ FOOTPRINT* BOARD_NETLIST_UPDATER::addNewFootprint( COMPONENT* aComponent ) if( footprint == nullptr ) { - msg.Printf( _( "Cannot add %s (footprint \"%s\" not found)." ), + msg.Printf( _( "Cannot add %s (footprint '%s' not found)." ), aComponent->GetReference(), aComponent->GetFPID().Format().wx_str() ); m_reporter->Report( msg, RPT_SEVERITY_ERROR ); @@ -159,7 +159,7 @@ FOOTPRINT* BOARD_NETLIST_UPDATER::addNewFootprint( COMPONENT* aComponent ) if( m_isDryRun ) { - msg.Printf( _( "Add %s (footprint \"%s\")." ), + msg.Printf( _( "Add %s (footprint '%s')." ), aComponent->GetReference(), aComponent->GetFPID().Format().wx_str() ); @@ -183,7 +183,7 @@ FOOTPRINT* BOARD_NETLIST_UPDATER::addNewFootprint( COMPONENT* aComponent ) m_addedFootprints.push_back( footprint ); m_commit.Add( footprint ); - msg.Printf( _( "Added %s (footprint \"%s\")." ), + msg.Printf( _( "Added %s (footprint '%s')." ), aComponent->GetReference(), aComponent->GetFPID().Format().wx_str() ); } @@ -213,7 +213,7 @@ FOOTPRINT* BOARD_NETLIST_UPDATER::replaceFootprint( NETLIST& aNetlist, FOOTPRINT if( newFootprint == nullptr ) { - msg.Printf( _( "Cannot update %s (footprint \"%s\" not found)." ), + msg.Printf( _( "Cannot update %s (footprint '%s' not found)." ), aNewComponent->GetReference(), aNewComponent->GetFPID().Format().wx_str() ); m_reporter->Report( msg, RPT_SEVERITY_ERROR ); @@ -1008,7 +1008,7 @@ bool BOARD_NETLIST_UPDATER::UpdateNetlist( NETLIST& aNetlist ) } else if( matchCount > 1 ) { - msg.Printf( _( "Multiple footprints found for \"%s\"." ), + msg.Printf( _( "Multiple footprints found for '%s'." ), component->GetReference() ); m_reporter->Report( msg, RPT_SEVERITY_ERROR ); } diff --git a/pcbnew/pcb_edit_frame.cpp b/pcbnew/pcb_edit_frame.cpp index 8015b347c7..d186323d5a 100644 --- a/pcbnew/pcb_edit_frame.cpp +++ b/pcbnew/pcb_edit_frame.cpp @@ -821,7 +821,7 @@ bool PCB_EDIT_FRAME::canCloseWindow( wxCloseEvent& aEvent ) if( IsContentModified() ) { wxFileName fileName = GetBoard()->GetFileName(); - wxString msg = _( "Save changes to \"%s\" before closing?" ); + wxString msg = _( "Save changes to '%s' before closing?" ); if( !HandleUnsavedChanges( this, wxString::Format( msg, fileName.GetFullName() ), [&]() -> bool @@ -872,7 +872,7 @@ void PCB_EDIT_FRAME::doCloseWindow() // Remove the auto save file on a normal close of Pcbnew. if( fn.FileExists() && !wxRemoveFile( fn.GetFullPath() ) ) { - wxString msg = wxString::Format( _( "The auto save file \"%s\" could not be removed!" ), + wxString msg = wxString::Format( _( "The auto save file '%s' could not be removed!" ), fn.GetFullPath() ); wxMessageBox( msg, Pgm().App().GetAppName(), wxOK | wxICON_ERROR, this ); } @@ -1443,7 +1443,7 @@ void PCB_EDIT_FRAME::RunEeschema() } else { - msg.Printf( _( "Schematic file \"%s\" not found." ), schematic.GetFullPath() ); + msg.Printf( _( "Schematic file '%s' not found." ), schematic.GetFullPath() ); wxMessageBox( msg, _( "KiCad Error" ), wxOK | wxICON_ERROR, this ); return; }