diff --git a/eeschema/sch_line.cpp b/eeschema/sch_line.cpp index 684a84c8cf..8bcec32ca3 100644 --- a/eeschema/sch_line.cpp +++ b/eeschema/sch_line.cpp @@ -614,26 +614,26 @@ wxString SCH_LINE::GetSelectMenuText( EDA_UNITS_T aUnits ) const wxString txtfmt, orient; if( m_start.x == m_end.x ) - orient = _( "Vertical " ); + orient = _( "Vertical" ); else if( m_start.y == m_end.y ) - orient = _( "Horizontal " ); + orient = _( "Horizontal" ); switch( m_Layer ) { case LAYER_NOTES: - txtfmt = _( "%sGraphic Line from (%s, %s) to (%s, %s)" ); + txtfmt = _( "%s Graphic Line from (%s, %s) to (%s, %s)" ); break; case LAYER_WIRE: - txtfmt = _( "%sWire from (%s, %s) to (%s, %s)" ); + txtfmt = _( "%s Wire from (%s, %s) to (%s, %s)" ); break; case LAYER_BUS: - txtfmt = _( "%sBus from (%s, %s) to (%s, %s)" ); + txtfmt = _( "%s Bus from (%s, %s) to (%s, %s)" ); break; default: - txtfmt = _( "%sLine on Unknown Layer from (%s, %s) to (%s, %s)" ); + txtfmt = _( "%s Line on Unknown Layer from (%s, %s) to (%s, %s)" ); } return wxString::Format( txtfmt, diff --git a/pcbnew/convert_drawsegment_list_to_polygon.cpp b/pcbnew/convert_drawsegment_list_to_polygon.cpp index 57100f8c7d..d39904cb30 100644 --- a/pcbnew/convert_drawsegment_list_to_polygon.cpp +++ b/pcbnew/convert_drawsegment_list_to_polygon.cpp @@ -409,8 +409,8 @@ bool ConvertOutlineToPolygon( std::vector& aSegList, SHAPE_POLY_SE default: if( aErrorText ) { - msg.Printf( _( "Unsupported DRAWSEGMENT type %s." ), - GetChars( BOARD_ITEM::ShowShape( graphic->GetShape() ) ) ); + msg.Printf( "Unsupported DRAWSEGMENT type %s.", + BOARD_ITEM::ShowShape( graphic->GetShape() ) ); *aErrorText << msg << "\n"; } @@ -588,7 +588,7 @@ bool ConvertOutlineToPolygon( std::vector& aSegList, SHAPE_POLY_SE default: if( aErrorText ) { - msg.Printf( _( "Unsupported DRAWSEGMENT type %s." ), + msg.Printf( "Unsupported DRAWSEGMENT type %s.", BOARD_ITEM::ShowShape( graphic->GetShape() ) ); *aErrorText << msg << "\n";