diff --git a/luci-app-easytier/luci-app-easytier/root/usr/share/rpcd/acl.d/luci-app-easytier.json b/luci-app-easytier/luci-app-easytier/root/usr/share/rpcd/acl.d/luci-app-easytier.json index 7357b09f8..d65f1cf17 100644 --- a/luci-app-easytier/luci-app-easytier/root/usr/share/rpcd/acl.d/luci-app-easytier.json +++ b/luci-app-easytier/luci-app-easytier/root/usr/share/rpcd/acl.d/luci-app-easytier.json @@ -1,11 +1,11 @@ { - "luci-app-easytier": { - "description": "Grant UCI access for luci-app-easytier", - "read": { - "uci": [ "easytier" ] - }, - "write": { - "uci": [ "easytier" ] - } - } + "luci-app-easytier": { + "description": "Grant UCI access for luci-app-easytier", + "read": { + "uci": [ "easytier" ] + }, + "write": { + "uci": [ "easytier" ] + } + } } diff --git a/luci-app-passwall/luasrc/model/cbi/passwall/client/acl_config.lua b/luci-app-passwall/luasrc/model/cbi/passwall/client/acl_config.lua index 48466286d..b97cae9b3 100644 --- a/luci-app-passwall/luasrc/model/cbi/passwall/client/acl_config.lua +++ b/luci-app-passwall/luasrc/model/cbi/passwall/client/acl_config.lua @@ -312,7 +312,10 @@ o.default = "0" o:depends({ _tcp_node_bool = "1" }) ---- DNS Forward Mode -o = s:option(ListValue, "dns_mode", translate("Filter Mode")) +o = s:option(ListValue, "dns_mode", translate("Filter Mode"), + "" .. translate( + "If the node uses Xray/Sing-Box shunt, select the matching filter mode (Xray/Sing-Box).") .. + "") o:depends({ _tcp_node_bool = "1" }) if api.is_finded("dns2socks") then o:value("dns2socks", "dns2socks") diff --git a/luci-app-passwall/luasrc/model/cbi/passwall/client/global.lua b/luci-app-passwall/luasrc/model/cbi/passwall/client/global.lua index 1c9b2e5a1..2eaa276fd 100644 --- a/luci-app-passwall/luasrc/model/cbi/passwall/client/global.lua +++ b/luci-app-passwall/luasrc/model/cbi/passwall/client/global.lua @@ -381,7 +381,10 @@ o = s:taboption("DNS", Flag, "filter_proxy_ipv6", translate("Filter Proxy Host I o.default = "0" ---- DNS Forward Mode -o = s:taboption("DNS", ListValue, "dns_mode", translate("Filter Mode")) +o = s:taboption("DNS", ListValue, "dns_mode", translate("Filter Mode"), + "" .. translate( + "If the node uses Xray/Sing-Box shunt, select the matching filter mode (Xray/Sing-Box).") .. + "") o:value("udp", translatef("Requery DNS By %s", "UDP")) o:value("tcp", translatef("Requery DNS By %s", "TCP")) if chinadns_tls == 0 then @@ -402,7 +405,10 @@ end ---- SmartDNS Forward Mode if api.is_finded("smartdns") then - o = s:taboption("DNS", ListValue, "smartdns_dns_mode", translate("Filter Mode")) + o = s:taboption("DNS", ListValue, "smartdns_dns_mode", translate("Filter Mode"), + "" .. translate( + "If the node uses Xray/Sing-Box shunt, select the matching filter mode (Xray/Sing-Box).") .. + "") o:value("socks", "Socks") if has_singbox then o:value("sing-box", "Sing-Box") diff --git a/luci-app-passwall/po/zh-cn/passwall.po b/luci-app-passwall/po/zh-cn/passwall.po index 21c35cf2e..bc0f4f9d8 100644 --- a/luci-app-passwall/po/zh-cn/passwall.po +++ b/luci-app-passwall/po/zh-cn/passwall.po @@ -124,6 +124,9 @@ msgstr "不允许使用私有 IP 地址:%s" msgid "Filter Mode" msgstr "过滤模式" +msgid "If the node uses Xray/Sing-Box shunt, select the matching filter mode (Xray/Sing-Box)." +msgstr "当节点使用 Xray/Sing-Box 分流时,过滤模式需对应选择 Xray/Sing-Box 。" + msgid "A/AAAA type" msgstr "A/AAAA 类型"