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

finish implementing view page

This commit is contained in:
Kyle Spearrin
2018-01-25 14:25:44 -05:00
parent 15868ab541
commit 8f9cc29661
9 changed files with 303 additions and 16 deletions

View File

@@ -1,4 +1,4 @@
import { app, BrowserWindow, ipcMain, screen } from 'electron';
import { app, BrowserWindow, dialog, ipcMain, screen } from 'electron';
import * as path from 'path';
import * as url from 'url';
/*
@@ -26,6 +26,10 @@ ipcMain.on('keytar', async (event: any, message: any) => {
});
*/
ipcMain.on('showError', async (event: any, message: any) => {
dialog.showErrorBox(message.title, message.message);
});
import { I18nService } from './services/i18n.service';
const i18nService = new I18nService('en', './locales/');
i18nService.init().then(() => { });