diff options
author | Vladislav Grigoryev <vg.aetera@gmail.com> | 2021-08-10 01:55:19 +0300 |
---|---|---|
committer | Vladislav Grigoryev <vg.aetera@gmail.com> | 2021-09-01 10:51:16 +0300 |
commit | b4f4799f9e745aae8b70df7ad27315eb997cf570 (patch) | |
tree | fe507980fc1880de40f7f0e684409739007a6162 /modules/luci-base/po/zh_Hans/base.po | |
parent | 3ac88f88edd549db5fd6d9ef6765ceb90fdeb1a7 (diff) |
luci-mod-network: network/routing support for pbr
Provide comprehensive routing configuration:
* Rename the "Network > Routes" page to "Network > Routing".
* Unify sorting for the "Status" and "Network" menus.
* Add the tabs "IPv4 Rules" and "IPv6 Rules" to the "Routing" page.
* Provide configuration for IPv4 and IPv6 routing rules.
* Consolidate routing configuration and terminology for IPv4 and IPv6.
Policy-based routing is an increasingly popular problem.
Netifd natively supports policy-based routing:
* Interface-specific options "ip4table" and "ip6table".
* Routing rules using the "rule" and "rule6" sections.
LuCI is missing configuration for routing rules.
Signed-off-by: Vladislav Grigoryev <vg.aetera@gmail.com>
Diffstat (limited to 'modules/luci-base/po/zh_Hans/base.po')
-rw-r--r-- | modules/luci-base/po/zh_Hans/base.po | 92 |
1 files changed, 32 insertions, 60 deletions
diff --git a/modules/luci-base/po/zh_Hans/base.po b/modules/luci-base/po/zh_Hans/base.po index be197860dc..bd20e8e335 100644 --- a/modules/luci-base/po/zh_Hans/base.po +++ b/modules/luci-base/po/zh_Hans/base.po @@ -177,25 +177,10 @@ msgstr "<abbr title=\"基本服务集标识符\">BSSID</abbr>" msgid "<abbr title=\"Extended Service Set Identifier\">ESSID</abbr>" msgstr "<abbr title=\"扩展服务集标识符\">ESSID</abbr>" -#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:47 -msgid "<abbr title=\"Internet Protocol Version 4\">IPv4</abbr>-Gateway" -msgstr "<abbr title=\"互联网协议第 4 版\">IPv4</abbr> 网关" - #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:691 -#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:41 msgid "<abbr title=\"Internet Protocol Version 4\">IPv4</abbr>-Netmask" msgstr "<abbr title=\"互联网协议第 4 版\">IPv4</abbr> 子网掩码" -#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:36 -msgid "" -"<abbr title=\"Internet Protocol Version 6\">IPv6</abbr>-Address or Network " -"(CIDR)" -msgstr "<abbr title=\"互联网协议第 6 版\">IPv6</abbr> 地址或网段(CIDR)" - -#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:47 -msgid "<abbr title=\"Internet Protocol Version 6\">IPv6</abbr>-Gateway" -msgstr "<abbr title=\"互联网协议第 6 版\">IPv6</abbr> 网关" - #: modules/luci-mod-system/htdocs/luci-static/resources/view/system/leds.js:58 msgid "<abbr title=\"Light Emitting Diode\">LED</abbr> Configuration" msgstr "<abbr title=\"发光二极管\">LED</abbr> 配置" @@ -523,7 +508,8 @@ msgstr "管理权" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:478 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:633 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1523 -#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:26 +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:39 +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:126 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js:924 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js:988 #: modules/luci-mod-system/htdocs/luci-static/resources/view/system/mounts.js:241 @@ -1530,7 +1516,7 @@ msgid "DHCP Server" msgstr "DHCP 服务器" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:244 -#: modules/luci-mod-network/root/usr/share/luci/menu.d/luci-mod-network.json:50 +#: modules/luci-mod-network/root/usr/share/luci/menu.d/luci-mod-network.json:62 msgid "DHCP and DNS" msgstr "DHCP/DNS" @@ -1718,6 +1704,7 @@ msgstr "主题" msgid "Designated master" msgstr "指定的主接口" +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:158 #: modules/luci-mod-status/htdocs/luci-static/resources/view/status/connections.js:386 #: modules/luci-mod-status/htdocs/luci-static/resources/view/status/iptables.js:71 msgid "Destination" @@ -1790,7 +1777,7 @@ msgstr "设备无法访问。仍在等待设备……" msgid "Devices" msgstr "设备" -#: modules/luci-mod-network/root/usr/share/luci/menu.d/luci-mod-network.json:78 +#: modules/luci-mod-network/root/usr/share/luci/menu.d/luci-mod-network.json:76 msgid "Diagnostics" msgstr "网络诊断" @@ -1803,7 +1790,8 @@ msgstr "拨号号码" msgid "Directory" msgstr "目录" -#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:32 +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:112 +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:197 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js:897 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js:937 msgid "Disable" @@ -1832,10 +1820,6 @@ msgstr "禁用不活动轮询" msgid "Disable this network" msgstr "禁用此网络" -#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:32 -msgid "Disable this route" -msgstr "禁用此路由" - #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js:954 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js:1680 #: modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/60_wifi.js:13 @@ -2750,6 +2734,7 @@ msgstr "承载于 IPv4 上的 GRETAP 通道" msgid "GRETAP tunnel over IPv6" msgstr "承载于 IPv6 上的 GRETAP 通道" +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:74 #: modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/30_network.js:44 msgid "Gateway" msgstr "网关" @@ -2765,7 +2750,8 @@ msgstr "网关地址无效" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:251 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:477 -#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:25 +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:38 +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:125 #: modules/luci-mod-system/htdocs/luci-static/resources/view/system/mounts.js:240 #: modules/luci-mod-system/htdocs/luci-static/resources/view/system/system.js:108 msgid "General Settings" @@ -2981,10 +2967,6 @@ msgstr "主机" msgid "Host expiry timeout" msgstr "主机到期超时" -#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:36 -msgid "Host-<abbr title=\"Internet Protocol Address\">IP</abbr> or Network" -msgstr "主机 <abbr title=\"互联网地址\">IP</abbr> 或网络" - #: protocols/luci-proto-ppp/htdocs/luci-static/resources/protocol/pppoe.js:88 msgid "Host-Uniq tag content" msgstr "Host-Uniq 标签内容" @@ -3466,7 +3448,7 @@ msgstr "仅连接到 BSSID 为 <code>%h</code> 的网络,而不是其它 SSID msgid "Insufficient permissions to read UCI configuration." msgstr "权限不足,无法读取 UCI 配置。" -#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:28 +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:41 #: modules/luci-mod-status/htdocs/luci-static/resources/view/status/routes.js:180 #: modules/luci-mod-status/htdocs/luci-static/resources/view/status/routes.js:206 #: modules/luci-mod-system/htdocs/luci-static/resources/view/system/dropbear.js:17 @@ -4115,7 +4097,7 @@ msgstr "MII 间隔" #: modules/luci-mod-network/htdocs/luci-static/resources/tools/network.js:580 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1418 -#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:59 +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:85 #: protocols/luci-proto-vpnc/htdocs/luci-static/resources/protocol/vpnc.js:53 #: protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js:92 msgid "MTU" @@ -4261,7 +4243,7 @@ msgstr "链路监测方式" msgid "Method to determine link status" msgstr "确定链路状态的方式" -#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:51 +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:78 #: modules/luci-mod-status/htdocs/luci-static/resources/view/status/routes.js:189 #: modules/luci-mod-status/htdocs/luci-static/resources/view/status/routes.js:215 msgid "Metric" @@ -4813,8 +4795,8 @@ msgstr "关闭时间" msgid "On" msgstr "开" -#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:101 -msgid "On-Link route" +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:108 +msgid "On-link" msgstr "On-Link 路由" #: modules/luci-mod-system/htdocs/luci-static/resources/view/system/led-trigger/timer.js:11 @@ -5471,6 +5453,7 @@ msgid "Primary becomes active slave whenever it comes back up (always, 0)" msgstr "只要主从属设备重新上线,它就会成为活跃从属设备(always,0)" #: modules/luci-mod-network/htdocs/luci-static/resources/tools/network.js:508 +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:128 #: modules/luci-mod-status/htdocs/luci-static/resources/view/status/routes.js:197 #: modules/luci-mod-status/htdocs/luci-static/resources/view/status/routes.js:223 msgid "Priority" @@ -5944,11 +5927,7 @@ msgstr "循环策略(balance-rr,0)" msgid "Route Allowed IPs" msgstr "路由允许的 IP" -#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:78 -msgid "Route table" -msgstr "路由表" - -#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:65 +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:45 msgid "Route type" msgstr "路由类型" @@ -5965,16 +5944,14 @@ msgstr "" msgid "Router Password" msgstr "路由器密码" -#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:15 -msgid "Routes" -msgstr "路由表" - -#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:15 +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:28 msgid "" -"Routes specify over which interface and gateway a certain host or network " +"Routing defines over which interface and gateway a certain host or network " "can be reached." msgstr "路由指定通过哪个接口和网关可以到达某个主机或网络。" +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:28 +#: modules/luci-mod-network/root/usr/share/luci/menu.d/luci-mod-network.json:50 #: modules/luci-mod-status/htdocs/luci-static/resources/view/status/routes.js:244 #: modules/luci-mod-status/root/usr/share/luci/menu.d/luci-mod-status.json:15 msgid "Routing" @@ -6347,16 +6324,14 @@ msgstr "" "抱歉,您的设备暂不支持 sysupgrade 升级,需手动更新固件。请参考 Wiki 中关于此" "设备的固件更新说明。" +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:98 +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:147 #: modules/luci-mod-status/htdocs/luci-static/resources/view/status/connections.js:385 #: modules/luci-mod-status/htdocs/luci-static/resources/view/status/iptables.js:70 #: modules/luci-mod-status/htdocs/luci-static/resources/view/status/routes.js:214 msgid "Source" msgstr "源地址" -#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:89 -msgid "Source Address" -msgstr "源地址" - #: protocols/luci-proto-gre/htdocs/luci-static/resources/protocol/grev6.js:57 #: protocols/luci-proto-gre/htdocs/luci-static/resources/protocol/grev6tap.js:57 msgid "Source interface" @@ -6651,11 +6626,11 @@ msgstr "正在启动无线扫描…" msgid "Startup" msgstr "启动项" -#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:19 +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:32 msgid "Static IPv4 Routes" msgstr "静态 IPv4 路由" -#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:19 +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:32 msgid "Static IPv6 Routes" msgstr "静态 IPv6 路由" @@ -6668,10 +6643,6 @@ msgstr "静态租约" msgid "Static Leases" msgstr "静态地址分配" -#: modules/luci-mod-network/root/usr/share/luci/menu.d/luci-mod-network.json:66 -msgid "Static Routes" -msgstr "静态路由" - #: modules/luci-base/htdocs/luci-static/resources/network.js:2099 #: modules/luci-base/htdocs/luci-static/resources/protocol/static.js:172 #: modules/luci-compat/luasrc/model/network.lua:967 @@ -6836,13 +6807,15 @@ msgstr "发送速率" msgid "TX queue length" msgstr "TX 队列长度" +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:90 +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:165 #: modules/luci-mod-status/htdocs/luci-static/resources/view/status/iptables.js:18 #: modules/luci-mod-status/htdocs/luci-static/resources/view/status/routes.js:190 #: modules/luci-mod-status/htdocs/luci-static/resources/view/status/routes.js:216 msgid "Table" msgstr "表" -#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:36 +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:56 #: modules/luci-mod-status/htdocs/luci-static/resources/view/status/iptables.js:66 #: modules/luci-mod-status/htdocs/luci-static/resources/view/status/routes.js:187 #: modules/luci-mod-status/htdocs/luci-static/resources/view/status/routes.js:213 @@ -8192,12 +8165,16 @@ msgid "ZRam Size" msgstr "ZRam 大小" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:440 +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:151 +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:162 msgid "any" msgstr "任意" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1463 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1471 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1476 +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:101 +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:132 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js:1230 #: protocols/luci-proto-ncm/htdocs/luci-static/resources/protocol/ncm.js:79 #: protocols/luci-proto-ppp/htdocs/luci-static/resources/protocol/pppoe.js:48 @@ -8207,7 +8184,6 @@ msgid "auto" msgstr "自动" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:776 -#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:90 msgid "automatic" msgstr "自动" @@ -8336,10 +8312,6 @@ msgstr "隐藏" msgid "hybrid mode" msgstr "混合模式" -#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:41 -msgid "if target is a network" -msgstr "如果对象是一个网络" - #: protocols/luci-proto-ipv6/htdocs/luci-static/resources/protocol/dslite.js:63 msgid "ignore" msgstr "忽略" |