1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-19 17:53:39 +00:00

load locale files by require

This commit is contained in:
Kyle Spearrin
2018-01-24 15:22:13 -05:00
parent 2ab23c2c9e
commit e42bf66b2f
3 changed files with 13 additions and 6 deletions

View File

@@ -2,7 +2,7 @@ import { webFrame } from 'electron';
import {
APP_INITIALIZER,
NgModule
NgModule,
} from '@angular/core';
import { DesktopMessagingService } from '../../services/desktopMessaging.service';
@@ -112,8 +112,8 @@ function initFactory(i18n: I18nService): Function {
provide: APP_INITIALIZER,
useFactory: initFactory,
deps: [I18nService],
multi: true
}
multi: true,
},
],
})
export class ServicesModule {