diff --git a/eeschema/drc_erc_item.cpp b/eeschema/drc_erc_item.cpp index 00d74957c5..1bd8a470ea 100644 --- a/eeschema/drc_erc_item.cpp +++ b/eeschema/drc_erc_item.cpp @@ -71,7 +71,7 @@ wxString DRC_ITEM::GetErrorText() const wxString DRC_ITEM::ShowCoord( EDA_UNITS_T aUnits, const wxPoint& aPos ) { - return wxString::Format( _( "@(%s, %s)" ), + return wxString::Format( "@(%s, %s)", MessageTextFromValue( aUnits, aPos.x ), MessageTextFromValue( aUnits, aPos.y ) ); } @@ -94,7 +94,7 @@ wxString DRC_ITEM::ShowHtml( EDA_UNITS_T aUnits ) const if( m_noCoordinate ) { // omit the coordinate, a NETCLASS has no location - return wxString::Format( _( "

%s
   %s" ), errText, mainText ); + return wxString::Format( "

%s
   %s", errText, mainText ); } else if( m_hasSecondItem ) { @@ -104,7 +104,7 @@ wxString DRC_ITEM::ShowHtml( EDA_UNITS_T aUnits ) const // an html fragment for the entire message in the listbox. feel free // to add color if you want: - return wxString::Format( _( "

%s
   %s: %s
   %s: %s" ), + return wxString::Format( "

%s
   %s: %s
   %s: %s", errText, hrefColour.GetAsString( wxC2S_HTML_SYNTAX ), ShowCoord( aUnits, m_MainPosition ), @@ -114,7 +114,7 @@ wxString DRC_ITEM::ShowHtml( EDA_UNITS_T aUnits ) const } else { - return wxString::Format( _( "

%s
   %s: %s" ), + return wxString::Format( "

%s
   %s: %s", errText, hrefColour.GetAsString( wxC2S_HTML_SYNTAX ), ShowCoord( aUnits, m_MainPosition ), diff --git a/pcbnew/class_drawsegment.cpp b/pcbnew/class_drawsegment.cpp index e816ec3ad7..15f10454d2 100644 --- a/pcbnew/class_drawsegment.cpp +++ b/pcbnew/class_drawsegment.cpp @@ -482,10 +482,10 @@ void DRAWSEGMENT::GetMsgPanelInfo( EDA_UNITS_T aUnits, std::vector< MSG_PANEL_IT } } - wxString start = wxString::Format( _( "@(%s, %s)" ), + wxString start = wxString::Format( "@(%s, %s)", MessageTextFromValue( aUnits, GetStart().x ), MessageTextFromValue( aUnits, GetStart().y ) ); - wxString end = wxString::Format( _( "@(%s, %s)" ), + wxString end = wxString::Format( "@(%s, %s)", MessageTextFromValue( aUnits, GetEnd().x ), MessageTextFromValue( aUnits, GetEnd().y ) );