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:
@@ -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',
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user