mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-21 22:03:47 +00:00
Add missing on-the-fly translation handlers.
This commit is contained in:
parent
995c4af51d
commit
dd022c44e7
common
@ -1188,11 +1188,19 @@ void EDA_DRAW_FRAME::ShowChangedLanguage()
|
||||
|
||||
if( m_searchPane )
|
||||
{
|
||||
wxAuiPaneInfo& search_pane_info = m_auimgr.GetPane( m_searchPane );
|
||||
search_pane_info.Caption( _( "Search" ) );
|
||||
|
||||
m_searchPane->OnLanguageChange();
|
||||
}
|
||||
|
||||
if( m_propertiesPanel )
|
||||
{
|
||||
wxAuiPaneInfo& properties_pane_info = m_auimgr.GetPane( m_propertiesPanel );
|
||||
properties_pane_info.Caption( _( "Properties" ) );
|
||||
|
||||
m_propertiesPanel->OnLanguageChanged();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
@ -36,6 +36,8 @@ SEARCH_PANE::~SEARCH_PANE()
|
||||
|
||||
void SEARCH_PANE::OnLanguageChange()
|
||||
{
|
||||
m_searchCtrl1->SetDescriptiveText( _( "Search" ) );
|
||||
|
||||
for( size_t i = 0; i < m_notebook->GetPageCount(); ++i )
|
||||
{
|
||||
wxWindow* page = m_notebook->GetPage( i );
|
||||
|
Loading…
Reference in New Issue
Block a user