1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-22 19:23:52 +00:00

i18nService is passed in

This commit is contained in:
Kyle Spearrin
2017-12-05 20:51:22 -05:00
parent c3e836e750
commit 09f6b36bbb
2 changed files with 4 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
export default function i18nService(utilsService) {
export default function i18nService() {
this.__edgeMessages = {};
if (utilsService.isEdge()) {
if (navigator.userAgent.indexOf(' Edge/') !== -1) {
fetch('../_locales/en/messages.json').then((file) => {
return file.json();
}).then((locales) => {