mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-09 11:41:30 -07:00
[locales] Change default locale to en-US
Fixes settings page on jp-JP locale
This commit is contained in:
parent
b73a07011a
commit
054a40d5f4
1 changed files with 1 additions and 5 deletions
|
@ -71,14 +71,10 @@ 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;
|
||||
default:
|
||||
return merge(
|
||||
locales["ja-JP"],
|
||||
locales["en-US"],
|
||||
locales[`${lang}-${primaries[lang]}`] || {},
|
||||
v,
|
||||
|
|
Loading…
Reference in a new issue