Format string for translation

This commit is contained in:
Seth Hillbrand 2022-02-14 09:17:40 -08:00
parent e88bef0023
commit 6147e997ff
1 changed files with 1 additions and 1 deletions

View File

@ -799,7 +799,7 @@ bool DIALOG_BOARD_REANNOTATE::BuildFootprintList( std::vector<RefDesInfo>& aBadR
{ {
if( m_changeArray[i].NewRefDes == m_changeArray[j].NewRefDes ) 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 ); RPT_SEVERITY_ERROR );
if( errorcount++ > MAXERROR ) if( errorcount++ > MAXERROR )