js/i18n.js -> js/modules/i18n.js

This commit is contained in:
Scott Nonnenberg 2018-04-05 12:51:29 -07:00
parent e5322e8261
commit 76be13552f
No known key found for this signature in database
GPG key ID: 5F82280C35134661
5 changed files with 2 additions and 4 deletions

View file

@ -22,7 +22,6 @@ js/react/**/*.js
!js/backup.js
!js/database.js
!js/logging.js
!js/i18n.js
!js/models/conversations.js
!js/views/attachment_view.js
!js/views/conversation_search_view.js

View file

@ -101,7 +101,6 @@ module.exports = function(grunt) {
'!js/backup.js',
'!js/components.js',
'!js/database.js',
'!js/i18n.js',
'!js/jquery.js',
'!js/libsignal-protocol-worker.js',
'!js/libtextsecure.js',

View file

@ -51,7 +51,7 @@ const locale = urlOptions.locale || 'en';
import localeMessages from '../../../_locales/en/messages.json';
// @ts-ignore
import { setup } from '../../i18n';
import { setup } from '../../modules/i18n';
const i18n = setup(locale, localeMessages);

View file

@ -113,7 +113,7 @@ window.React = require('react');
window.ReactDOM = require('react-dom');
window.moment = require('moment');
const { setup } = require('./js/i18n');
const { setup } = require('./js/modules/i18n');
const { locale, localeMessages } = window.config;
window.i18n = setup(locale, localeMessages);