luci-app-passwall: sync upstream

last commit: 0185f476ef
This commit is contained in:
gitea-action 2024-12-02 23:00:19 +08:00
parent 16080af7e3
commit a6a046f3df
2 changed files with 6 additions and 4 deletions

View File

@ -178,8 +178,9 @@ if has_xray then
o = s_xray:option(Flag, "noise", translate("Noise"), translate("UDP noise, Under some circumstances it can bypass some UDP based protocol restrictions.")) o = s_xray:option(Flag, "noise", translate("Noise"), translate("UDP noise, Under some circumstances it can bypass some UDP based protocol restrictions."))
o.default = 0 o.default = 0
o = s_xray:option(Flag, "sniffing_override_dest", translate("Override the connection destination address"), translate("Override the connection destination address with the sniffed domain.")) o = s_xray:option(Flag, "sniffing_override_dest", translate("Override the connection destination address"))
o.default = 0 o.default = 0
o.description = translate("Override the connection destination address with the sniffed domain.<br />When enabled, traffic will match only by domain, ignoring IP rules.<br />If using shunt nodes, configure the domain shunt rules correctly.")
local domains_excluded = string.format("/usr/share/%s/rules/domains_excluded", appname) local domains_excluded = string.format("/usr/share/%s/rules/domains_excluded", appname)
o = s_xray:option(TextValue, "excluded_domains", translate("Excluded Domains"), translate("If the traffic sniffing result is in this list, the destination address will not be overridden.")) o = s_xray:option(TextValue, "excluded_domains", translate("Excluded Domains"), translate("If the traffic sniffing result is in this list, the destination address will not be overridden."))
@ -233,9 +234,10 @@ if has_singbox then
s.anonymous = true s.anonymous = true
s.addremove = false s.addremove = false
o = s:option(Flag, "sniff_override_destination", translate("Override the connection destination address"), translate("Override the connection destination address with the sniffed domain.")) o = s:option(Flag, "sniff_override_destination", translate("Override the connection destination address"))
o.default = 0 o.default = 0
o.rmempty = false o.rmempty = false
o.description = translate("Override the connection destination address with the sniffed domain.<br />When enabled, traffic will match only by domain, ignoring IP rules.<br />If using shunt nodes, configure the domain shunt rules correctly.")
o = s:option(Value, "geoip_path", translate("Custom geoip Path")) o = s:option(Value, "geoip_path", translate("Custom geoip Path"))
o.default = "/usr/share/singbox/geoip.db" o.default = "/usr/share/singbox/geoip.db"

View File

@ -1639,8 +1639,8 @@ msgstr "握手服务器"
msgid "Handshake Server Port" msgid "Handshake Server Port"
msgstr "握手服务器端口" msgstr "握手服务器端口"
msgid "Override the connection destination address with the sniffed domain." msgid "Override the connection destination address with the sniffed domain.<br />When enabled, traffic will match only by domain, ignoring IP rules.<br />If using shunt nodes, configure the domain shunt rules correctly."
msgstr "用探测出的域名覆盖连接目标地址。" msgstr "用探测出的域名覆盖连接目标地址。<br />启用后仅使用域名进行流量匹配将忽略IP规则。<br />如使用分流节点,请正确设置域名分流规则。"
msgid "Protocol parameter. Will waste traffic randomly if enabled." msgid "Protocol parameter. Will waste traffic randomly if enabled."
msgstr "协议参数。如果启用会随机浪费流量。" msgstr "协议参数。如果启用会随机浪费流量。"