1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-23 12:27:48 +00:00

update seafile editor version (#4041)

This commit is contained in:
杨顺强
2019-09-01 10:14:51 +08:00
committed by Daniel Pan
parent 1def2509e8
commit 54b8044056
3 changed files with 7 additions and 5 deletions

View File

@@ -2,7 +2,9 @@ import i18n from 'i18next';
import Backend from 'i18next-xhr-backend';
import LanguageDetector from 'i18next-browser-languagedetector';
import { initReactI18next } from 'react-i18next';
import { mediaUrl, lang } from './utils/constants';
import { mediaUrl } from './utils/constants';
const lang = window.app.pageOptions.lang;
i18n
.use(Backend)