Add missing on-the-fly translation handlers.
This commit is contained in:
parent
995c4af51d
commit
dd022c44e7
|
@ -1188,11 +1188,19 @@ void EDA_DRAW_FRAME::ShowChangedLanguage()
|
||||||
|
|
||||||
if( m_searchPane )
|
if( m_searchPane )
|
||||||
{
|
{
|
||||||
|
wxAuiPaneInfo& search_pane_info = m_auimgr.GetPane( m_searchPane );
|
||||||
|
search_pane_info.Caption( _( "Search" ) );
|
||||||
|
|
||||||
m_searchPane->OnLanguageChange();
|
m_searchPane->OnLanguageChange();
|
||||||
}
|
}
|
||||||
|
|
||||||
if( m_propertiesPanel )
|
if( m_propertiesPanel )
|
||||||
|
{
|
||||||
|
wxAuiPaneInfo& properties_pane_info = m_auimgr.GetPane( m_propertiesPanel );
|
||||||
|
properties_pane_info.Caption( _( "Properties" ) );
|
||||||
|
|
||||||
m_propertiesPanel->OnLanguageChanged();
|
m_propertiesPanel->OnLanguageChanged();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -36,6 +36,8 @@ SEARCH_PANE::~SEARCH_PANE()
|
||||||
|
|
||||||
void SEARCH_PANE::OnLanguageChange()
|
void SEARCH_PANE::OnLanguageChange()
|
||||||
{
|
{
|
||||||
|
m_searchCtrl1->SetDescriptiveText( _( "Search" ) );
|
||||||
|
|
||||||
for( size_t i = 0; i < m_notebook->GetPageCount(); ++i )
|
for( size_t i = 0; i < m_notebook->GetPageCount(); ++i )
|
||||||
{
|
{
|
||||||
wxWindow* page = m_notebook->GetPage( i );
|
wxWindow* page = m_notebook->GetPage( i );
|
||||||
|
|
Loading…
Reference in New Issue