mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-23 11:56:00 +01:00
rename locales directory
This commit is contained in:
parent
18a45886d1
commit
64663b040a
@ -56,7 +56,7 @@ import {
|
||||
|
||||
webFrame.registerURLSchemeAsPrivileged('file');
|
||||
|
||||
const i18nService = new I18nService(window.navigator.language, './_locales');
|
||||
const i18nService = new I18nService(window.navigator.language, './locales');
|
||||
const utilsService = new UtilsService();
|
||||
const platformUtilsService = new DesktopPlatformUtilsService();
|
||||
const messagingService = new DesktopMessagingService();
|
||||
|
@ -27,7 +27,7 @@ ipcMain.on('keytar', async (event: any, message: any) => {
|
||||
*/
|
||||
|
||||
import { I18nService } from './services/i18n.service';
|
||||
const i18nService = new I18nService('en', './_locales/');
|
||||
const i18nService = new I18nService('en', './locales/');
|
||||
i18nService.init().then(() => { });
|
||||
|
||||
let win: BrowserWindow;
|
||||
|
@ -57,7 +57,7 @@ const main = {
|
||||
new CopyWebpackPlugin([
|
||||
'./src/package.json',
|
||||
{ from: './src/images', to: 'images' },
|
||||
{ from: './src/_locales', to: '_locales' },
|
||||
{ from: './src/locales', to: 'locales' },
|
||||
]),
|
||||
],
|
||||
externals: [nodeExternals()]
|
||||
|
Loading…
Reference in New Issue
Block a user