Skip to content

Commit

Permalink
chore(po): update cn translation
Browse files Browse the repository at this point in the history
Signed-off-by: Tianling Shen <[email protected]>
  • Loading branch information
1715173329 committed Jan 22, 2024
1 parent c09925d commit c0aeec8
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 87 deletions.
4 changes: 2 additions & 2 deletions htdocs/luci-static/resources/view/homeproxy/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -926,8 +926,8 @@ return view.extend({
so.rmempty = false;

so = ss.option(form.ListValue, 'format', _('Format'));
so.value('source', _('Source'));
so.value('binary', _('Binary'));
so.value('source', _('Source file'));
so.value('binary', _('Binary file'));
so.default = 'source';
so.rmempty = false;

Expand Down
10 changes: 5 additions & 5 deletions po/templates/homeproxy.pot
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ msgid "Based on google/gvisor."
msgstr ""

#: htdocs/luci-static/resources/view/homeproxy/client.js:930
msgid "Binary"
msgid "Binary file"
msgstr ""

#: htdocs/luci-static/resources/view/homeproxy/client.js:366
Expand Down Expand Up @@ -1793,15 +1793,15 @@ msgstr ""
msgid "Socks5"
msgstr ""

#: htdocs/luci-static/resources/view/homeproxy/client.js:929
msgid "Source"
msgstr ""

#: htdocs/luci-static/resources/view/homeproxy/client.js:477
#: htdocs/luci-static/resources/view/homeproxy/client.js:795
msgid "Source IP CIDR"
msgstr ""

#: htdocs/luci-static/resources/view/homeproxy/client.js:929
msgid "Source file"
msgstr ""

#: htdocs/luci-static/resources/view/homeproxy/client.js:499
#: htdocs/luci-static/resources/view/homeproxy/client.js:806
msgid "Source port"
Expand Down
114 changes: 34 additions & 80 deletions po/zh_Hans/homeproxy.po
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ msgstr "移除了 %s 个节点"
#: htdocs/luci-static/resources/view/homeproxy/client.js:537
#: htdocs/luci-static/resources/view/homeproxy/client.js:834
msgid "-- Please choose --"
msgstr ""
msgstr "-- 请选择 --"

#: htdocs/luci-static/resources/view/homeproxy/client.js:442
msgid "4 or 6. Not limited if empty."
Expand Down Expand Up @@ -73,7 +73,7 @@ msgstr "新增路由规则"

#: htdocs/luci-static/resources/view/homeproxy/client.js:908
msgid "Add a rule set"
msgstr ""
msgstr "新增规则集"

#: htdocs/luci-static/resources/view/homeproxy/server.js:88
msgid "Add a server"
Expand Down Expand Up @@ -197,7 +197,7 @@ msgstr "自动更新"

#: htdocs/luci-static/resources/view/homeproxy/node.js:1255
msgid "Auto update subscriptions."
msgstr ""
msgstr "自动更新订阅。"

#: htdocs/luci-static/resources/view/homeproxy/node.js:749
msgid "BBR"
Expand All @@ -217,8 +217,8 @@ msgid "Based on google/gvisor."
msgstr "基于 google/gvisor。"

#: htdocs/luci-static/resources/view/homeproxy/client.js:930
msgid "Binary"
msgstr ""
msgid "Binary file"
msgstr "二进制文件"

#: htdocs/luci-static/resources/view/homeproxy/client.js:366
#: htdocs/luci-static/resources/view/homeproxy/client.js:1000
Expand Down Expand Up @@ -749,7 +749,7 @@ msgstr "流控"

#: htdocs/luci-static/resources/view/homeproxy/client.js:928
msgid "Format"
msgstr ""
msgstr "格式"

#: htdocs/luci-static/resources/view/homeproxy/node.js:893
msgid "GET"
Expand Down Expand Up @@ -1067,7 +1067,7 @@ msgstr "加载中"

#: htdocs/luci-static/resources/view/homeproxy/client.js:923
msgid "Local"
msgstr ""
msgstr "本地"

#: htdocs/luci-static/resources/view/homeproxy/node.js:953
msgid "Local address"
Expand Down Expand Up @@ -1095,7 +1095,7 @@ msgstr "主节点"

#: htdocs/luci-static/resources/view/homeproxy/client.js:548
msgid "Make IP CIDR in rule set used to match the source IP."
msgstr ""
msgstr "使规则集中的 IP CIDR 用于匹配源 IP。"

#: htdocs/luci-static/resources/view/homeproxy/client.js:614
msgid ""
Expand Down Expand Up @@ -1147,12 +1147,12 @@ msgstr "匹配端口。"

#: htdocs/luci-static/resources/view/homeproxy/client.js:494
msgid "Match private IP."
msgstr ""
msgstr "匹配私有 IP。"

#: htdocs/luci-static/resources/view/homeproxy/client.js:483
#: htdocs/luci-static/resources/view/homeproxy/client.js:801
msgid "Match private source IP."
msgstr ""
msgstr "匹配私有源 IP。"

#: htdocs/luci-static/resources/view/homeproxy/client.js:520
#: htdocs/luci-static/resources/view/homeproxy/client.js:817
Expand All @@ -1171,7 +1171,7 @@ msgstr "匹配请求类型。"
#: htdocs/luci-static/resources/view/homeproxy/client.js:532
#: htdocs/luci-static/resources/view/homeproxy/client.js:829
msgid "Match rule set."
msgstr ""
msgstr "匹配规则集。"

#: htdocs/luci-static/resources/view/homeproxy/client.js:478
#: htdocs/luci-static/resources/view/homeproxy/client.js:796
Expand All @@ -1180,7 +1180,7 @@ msgstr "匹配源 IP CIDR。"

#: htdocs/luci-static/resources/view/homeproxy/client.js:547
msgid "Match source IP via rule set"
msgstr ""
msgstr "通过规则集匹配源 IP"

#: htdocs/luci-static/resources/view/homeproxy/client.js:505
#: htdocs/luci-static/resources/view/homeproxy/client.js:812
Expand Down Expand Up @@ -1490,7 +1490,7 @@ msgstr "优先 IPv6"

#: htdocs/luci-static/resources/view/homeproxy/client.js:493
msgid "Private IP"
msgstr ""
msgstr "私有 IP"

#: htdocs/luci-static/resources/view/homeproxy/node.js:726
#: htdocs/luci-static/resources/view/homeproxy/node.js:960
Expand All @@ -1504,7 +1504,7 @@ msgstr "私钥指纹"
#: htdocs/luci-static/resources/view/homeproxy/client.js:482
#: htdocs/luci-static/resources/view/homeproxy/client.js:800
msgid "Private source IP"
msgstr ""
msgstr "私有源 IP"

#: htdocs/luci-static/resources/view/homeproxy/client.js:519
#: htdocs/luci-static/resources/view/homeproxy/client.js:816
Expand Down Expand Up @@ -1656,7 +1656,7 @@ msgstr "区域 ID"

#: htdocs/luci-static/resources/view/homeproxy/client.js:924
msgid "Remote"
msgstr ""
msgstr "远程"

#: htdocs/luci-static/resources/view/homeproxy/node.js:1352
msgid "Remove %s nodes"
Expand Down Expand Up @@ -1719,11 +1719,11 @@ msgstr "路由规则"
#: htdocs/luci-static/resources/view/homeproxy/client.js:899
#: htdocs/luci-static/resources/view/homeproxy/client.js:908
msgid "Rule set"
msgstr ""
msgstr "规则集"

#: htdocs/luci-static/resources/view/homeproxy/client.js:941
msgid "Rule set URL"
msgstr ""
msgstr "规则集 URL"

#: htdocs/luci-static/resources/view/homeproxy/node.js:519
msgid "SSH"
Expand Down Expand Up @@ -1821,15 +1821,15 @@ msgstr "Socks4A"
msgid "Socks5"
msgstr "Socks5"

#: htdocs/luci-static/resources/view/homeproxy/client.js:929
msgid "Source"
msgstr ""

#: htdocs/luci-static/resources/view/homeproxy/client.js:477
#: htdocs/luci-static/resources/view/homeproxy/client.js:795
msgid "Source IP CIDR"
msgstr "源 IP CIDR"

#: htdocs/luci-static/resources/view/homeproxy/client.js:929
msgid "Source file"
msgstr "源文件"

#: htdocs/luci-static/resources/view/homeproxy/client.js:499
#: htdocs/luci-static/resources/view/homeproxy/client.js:806
msgid "Source port"
Expand Down Expand Up @@ -1974,7 +1974,7 @@ msgstr "用于连接到 DNS 服务器的出站标签。"

#: htdocs/luci-static/resources/view/homeproxy/client.js:964
msgid "Tag of the outbound to download rule set."
msgstr ""
msgstr "用于下载规则集的出站标签。"

#: htdocs/luci-static/resources/view/homeproxy/client.js:868
msgid "Tag of the target dns server."
Expand Down Expand Up @@ -2040,6 +2040,11 @@ msgid ""
"><code>(source_port || source_port_range)</code> &&<br/><code>other fields</"
"code>."
msgstr ""
"默认规则使用以下匹配逻辑:<br/><code>(domain || domain_suffix || "
"domain_keyword || domain_regex || ip_cidr || ip_is_private)</code> &&<br/"
"><code>(port || port_range)</code> &&<br/><code>(source_ip_cidr || "
"source_ip_is_private)</code> &&<br/><code>(source_port || "
"source_port_range)</code> &&<br/><code>other fields</code>。"

#: htdocs/luci-static/resources/view/homeproxy/client.js:734
msgid ""
Expand All @@ -2049,6 +2054,11 @@ msgid ""
"code> &&<br/><code>(source_port || source_port_range)</code> &&<br/"
"><code>other fields</code>."
msgstr ""
"默认规则使用以下匹配逻辑:<br/><code>(domain || domain_suffix || "
"domain_keyword || domain_regex)</code> &&<br/><code>(port || port_range)</"
"code> &&<br/><code>(source_ip_cidr || source_ip_is_private)</code> &&<br/"
"><code>(source_port || source_port_range)</code> &&<br/><code>other fields</"
"code>。"

#: htdocs/luci-static/resources/view/homeproxy/client.js:680
msgid ""
Expand Down Expand Up @@ -2239,11 +2249,11 @@ msgstr "更新失败。"

#: htdocs/luci-static/resources/view/homeproxy/client.js:981
msgid "Update interval"
msgstr ""
msgstr "更新间隔"

#: htdocs/luci-static/resources/view/homeproxy/client.js:982
msgid "Update interval of rule set.<br/><code>1d</code> will be used if empty."
msgstr ""
msgstr "规则集更新间隔。<br/>留空使用 <code>1d</code>。"

#: htdocs/luci-static/resources/view/homeproxy/node.js:1322
msgid "Update nodes from subscriptions"
Expand Down Expand Up @@ -2523,59 +2533,3 @@ msgstr "有效端口值"
#: htdocs/luci-static/resources/homeproxy.js:268
msgid "valid uuid"
msgstr "有效 uuid"

#~ msgid "Auto update subscriptions, GeoIP and GeoSite."
#~ msgstr "自动更新订阅、GeoIP 和 GeoSite。"

#~ msgid "GeoIP"
#~ msgstr "GeoIP"

#~ msgid "GeoIP version"
#~ msgstr "GeoIP 版本"

#~ msgid "GeoSite version"
#~ msgstr "GeoSite 版本"

#~ msgid "Geosite"
#~ msgstr "Geosite"

#~ msgid "Match GeoIP."
#~ msgstr "匹配 GeoIP。"

#~ msgid "Match geosite."
#~ msgstr "匹配 geosite。"

#~ msgid "Match source GeoIP."
#~ msgstr "匹配源 GeoIP。"

#~ msgid "Source GeoIP"
#~ msgstr "源 GeoIP"

#~ msgid ""
#~ "The default rule uses the following matching logic:<br/><code>(domain || "
#~ "domain_suffix || domain_keyword || domain_regex || geosite || geoip || "
#~ "ip_cidr)</code> &&<br/><code>(port || port_range)</code> &&<br/"
#~ "><code>(source_geoip || source_ip_cidr)</code> &&<br/><code>(source_port "
#~ "|| source_port_range)</code> &&<br/><code>other fields</code>."
#~ msgstr ""
#~ "默认规则使用以下匹配逻辑:<br/><code>(domain || domain_suffix || "
#~ "domain_keyword || domain_regex || geosite || geoip || ip_cidr)</code> "
#~ "&&<br/><code>(port || port_range)</code> &&<br/><code>(source_geoip || "
#~ "source_ip_cidr)</code> &&<br/><code>(source_port || source_port_range)</"
#~ "code> &&<br/><code>其他字段</code>."

#~ msgid ""
#~ "The default rule uses the following matching logic:<br/><code>(domain || "
#~ "domain_suffix || domain_keyword || domain_regex || geosite)</code> &&<br/"
#~ "><code>(port || port_range)</code> &&<br/><code>(source_geoip || "
#~ "source_ip_cidr)</code> &&<br/><code>(source_port || source_port_range)</"
#~ "code> &&<br/><code>other fields</code>."
#~ msgstr ""
#~ "默认规则使用以下匹配逻辑:<br/><code>(domain || domain_suffix || "
#~ "domain_keyword || domain_regex || geosite)</code> &&<br/><code>(port || "
#~ "port_range)</code> &&<br/><code>(source_geoip || source_ip_cidr)</code> "
#~ "&&<br/><code>(source_port || source_port_range)</code> &&<br/><code>other "
#~ "fields</code>."

#~ msgid "Upstream archived. Not recommended."
#~ msgstr "上游已存档。不建议。"

0 comments on commit c0aeec8

Please sign in to comment.