localize file sizes
This commit is contained in:
parent
163899467d
commit
adf9c7b96f
3 changed files with 30 additions and 7 deletions
|
@ -17,6 +17,7 @@ import './main.css';
|
|||
import User from './user';
|
||||
import { getTranslator } from './locale';
|
||||
import Archive from './archive';
|
||||
import { setTranslate } from './utils';
|
||||
|
||||
if (navigator.doNotTrack !== '1' && window.RAVEN_CONFIG) {
|
||||
Raven.config(window.SENTRY_ID, window.RAVEN_CONFIG).install();
|
||||
|
@ -40,6 +41,7 @@ if (process.env.NODE_ENV === 'production') {
|
|||
}
|
||||
|
||||
const translate = await getTranslator(LOCALE);
|
||||
setTranslate(translate);
|
||||
window.initialState = {
|
||||
LIMITS,
|
||||
DEFAULTS,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue