diff options
author | Hannu Nyman <hannu.nyman@iki.fi> | 2021-07-22 00:25:47 +0300 |
---|---|---|
committer | Hannu Nyman <hannu.nyman@iki.fi> | 2021-07-22 00:25:47 +0300 |
commit | df884b4e6e0292caaa8ddc4255bdcedfbfe6b1a7 (patch) | |
tree | 5ea9172a042471fee0e83a8c63150eb12ec83a71 /applications/luci-app-mwan3/po/zh_Hans | |
parent | a296acc44e395e47a50399d83ba3dd2496f539b7 (diff) |
treewide: i18n - sync translations
Sync translations.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Diffstat (limited to 'applications/luci-app-mwan3/po/zh_Hans')
-rw-r--r-- | applications/luci-app-mwan3/po/zh_Hans/mwan3.po | 1079 |
1 files changed, 619 insertions, 460 deletions
diff --git a/applications/luci-app-mwan3/po/zh_Hans/mwan3.po b/applications/luci-app-mwan3/po/zh_Hans/mwan3.po index d2850a0547..c8bd73141b 100644 --- a/applications/luci-app-mwan3/po/zh_Hans/mwan3.po +++ b/applications/luci-app-mwan3/po/zh_Hans/mwan3.po @@ -13,232 +13,244 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Weblate 4.7-dev\n" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:176 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:192 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:212 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:186 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:202 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:224 msgid "%d hour" msgstr "%d 小时" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:171 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:187 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:207 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:181 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:197 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:219 msgid "%d minute" msgstr "%d 分钟" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:172 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:173 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:174 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:175 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:188 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:189 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:190 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:191 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:208 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:209 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:210 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:211 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:182 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:183 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:184 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:185 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:198 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:199 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:200 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:201 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:220 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:221 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:222 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:223 msgid "%d minutes" msgstr "%d 分钟" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:152 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:165 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:181 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:201 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:170 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:175 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:191 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:213 +#, fuzzy msgid "%d second" -msgstr "%d 秒" - -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:153 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:154 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:155 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:156 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:157 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:158 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:159 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:160 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:161 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:166 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:167 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:168 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:169 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:170 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:182 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:183 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:184 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:185 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:186 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:202 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:203 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:204 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:205 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:206 +msgid_plural "%d seconds" +msgstr[0] "%d 秒" + +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:176 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:177 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:178 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:179 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:180 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:192 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:193 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:194 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:195 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:196 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:214 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:215 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:216 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:217 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:218 msgid "%d seconds" msgstr "%d 秒" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/ruleconfig.lua:67 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/notify.js:45 +msgid "" +"%s: Name of Physical device which interface went up or down (e.g. \"eth0\" " +"or \"wwan0\")" +msgstr "" + +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/notify.js:39 +msgid "%s: Name of the action that triggered this event" +msgstr "" + +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/notify.js:44 +msgid "" +"%s: Name of the interface which went up or down (e.g. \"wan\" or \"wwan\")" +msgstr "" + +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/notify.js:40 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/notify.js:41 +msgid "* %s: Is called by netifd and mwan3track" +msgstr "" + +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/notify.js:43 +msgid "* %s: Is only called by mwan3track if tracking has failed" +msgstr "" + +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/notify.js:42 +msgid "* %s: Is only called by mwan3track if tracking was successful" +msgstr "" + +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/status/diagnostics.js:71 +msgid "-- Interface Selection --" +msgstr "" + +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/rule.js:83 msgid "-- Please choose --" msgstr "-- 请选择 --" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:66 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:75 msgid "" "Acceptable values: 1-100. This many Tracking IP addresses must respond for " "the link to be deemed up" msgstr "" "取值范围:1-100。这个设置项指定了当多少个 IP 地址能够连通时接口会被认为在线" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/memberconfig.lua:30 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/member.js:38 msgid "Acceptable values: 1-1000. Defaults to 1 if not set" msgstr "取值范围:1-1000。如果不填写,默认值为 1" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/memberconfig.lua:26 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/member.js:34 msgid "Acceptable values: 1-256. Defaults to 1 if not set" msgstr "取值范围:1-256。如果不填写,默认值为 1" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/globalsconfig.lua:27 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/globals.js:26 msgid "Alert" msgstr "提醒" -#: applications/luci-app-mwan3/luasrc/controller/mwan3.lua:177 -msgid "All required IP rules for interface %s found" -msgstr "找到接口 %s 的所有必需 IP 规则" - -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/globalsconfig.lua:38 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/globals.js:37 msgid "Also scan this Routing table for connected networks" msgstr "同时扫描此路由表以查找已连接的网络" -#: applications/luci-app-mwan3/luasrc/view/mwan/status_diagnostics.htm:77 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/status/diagnostics.js:65 msgid "Check IP rules" msgstr "检查 IP 规则" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:104 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:116 msgid "Check link quality" msgstr "检查连接质量" -#: applications/luci-app-mwan3/luasrc/view/mwan/status_diagnostics.htm:78 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/status/diagnostics.js:66 msgid "Check routing table" msgstr "检查路由表" -#: applications/luci-app-mwan3/luasrc/view/mwan/overview_status_interface.htm:112 -#: applications/luci-app-mwan3/luasrc/view/mwan/status_detail.htm:34 -#: applications/luci-app-mwan3/luasrc/view/mwan/status_troubleshooting.htm:34 -msgid "Collecting data..." -msgstr "正在收集数据…" +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/status/overview.js:95 +msgid "Collecting data ..." +msgstr "" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/globalsconfig.lua:28 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/notify.js:18 +msgid "Contents have been saved." +msgstr "" + +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/globals.js:27 msgid "Critical" msgstr "致命错误" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/globalsconfig.lua:33 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/globals.js:32 msgid "Debug" msgstr "调试" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/rule.lua:85 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/ruleconfig.lua:36 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/rule.js:50 msgid "Destination address" msgstr "目标地址" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/rule.lua:91 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/ruleconfig.lua:40 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/rule.js:54 msgid "Destination port" msgstr "目标端口" -#: applications/luci-app-mwan3/luasrc/view/mwan/status_detail.htm:11 -#: applications/luci-app-mwan3/luasrc/view/mwan/status_diagnostics.htm:11 -#: applications/luci-app-mwan3/luasrc/view/mwan/status_interface.htm:11 -#: applications/luci-app-mwan3/luasrc/view/mwan/status_troubleshooting.htm:11 -msgid "Detail" -msgstr "详细信息" - -#: applications/luci-app-mwan3/luasrc/view/mwan/status_detail.htm:12 -#: applications/luci-app-mwan3/luasrc/view/mwan/status_diagnostics.htm:12 -#: applications/luci-app-mwan3/luasrc/view/mwan/status_interface.htm:12 -#: applications/luci-app-mwan3/luasrc/view/mwan/status_troubleshooting.htm:12 +#: applications/luci-app-mwan3/root/usr/share/luci/menu.d/luci-app-mwan3.json:29 msgid "Diagnostics" msgstr "网络诊断" -#: applications/luci-app-mwan3/luasrc/view/mwan/overview_status_interface.htm:64 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/status/overview.js:56 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/status/include/90_mwan3.js:65 msgid "Disabled" msgstr "已禁用" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:229 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:242 msgid "" "Downed interface will be deemed up after this many successful ping tests" msgstr "当 Ping 成功次数达到这个数值后,已经被认为离线的接口将会重新上线" -#: applications/luci-app-mwan3/luasrc/view/mwan/overview_status_interface.htm:44 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/status/overview.js:40 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/status/include/90_mwan3.js:48 msgid "Downtime" msgstr "故障时间" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/globalsconfig.lua:26 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/globals.js:25 msgid "Emergency" msgstr "紧急" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:59 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:68 msgid "Enable ssl tracking" msgstr "启用 SSL 跟踪" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interface.lua:159 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:23 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:31 msgid "Enabled" msgstr "已启用" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/ruleconfig.lua:73 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/rule.js:92 msgid "" "Enables firewall rule logging (global mwan3 logging must also be enabled)" msgstr "启用防火墙规则日志(必须启用全局 mwan3 日志)" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/globalsconfig.lua:20 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/globals.js:20 msgid "Enables global firewall logging" msgstr "启用全局防火墙日志" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:60 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:69 msgid "Enables https tracking on ssl port 443" msgstr "启用在 SSL 端口 443 上的 https 跟踪" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/globalsconfig.lua:14 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/globals.js:15 msgid "Enter value in hex, starting with <code>0x</code>" msgstr "输入十六进制值,以 <code>0x</code> 开头" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/globalsconfig.lua:29 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/globals.js:28 msgid "Error" msgstr "错误" -#: applications/luci-app-mwan3/luasrc/view/mwan/status_diagnostics.htm:88 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/status/diagnostics.js:108 msgid "Execute" msgstr "执行" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:27 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:35 msgid "Expect interface state on up event" msgstr "在 up 事件发生时的预期接口状态" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:178 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:188 msgid "Failure interval" msgstr "故障检测间隔" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:108 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:121 msgid "Failure latency [ms]" msgstr "错误延迟 [ms]" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:120 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:134 msgid "Failure packet loss [%]" msgstr "错误丢包 [%]" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/globalsconfig.lua:24 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/globals.js:23 msgid "Firewall loglevel" msgstr "防火墙日志级别" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/globalsconfig.lua:13 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/globals.js:14 msgid "Firewall mask" msgstr "防火墙掩码" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:242 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:255 msgid "Flush conntrack table" msgstr "刷新连接跟踪表" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:243 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:256 msgid "Flush global firewall conntrack table on interface events" msgstr "在接口事件触发时刷新全局防火墙连接跟踪表" -#: applications/luci-app-mwan3/luasrc/controller/mwan3.lua:45 +#: applications/luci-app-mwan3/root/usr/share/luci/menu.d/luci-app-mwan3.json:56 msgid "Globals" msgstr "全局" @@ -246,183 +258,115 @@ msgstr "全局" msgid "Grant UCI access for luci-app-mwan3" msgstr "给 luci-app-mwan3 授权 UCI 访问" -#: applications/luci-app-mwan3/luasrc/view/mwan/status_diagnostics.htm:80 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/status/diagnostics.js:68 msgid "Hotplug ifdown" msgstr "Hotplug ifdown" -#: applications/luci-app-mwan3/luasrc/view/mwan/status_diagnostics.htm:79 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/status/diagnostics.js:67 msgid "Hotplug ifup" msgstr "Hotplug ifup" -#: applications/luci-app-mwan3/luasrc/view/mwan/status_detail.htm:29 -#: applications/luci-app-mwan3/luasrc/view/mwan/status_diagnostics.htm:56 -#: applications/luci-app-mwan3/luasrc/view/mwan/status_troubleshooting.htm:29 -msgid "INFO: MWAN not running" -msgstr "信息:MWAN 没有运行" - -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/ruleconfig.lua:65 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/rule.js:81 msgid "IPset" msgstr "IPset" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:34 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:43 msgid "IPv4" msgstr "IPv4" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/ruleconfig.lua:23 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/rule.js:36 msgid "IPv4 and IPv6" msgstr "IPv4 和 IPv6" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/ruleconfig.lua:24 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/rule.js:37 msgid "IPv4 only" msgstr "仅 IPv4" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:35 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:44 msgid "IPv6" msgstr "IPv6" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/ruleconfig.lua:25 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/rule.js:38 msgid "IPv6 only" msgstr "仅 IPv6" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/globalsconfig.lua:32 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/globals.js:31 msgid "Info" msgstr "信息" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:26 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:34 msgid "Initial state" msgstr "初始状态" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interface.lua:149 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/member.lua:27 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/memberconfig.lua:18 -#: applications/luci-app-mwan3/luasrc/view/mwan/overview_status_interface.htm:74 -#: applications/luci-app-mwan3/luasrc/view/mwan/status_detail.htm:10 -#: applications/luci-app-mwan3/luasrc/view/mwan/status_diagnostics.htm:10 -#: applications/luci-app-mwan3/luasrc/view/mwan/status_diagnostics.htm:61 -#: applications/luci-app-mwan3/luasrc/view/mwan/status_interface.htm:10 -#: applications/luci-app-mwan3/luasrc/view/mwan/status_troubleshooting.htm:10 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/member.js:26 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/status/diagnostics.js:83 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/status/overview.js:64 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/status/include/90_mwan3.js:76 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/status/include/90_mwan3.js:100 +#: applications/luci-app-mwan3/root/usr/share/luci/menu.d/luci-app-mwan3.json:64 msgid "Interface" msgstr "接口" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interface.lua:207 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:214 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:227 msgid "Interface down" msgstr "接口离线" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interface.lua:218 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:228 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:241 msgid "Interface up" msgstr "接口在线" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:215 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:228 msgid "Interface will be deemed down after this many failed ping tests" msgstr "当 Ping 失败次数达到这个数值后,接口会被认为离线" -#: applications/luci-app-mwan3/luasrc/controller/mwan3.lua:48 -msgid "Interfaces" -msgstr "接口" +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:24 +msgid "" +"Interfaces may not share the same name as configured members, policies or " +"rules." +msgstr "" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:32 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/ruleconfig.lua:21 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:41 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/rule.js:34 msgid "Internet Protocol" msgstr "互联网协议" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:194 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:205 msgid "Keep failure interval" msgstr "保持故障检测间隔" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:195 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:206 msgid "Keep ping failure interval during failure state" msgstr "在故障状态期间保持的 Ping 故障检测间隔" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/policy.lua:79 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/policyconfig.lua:25 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/policy.js:37 msgid "Last resort" msgstr "备用成员" -#: applications/luci-app-mwan3/luasrc/controller/mwan3.lua:19 -#: applications/luci-app-mwan3/luasrc/controller/mwan3.lua:41 -msgid "Load Balancing" -msgstr "负载均衡" +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/notify.js:34 +msgid "Lines beginning with # are comments and are not executed." +msgstr "" -#: applications/luci-app-mwan3/luasrc/view/mwan/overview_status_interface.htm:111 -#: applications/luci-app-mwan3/luasrc/view/mwan/status_detail.htm:33 -#: applications/luci-app-mwan3/luasrc/view/mwan/status_diagnostics.htm:36 -#: applications/luci-app-mwan3/luasrc/view/mwan/status_troubleshooting.htm:33 -msgid "Loading" -msgstr "加载中" +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/policy.js:20 +msgid "" +"Load-balanced member interfaces distribute more traffic out those with " +"higher weights." +msgstr "" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/globalsconfig.lua:19 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/ruleconfig.lua:72 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/globals.js:19 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/rule.js:91 msgid "Logging" msgstr "日志" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/globalsconfig.lua:23 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/globals.js:22 msgid "Loglevel" msgstr "日志级别" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/globalsconfig.lua:8 -msgid "MWAN - Globals" -msgstr "MWAN - 全局" - -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interface.lua:139 -msgid "MWAN - Interfaces" -msgstr "MWAN - 接口" - -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/member.lua:9 -msgid "MWAN - Members" -msgstr "MWAN - 成员" - -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/notify.lua:11 -msgid "MWAN - Notification" -msgstr "MWAN - 通知" - -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/policy.lua:38 -msgid "MWAN - Policies" -msgstr "MWAN - 策略" - -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/rule.lua:42 -msgid "MWAN - Rules" -msgstr "MWAN - 规则" - -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:16 -msgid "MWAN Interface Configuration - %s" -msgstr "MWAN 接口配置 - %s" - -#: applications/luci-app-mwan3/luasrc/view/mwan/overview_status_interface.htm:109 -msgid "MWAN Interfaces" -msgstr "MWAN 接口" - -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/memberconfig.lua:11 -msgid "MWAN Member Configuration - %s" -msgstr "MWAN 成员配置 - %s" - -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/policyconfig.lua:11 -msgid "MWAN Policy Configuration - %s" -msgstr "MWAN 策略配置 - %s" - -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/ruleconfig.lua:14 -msgid "MWAN Rule Configuration - %s" -msgstr "MWAN 规则配置 - %s" - -#: applications/luci-app-mwan3/luasrc/view/mwan/status_detail.htm:27 -msgid "MWAN Status - Detail" -msgstr "MWAN 状态 - 详细信息" - -#: applications/luci-app-mwan3/luasrc/view/mwan/status_diagnostics.htm:54 -msgid "MWAN Status - Diagnostics" -msgstr "MWAN 状态 - 网络诊断" - -#: applications/luci-app-mwan3/luasrc/view/mwan/status_troubleshooting.htm:27 -msgid "MWAN Status - Troubleshooting" -msgstr "MWAN 状态 - 故障排除" - -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:92 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:103 msgid "Max TTL" msgstr "最大 TTL" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/ruleconfig.lua:32 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/ruleconfig.lua:41 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/rule.js:46 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/rule.js:55 msgid "" "May be entered as a single or multiple port(s) (eg \"22\" or \"80,443\") or " "as a portrange (eg \"1024:2048\") without quotes" @@ -430,44 +374,91 @@ msgstr "" "可以输入一个或多个端口(例如“22”或“80,443”),亦或是一个端口范围(例" "如“1024:2048”),不含引号" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/member.lua:17 +#: applications/luci-app-mwan3/root/usr/share/luci/menu.d/luci-app-mwan3.json:72 msgid "Member" msgstr "成员" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/policyconfig.lua:18 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/policy.js:18 +msgid "Member interfaces with lower metrics are used first." +msgstr "" + +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/policy.js:19 +msgid "Member interfaces with the same metric will be load-balanced." +msgstr "" + +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/policy.js:30 msgid "Member used" msgstr "使用的成员" -#: applications/luci-app-mwan3/luasrc/controller/mwan3.lua:51 -msgid "Members" -msgstr "成员" +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/member.js:17 +msgid "" +"Members are profiles attaching a metric and weight to an MWAN interface." +msgstr "" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/member.lua:12 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/member.js:19 msgid "" -"Members are profiles attaching a metric and weight to an MWAN interface<br /" -">Names may contain characters A-Z, a-z, 0-9, _ and no spaces<br />Members " -"may not share the same name as configured interfaces, policies or rules" -msgstr "" -"“成员”用来设置每一个 MWAN 接口的跃点数(即接口优先级)和所占比重,<br />名称" -"允许包括 A-Z、 a-z、0-9、_ ,但是不能有空格。<br />成员不应该与接口、策略、规" -"则中的任意一个设置项使用相同的名称。" - -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/policy.lua:65 -msgid "Members assigned" -msgstr "分配的成员" - -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interface.lua:229 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:249 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/member.lua:33 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/memberconfig.lua:25 +"Members may not share the same name as configured interfaces, policies or " +"rules." +msgstr "" + +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:263 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/member.js:33 msgid "Metric" msgstr "跃点数" -#: applications/luci-app-mwan3/luasrc/controller/mwan3.lua:190 -msgid "Missing both IP rules for interface %s" -msgstr "缺少接口 %s 的两条 IP 规则" +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/status/include/90_mwan3.js:18 +#: applications/luci-app-mwan3/root/usr/share/luci/menu.d/luci-app-mwan3.json:3 +#: applications/luci-app-mwan3/root/usr/share/luci/menu.d/luci-app-mwan3.json:46 +msgid "MultiWAN Manager" +msgstr "" + +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/status/diagnostics.js:79 +msgid "MultiWAN Manager - Diagnostics" +msgstr "" + +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/globals.js:10 +msgid "MultiWAN Manager - Globals" +msgstr "" + +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:20 +msgid "MultiWAN Manager - Interfaces" +msgstr "" + +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/member.js:16 +msgid "MultiWAN Manager - Members" +msgstr "" + +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/notify.js:26 +msgid "MultiWAN Manager - Notify" +msgstr "" + +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/status/overview.js:92 +msgid "MultiWAN Manager - Overview" +msgstr "" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/ruleconfig.lua:66 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/policy.js:16 +msgid "MultiWAN Manager - Policies" +msgstr "" + +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/rule.js:18 +msgid "MultiWAN Manager - Rules" +msgstr "" + +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/status/detail.js:12 +msgid "MultiWAN Manager - Status" +msgstr "" + +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/status/troubleshooting.js:12 +msgid "MultiWAN Manager - Troubleshooting" +msgstr "" + +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:21 +msgid "" +"Mwan3 requires that all interfaces have a unique metric configured in /etc/" +"config/network." +msgstr "" + +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/rule.js:82 msgid "" "Name of IPset rule. Requires IPset rule in /etc/dnsmasq.conf (eg \"ipset=/" "youtube.com/youtube\")" @@ -475,267 +466,265 @@ msgstr "" "匹配 IPset 规则列表名称。需要先配置 /etc/dnsmasq.conf 中的 IPset 规则(例" "如:“ipset=/youtube.com/youtube”)" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interface.lua:165 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/ruleconfig.lua:59 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:23 +msgid "Names may contain characters A-Z, a-z, 0-9, _ and no spaces-" +msgstr "" + +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/member.js:18 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/policy.js:21 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/rule.js:26 +msgid "Names may contain characters A-Z, a-z, 0-9, _ and no spaces." +msgstr "" + +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/policy.js:22 +msgid "Names must be 15 characters or less." +msgstr "" + +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:22 +msgid "Names must match the interface name found in /etc/config/network." +msgstr "" + +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/rule.js:73 msgid "No" msgstr "否" -#: applications/luci-app-mwan3/luasrc/view/mwan/overview_status_interface.htm:91 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/status/overview.js:20 msgid "No MWAN interfaces found" msgstr "没有找到 MWAN 接口" -#: applications/luci-app-mwan3/luasrc/view/mwan/overview_status_interface.htm:50 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/status/overview.js:43 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/status/include/90_mwan3.js:51 msgid "No Tracking" msgstr "无跟踪" -#: applications/luci-app-mwan3/luasrc/controller/mwan3.lua:159 -msgid "No gateway for interface %s found." -msgstr "没有找到接口 %s 的网关。" +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:271 +msgid "No interface metric set!" +msgstr "" -#: applications/luci-app-mwan3/luasrc/controller/mwan3.lua:168 -msgid "No tracking Hosts for interface %s defined." -msgstr "未定义接口 %s 的跟踪主机。" +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/notify.js:31 +msgid "Notes:" +msgstr "" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/globalsconfig.lua:31 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/globals.js:30 msgid "Notice" msgstr "注意" -#: applications/luci-app-mwan3/luasrc/controller/mwan3.lua:60 -msgid "Notification" -msgstr "通知" +#: applications/luci-app-mwan3/root/usr/share/luci/menu.d/luci-app-mwan3.json:96 +msgid "Notify" +msgstr "" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:30 -#: applications/luci-app-mwan3/luasrc/view/mwan/overview_status_interface.htm:42 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:38 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/status/overview.js:37 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/status/include/90_mwan3.js:45 msgid "Offline" msgstr "离线" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:29 -#: applications/luci-app-mwan3/luasrc/view/mwan/overview_status_interface.htm:34 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:37 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/status/overview.js:30 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/status/include/90_mwan3.js:39 msgid "Online" msgstr "在线" -#: applications/luci-app-mwan3/luasrc/controller/mwan3.lua:182 -#: applications/luci-app-mwan3/luasrc/controller/mwan3.lua:186 -msgid "Only one IP rules for interface %s found" -msgstr "只找到接口 %s 的一个 IP 规则" +#: applications/luci-app-mwan3/root/usr/share/luci/menu.d/luci-app-mwan3.json:13 +msgid "Overview" +msgstr "" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:70 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:79 msgid "Ping count" msgstr "Ping 计数" -#: applications/luci-app-mwan3/luasrc/view/mwan/status_diagnostics.htm:75 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/status/diagnostics.js:63 msgid "Ping default gateway" msgstr "Ping 默认网关" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interface.lua:191 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:163 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:173 msgid "Ping interval" msgstr "Ping 间隔" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:179 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:189 msgid "Ping interval during failure detection" msgstr "故障检测期间的 Ping 间隔" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:199 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:211 msgid "Ping interval during failure recovering" msgstr "故障恢复期间的 Ping 间隔" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:78 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:88 msgid "Ping size" msgstr "Ping 大小" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:150 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:167 msgid "Ping timeout" msgstr "Ping 超时" -#: applications/luci-app-mwan3/luasrc/view/mwan/status_diagnostics.htm:76 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/status/diagnostics.js:64 msgid "Ping tracking IP" msgstr "Ping 跟踪 IP" -#: applications/luci-app-mwan3/luasrc/controller/mwan3.lua:54 -msgid "Policies" -msgstr "策略" +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/policy.js:17 +msgid "" +"Policies are profiles grouping one or more members controlling how Mwan3 " +"distributes traffic." +msgstr "" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/policy.lua:42 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/policy.js:23 msgid "" -"Policies are profiles grouping one or more members controlling how MWAN " -"distributes traffic<br />Member interfaces with lower metrics are used " -"first<br />Member interfaces with the same metric will be load-balanced<br /" -">Load-balanced member interfaces distribute more traffic out those with " -"higher weights<br />Names may contain characters A-Z, a-z, 0-9, _ and no " -"spaces<br />Names must be 15 characters or less<br />Policies may not share " -"the same name as configured interfaces, members or rules" -msgstr "" -"“策略”把成员进行分组,告诉 MWAN 如何分配“规则”中使用这一策略的流量<br />拥有" -"较低跃点数的成员将会被优先使用<br />拥有相同跃点数的成员把流量进行负载均衡" -"<br />进行负载均衡的成员之间拥有较高比重的成员将会被分配到更多流量<br />名称" -"允许包括 A-Z、a-z、0-9、_ 但是不能有空格<br />名称应该在 15 个字符以内<br />" -"策略不应该与接口、成员、规则中的任意一个设置项使用相同的名称" - -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/policy.lua:51 +"Policies may not share the same name as configured interfaces, members or " +"rules" +msgstr "" + +#: applications/luci-app-mwan3/root/usr/share/luci/menu.d/luci-app-mwan3.json:80 msgid "Policy" msgstr "策略" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/rule.lua:103 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/ruleconfig.lua:75 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/rule.js:95 msgid "Policy assigned" msgstr "分配的策略" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/rule.lua:97 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/ruleconfig.lua:45 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/rule.js:59 msgid "Protocol" msgstr "协议" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:198 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/notify.js:35 +msgid "" +"Put your custom mwan3 action here, they will be executed with each netifd " +"hotplug interface event on interfaces for which mwan3 is enabled." +msgstr "" + +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:210 msgid "Recovery interval" msgstr "故障恢复间隔" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:129 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:144 msgid "Recovery latency [ms]" msgstr "恢复延迟 [ms]" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:141 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:157 msgid "Recovery packet loss [%]" msgstr "恢复丢包 [%]" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/globalsconfig.lua:40 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/globals.js:39 msgid "Routing table %d" msgstr "路由表 %d" -#: applications/luci-app-mwan3/luasrc/controller/mwan3.lua:196 -msgid "Routing table %s for interface %s found" -msgstr "找到路由表 %s,为接口 %s" - -#: applications/luci-app-mwan3/luasrc/controller/mwan3.lua:200 -msgid "Routing table %s for interface %s not found" -msgstr "没有找到路由表 %s,为接口 %s" - -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/globalsconfig.lua:37 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/globals.js:36 msgid "Routing table lookup" msgstr "路由表查找" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/rule.lua:59 +#: applications/luci-app-mwan3/root/usr/share/luci/menu.d/luci-app-mwan3.json:88 msgid "Rule" msgstr "规则" -#: applications/luci-app-mwan3/luasrc/controller/mwan3.lua:57 -msgid "Rules" -msgstr "规则" +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/rule.js:20 +msgid "Rules are based on IP address, port or protocol." +msgstr "" + +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/rule.js:21 +msgid "Rules are matched from top to bottom." +msgstr "" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/rule.lua:47 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/rule.js:22 +msgid "Rules below a matching rule are ignored." +msgstr "" + +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/rule.js:27 msgid "" -"Rules specify which traffic will use a particular MWAN policy<br />Rules are " -"based on IP address, port or protocol<br />Rules are matched from top to " -"bottom<br />Rules below a matching rule are ignored<br />Traffic not " -"matching any rule is routed using the main routing table<br />Traffic " -"destined for known (other than default) networks is handled by the main " -"routing table<br />Traffic matching a rule, but all WAN interfaces for that " -"policy are down will be blackholed<br />Names may contain characters A-Z, a-" -"z, 0-9, _ and no spaces<br />Rules may not share the same name as configured " -"interfaces, members or policies" -msgstr "" -"规则用于指定哪些流量将使用特定的 MWAN 策略<br />规则可基于 IP 地址,端口或协" -"议<br />每条流量至上而下进行匹配<br />如果匹配中了某条规则,则其下方的规则将" -"被忽略<br />不符合任何规则的流量将使用主路由表进行路由<br />目的地为已知(非" -"默认)网络的流量由主路由表处理<br />如果流量符合某条规则,但该规则所使用的策" -"略中的所有 WAN 接口都离线,则该流量会被丢弃<br />名称可包含字符 A-Z,a-z," -"0-9,_ ,但不能有空格<br />规则不能与接口、成员或策略重名" - -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/ruleconfig.lua:62 +"Rules may not share the same name as configured interfaces, members or " +"policies." +msgstr "" + +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/rule.js:19 +msgid "Rules specify which traffic will use a particular MWAN policy." +msgstr "" + +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/rule.js:77 msgid "Seconds. Acceptable values: 1-1000000. Defaults to 600 if not set" msgstr "单位为秒。接受的值:1-1000000。留空则使用默认值 600 秒" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/rule.lua:73 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/ruleconfig.lua:27 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/rule.js:41 msgid "Source address" msgstr "源地址" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/rule.lua:79 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/ruleconfig.lua:31 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/rule.js:45 msgid "Source port" msgstr "源端口" -#: applications/luci-app-mwan3/luasrc/view/mwan/overview_status_interface.htm:78 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/status/overview.js:65 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/status/include/90_mwan3.js:82 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/status/include/90_mwan3.js:106 +#: applications/luci-app-mwan3/root/usr/share/luci/menu.d/luci-app-mwan3.json:21 msgid "Status" msgstr "状态" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/ruleconfig.lua:55 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/rule.js:69 msgid "Sticky" msgstr "粘滞模式" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/ruleconfig.lua:61 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/rule.js:76 msgid "Sticky timeout" msgstr "粘滞超时" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/ruleconfig.lua:28 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/ruleconfig.lua:37 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/rule.js:42 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/rule.js:51 msgid "Supports CIDR notation (eg \"192.168.100.0/24\") without quotes" msgstr "支持 CIDR 写法(例如:\"192.168.100.0/24\")不含引号" -#: applications/luci-app-mwan3/luasrc/view/mwan/status_diagnostics.htm:72 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/status/diagnostics.js:91 msgid "Task" msgstr "任务" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interface.lua:15 -msgid "There are currently %d of %d supported interfaces configured" -msgstr "当前已配置 %d 个接口,最大支持 %d 个" +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/notify.js:29 +msgid "The file is also preserved during sysupgrade." +msgstr "" + +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/notify.js:33 +msgid "" +"The first line of the script must be "#!/bin/sh" without quotes." +msgstr "" + +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/notify.js:37 +msgid "" +"There are three main environment variables that are passed to this script." +msgstr "" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:250 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:264 msgid "" "This displays the metric assigned to this interface in /etc/config/network" msgstr "这里显示了这个接口在 /etc/config/network 中配置的跃点数" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:38 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/notify.js:32 +msgid "This file is interpreted as a shell script." +msgstr "" + +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:48 msgid "" "This hostname or IP address will be pinged to determine if the link is up or " "down. Leave blank to assume interface is always online" msgstr "通过 ping 此主机或 IP 地址来确定链路是否在线。留空则认为接口始终在线" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/notify.lua:14 -msgid "" -"This section allows you to modify the content of \"/etc/mwan3.user\".<br /" -">The file is also preserved during sysupgrade.<br /><br />Notes:<br />This " -"file is interpreted as a shell script.<br />The first line of the script " -"must be "#!/bin/sh" without quotes.<br />Lines beginning with # are " -"comments and are not executed.<br />Put your custom mwan3 action here, they " -"will<br />be executed with each netifd hotplug interface event<br />on " -"interfaces for which mwan3 is enabled.<br /><br />There are three main " -"environment variables that are passed to this script.<br /><br />$ACTION " -"<br />* \"ifup\" Is called by netifd and mwan3track <br />* \"ifdown\" Is " -"called by netifd and mwan3track <br />* \"connected\" Is only called by " -"mwan3track if tracking was successful <br />* \"disconnected\" Is only " -"called by mwan3track if tracking has failed <br />$INTERFACE Name of the " -"interface which went up or down (e.g. \"wan\" or \"wwan\")<br />$DEVICE " -"Physical device name which interface went up or down (e.g. \"eth0\" or " -"\"wwan0\")<br /><br />" -msgstr "" -"您可以在此修改“/etc/mwan3.user”的内容。<br />该文件会在系统升级后保留。<br /" -"><br />注意:<br />该文件会作为 shell 脚本执行。<br />脚本的第一行必须是 " -""#!/bin/sh",不带引号。<br />以 # 开头的行是注释,不会被执行。<br />" -"您可以在此自定义 mwan3 事件响应脚本。<br />在启用了 mwan3 的接口上,<br />当 " -"netifd 产生 hotplug 事件时该脚本会被执行。<br /><br />有三个主要的环境变量会" -"被传递给该脚本。<br /><br />$ACTION<br /> * \"ifup\" 是由 netifd 和 " -"mwan3track 调用的<br />* \"ifdown\" 是由 netifd 和 mwan3track 调用的<br />* " -"\"connected\" 仅由 mwan3track 调用(若跟踪成功)<br />* \"disconnected\" 仅" -"由 mwan3track 调用(若跟踪失败)<br />$INTERFACE 启动或停止的接口名(例" -"如“wan”或“wwan”)<br />$DEVICE 启动或停止接口的物理设备名(例" -"如“eth0”或“wwan0”)<br /><br />" - -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:37 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/notify.js:28 +msgid "This section allows you to modify the content of \"/etc/mwan3.user\"." +msgstr "" + +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:47 msgid "Tracking hostname or IP address" msgstr "跟踪的主机或 IP 地址" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interface.lua:169 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:41 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:52 msgid "Tracking method" msgstr "跟踪方式" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interface.lua:180 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:65 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:74 msgid "Tracking reliability" msgstr "跟踪可靠性" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/ruleconfig.lua:56 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/rule.js:24 +msgid "" +"Traffic destined for known (other than default) networks is handled by the " +"main routing table." +msgstr "" + +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/rule.js:70 msgid "" "Traffic from the same source IP address that previously matched this rule " "within the sticky timeout period will use the same WAN interface" @@ -743,123 +732,293 @@ msgstr "" "来自相同源 IP 的流量,如果已经匹配过此规则并且在粘滞超时时间内,将会使用相同" "的 WAN 接口" -#: applications/luci-app-mwan3/luasrc/view/mwan/status_detail.htm:13 -#: applications/luci-app-mwan3/luasrc/view/mwan/status_diagnostics.htm:13 -#: applications/luci-app-mwan3/luasrc/view/mwan/status_interface.htm:13 -#: applications/luci-app-mwan3/luasrc/view/mwan/status_troubleshooting.htm:13 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/rule.js:25 +msgid "" +"Traffic matching a rule, but all WAN interfaces for that policy are down " +"will be blackholed." +msgstr "" + +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/rule.js:23 +msgid "Traffic not matching any rule is routed using the main routing table." +msgstr "" + +#: applications/luci-app-mwan3/root/usr/share/luci/menu.d/luci-app-mwan3.json:37 msgid "Troubleshooting" msgstr "故障排除" -#: applications/luci-app-mwan3/luasrc/view/mwan/overview_status_interface.htm:36 -#: applications/luci-app-mwan3/luasrc/view/mwan/overview_status_interface.htm:53 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/notify.js:20 +msgid "Unable to save contents: %s" +msgstr "" + +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/status/overview.js:33 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/status/overview.js:47 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/status/include/90_mwan3.js:42 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/status/include/90_mwan3.js:55 msgid "Uptime" msgstr "运行时间" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/ruleconfig.lua:46 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/rule.js:60 msgid "View the content of /etc/protocols for protocol description" msgstr "查看协议描述的 /etc/protocols 的内容" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interface.lua:19 -msgid "WARNING: %d interfaces are configured exceeding the maximum of %d!" -msgstr "警告:已配置 %d 个接口,超过最大值 %d!" - -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interface.lua:26 -msgid "WARNING: Interface %s are not found in /etc/config/network" -msgstr "警告:接口 %s 在 /etc/config/network 中未找到" - -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interface.lua:45 -msgid "WARNING: Interface %s has a duplicate metric %s configured" -msgstr "警告:接口 %s 的 metric %s 配置重复" - -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interface.lua:38 -msgid "" -"WARNING: Interface %s has a higher reliability requirement than tracking " -"hosts (%d)" -msgstr "警告:接口 %s 比跟踪主机具有更高的可靠性要求(%d)" - -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interface.lua:32 -msgid "WARNING: Interface %s has no default route in the main routing table" -msgstr "警告:接口 %s 在主路由表中没有默认的路由" - -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/policy.lua:30 -msgid "WARNING: Policy %s has exceeding the maximum name of 15 characters" -msgstr "警告:策略 %s 名称超过 15 个字符" - -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/rule.lua:34 -msgid "" -"WARNING: Rule %s have a port configured with no or improper protocol " -"specified!" -msgstr "警告:规则 %s 有一个端口配置没有指定或协议不正确!" - -#: applications/luci-app-mwan3/luasrc/view/mwan/status_diagnostics.htm:37 -msgid "Waiting for command to complete..." -msgstr "正在等待命令完成…" - -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/globalsconfig.lua:30 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/globals.js:29 msgid "Warning" msgstr "警告" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/member.lua:39 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/memberconfig.lua:29 -msgid "Weight" -msgstr "权重" - -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/policyconfig.lua:26 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/policy.js:38 msgid "" "When all policy members are offline use this behavior for matched traffic" msgstr "当所有策略成员都无法使用的时候,对使用该策略的流量使用这个操作" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interface.lua:163 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/ruleconfig.lua:58 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/rule.js:72 msgid "Yes" msgstr "是" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/policy.lua:84 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/policyconfig.lua:29 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/ruleconfig.lua:82 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/policy.js:41 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/rule.js:102 msgid "blackhole (drop)" msgstr "黑洞(丢弃)" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:246 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:259 msgid "connected (mwan3)" msgstr "已连接(mwan3)" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/policy.lua:86 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/policyconfig.lua:30 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/ruleconfig.lua:83 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/policy.js:42 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/rule.js:103 msgid "default (use main routing table)" msgstr "默认(使用主路由表)" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:247 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:260 msgid "disconnected (mwan3)" msgstr "未连接(mwan3)" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:245 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:258 msgid "ifdown (netifd)" msgstr "ifdown (netifd)" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua:244 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js:257 msgid "ifup (netifd)" msgstr "ifup (netifd)" -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/interface.lua:143 -msgid "" -"mwan3 requires that all interfaces have a unique metric configured in /etc/" -"config/network<br />Names must match the interface name found in /etc/config/" -"network<br />Names may contain characters A-Z, a-z, 0-9, _ and no spaces<br /" -">Interfaces may not share the same name as configured members, policies or " -"rules" -msgstr "" -"mwan3 需要在 /etc/config/network 中的每个接口具有不同的网关跃点数<br />接口名" -"字要和 /etc/config/network 中的一致<br />名称可以包含字符A-Z、a-z、0-9、_ ," -"但不能有空格<br />接口名字也不能和配置的成员,策略,或者规则相同" - -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/policy.lua:88 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/policyconfig.lua:28 -#: applications/luci-app-mwan3/luasrc/model/cbi/mwan/ruleconfig.lua:81 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/policy.js:40 +#: applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/rule.js:101 msgid "unreachable (reject)" msgstr "不可达(拒绝)" +#~ msgid "All required IP rules for interface %s found" +#~ msgstr "找到接口 %s 的所有必需 IP 规则" + +#~ msgid "Collecting data..." +#~ msgstr "正在收集数据…" + +#~ msgid "Detail" +#~ msgstr "详细信息" + +#~ msgid "INFO: MWAN not running" +#~ msgstr "信息:MWAN 没有运行" + +#~ msgid "Interfaces" +#~ msgstr "接口" + +#~ msgid "Load Balancing" +#~ msgstr "负载均衡" + +#~ msgid "Loading" +#~ msgstr "加载中" + +#~ msgid "MWAN - Globals" +#~ msgstr "MWAN - 全局" + +#~ msgid "MWAN - Interfaces" +#~ msgstr "MWAN - 接口" + +#~ msgid "MWAN - Members" +#~ msgstr "MWAN - 成员" + +#~ msgid "MWAN - Notification" +#~ msgstr "MWAN - 通知" + +#~ msgid "MWAN - Policies" +#~ msgstr "MWAN - 策略" + +#~ msgid "MWAN - Rules" +#~ msgstr "MWAN - 规则" + +#~ msgid "MWAN Interface Configuration - %s" +#~ msgstr "MWAN 接口配置 - %s" + +#~ msgid "MWAN Interfaces" +#~ msgstr "MWAN 接口" + +#~ msgid "MWAN Member Configuration - %s" +#~ msgstr "MWAN 成员配置 - %s" + +#~ msgid "MWAN Policy Configuration - %s" +#~ msgstr "MWAN 策略配置 - %s" + +#~ msgid "MWAN Rule Configuration - %s" +#~ msgstr "MWAN 规则配置 - %s" + +#~ msgid "MWAN Status - Detail" +#~ msgstr "MWAN 状态 - 详细信息" + +#~ msgid "MWAN Status - Diagnostics" +#~ msgstr "MWAN 状态 - 网络诊断" + +#~ msgid "MWAN Status - Troubleshooting" +#~ msgstr "MWAN 状态 - 故障排除" + +#~ msgid "Members" +#~ msgstr "成员" + +#~ msgid "" +#~ "Members are profiles attaching a metric and weight to an MWAN " +#~ "interface<br />Names may contain characters A-Z, a-z, 0-9, _ and no " +#~ "spaces<br />Members may not share the same name as configured interfaces, " +#~ "policies or rules" +#~ msgstr "" +#~ "“成员”用来设置每一个 MWAN 接口的跃点数(即接口优先级)和所占比重,<br />名" +#~ "称允许包括 A-Z、 a-z、0-9、_ ,但是不能有空格。<br />成员不应该与接口、策" +#~ "略、规则中的任意一个设置项使用相同的名称。" + +#~ msgid "Members assigned" +#~ msgstr "分配的成员" + +#~ msgid "Missing both IP rules for interface %s" +#~ msgstr "缺少接口 %s 的两条 IP 规则" + +#~ msgid "No gateway for interface %s found." +#~ msgstr "没有找到接口 %s 的网关。" + +#~ msgid "No tracking Hosts for interface %s defined." +#~ msgstr "未定义接口 %s 的跟踪主机。" + +#~ msgid "Notification" +#~ msgstr "通知" + +#~ msgid "Only one IP rules for interface %s found" +#~ msgstr "只找到接口 %s 的一个 IP 规则" + +#~ msgid "Policies" +#~ msgstr "策略" + +#~ msgid "" +#~ "Policies are profiles grouping one or more members controlling how MWAN " +#~ "distributes traffic<br />Member interfaces with lower metrics are used " +#~ "first<br />Member interfaces with the same metric will be load-" +#~ "balanced<br />Load-balanced member interfaces distribute more traffic out " +#~ "those with higher weights<br />Names may contain characters A-Z, a-z, " +#~ "0-9, _ and no spaces<br />Names must be 15 characters or less<br /" +#~ ">Policies may not share the same name as configured interfaces, members " +#~ "or rules" +#~ msgstr "" +#~ "“策略”把成员进行分组,告诉 MWAN 如何分配“规则”中使用这一策略的流量<br />拥" +#~ "有较低跃点数的成员将会被优先使用<br />拥有相同跃点数的成员把流量进行负载均" +#~ "衡<br />进行负载均衡的成员之间拥有较高比重的成员将会被分配到更多流量<br />" +#~ "名称允许包括 A-Z、a-z、0-9、_ 但是不能有空格<br />名称应该在 15 个字符以内" +#~ "<br />策略不应该与接口、成员、规则中的任意一个设置项使用相同的名称" + +#~ msgid "Routing table %s for interface %s found" +#~ msgstr "找到路由表 %s,为接口 %s" + +#~ msgid "Routing table %s for interface %s not found" +#~ msgstr "没有找到路由表 %s,为接口 %s" + +#~ msgid "Rules" +#~ msgstr "规则" + +#~ msgid "" +#~ "Rules specify which traffic will use a particular MWAN policy<br />Rules " +#~ "are based on IP address, port or protocol<br />Rules are matched from top " +#~ "to bottom<br />Rules below a matching rule are ignored<br />Traffic not " +#~ "matching any rule is routed using the main routing table<br />Traffic " +#~ "destined for known (other than default) networks is handled by the main " +#~ "routing table<br />Traffic matching a rule, but all WAN interfaces for " +#~ "that policy are down will be blackholed<br />Names may contain characters " +#~ "A-Z, a-z, 0-9, _ and no spaces<br />Rules may not share the same name as " +#~ "configured interfaces, members or policies" +#~ msgstr "" +#~ "规则用于指定哪些流量将使用特定的 MWAN 策略<br />规则可基于 IP 地址,端口或" +#~ "协议<br />每条流量至上而下进行匹配<br />如果匹配中了某条规则,则其下方的规" +#~ "则将被忽略<br />不符合任何规则的流量将使用主路由表进行路由<br />目的地为已" +#~ "知(非默认)网络的流量由主路由表处理<br />如果流量符合某条规则,但该规则所" +#~ "使用的策略中的所有 WAN 接口都离线,则该流量会被丢弃<br />名称可包含字符 A-" +#~ "Z,a-z,0-9,_ ,但不能有空格<br />规则不能与接口、成员或策略重名" + +#~ msgid "There are currently %d of %d supported interfaces configured" +#~ msgstr "当前已配置 %d 个接口,最大支持 %d 个" + +#~ msgid "" +#~ "This section allows you to modify the content of \"/etc/mwan3.user\".<br /" +#~ ">The file is also preserved during sysupgrade.<br /><br />Notes:<br /" +#~ ">This file is interpreted as a shell script.<br />The first line of the " +#~ "script must be "#!/bin/sh" without quotes.<br />Lines beginning " +#~ "with # are comments and are not executed.<br />Put your custom mwan3 " +#~ "action here, they will<br />be executed with each netifd hotplug " +#~ "interface event<br />on interfaces for which mwan3 is enabled.<br /><br /" +#~ ">There are three main environment variables that are passed to this " +#~ "script.<br /><br />$ACTION <br />* \"ifup\" Is called by netifd and " +#~ "mwan3track <br />* \"ifdown\" Is called by netifd and mwan3track <br />* " +#~ "\"connected\" Is only called by mwan3track if tracking was successful " +#~ "<br />* \"disconnected\" Is only called by mwan3track if tracking has " +#~ "failed <br />$INTERFACE Name of the interface which went up or down (e.g. " +#~ "\"wan\" or \"wwan\")<br />$DEVICE Physical device name which interface " +#~ "went up or down (e.g. \"eth0\" or \"wwan0\")<br /><br />" +#~ msgstr "" +#~ "您可以在此修改“/etc/mwan3.user”的内容。<br />该文件会在系统升级后保留。" +#~ "<br /><br />注意:<br />该文件会作为 shell 脚本执行。<br />脚本的第一行必" +#~ "须是 "#!/bin/sh",不带引号。<br />以 # 开头的行是注释,不会被执" +#~ "行。<br />您可以在此自定义 mwan3 事件响应脚本。<br />在启用了 mwan3 的接口" +#~ "上,<br />当 netifd 产生 hotplug 事件时该脚本会被执行。<br /><br />有三个" +#~ "主要的环境变量会被传递给该脚本。<br /><br />$ACTION<br /> * \"ifup\" 是由 " +#~ "netifd 和 mwan3track 调用的<br />* \"ifdown\" 是由 netifd 和 mwan3track 调" +#~ "用的<br />* \"connected\" 仅由 mwan3track 调用(若跟踪成功)<br />* " +#~ "\"disconnected\" 仅由 mwan3track 调用(若跟踪失败)<br />$INTERFACE 启动或" +#~ "停止的接口名(例如“wan”或“wwan”)<br />$DEVICE 启动或停止接口的物理设备名" +#~ "(例如“eth0”或“wwan0”)<br /><br />" + +#~ msgid "WARNING: %d interfaces are configured exceeding the maximum of %d!" +#~ msgstr "警告:已配置 %d 个接口,超过最大值 %d!" + +#~ msgid "WARNING: Interface %s are not found in /etc/config/network" +#~ msgstr "警告:接口 %s 在 /etc/config/network 中未找到" + +#~ msgid "WARNING: Interface %s has a duplicate metric %s configured" +#~ msgstr "警告:接口 %s 的 metric %s 配置重复" + +#~ msgid "" +#~ "WARNING: Interface %s has a higher reliability requirement than tracking " +#~ "hosts (%d)" +#~ msgstr "警告:接口 %s 比跟踪主机具有更高的可靠性要求(%d)" + +#~ msgid "WARNING: Interface %s has no default route in the main routing table" +#~ msgstr "警告:接口 %s 在主路由表中没有默认的路由" + +#~ msgid "WARNING: Policy %s has exceeding the maximum name of 15 characters" +#~ msgstr "警告:策略 %s 名称超过 15 个字符" + +#~ msgid "" +#~ "WARNING: Rule %s have a port configured with no or improper protocol " +#~ "specified!" +#~ msgstr "警告:规则 %s 有一个端口配置没有指定或协议不正确!" + +#~ msgid "Waiting for command to complete..." +#~ msgstr "正在等待命令完成…" + +#~ msgid "Weight" +#~ msgstr "权重" + +#~ msgid "" +#~ "mwan3 requires that all interfaces have a unique metric configured in /" +#~ "etc/config/network<br />Names must match the interface name found in /etc/" +#~ "config/network<br />Names may contain characters A-Z, a-z, 0-9, _ and no " +#~ "spaces<br />Interfaces may not share the same name as configured members, " +#~ "policies or rules" +#~ msgstr "" +#~ "mwan3 需要在 /etc/config/network 中的每个接口具有不同的网关跃点数<br />接" +#~ "口名字要和 /etc/config/network 中的一致<br />名称可以包含字符A-Z、a-z、" +#~ "0-9、_ ,但不能有空格<br />接口名字也不能和配置的成员,策略,或者规则相同" + #~ msgid "Max packet latency [ms]" #~ msgstr "最大数据包延迟 [ms]" |