Fix some problematic double-quotes.

This commit is contained in:
Jeff Young 2021-06-07 23:14:29 +01:00
parent ca9b719af3
commit 3d32c096ab
2 changed files with 8 additions and 8 deletions

View File

@ -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 );
}

View File

@ -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;
}