diff --git a/include/multivector.h b/include/multivector.h index 09ebb3b732..c619d76ffa 100644 --- a/include/multivector.h +++ b/include/multivector.h @@ -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. diff --git a/pcbnew/dialogs/dialog_track_via_size.cpp b/pcbnew/dialogs/dialog_track_via_size.cpp index f71991dc1d..ae25b78cb4 100644 --- a/pcbnew/dialogs/dialog_track_via_size.cpp +++ b/pcbnew/dialogs/dialog_track_via_size.cpp @@ -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; } diff --git a/pcbnew/import_gfx/graphics_importer.cpp b/pcbnew/import_gfx/graphics_importer.cpp index fa82a6ee00..6192df1f2e 100644 --- a/pcbnew/import_gfx/graphics_importer.cpp +++ b/pcbnew/import_gfx/graphics_importer.cpp @@ -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; } diff --git a/pcbnew/router/router_tool.cpp b/pcbnew/router/router_tool.cpp index d54dad0691..90313a2cdd 100644 --- a/pcbnew/router/router_tool.cpp +++ b/pcbnew/router/router_tool.cpp @@ -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;