diff --git a/pcbnew/dialogs/dialog_board_reannotate.cpp b/pcbnew/dialogs/dialog_board_reannotate.cpp index 0a8a79bbf7..4f833fa67e 100644 --- a/pcbnew/dialogs/dialog_board_reannotate.cpp +++ b/pcbnew/dialogs/dialog_board_reannotate.cpp @@ -799,7 +799,7 @@ bool DIALOG_BOARD_REANNOTATE::BuildFootprintList( std::vector& aBadR { if( m_changeArray[i].NewRefDes == m_changeArray[j].NewRefDes ) { - ShowReport( _( "Duplicate instances of " ) + m_changeArray[j].NewRefDes, + ShowReport( wxString::Format( _( "Duplicate instances of %s" ), m_changeArray[j].NewRefDes ), RPT_SEVERITY_ERROR ); if( errorcount++ > MAXERROR )