diff --git a/gerbview/gerber_draw_item.cpp b/gerbview/gerber_draw_item.cpp index 6d720a3cca..d1193230ca 100644 --- a/gerbview/gerber_draw_item.cpp +++ b/gerbview/gerber_draw_item.cpp @@ -714,7 +714,7 @@ void GERBER_DRAW_ITEM::GetMsgPanelInfo( EDA_DRAW_FRAME* aFrame, std::vector" ); + net_msg << _( "" ); else net_msg << UnescapeString( m_netAttributes.m_Netname ); } diff --git a/pcbnew/dialogs/dialog_copper_zones.cpp b/pcbnew/dialogs/dialog_copper_zones.cpp index d222480e05..6d1dd2ab20 100644 --- a/pcbnew/dialogs/dialog_copper_zones.cpp +++ b/pcbnew/dialogs/dialog_copper_zones.cpp @@ -394,7 +394,7 @@ void DIALOG_COPPER_ZONE::readNetInformation() m_netInfoItemList.reserve( netInfoList.GetNetCount() ); m_netNameToNetCode.clear(); - m_netNameToNetCode[wxT( "" )] = INVALID_NET_CODE; + m_netNameToNetCode[ _( "" ) ] = INVALID_NET_CODE; m_maxNetCode = INVALID_NET_CODE; @@ -803,7 +803,7 @@ wxArrayString DIALOG_COPPER_ZONE::buildListOfNetsToDisplay() } } - netNames.Insert( wxT( "" ), INVALID_NET_CODE ); + netNames.Insert( _( "" ), INVALID_NET_CODE ); return netNames; }