fix: 🐛 en-US default merge language
Preoperly addresses the issue from !10527
This commit is contained in:
parent
487fd3faaf
commit
784d92bf0f
@ -71,15 +71,15 @@ module.exports = Object.entries(locales).reduce(
|
||||
(a[k] = (() => {
|
||||
const [lang] = k.split("-");
|
||||
switch (k) {
|
||||
case "ja-JP":
|
||||
return v;
|
||||
case "ja-KS":
|
||||
case "en-US":
|
||||
return merge(locales["ja-JP"], v);
|
||||
return v;
|
||||
case "ja-JP":
|
||||
case "ja-KS":
|
||||
return merge(locales["en-US"], v);
|
||||
default:
|
||||
return merge(
|
||||
locales["ja-JP"],
|
||||
locales["en-US"],
|
||||
locales["ja-JP"],
|
||||
locales[`${lang}-${primaries[lang]}`] || {},
|
||||
v,
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user