This commit is contained in:
syuilo 2019-02-19 05:17:36 +09:00
parent 8286080c11
commit 8de7efa5b2

View file

@ -15,7 +15,7 @@ const locales = langs
case 'ja-JP': return [lang, locale];
case 'en-US': return [lang, { ...locales['ja-JP'], ...locale }];
default: return [lang, {
(lang.startsWith('ja-') ? {} : ...locales['en-US']),
...(lang.startsWith('ja-') ? {} : locales['en-US']),
...locales['ja-JP'],
...locale
}];