Grammar
This commit is contained in:
parent
2566547377
commit
9212197c26
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue