Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

luci-app-openclash: Update translate #3807

Merged
merged 3 commits into from
Mar 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ o:depends("type", "hysteria2")
o.rmempty = true
o.default = "0"

o = s:option(Value, "ports", translate("Port Hopping"))
o = s:option(Value, "ports", translate("Port Range"))
o.datatype = "portrange"
o.rmempty = true
o.default = "20000-40000"
Expand Down Expand Up @@ -305,13 +305,13 @@ for _, v in ipairs(hysteria2_protocols) do o:value(v) end
o.rmempty = true
o:depends({type = "hysteria2", flag_transport = true})

o = s:option(Value, "hysteria_up", translate("up"))
o = s:option(Value, "hysteria_up", translate("Uplink Capacity(Default:Mbps)"))
o.rmempty = false
o.description = translate("Required")
o:depends("type", "hysteria")
o:depends("type", "hysteria2")

o = s:option(Value, "hysteria_down", translate("down"))
o = s:option(Value, "hysteria_down", translate("Downlink Capacity(Default:Mbps)"))
o.rmempty = false
o.description = translate("Required")
o:depends("type", "hysteria")
Expand Down Expand Up @@ -723,7 +723,7 @@ o.datatype = "uinteger"
o:depends({type = "hysteria", flag_quicparam = true})

-- [[ hop_interval ]]--
o = s:option(Value, "hop_interval", translate("Hop Interval"))
o = s:option(Value, "hop_interval", translate("Hop Interval (Unit:second)"))
o.rmempty = true
o.default = "10"
o:depends({type = "hysteria", flag_transport = true, flag_port_hopping = true})
Expand Down
23 changes: 22 additions & 1 deletion luci-app-openclash/po/zh-cn/openclash.zh-cn.po
Original file line number Diff line number Diff line change
Expand Up @@ -726,7 +726,7 @@ msgstr "协议"
msgid "Protocol param(optional)"
msgstr "传输协议参数(可选)"

msgid "Obfs"
msgid "obfs"
msgstr "混淆插件"

msgid "Obfs param(optional)"
Expand Down Expand Up @@ -768,6 +768,27 @@ msgstr "服务器节点配置"
msgid "Enable Port Hopping"
msgstr "启用端口跃迁"

msgid "Port Range"
msgstr "端口范围值"

msgid "Uplink Capacity(Default:Mbps)"
msgstr "上行链路容量(默认:Mbps)"

msgid "Downlink Capacity(Default:Mbps)"
msgstr "下行链路容量(默认:Mbps)"

msgid "Hop Interval (Unit:second)"
msgstr "跳跃间隔(单位:秒)"

msgid "Obfs"
msgstr "混淆插件"

msgid "Obfs param (optional)"
msgstr "混淆参数(可选)"

msgid "obfs-password"
msgstr "混淆密码"

msgid "Enable Transport Protocol Settings"
msgstr "启用传输协议设置"

Expand Down