Ensure no string changes for 6.0.x.
This commit is contained in:
parent
7bd073b5cb
commit
f3caac5bfd
|
@ -91,7 +91,7 @@ DIALOG_ERC::DIALOG_ERC( SCH_EDIT_FRAME* parent ) :
|
||||||
m_violationsTitleTemplate = m_notebook->GetPageText( 1 );
|
m_violationsTitleTemplate = m_notebook->GetPageText( 1 );
|
||||||
|
|
||||||
// Hack to keep from changing translated string in 6.0.x
|
// Hack to keep from changing translated string in 6.0.x
|
||||||
m_violationsTitleTemplate.Replace( wxT( "%d" ), wxT( "%s" ) );
|
m_violationsTitleTemplate.Append( wxT( " (%s)" ) );
|
||||||
|
|
||||||
m_errorsBadge->SetMaximumNumber( 999 );
|
m_errorsBadge->SetMaximumNumber( 999 );
|
||||||
m_warningsBadge->SetMaximumNumber( 999 );
|
m_warningsBadge->SetMaximumNumber( 999 );
|
||||||
|
|
|
@ -54,7 +54,7 @@ DIALOG_ERC_BASE::DIALOG_ERC_BASE( wxWindow* parent, wxWindowID id, const wxStrin
|
||||||
violationsPanel->SetSizer( bViolationsSizer );
|
violationsPanel->SetSizer( bViolationsSizer );
|
||||||
violationsPanel->Layout();
|
violationsPanel->Layout();
|
||||||
bViolationsSizer->Fit( violationsPanel );
|
bViolationsSizer->Fit( violationsPanel );
|
||||||
m_notebook->AddPage( violationsPanel, _("Violations (%d)"), false );
|
m_notebook->AddPage( violationsPanel, _("Violations"), false );
|
||||||
|
|
||||||
bMainSizer->Add( m_notebook, 1, wxEXPAND, 5 );
|
bMainSizer->Add( m_notebook, 1, wxEXPAND, 5 );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue