public void TranslateUI() { TranslationUtils.TranslateComponents(Resources.ResourceManager, this, components); TranslationUtils.TranslateControls(Controls); mComp.Tag = null; //PrepareContextMenu(); var panelView = App.MainPages.View.ActivePanelView; if (panelView == this) { m_Presenter.UpdateItemsAndStatus(); } }
public void TranslateUI() { // translate sub-components TranslationUtils.TranslateComponents(Resources.ResourceManager, this, components); mTrayOpen_TranslateUI(); TranslationUtils.TranslateControls(Controls); // addons context menu will refresh later popTop.Tag = null; // refresh tab names var pages = App.MainPages; var shortcutIndex = App.Presenter.FindShortcutKeysPanelIndex(); for (int index = 0; index < pages.Count; index++) { var model = pages.GetItem(index); App.MainPages.UpdateTabName(index); if (index == shortcutIndex) { model.AsyncRetrieveData(false); } } }
public void TranslateUI() { TranslationUtils.TranslateComponents(Resources.ResourceManager, this, components); SetupContextMenu(popPages.Items); TranslationUtils.TranslateControls(Controls); }