Fix typo and I18N string
This commit is contained in:
parent
8c2aee1261
commit
bc24d8e957
|
@ -645,14 +645,13 @@ bool SCH_EDIT_FRAME::SaveProject()
|
|||
msg += "\n" + overwrittenFile;
|
||||
}
|
||||
|
||||
msg = _( "The following files will be overwritten:\n\n" ) + msg;
|
||||
|
||||
wxRichMessageDialog dlg(
|
||||
this,
|
||||
_( "Saving the project to the new file format will overwrite existing files." ),
|
||||
_( "Project Save Warning" ),
|
||||
wxOK | wxCANCEL | wxCANCEL_DEFAULT | wxCENTER | wxICON_EXCLAMATION );
|
||||
dlg.ShowDetailedText( msg );
|
||||
dlg.ShowDetailedText( wxString::Format(
|
||||
_( "The following files will be overwritten:\n\n%s" ), msg ) );
|
||||
dlg.SetOKCancelLabels( wxMessageDialog::ButtonLabel( _( "Overwrite Files" ) ),
|
||||
wxMessageDialog::ButtonLabel( _( "Abort Project Save" ) ) );
|
||||
|
||||
|
|
|
@ -643,7 +643,7 @@ void SCH_SCREEN::UpdateSymbolLinks( REPORTER* aReporter )
|
|||
if( aReporter )
|
||||
{
|
||||
msg.Printf( _( "Symbol library '%s' not found and no fallback cache "
|
||||
"library avaiable. Unable to link library symbol." ),
|
||||
"library available. Unable to link library symbol." ),
|
||||
symbol->GetLibId().GetLibNickname().wx_str() );
|
||||
aReporter->ReportTail( msg, RPT_SEVERITY_WARNING );
|
||||
}
|
||||
|
|
|
@ -541,16 +541,16 @@ void ZONE_CONTAINER::GetMsgPanelInfo( EDA_DRAW_FRAME* aFrame, std::vector<MSG_PA
|
|||
AccumulateDescription( msg, _( "No vias" ) );
|
||||
|
||||
if( GetDoNotAllowTracks() )
|
||||
AccumulateDescription( msg, _("No tracks") );
|
||||
AccumulateDescription( msg, _( "No tracks" ) );
|
||||
|
||||
if( GetDoNotAllowPads() )
|
||||
AccumulateDescription( msg, _("No pads") );
|
||||
AccumulateDescription( msg, _( "No pads" ) );
|
||||
|
||||
if( GetDoNotAllowCopperPour() )
|
||||
AccumulateDescription( msg, _("No copper pours") );
|
||||
AccumulateDescription( msg, _( "No copper zones" ) );
|
||||
|
||||
if( GetDoNotAllowFootprints() )
|
||||
AccumulateDescription( msg, _("No footpints") );
|
||||
AccumulateDescription( msg, _( "No footprints" ) );
|
||||
|
||||
aList.emplace_back( MSG_PANEL_ITEM( _( "Keepout" ), msg, RED ) );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue