mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-24 17:59:05 +01:00
[locales] Change default locale to en-US
Fixes settings page on jp-JP locale
This commit is contained in:
parent
b73a07011a
commit
054a40d5f4
@ -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 New Issue
Block a user