rename locales directory

This commit is contained in:
Kyle Spearrin 2018-01-24 20:52:51 -05:00
parent 18a45886d1
commit 64663b040a
5 changed files with 3 additions and 3 deletions

View File

@ -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();

View File

@ -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;

View File

@ -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()]