From e36e9495e0c0c6df53451b4730c10583e748cb98 Mon Sep 17 00:00:00 2001 From: Ivan Romanov Date: Sat, 31 Aug 2024 13:44:12 +0500 Subject: luci-app-privoxy: fix description for socks5 Privoxy supports login password for socks5 proxy forwarding. It allows use proxy in format [user:pass@]socks_proxy[:port] http_parent[:port] as noted in the official documentations. Signed-off-by: Ivan Romanov --- applications/luci-app-privoxy/luasrc/model/cbi/privoxy.lua | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'applications/luci-app-privoxy/luasrc/model/cbi') diff --git a/applications/luci-app-privoxy/luasrc/model/cbi/privoxy.lua b/applications/luci-app-privoxy/luasrc/model/cbi/privoxy.lua index 722af19e21..ba4d6e9a68 100644 --- a/applications/luci-app-privoxy/luasrc/model/cbi/privoxy.lua +++ b/applications/luci-app-privoxy/luasrc/model/cbi/privoxy.lua @@ -617,7 +617,8 @@ local fs4 = ns:taboption("forward", DynamicList, "forward_socks4") fs4.title = string.format(HELP, "SOCKS", "Forward SOCKS 4" ) fs4.description = translate("Through which SOCKS proxy (and optionally to which parent HTTP proxy) specific requests should be routed.") .. [[
]] - .. translate("Syntax: target_pattern socks_proxy[:port] http_parent[:port]") + .. translate("Syntax:") + .. " target_pattern socks_proxy[:port] http_parent[:port]" fs4.rmempty = true -- forward-socks4a ------------------------------------------------------------- @@ -629,13 +630,16 @@ f4a.rmempty = true -- forward-socks5 -------------------------------------------------------------- local fs5 = ns:taboption("forward", DynamicList, "forward_socks5") fs5.title = string.format(HELP, "SOCKS", "Forward SOCKS 5" ) -fs5.description = fs4.description +fs5.description = translate("Through which SOCKS proxy (and optionally to which parent HTTP proxy) specific requests should be routed.") + .. [[
]] + .. translate("Syntax:") + .. " target_pattern [user:pass@]socks_proxy[:port] http_parent[:port]" fs5.rmempty = true -- forward-socks5t ------------------------------------------------------------- local f5t = ns:taboption("forward", DynamicList, "forward_socks5t") f5t.title = string.format(HELP, "SOCKS", "Forward SOCKS 5t" ) -f5t.description = fs4.description +f5t.description = fs5.description f5t.rmempty = true -- tab: misc -- ################################################################ -- cgit v1.2.3