Formatting and message consistency.

This commit is contained in:
Jeff Young 2021-08-01 21:31:23 +01:00
parent e636fb32cf
commit d40712d9d6
2 changed files with 4 additions and 4 deletions

View File

@ -933,8 +933,8 @@ int SCH_EDITOR_CONTROL::AssignNetclass( const TOOL_EVENT& aEvent )
} }
else if( conn->IsBus() && conn->Members().size() == 0 ) else if( conn->IsBus() && conn->Members().size() == 0 )
{ {
m_frame->ShowInfoBarError( m_frame->ShowInfoBarError( _( "Bus must have at least one member to assign a netclass "
_( "Bus must have at least one member to assign a netclass to members." ) ); "to members." ) );
highlightNet( m_toolMgr, CLEAR ); highlightNet( m_toolMgr, CLEAR );
return 0; return 0;
} }

View File

@ -60,7 +60,7 @@ bool GERBVIEW_FRAME::Read_GERBER_File( const wxString& GERBER_FullFileName )
if( !success ) if( !success )
{ {
gerber_uptr.reset(); gerber_uptr.reset();
msg.Printf( _( "File \"%s\" not found" ), GERBER_FullFileName ); msg.Printf( _( "File '%s' not found" ), GERBER_FullFileName );
ShowInfoBarError( msg ); ShowInfoBarError( msg );
return false; return false;
} }
@ -72,7 +72,7 @@ bool GERBVIEW_FRAME::Read_GERBER_File( const wxString& GERBER_FullFileName )
// Display errors list // Display errors list
if( gerber->GetMessages().size() > 0 ) if( gerber->GetMessages().size() > 0 )
{ {
HTML_MESSAGE_BOX dlg( this, _("Errors") ); HTML_MESSAGE_BOX dlg( this, _( "Errors" ) );
dlg.ListSet( gerber->GetMessages() ); dlg.ListSet( gerber->GetMessages() );
dlg.ShowModal(); dlg.ShowModal();
} }