Merge branch 'main' into 3x-ui

This commit is contained in:
心隨緣動
2025-08-09 23:25:23 +08:00
committed by GitHub
59 changed files with 4436 additions and 1353 deletions
+2 -2
View File
@@ -731,8 +731,8 @@ class RealityStreamSettings extends XrayCommonClass {
constructor(
show = false,
xver = 0,
dest = 'google.com:443',
serverNames = 'google.com,www.google.com',
dest = 'tesla.com:443',
serverNames = 'tesla.com,www.tesla.com',
privateKey = '',
minClientVer = '',
maxClientVer = '',
+2 -2
View File
@@ -22,7 +22,7 @@ class AllSetting {
this.tgBotBackup = false;
this.tgBotLoginNotify = true;
this.tgCpu = 80;
this.tgLang = "en-US";
this.tgLang = "zh-CN";
this.twoFactorEnable = false;
this.twoFactorToken = "";
this.xrayTemplateConfig = "";
@@ -58,4 +58,4 @@ class AllSetting {
equals(other) {
return ObjectUtil.equals(this, other);
}
}
}
+4 -4
View File
@@ -817,11 +817,11 @@ class LanguageManager {
if (LanguageManager.isSupportLanguage(lang)) {
CookieManager.setCookie("lang", lang, 150);
} else {
CookieManager.setCookie("lang", "en-US", 150);
CookieManager.setCookie("lang", "zh-CN", 150);
window.location.reload();
}
} else {
CookieManager.setCookie("lang", "en-US", 150);
CookieManager.setCookie("lang", "zh-CN", 150);
window.location.reload();
}
}
@@ -831,7 +831,7 @@ class LanguageManager {
static setLanguage(language) {
if (!LanguageManager.isSupportLanguage(language)) {
language = "en-US";
language = "zh-CN";
}
CookieManager.setCookie("lang", language, 150);
@@ -884,4 +884,4 @@ class FileManager {
link.remove();
}
}
}