Move localization init into ApplicationController
This commit is contained in:
parent
252139847f
commit
7c7554a43b
4 changed files with 8 additions and 59 deletions
|
|
@ -1448,6 +1448,11 @@ namespace MatterHackers.MatterControl
|
|||
}
|
||||
}
|
||||
|
||||
public void ResetTranslationMap()
|
||||
{
|
||||
TranslationMap.ActiveTranslationMap = new TranslationMap("Translations", UserSettings.Instance.Language);
|
||||
}
|
||||
|
||||
public async Task MonitorPrintTask(PrinterConfig printer)
|
||||
{
|
||||
await ApplicationController.Instance.Tasks.Execute("Printing".Localize(),
|
||||
|
|
@ -1799,6 +1804,8 @@ namespace MatterHackers.MatterControl
|
|||
ReportStartupProgress(0.2 + progress0To1 * 0.7, status);
|
||||
});
|
||||
|
||||
TranslationMap.ActiveTranslationMap = new TranslationMap("Translations", UserSettings.Instance.Language);
|
||||
|
||||
ReportStartupProgress(0.9, "AddChild->MainView");
|
||||
systemWindow.AddChild(mainView, 0);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue