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:
MHSanaei committed 2026-09-27 17:59:39 +02:00
1 parent 09617f04f5
commit 3308c816db
13 files changed
+13 -13

No files matched your search

+1 -1
View File
@@ -618,7 +618,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": "أقصى إصدار للعميل يجب ألا يقل عن أدنى إصدار للعميل",
+1 -1
View File
@@ -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",
+1 -1
View File
@@ -639,7 +639,7 @@
"maxTimeDiff": "Máx. diferencia de tiempo (ms)",
"minClientVer": "Mín. versión cliente",
"maxClientVer": "Máx. versión cliente",
"minClientVerHint": "Vacío significa sin mínimo: Xray-core acepta cualquier versión de cliente, incluidos núcleos de terceros como Mihomo y sing-box. Establece una versión para rechazar a los clientes que informen una más antigua.",
"minClientVerHint": "En Xray-core v26.9.8+ vacío significa sin mínimo: se acepta cualquier versión de cliente, incluidos núcleos de terceros como Mihomo y sing-box. Los núcleos v26.7.11 a v26.9.7, en cambio, aplican un mínimo integrado de 26.3.27 cuando está vacío; establece 1.0.0 en ellos para aceptar a esos clientes. Establece una versión para rechazar a los clientes que informen una más antigua.",
"maxClientVerHint": "Vacío significa sin límite superior. Si se establece, no debe ser inferior a la versión mínima del cliente; de lo contrario, se rechaza a todos los clientes.",
"clientVerInvalid": "La versión del cliente debe tener hasta tres números separados por puntos, cada uno 0-255 (p. ej. 26.3.27)",
"maxClientVerBelowMin": "La versión máxima del cliente no debe ser inferior a la versión mínima",
Loaded 3 of 13 files, more files were not shown because too many files have changed in this diff. Show more