mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-23 18:37: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] = (() => {
|
(a[k] = (() => {
|
||||||
const [lang] = k.split("-");
|
const [lang] = k.split("-");
|
||||||
switch (k) {
|
switch (k) {
|
||||||
case "ja-JP":
|
|
||||||
return v;
|
|
||||||
case "ja-KS":
|
|
||||||
case "en-US":
|
case "en-US":
|
||||||
return merge(locales["ja-JP"], v);
|
return v;
|
||||||
default:
|
default:
|
||||||
return merge(
|
return merge(
|
||||||
locales["ja-JP"],
|
|
||||||
locales["en-US"],
|
locales["en-US"],
|
||||||
locales[`${lang}-${primaries[lang]}`] || {},
|
locales[`${lang}-${primaries[lang]}`] || {},
|
||||||
v,
|
v,
|
||||||
|
|
Loading…
Reference in a new issue