This commit is contained in:
bao-qian
2017-02-28 00:12:06 +00:00
parent cb1305c87f
commit 28c57f75e8
2 changed files with 75 additions and 41 deletions

View File

@@ -61,8 +61,6 @@ namespace Wox
Current.MainWindow.Title = Constant.Wox;
// happlebao todo temp fix for instance code logic
// remove all dictionaries defined in xaml e.g.g App.xaml
Current.Resources.MergedDictionaries.Clear();
// load plugin before change language, because plugin language also needs be changed
InternationalizationManager.Instance.Settings = _settings;
InternationalizationManager.Instance.ChangeLanguage(_settings.Language);