From c9ee3e26feaff7ea6094d78dfb4541abf7b56f0c Mon Sep 17 00:00:00 2001 From: Tianhe Y Date: Fri, 31 Mar 2023 20:11:44 +0800 Subject: [PATCH] luci: fix translate (#2429) luci: fix translate of probe URL description --- .../luasrc/model/cbi/passwall/client/node_config.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/luci-app-passwall/luasrc/model/cbi/passwall/client/node_config.lua b/luci-app-passwall/luasrc/model/cbi/passwall/client/node_config.lua index 0a56a2acc..14dbcf089 100644 --- a/luci-app-passwall/luasrc/model/cbi/passwall/client/node_config.lua +++ b/luci-app-passwall/luasrc/model/cbi/passwall/client/node_config.lua @@ -153,9 +153,8 @@ balancingStrategy:value("random") balancingStrategy:value("leastPing") balancingStrategy.default = "random" -- 探测地址 -local useCustomProbeUrl = s:option(Flag, "useCustomProbeUrl", translate("Use Custome Probe URL")) +local useCustomProbeUrl = s:option(Flag, "useCustomProbeUrl", translate("Use Custome Probe URL"), translate("By default the built-in probe URL will be used, enable this option to use a custom probe URL.")) useCustomProbeUrl:depends("balancingStrategy", "leastPing") -useCustomProbeUrl.description = "By default the built-in probe URL will be used, enable this option to use a custom probe URL." local probeUrl = s:option(Value, "probeUrl", translate("Probe URL")) probeUrl:depends("useCustomProbeUrl", true) probeUrl.default = "https://www.google.com/generate_204"