Resolve textvars in Pad Settings dialog.
This commit is contained in:
parent
8a5163a9f5
commit
6edcc9d38f
|
@ -465,9 +465,13 @@ void DIALOG_PAD_PROPERTIES::initValues()
|
||||||
|
|
||||||
if( footprint )
|
if( footprint )
|
||||||
{
|
{
|
||||||
wxString side = footprint->IsFlipped() ? _( "back side (mirrored)" ) : _( "front side" );
|
msg1.Printf( _("Footprint %s (%s),"),
|
||||||
msg1.Printf( _("Footprint %s (%s),"), footprint->GetReference(), footprint->GetValue() );
|
footprint->Reference().GetShownText(),
|
||||||
msg2.Printf( _("%s, rotated %.1f deg"), side, footprint->GetOrientation() / 10.0 );
|
footprint->Value().GetShownText() );
|
||||||
|
msg2.Printf( _("%s, rotated %.1f deg"),
|
||||||
|
footprint->IsFlipped() ? _( "back side (mirrored)" )
|
||||||
|
: _( "front side" ),
|
||||||
|
footprint->GetOrientation() / 10.0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
m_parentInfoLine1->SetLabel( msg1 );
|
m_parentInfoLine1->SetLabel( msg1 );
|
||||||
|
|
Loading…
Reference in New Issue