mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-11-27 06:18:06 +09: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] = (() => {
|
||||
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 New Issue
Block a user