Loading pcbnew/autorouter/autorout.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -95,7 +95,7 @@ void PCB_EDIT_FRAME::Autoroute( wxDC* DC, int mode ) Module = (MODULE*) GetScreen()->GetCurItem(); Module = (MODULE*) GetScreen()->GetCurItem(); if( (Module == NULL) || (Module->Type() != PCB_MODULE_T) ) if( (Module == NULL) || (Module->Type() != PCB_MODULE_T) ) { { wxMessageBox( _( "Module not selected" ) ); wxMessageBox( _( "Footprint not selected" ) ); return; return; } } break; break; Loading pcbnew/autorouter/move_and_route_event_functions.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -136,7 +136,7 @@ void PCB_EDIT_FRAME::OnPlaceOrRouteFootprints( wxCommandEvent& event ) case ID_POPUP_PCB_SPREAD_NEW_MODULES: case ID_POPUP_PCB_SPREAD_NEW_MODULES: if( GetBoard()->m_Modules == NULL ) if( GetBoard()->m_Modules == NULL ) { { DisplayError( this, _( "No modules found!" ) ); DisplayError( this, _( "No footprint found!" ) ); return; return; } } Loading pcbnew/class_text_mod.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -384,7 +384,7 @@ void TEXTE_MODULE::GetMsgPanelInfo( std::vector< MSG_PANEL_ITEM >& aList ) }; }; Line = module->GetReference(); Line = module->GetReference(); aList.push_back( MSG_PANEL_ITEM( _( "Module" ), Line, DARKCYAN ) ); aList.push_back( MSG_PANEL_ITEM( _( "Footprint" ), Line, DARKCYAN ) ); Line = GetShownText(); Line = GetShownText(); aList.push_back( MSG_PANEL_ITEM( _( "Text" ), Line, BROWN ) ); aList.push_back( MSG_PANEL_ITEM( _( "Text" ), Line, BROWN ) ); Loading pcbnew/dialogs/dialog_netlist.cpp +4 −4 Original line number Original line Diff line number Diff line Loading @@ -209,7 +209,7 @@ void DIALOG_NETLIST::OnTestFootprintsClick( wxCommandEvent& event ) { { if( m_parent->GetBoard()->m_Modules == NULL ) if( m_parent->GetBoard()->m_Modules == NULL ) { { DisplayInfoMessage( this, _( "No modules" ) ); DisplayInfoMessage( this, _( "No footprints" ) ); return; return; } } Loading Loading @@ -268,7 +268,7 @@ void DIALOG_NETLIST::OnTestFootprintsClick( wxCommandEvent& event ) // Search for missing modules on board. // Search for missing modules on board. if( missing.size() == 0 ) if( missing.size() == 0 ) list << wxT("<p><b>") << _( "No missing modules." ) << wxT("</b></p>"); list << wxT("<p><b>") << _( "No missing footprints." ) << wxT("</b></p>"); else else { { list << wxT("<p><b>") << _( "Missing:" ) << wxT("</b></p>"); list << wxT("<p><b>") << _( "Missing:" ) << wxT("</b></p>"); Loading @@ -287,7 +287,7 @@ void DIALOG_NETLIST::OnTestFootprintsClick( wxCommandEvent& event ) // Search for modules found on board but not in net list. // Search for modules found on board but not in net list. if( notInNetlist.size() == 0 ) if( notInNetlist.size() == 0 ) list << wxT( "<p><b>" ) << _( "No extra modules." ) << wxT( "</b></p>" ); list << wxT( "<p><b>" ) << _( "No extra footprints." ) << wxT( "</b></p>" ); else else { { list << wxT( "<p><b>" ) << _( "Not in Netlist:" ) << wxT( "</b></p>" ); list << wxT( "<p><b>" ) << _( "Not in Netlist:" ) << wxT( "</b></p>" ); Loading Loading @@ -319,7 +319,7 @@ void DIALOG_NETLIST::OnTestFootprintsClick( wxCommandEvent& event ) << wxT( "</b></p>" ); << wxT( "</b></p>" ); } } HTML_MESSAGE_BOX dlg( this, _( "Check Modules" ) ); HTML_MESSAGE_BOX dlg( this, _( "Check footprints" ) ); dlg.AddHTML_Text( list ); dlg.AddHTML_Text( list ); dlg.ShowModal(); dlg.ShowModal(); } } Loading pcbnew/exporters/gen_modules_placefile.cpp +2 −2 Original line number Original line Diff line number Diff line Loading @@ -554,9 +554,9 @@ void PCB_EDIT_FRAME::GenFootprintsReport( wxCommandEvent& event ) wxString msg; wxString msg; if( success ) if( success ) { { msg.Printf( _( "Module report file created:\n'%s'" ), msg.Printf( _( "Footprint report file created:\n'%s'" ), GetChars( fn.GetFullPath() ) ); GetChars( fn.GetFullPath() ) ); wxMessageBox( msg, _( "Module Report" ), wxICON_INFORMATION ); wxMessageBox( msg, _( "Footprint Report" ), wxICON_INFORMATION ); } } else else Loading Loading
pcbnew/autorouter/autorout.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -95,7 +95,7 @@ void PCB_EDIT_FRAME::Autoroute( wxDC* DC, int mode ) Module = (MODULE*) GetScreen()->GetCurItem(); Module = (MODULE*) GetScreen()->GetCurItem(); if( (Module == NULL) || (Module->Type() != PCB_MODULE_T) ) if( (Module == NULL) || (Module->Type() != PCB_MODULE_T) ) { { wxMessageBox( _( "Module not selected" ) ); wxMessageBox( _( "Footprint not selected" ) ); return; return; } } break; break; Loading
pcbnew/autorouter/move_and_route_event_functions.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -136,7 +136,7 @@ void PCB_EDIT_FRAME::OnPlaceOrRouteFootprints( wxCommandEvent& event ) case ID_POPUP_PCB_SPREAD_NEW_MODULES: case ID_POPUP_PCB_SPREAD_NEW_MODULES: if( GetBoard()->m_Modules == NULL ) if( GetBoard()->m_Modules == NULL ) { { DisplayError( this, _( "No modules found!" ) ); DisplayError( this, _( "No footprint found!" ) ); return; return; } } Loading
pcbnew/class_text_mod.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -384,7 +384,7 @@ void TEXTE_MODULE::GetMsgPanelInfo( std::vector< MSG_PANEL_ITEM >& aList ) }; }; Line = module->GetReference(); Line = module->GetReference(); aList.push_back( MSG_PANEL_ITEM( _( "Module" ), Line, DARKCYAN ) ); aList.push_back( MSG_PANEL_ITEM( _( "Footprint" ), Line, DARKCYAN ) ); Line = GetShownText(); Line = GetShownText(); aList.push_back( MSG_PANEL_ITEM( _( "Text" ), Line, BROWN ) ); aList.push_back( MSG_PANEL_ITEM( _( "Text" ), Line, BROWN ) ); Loading
pcbnew/dialogs/dialog_netlist.cpp +4 −4 Original line number Original line Diff line number Diff line Loading @@ -209,7 +209,7 @@ void DIALOG_NETLIST::OnTestFootprintsClick( wxCommandEvent& event ) { { if( m_parent->GetBoard()->m_Modules == NULL ) if( m_parent->GetBoard()->m_Modules == NULL ) { { DisplayInfoMessage( this, _( "No modules" ) ); DisplayInfoMessage( this, _( "No footprints" ) ); return; return; } } Loading Loading @@ -268,7 +268,7 @@ void DIALOG_NETLIST::OnTestFootprintsClick( wxCommandEvent& event ) // Search for missing modules on board. // Search for missing modules on board. if( missing.size() == 0 ) if( missing.size() == 0 ) list << wxT("<p><b>") << _( "No missing modules." ) << wxT("</b></p>"); list << wxT("<p><b>") << _( "No missing footprints." ) << wxT("</b></p>"); else else { { list << wxT("<p><b>") << _( "Missing:" ) << wxT("</b></p>"); list << wxT("<p><b>") << _( "Missing:" ) << wxT("</b></p>"); Loading @@ -287,7 +287,7 @@ void DIALOG_NETLIST::OnTestFootprintsClick( wxCommandEvent& event ) // Search for modules found on board but not in net list. // Search for modules found on board but not in net list. if( notInNetlist.size() == 0 ) if( notInNetlist.size() == 0 ) list << wxT( "<p><b>" ) << _( "No extra modules." ) << wxT( "</b></p>" ); list << wxT( "<p><b>" ) << _( "No extra footprints." ) << wxT( "</b></p>" ); else else { { list << wxT( "<p><b>" ) << _( "Not in Netlist:" ) << wxT( "</b></p>" ); list << wxT( "<p><b>" ) << _( "Not in Netlist:" ) << wxT( "</b></p>" ); Loading Loading @@ -319,7 +319,7 @@ void DIALOG_NETLIST::OnTestFootprintsClick( wxCommandEvent& event ) << wxT( "</b></p>" ); << wxT( "</b></p>" ); } } HTML_MESSAGE_BOX dlg( this, _( "Check Modules" ) ); HTML_MESSAGE_BOX dlg( this, _( "Check footprints" ) ); dlg.AddHTML_Text( list ); dlg.AddHTML_Text( list ); dlg.ShowModal(); dlg.ShowModal(); } } Loading
pcbnew/exporters/gen_modules_placefile.cpp +2 −2 Original line number Original line Diff line number Diff line Loading @@ -554,9 +554,9 @@ void PCB_EDIT_FRAME::GenFootprintsReport( wxCommandEvent& event ) wxString msg; wxString msg; if( success ) if( success ) { { msg.Printf( _( "Module report file created:\n'%s'" ), msg.Printf( _( "Footprint report file created:\n'%s'" ), GetChars( fn.GetFullPath() ) ); GetChars( fn.GetFullPath() ) ); wxMessageBox( msg, _( "Module Report" ), wxICON_INFORMATION ); wxMessageBox( msg, _( "Footprint Report" ), wxICON_INFORMATION ); } } else else Loading