mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-11-17 18:45:03 +03:00
fix(i18n): scope the empty Min Client Ver hint to cores that honour it
The REALITY Min Client Ver hint promised that an empty field accepts every client version. That is only true on Xray-core v26.9.8+, but the panel's core switcher still installs v26.7.11 to v26.9.7, where an empty field falls back to a built-in 26.3.27 minimum and silently diverts older and third-party clients (Mihomo, sing-box) to the REALITY target. Operators on those cores were told the field was not the cause. The hint now names the version boundary in all 13 locales, matching the docs site. Text-only: no test can reach it; the change is visible in the inbound form's REALITY tooltip after `npm run build`. Closes #6568
This commit is contained in:
@@ -638,7 +638,7 @@
|
||||
"maxTimeDiff": "最大时间差 (ms)",
|
||||
"minClientVer": "最小客户端版本",
|
||||
"maxClientVer": "最大客户端版本",
|
||||
"minClientVerHint": "留空表示不设下限:Xray-core 接受任何客户端版本,包括 Mihomo、sing-box 等第三方内核。填写版本可拒绝自报版本更低的客户端。",
|
||||
"minClientVerHint": "在 Xray-core v26.9.8 及以上版本中,留空表示不设下限:接受任何客户端版本,包括 Mihomo、sing-box 等第三方内核。v26.7.11 至 v26.9.7 的内核在留空时会改用内置最低值 26.3.27;在这些内核上填 1.0.0 即可放行这类客户端。填写版本可拒绝自报版本更低的客户端。",
|
||||
"maxClientVerHint": "留空表示无上限。若填写,不得低于最小客户端版本,否则所有客户端都会被拒绝。",
|
||||
"clientVerInvalid": "客户端版本须为最多三段以点分隔的数字,每段 0-255(例如 26.3.27)",
|
||||
"maxClientVerBelowMin": "最大客户端版本不得低于最小客户端版本",
|
||||
|
||||
Reference in New Issue
Block a user