1
0
mirror of https://github.com/hotomoe/hotomoe synced 2024-11-24 15:16:13 +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
}];