Fix duplicate pin check string
MessageTextFromValue returns text not floating point Fixes https://gitlab.com/kicad/code/kicad/-/issues/16758
This commit is contained in:
parent
c2989132ac
commit
ec82a1b4e2
|
@ -115,8 +115,8 @@ void CheckLibSymbol( LIB_SYMBOL* aSymbol, std::vector<wxString>& aMessages,
|
|||
{
|
||||
if( pin->GetUnit() == 0 || next->GetUnit() == 0 )
|
||||
{
|
||||
msg.Printf( _( "<b>Duplicate pin %s</b> %s at location <b>(%.3f, %.3f)</b>"
|
||||
" conflicts with pin %s%s at location <b>(%.3f, %.3f)</b>"
|
||||
msg.Printf( _( "<b>Duplicate pin %s</b> %s at location <b>(%s, %s)</b>"
|
||||
" conflicts with pin %s%s at location <b>(%s, %s)</b>"
|
||||
" of converted." ),
|
||||
next->GetNumber(),
|
||||
nextName,
|
||||
|
@ -129,8 +129,8 @@ void CheckLibSymbol( LIB_SYMBOL* aSymbol, std::vector<wxString>& aMessages,
|
|||
}
|
||||
else
|
||||
{
|
||||
msg.Printf( _( "<b>Duplicate pin %s</b> %s at location <b>(%.3f, %.3f)</b>"
|
||||
" conflicts with pin %s%s at location <b>(%.3f, %.3f)</b>"
|
||||
msg.Printf( _( "<b>Duplicate pin %s</b> %s at location <b>(%s, %s)</b>"
|
||||
" conflicts with pin %s%s at location <b>(%s, %s)</b>"
|
||||
" in units %s and %s of converted." ),
|
||||
next->GetNumber(),
|
||||
nextName,
|
||||
|
|
Loading…
Reference in New Issue