mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-11-13 00:25:04 +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:
@@ -632,7 +632,7 @@
|
||||
"maxTimeDiff": "Max Time Diff (ms)",
|
||||
"minClientVer": "Min Client Ver",
|
||||
"maxClientVer": "Max Client Ver",
|
||||
"minClientVerHint": "Empty means no minimum: Xray-core accepts every client version, including third-party cores such as Mihomo and sing-box. Set a version to reject clients that report an older one.",
|
||||
"minClientVerHint": "On Xray-core v26.9.8+ empty means no minimum: every client version is accepted, including third-party cores such as Mihomo and sing-box. Cores v26.7.11 to v26.9.7 instead enforce a built-in 26.3.27 minimum when empty; set 1.0.0 there to accept those clients. Set a version to reject clients that report an older one.",
|
||||
"maxClientVerHint": "Empty means no upper limit. If set, it must not be lower than Min Client Ver — otherwise every client is rejected.",
|
||||
"clientVerInvalid": "Client version must be up to three dot-separated numbers, each 0-255 (e.g. 26.3.27)",
|
||||
"maxClientVerBelowMin": "Max Client Ver must not be lower than Min Client Ver",
|
||||
|
||||
Reference in New Issue
Block a user