1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 15:53:27 +00:00

localize menu options

This commit is contained in:
Kyle Spearrin
2018-02-09 00:21:00 -05:00
parent c76b4821c6
commit 092bdb5e07
4 changed files with 76 additions and 62 deletions

View File

@@ -15,12 +15,15 @@ if (watch) {
}
const i18nService = new I18nService('en', './locales/');
i18nService.init().then(() => { });
const windowMain = new WindowMain(dev);
const messagingMain = new MessagingMain();
const menuMain = new MenuMain(windowMain);
const menuMain = new MenuMain(windowMain, i18nService);
messagingMain.init();
menuMain.init();
windowMain.init();
messagingMain.init();
i18nService.init().then(() => {
menuMain.init();
}, (e: any) => {
console.log(e);
});