Uniformly translate "<no net>" message.

This commit is contained in:
Jeff Young 2022-12-15 13:59:25 +00:00
parent af71c2d877
commit 366cad1f01
2 changed files with 3 additions and 3 deletions

View File

@ -714,7 +714,7 @@ void GERBER_DRAW_ITEM::GetMsgPanelInfo( EDA_DRAW_FRAME* aFrame, std::vector<MSG_
net_msg << wxS( " " ); net_msg << wxS( " " );
if( m_netAttributes.m_Netname.IsEmpty() ) if( m_netAttributes.m_Netname.IsEmpty() )
net_msg << wxT( "<no net>" ); net_msg << _( "<no net>" );
else else
net_msg << UnescapeString( m_netAttributes.m_Netname ); net_msg << UnescapeString( m_netAttributes.m_Netname );
} }

View File

@ -394,7 +394,7 @@ void DIALOG_COPPER_ZONE::readNetInformation()
m_netInfoItemList.reserve( netInfoList.GetNetCount() ); m_netInfoItemList.reserve( netInfoList.GetNetCount() );
m_netNameToNetCode.clear(); m_netNameToNetCode.clear();
m_netNameToNetCode[wxT( "<no net>" )] = INVALID_NET_CODE; m_netNameToNetCode[ _( "<no net>" ) ] = INVALID_NET_CODE;
m_maxNetCode = INVALID_NET_CODE; m_maxNetCode = INVALID_NET_CODE;
@ -803,7 +803,7 @@ wxArrayString DIALOG_COPPER_ZONE::buildListOfNetsToDisplay()
} }
} }
netNames.Insert( wxT( "<no net>" ), INVALID_NET_CODE ); netNames.Insert( _( "<no net>" ), INVALID_NET_CODE );
return netNames; return netNames;
} }