From 6147e997ff0dc479ff6c2c372a0834e680f99db0 Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Mon, 14 Feb 2022 09:17:40 -0800 Subject: [PATCH] Format string for translation --- pcbnew/dialogs/dialog_board_reannotate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/dialogs/dialog_board_reannotate.cpp b/pcbnew/dialogs/dialog_board_reannotate.cpp index 931d4e9c93..01e04dce77 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 )