mirror of https://github.com/zulip/zulip.git
i18n: Import localstorage module into translations.
localstorage.supported() breaks on portico pages, where
the localstorage variable is not exposed globally.
This change is coupled with this commit:
94a1070979 (diff-a15e4886338acf8091c948c25f47caaa)
This commit is contained in:
parent
ab9021678e
commit
10bef65f00
|
@ -4,6 +4,7 @@ import i18next from 'i18next';
|
|||
import XHR from 'i18next-xhr-backend';
|
||||
import LngDetector from 'i18next-browser-languagedetector';
|
||||
import Cache from 'i18next-localstorage-cache';
|
||||
import localstorage from './localstorage';
|
||||
|
||||
window.i18n = i18next;
|
||||
|
||||
|
|
Loading…
Reference in New Issue