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 '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
}]; }];