Replace "module" by "footprint" in a few messages.
This commit is contained in:
parent
ebdc1e4b17
commit
21d700facc
|
@ -1442,7 +1442,7 @@ void PCB_EDIT_FRAME::OnSelectTool( wxCommandEvent& aEvent )
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case ID_PCB_MODULE_BUTT:
|
case ID_PCB_MODULE_BUTT:
|
||||||
SetToolID( id, wxCURSOR_PENCIL, _( "Add module" ) );
|
SetToolID( id, wxCURSOR_PENCIL, _( "Add footprint" ) );
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case ID_PCB_ZONES_BUTT:
|
case ID_PCB_ZONES_BUTT:
|
||||||
|
@ -1489,7 +1489,7 @@ void PCB_EDIT_FRAME::OnSelectTool( wxCommandEvent& aEvent )
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case ID_COMPONENT_BUTT:
|
case ID_COMPONENT_BUTT:
|
||||||
SetToolID( id, wxCURSOR_HAND, _( "Add module" ) );
|
SetToolID( id, wxCURSOR_HAND, _( "Add footprint" ) );
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case ID_PCB_DIMENSION_BUTT:
|
case ID_PCB_DIMENSION_BUTT:
|
||||||
|
|
|
@ -231,7 +231,7 @@ bool DIALOG_GEN_MODULE_POSITION::CreateFiles()
|
||||||
ForceAllSmd(), 2 );
|
ForceAllSmd(), 2 );
|
||||||
if( fpcount == 0)
|
if( fpcount == 0)
|
||||||
{
|
{
|
||||||
wxMessageBox( _( "No modules for automated placement." ) );
|
wxMessageBox( _( "No footprint for automated placement." ) );
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1454,7 +1454,7 @@ void LEGACY_PLUGIN::loadPAD( MODULE* aModule )
|
||||||
case 'O': padshape = PAD_SHAPE_OVAL; break;
|
case 'O': padshape = PAD_SHAPE_OVAL; break;
|
||||||
case 'T': padshape = PAD_SHAPE_TRAPEZOID; break;
|
case 'T': padshape = PAD_SHAPE_TRAPEZOID; break;
|
||||||
default:
|
default:
|
||||||
m_error.Printf( _( "Unknown padshape '%c=0x%02x' on line: %d of module: '%s'" ),
|
m_error.Printf( _( "Unknown padshape '%c=0x%02x' on line: %d of footprint: '%s'" ),
|
||||||
padchar,
|
padchar,
|
||||||
padchar,
|
padchar,
|
||||||
m_reader->LineNumber(),
|
m_reader->LineNumber(),
|
||||||
|
|
|
@ -60,7 +60,7 @@
|
||||||
|
|
||||||
#define FMT_OK_OVERWRITE _( "Library '%s' exists, OK to replace ?" )
|
#define FMT_OK_OVERWRITE _( "Library '%s' exists, OK to replace ?" )
|
||||||
#define FMT_CREATE_LIB _( "Create New Library Folder (the .pretty folder is the library)" )
|
#define FMT_CREATE_LIB _( "Create New Library Folder (the .pretty folder is the library)" )
|
||||||
#define FMT_OK_DELETE _( "OK to delete module %s in library '%s'" )
|
#define FMT_OK_DELETE _( "OK to delete footprint %s in library '%s'" )
|
||||||
#define FMT_IMPORT_MODULE _( "Import Footprint" )
|
#define FMT_IMPORT_MODULE _( "Import Footprint" )
|
||||||
#define FMT_FILE_NOT_FOUND _( "File '%s' not found" )
|
#define FMT_FILE_NOT_FOUND _( "File '%s' not found" )
|
||||||
#define FMT_NOT_MODULE _( "Not a footprint file" )
|
#define FMT_NOT_MODULE _( "Not a footprint file" )
|
||||||
|
|
|
@ -493,11 +493,11 @@ MODULE* FOOTPRINT_EDIT_FRAME::SelectFootprint( BOARD* aPcb )
|
||||||
for( ; module; module = module->Next() )
|
for( ; module; module = module->Next() )
|
||||||
listnames.Add( module->GetReference() );
|
listnames.Add( module->GetReference() );
|
||||||
|
|
||||||
msg.Printf( _( "Modules [%u items]" ), (unsigned) listnames.GetCount() );
|
msg.Printf( _( "Footprints [%u items]" ), (unsigned) listnames.GetCount() );
|
||||||
|
|
||||||
wxArrayString headers;
|
wxArrayString headers;
|
||||||
|
|
||||||
headers.Add( _( "Module" ) );
|
headers.Add( _( "Footprint" ) );
|
||||||
|
|
||||||
std::vector<wxArrayString> itemsToDisplay;
|
std::vector<wxArrayString> itemsToDisplay;
|
||||||
|
|
||||||
|
|
|
@ -119,7 +119,7 @@ void FOOTPRINT_EDIT_FRAME::ReCreateMenuBar()
|
||||||
// Save module in new lib
|
// Save module in new lib
|
||||||
AddMenuItem( fileMenu, ID_MODEDIT_CREATE_NEW_LIB_AND_SAVE_CURRENT_PART,
|
AddMenuItem( fileMenu, ID_MODEDIT_CREATE_NEW_LIB_AND_SAVE_CURRENT_PART,
|
||||||
_( "S&ave Footprint in New Library" ),
|
_( "S&ave Footprint in New Library" ),
|
||||||
_( "Create a new library and save current module into it" ),
|
_( "Create a new library and save current footprint into it" ),
|
||||||
KiBitmap( new_library_xpm ) );
|
KiBitmap( new_library_xpm ) );
|
||||||
|
|
||||||
// Export module
|
// Export module
|
||||||
|
|
|
@ -1905,7 +1905,7 @@ TEXTE_MODULE* PCB_PARSER::parseTEXTE_MODULE() throw( IO_ERROR, PARSE_ERROR )
|
||||||
break; // Default type is user text.
|
break; // Default type is user text.
|
||||||
|
|
||||||
default:
|
default:
|
||||||
THROW_IO_ERROR( wxString::Format( _( "cannot handle module text type %s" ),
|
THROW_IO_ERROR( wxString::Format( _( "cannot handle footprint text type %s" ),
|
||||||
GetChars( FromUTF8() ) ) );
|
GetChars( FromUTF8() ) ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -113,7 +113,7 @@ void PlotSilkScreen( BOARD *aBoard, PLOTTER* aPlotter, LSET aLayerMask,
|
||||||
{
|
{
|
||||||
if( ! itemplotter.PlotAllTextsModule( module ) )
|
if( ! itemplotter.PlotAllTextsModule( module ) )
|
||||||
{
|
{
|
||||||
wxLogMessage( _( "Your BOARD has a bad layer number for module %s" ),
|
wxLogMessage( _( "Your BOARD has a bad layer number for footprint %s" ),
|
||||||
GetChars( module->GetReference() ) );
|
GetChars( module->GetReference() ) );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -298,7 +298,7 @@ void PlotStandardLayer( BOARD *aBoard, PLOTTER* aPlotter,
|
||||||
{
|
{
|
||||||
if( ! itemplotter.PlotAllTextsModule( module ) )
|
if( ! itemplotter.PlotAllTextsModule( module ) )
|
||||||
{
|
{
|
||||||
wxLogMessage( _( "Your BOARD has a bad layer number for module %s" ),
|
wxLogMessage( _( "Your BOARD has a bad layer number for footprint %s" ),
|
||||||
GetChars( module->GetReference() ) );
|
GetChars( module->GetReference() ) );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -385,7 +385,7 @@ TOOL_ACTION COMMON_ACTIONS::placeTarget( "pcbnew.EditorControl.placeTarget",
|
||||||
|
|
||||||
TOOL_ACTION COMMON_ACTIONS::placeModule( "pcbnew.EditorControl.placeModule",
|
TOOL_ACTION COMMON_ACTIONS::placeModule( "pcbnew.EditorControl.placeModule",
|
||||||
AS_GLOBAL, TOOL_ACTION::LegacyHotKey( HK_ADD_MODULE ),
|
AS_GLOBAL, TOOL_ACTION::LegacyHotKey( HK_ADD_MODULE ),
|
||||||
_( "Add modules" ), _( "Add modules" ), NULL, AF_ACTIVATE );
|
_( "Add footprints" ), _( "Add footprints" ), NULL, AF_ACTIVATE );
|
||||||
|
|
||||||
TOOL_ACTION COMMON_ACTIONS::drillOrigin( "pcbnew.EditorControl.drillOrigin",
|
TOOL_ACTION COMMON_ACTIONS::drillOrigin( "pcbnew.EditorControl.drillOrigin",
|
||||||
AS_GLOBAL, 0,
|
AS_GLOBAL, 0,
|
||||||
|
|
|
@ -219,7 +219,7 @@ int PCB_EDITOR_CONTROL::PlaceModule( const TOOL_EVENT& aEvent )
|
||||||
controls->SetSnapping( true );
|
controls->SetSnapping( true );
|
||||||
|
|
||||||
Activate();
|
Activate();
|
||||||
m_frame->SetToolID( ID_PCB_MODULE_BUTT, wxCURSOR_HAND, _( "Add module" ) );
|
m_frame->SetToolID( ID_PCB_MODULE_BUTT, wxCURSOR_HAND, _( "Add footprint" ) );
|
||||||
|
|
||||||
// Main loop: keep receiving events
|
// Main loop: keep receiving events
|
||||||
while( OPT_TOOL_EVENT evt = Wait() )
|
while( OPT_TOOL_EVENT evt = Wait() )
|
||||||
|
|
Loading…
Reference in New Issue