luci-app-passwall2: sync upstream

last commit: 832f026ef2
This commit is contained in:
gitea-action 2025-04-02 15:00:26 +08:00
parent 449326787b
commit 32ad2477bb
2 changed files with 5 additions and 2 deletions

View File

@ -351,9 +351,9 @@ o.default = "1"
o.rmempty = false o.rmempty = false
if (m:get("@global_forwarding[0]", "use_nft") or "0") == "1" then if (m:get("@global_forwarding[0]", "use_nft") or "0") == "1" then
o = s:taboption("DNS", Button, "clear_ipset", translate("Clear NFTSET"), translate("Try this feature if the rule modification does not take effect.")) o = s:taboption("DNS", Button, "clear_ipset", translate("Clear NFTSet"), translate("Try this feature if the rule modification does not take effect."))
else else
o = s:taboption("DNS", Button, "clear_ipset", translate("Clear IPSET"), translate("Try this feature if the rule modification does not take effect.")) o = s:taboption("DNS", Button, "clear_ipset", translate("Clear IPSet"), translate("Try this feature if the rule modification does not take effect."))
end end
o.inputstyle = "remove" o.inputstyle = "remove"
function o.write(e, e) function o.write(e, e)

View File

@ -178,6 +178,9 @@ msgstr "强制需要代理的设备使用专用 DNS 服务器。"
msgid "Clear IPSet" msgid "Clear IPSet"
msgstr "清空 IPSet" msgstr "清空 IPSet"
msgid "Clear NFTSet"
msgstr "清空 NFTSet"
msgid "Try this feature if the rule modification does not take effect." msgid "Try this feature if the rule modification does not take effect."
msgstr "如果修改规则后没有生效,请尝试此功能。" msgstr "如果修改规则后没有生效,请尝试此功能。"