Change Loss Tg to Loss Tan.
We'll need Tg in the future for glass transition temp. Fixes https://gitlab.com/kicad/code/kicad/issues/4734
This commit is contained in:
parent
0eb0fa64bb
commit
2ac03e2cdb
|
@ -184,14 +184,17 @@ void PANEL_SETUP_BOARD_STACKUP::onAdjustDielectricThickness( wxCommandEvent& eve
|
|||
wxString title;
|
||||
|
||||
if( min_thickness == 0 )
|
||||
title.Printf( _( "Enter board thickness in %s" ),
|
||||
GetAbbreviatedUnitsLabel( m_frame->GetUserUnits() ) );
|
||||
{
|
||||
title.Printf( _( "Enter board thickness in %s:" ),
|
||||
GetAbbreviatedUnitsLabel( m_frame->GetUserUnits() ).Trim( false ) );
|
||||
}
|
||||
else
|
||||
title.Printf( _( "Enter expected board thickness in %s (min value %s)" ),
|
||||
GetAbbreviatedUnitsLabel( m_frame->GetUserUnits() ),
|
||||
StringFromValue( m_frame->GetUserUnits(), min_thickness ) );
|
||||
{
|
||||
title.Printf( _( "Enter expected board thickness (min value %s):" ),
|
||||
StringFromValue( m_frame->GetUserUnits(), min_thickness, true ) );
|
||||
}
|
||||
|
||||
wxTextEntryDialog dlg( this, title, _( "Adjust not locked dielectric thickness layers" ) );
|
||||
wxTextEntryDialog dlg( this, title, _( "Adjust Unlocked Dielectric Layers" ) );
|
||||
|
||||
if( dlg.ShowModal() != wxID_OK )
|
||||
return;
|
||||
|
@ -202,9 +205,8 @@ void PANEL_SETUP_BOARD_STACKUP::onAdjustDielectricThickness( wxCommandEvent& eve
|
|||
|
||||
if( iu_thickness <= min_thickness )
|
||||
{
|
||||
wxMessageBox( wxString::Format( _("Too small value (min value %s %s). Aborted" ),
|
||||
StringFromValue( m_frame->GetUserUnits(), min_thickness ),
|
||||
GetAbbreviatedUnitsLabel( m_frame->GetUserUnits() ) ) );
|
||||
wxMessageBox( wxString::Format( _("Value too small (min value %s)." ),
|
||||
StringFromValue( m_frame->GetUserUnits(), min_thickness, true ) ) );
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -108,7 +108,7 @@ PANEL_SETUP_BOARD_STACKUP_BASE::PANEL_SETUP_BOARD_STACKUP_BASE( wxWindow* parent
|
|||
|
||||
m_fgGridSizer->Add( m_staticTextEpsilonR, 0, wxALIGN_CENTER_VERTICAL|wxTOP|wxBOTTOM|wxLEFT|wxALIGN_CENTER_HORIZONTAL, 2 );
|
||||
|
||||
m_staticTextLossTg = new wxStaticText( m_scGridWin, wxID_ANY, _("Loss Tg"), wxDefaultPosition, wxDefaultSize, wxALIGN_LEFT );
|
||||
m_staticTextLossTg = new wxStaticText( m_scGridWin, wxID_ANY, _("Loss Tan"), wxDefaultPosition, wxDefaultSize, wxALIGN_LEFT );
|
||||
m_staticTextLossTg->Wrap( -1 );
|
||||
m_staticTextLossTg->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), wxFONTFAMILY_DEFAULT, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_BOLD, false, wxEmptyString ) );
|
||||
|
||||
|
|
|
@ -1026,7 +1026,7 @@
|
|||
<property name="gripper">0</property>
|
||||
<property name="hidden">0</property>
|
||||
<property name="id">wxID_ANY</property>
|
||||
<property name="label">Loss Tg</property>
|
||||
<property name="label">Loss Tan</property>
|
||||
<property name="markup">0</property>
|
||||
<property name="max_size"></property>
|
||||
<property name="maximize_button">0</property>
|
||||
|
|
Loading…
Reference in New Issue