Fix a few minor I18n issues.

Avoid translation of debug messages.
This commit is contained in:
jean-pierre charras 2018-11-11 10:46:26 +01:00
parent 7783290161
commit 0d3637c2ee
2 changed files with 9 additions and 9 deletions

View File

@ -409,8 +409,8 @@ bool ConvertOutlineToPolygon( std::vector<DRAWSEGMENT*>& 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<DRAWSEGMENT*>& 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";