1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00

local locale json from safari app

This commit is contained in:
Kyle Spearrin
2019-08-14 16:54:40 -04:00
parent 68593e9df2
commit 72d0c7d860
2 changed files with 14 additions and 6 deletions

View File

@@ -136,8 +136,7 @@ export default class MainBackground {
});
this.storageService = new BrowserStorageService(this.platformUtilsService);
this.secureStorageService = new BrowserStorageService(this.platformUtilsService);
this.i18nService = new I18nService(BrowserApi.getUILanguage(window),
BrowserApi.isSafariApi ? './_locales/' : null);
this.i18nService = new I18nService(BrowserApi.getUILanguage(window));
const cryptoFunctionService = new WebCryptoFunctionService(window, this.platformUtilsService);
this.cryptoService = new CryptoService(this.storageService, this.secureStorageService, cryptoFunctionService);
this.tokenService = new TokenService(this.storageService);