1
0
Fork 1
mirror of https://example.com synced 2024-11-23 08:26:40 +09:00
This commit is contained in:
syuilo 2019-02-19 05:17:36 +09:00
parent 6279ce8f22
commit e81ac05ba6
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69

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