← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH] Rename instances of "module" to "footprint" for consistency

 

Patch applied to product branch r5240.

Thanks,

Wayne

On 10/29/2014 6:56 PM, Marco Ciampa wrote:
> Another patch:
> 
> === modified file 'pcbnew/class_pcb_layer_widget.cpp'
> --- pcbnew/class_pcb_layer_widget.cpp	2014-09-14 15:34:37 +0000
> +++ pcbnew/class_pcb_layer_widget.cpp	2014-10-29 22:52:43 +0000
> @@ -73,8 +73,8 @@
>      RR( _( "Anchors" ),         ANCHOR_VISIBLE,         WHITE,      _( "Show footprint and text origins as a cross" ) ),
>      RR( _( "Grid" ),            GRID_VISIBLE,           WHITE,      _( "Show the (x,y) grid dots" ) ),
>      RR( _( "No-Connects" ),     NO_CONNECTS_VISIBLE,    UNSPECIFIED_COLOR,  _( "Show a marker on pads which have no net connected" ) ),
> -    RR( _( "Modules Front" ),   MOD_FR_VISIBLE,         UNSPECIFIED_COLOR,  _( "Show footprints that are on board's front") ),
> -    RR( _( "Modules Back" ),    MOD_BK_VISIBLE,         UNSPECIFIED_COLOR,  _( "Show footprints that are on board's back") ),
> +    RR( _( "Footprints Front" ),   MOD_FR_VISIBLE,         UNSPECIFIED_COLOR,  _( "Show footprints that are on board's front") ),
> +    RR( _( "Footprints Back" ),    MOD_BK_VISIBLE,         UNSPECIFIED_COLOR,  _( "Show footprints that are on board's back") ),
>      RR( _( "Values" ),          MOD_VALUES_VISIBLE,     UNSPECIFIED_COLOR,  _( "Show footprint's values") ),
>      RR( _( "References" ),      MOD_REFERENCES_VISIBLE, UNSPECIFIED_COLOR,  _( "Show footprint's references") ),
>  };
> 
> === modified file 'pcbnew/menubar_modedit.cpp'
> --- pcbnew/menubar_modedit.cpp	2014-10-15 11:40:38 +0000
> +++ pcbnew/menubar_modedit.cpp	2014-10-29 22:52:56 +0000
> @@ -273,7 +273,7 @@
>      // Anchor
>      AddMenuItem( placeMenu, ID_MODEDIT_ANCHOR_TOOL,
>                   _( "A&nchor" ),
> -                 _( "Place footprint module reference anchor" ),
> +                 _( "Place footprint reference anchor" ),
>                   KiBitmap( anchor_xpm ) );
>  
>      // Menu Help:
> 
> === modified file 'pcbnew/muonde.cpp'
> --- pcbnew/muonde.cpp	2014-08-24 07:05:07 +0000
> +++ pcbnew/muonde.cpp	2014-10-29 22:52:53 +0000
> @@ -1075,7 +1075,7 @@
>  
>      if( pad == NULL )
>      {
> -        DisplayError( this, _( "No pad for this module" ) );
> +        DisplayError( this, _( "No pad for this footprint" ) );
>          return;
>      }
>  
> @@ -1083,7 +1083,7 @@
>  
>      if( next_pad == NULL )
>      {
> -        DisplayError( this, _( "Only one pad for this module" ) );
> +        DisplayError( this, _( "Only one pad for this footprint" ) );
>          return;
>      }
>  
> 



References