diff --git a/src/main.ts b/src/main.ts index b38f1a2a60..4685d73d02 100644 --- a/src/main.ts +++ b/src/main.ts @@ -62,8 +62,7 @@ export class Main { bootstrap() { this.windowMain.init().then(async () => { - const locale = app.getLocale(); - await this.i18nService.init(locale); + await this.i18nService.init(app.getLocale()); this.messagingMain.init(); this.menuMain.init(); this.powerMonitorMain.init();