Fix bug
This commit is contained in:
parent
6279ce8f22
commit
e81ac05ba6
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ const locales = langs
|
||||||
case 'ja-JP': return [lang, locale];
|
case 'ja-JP': return [lang, locale];
|
||||||
case 'en-US': return [lang, { ...locales['ja-JP'], ...locale }];
|
case 'en-US': return [lang, { ...locales['ja-JP'], ...locale }];
|
||||||
default: return [lang, {
|
default: return [lang, {
|
||||||
(lang.startsWith('ja-') ? {} : ...locales['en-US']),
|
...(lang.startsWith('ja-') ? {} : locales['en-US']),
|
||||||
...locales['ja-JP'],
|
...locales['ja-JP'],
|
||||||
...locale
|
...locale
|
||||||
}];
|
}];
|
||||||
|
|
Loading…
Reference in a new issue