mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
moved locales/ to i18n/
This commit is contained in:
parent
86e41b070a
commit
e75b2e3f79
25 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ function loadLocaleMessages (locale) {
|
||||||
return Promise.resolve(locale)
|
return Promise.resolve(locale)
|
||||||
}
|
}
|
||||||
return import(
|
return import(
|
||||||
/* webpackChunkName: "lc/lang-[request]" */ `@/locales/${locale}`
|
/* webpackChunkName: "lc/lang-[request]" */ `@/i18n/locales/${locale}`
|
||||||
).then(messages => {
|
).then(messages => {
|
||||||
i18n.setLocaleMessage(locale, messages.default)
|
i18n.setLocaleMessage(locale, messages.default)
|
||||||
loadedLanguages.push(locale)
|
loadedLanguages.push(locale)
|
||||||
|
|
Loading…
Add table
Reference in a new issue