fix minor I18N issues.
This commit is contained in:
parent
476558ece7
commit
0d8c6d43a8
|
@ -742,9 +742,9 @@ static struct EDA_ITEM_DESC
|
|||
EDA_ITEM_DESC()
|
||||
{
|
||||
ENUM_MAP<KICAD_T>::Instance()
|
||||
.Map( NOT_USED, _( "<not used>" ) )
|
||||
//.Map( EOT, _( "<EOT>" ) )
|
||||
.Map( TYPE_NOT_INIT, _( "<type not init>" ) ) // == EOT
|
||||
.Map( NOT_USED, wxT( "<not used>" ) )
|
||||
//.Map( EOT, wxT( "<EOT>" ) )
|
||||
.Map( TYPE_NOT_INIT, wxT( "<type not init>" ) ) // == EOT
|
||||
.Map( SCREEN_T, _( "Screen" ) )
|
||||
|
||||
.Map( PCB_MODULE_T, _( "Footprint" ) )
|
||||
|
@ -799,7 +799,7 @@ static struct EDA_ITEM_DESC
|
|||
.Map( GERBER_DRAW_ITEM_T, _( "Draw Item" ) )
|
||||
.Map( GERBER_IMAGE_T, _( "Image" ) )
|
||||
|
||||
.Map( MAX_STRUCT_TYPE_ID, _( "<max struct type>" ) );
|
||||
.Map( MAX_STRUCT_TYPE_ID, wxT( "<max struct type>" ) );
|
||||
|
||||
PROPERTY_MANAGER& propMgr = PROPERTY_MANAGER::Instance();
|
||||
REGISTER_TYPE( EDA_ITEM );
|
||||
|
|
|
@ -144,7 +144,7 @@ void DRC::doTrackDrc( BOARD_COMMIT& aCommit, TRACK* aRefSeg, TRACKS::iterator aS
|
|||
{
|
||||
DRC_ITEM* drcItem = DRC_ITEM::Create( DRCE_VIA_ANNULUS );
|
||||
|
||||
m_msg.Printf( _( "Via annulus too small (%s %s; actual %s)" ),
|
||||
m_msg.Printf( _( "Via annulus too small (%s %s; actual %s)" ),
|
||||
m_clearanceSource,
|
||||
MessageTextFromValue( userUnits(), minAnnulus, true ),
|
||||
MessageTextFromValue( userUnits(), viaAnnulus, true ) );
|
||||
|
@ -560,7 +560,9 @@ void DRC::doTrackDrc( BOARD_COMMIT& aCommit, TRACK* aRefSeg, TRACKS::iterator aS
|
|||
dummyEdge.SetLayer( Edge_Cuts );
|
||||
|
||||
if( aRefSeg->GetRuleClearance( &dummyEdge, &minClearance, &m_clearanceSource ) )
|
||||
{
|
||||
/* minClearance and m_clearanceSource set in GetRuleClearance() */;
|
||||
}
|
||||
|
||||
SEG testSeg( aRefSeg->GetStart(), aRefSeg->GetEnd() );
|
||||
int halfWidth = refSegWidth / 2;
|
||||
|
|
Loading…
Reference in New Issue