1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-12 21:30:39 +00:00

fix editor translatiion (#4363)

This commit is contained in:
songjiaqi1
2019-12-17 22:16:52 +08:00
committed by Daniel Pan
parent 4f3ce913c4
commit f79cec7fa6
13 changed files with 2 additions and 2 deletions

View File

@@ -13,13 +13,13 @@ i18n
.init({
lng: lang,
fallbackLng: 'en',
ns: ['translations'],
ns: ['seafile-editor'],
defaultNS: 'translations',
whitelist: ['en', 'zh-CN', 'fr', 'de', 'cs', 'es', 'es-AR', 'es-MX', 'ru'],
backend: {
loadPath: mediaUrl + 'assets/frontend/locales/{{ lng }}/{{ ns }}.json',
loadPath: mediaUrl + 'locales/{{ lng }}/{{ ns }}.json',
// loadPath: '/media/locales/{{lng}}/{{ns}}.json',
},