This commit is contained in:
Seth Hillbrand 2021-02-15 15:18:13 -08:00
parent 2566547377
commit 9212197c26
4 changed files with 7 additions and 7 deletions

View File

@ -51,9 +51,9 @@ public:
*/
static constexpr int UNDEFINED_TYPE = 0;
static_assert( FIRST_TYPE_VAL > UNDEFINED_TYPE,
"FIRST_TYPE_VAL has to be greater than UNDEFINED_TYPE" );
"FIRST_TYPE_VAL must be greater than UNDEFINED_TYPE" );
static_assert( FIRST_TYPE_VAL < LAST_TYPE_VAL,
"FIRST_TYPE_VAL has to be greater than LAST_TYPE_VAL" );
"FIRST_TYPE_VAL must be greater than LAST_TYPE_VAL" );
/**
* Helper for defining a list of library draw object pointers.

View File

@ -55,7 +55,7 @@ bool DIALOG_TRACK_VIA_SIZE::TransferDataFromWindow()
if( m_viaDrill.GetValue() >= m_viaDiameter.GetValue() )
{
DisplayError( GetParent(), _( "Via drill size has to be smaller than via diameter" ) );
DisplayError( GetParent(), _( "Via drill size must be smaller than via diameter" ) );
m_viaDrillText->SetFocus();
return false;
}

View File

@ -42,7 +42,7 @@ bool GRAPHICS_IMPORTER::Load( const wxString &aFileName )
if( !m_plugin )
{
wxASSERT_MSG( false, "Plugin has to be set before load." );
wxASSERT_MSG( false, "Plugin must be set before load." );
return false;
}
@ -55,7 +55,7 @@ bool GRAPHICS_IMPORTER::Import( double aScale )
{
if( !m_plugin )
{
wxASSERT_MSG( false, "Plugin has to be set before import." );
wxASSERT_MSG( false, "Plugin must be set before import." );
return false;
}

View File

@ -785,7 +785,7 @@ int ROUTER_TOOL::handleLayerSwitch( const TOOL_EVENT& aEvent, bool aForceVia )
infobar->RemoveAllButtons();
infobar->AddButton( button );
infobar->ShowMessageFor( _( "Blind/buried vias have to be enabled in "
infobar->ShowMessageFor( _( "Blind/buried vias must first be enabled in "
"Board Setup > Design Rules > Constraints." ),
10000, wxICON_ERROR );
return false;
@ -806,7 +806,7 @@ int ROUTER_TOOL::handleLayerSwitch( const TOOL_EVENT& aEvent, bool aForceVia )
infobar->RemoveAllButtons();
infobar->AddButton( button );
infobar->ShowMessageFor( _( "Microvias have to be enabled in "
infobar->ShowMessageFor( _( "Microvias must first be enabled in "
"Board Setup > Design Rules > Constraints." ),
10000, wxICON_ERROR );
return false;