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