diff options
author | Vladislav Grigoryev <vg.aetera@gmail.com> | 2021-09-04 00:24:48 +0300 |
---|---|---|
committer | Vladislav Grigoryev <vg.aetera@gmail.com> | 2021-09-04 15:51:11 +0300 |
commit | 0be0f069077fb01038b34446afea510d26b8782e (patch) | |
tree | 3f04152ccaaa48c7c4c2af4d26c17468678c71a1 /modules/luci-base/po/vi/base.po | |
parent | 4f7db0e2ec3016e01b9308fe68c4680c04250adb (diff) |
luci-mod-network: fix route and rule options
Allow adding routes with unspecified interface.
This is required for prohibit, blackhole and unreachable routes.
Allow adding routes with loopback interface.
This can work as a blackhole route.
Fix netmask to prefix conversion for the routes.
Identify the IP family by the UCI section type.
Avoid setting the routing table textvalue for the rules.
The rules should target none table unless specified otherwise.
Signed-off-by: Vladislav Grigoryev <vg.aetera@gmail.com>
Diffstat (limited to 'modules/luci-base/po/vi/base.po')
-rw-r--r-- | modules/luci-base/po/vi/base.po | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/modules/luci-base/po/vi/base.po b/modules/luci-base/po/vi/base.po index 23824bbe38..d5887a0cc0 100644 --- a/modules/luci-base/po/vi/base.po +++ b/modules/luci-base/po/vi/base.po @@ -517,7 +517,7 @@ msgstr "Quản trị" #: 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:39 -#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:126 +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:127 #: 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 @@ -1711,7 +1711,7 @@ msgstr "Thiết kế" msgid "Designated master" msgstr "" -#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:158 +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:159 #: 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" @@ -1797,8 +1797,8 @@ msgstr "Quay số" msgid "Directory" msgstr "Danh mục" -#: 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/routes.js:113 +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:195 #: 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" @@ -2577,7 +2577,7 @@ msgstr "Cấu hình tường lửa" msgid "Firewall Status" msgstr "Trạng thái tường lửa" -#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:178 +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:176 msgid "Firewall mark" msgstr "" @@ -2752,7 +2752,7 @@ msgstr "" msgid "GRETAP tunnel over IPv6" msgstr "" -#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:74 +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:75 #: modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/30_network.js:44 #: modules/luci-mod-status/htdocs/luci-static/resources/view/status/routes.js:188 msgid "Gateway" @@ -2770,7 +2770,7 @@ msgstr "Địa chỉ Gateway không hợp lệ" #: 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:38 -#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:125 +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:126 #: 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" @@ -3092,7 +3092,7 @@ msgstr "" msgid "IPv4 Routing" msgstr "" -#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:119 +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:120 msgid "IPv4 Rules" msgstr "" @@ -3191,7 +3191,7 @@ msgstr "" msgid "IPv6 Routing" msgstr "" -#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:119 +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:120 msgid "IPv6 Rules" msgstr "" @@ -3416,7 +3416,7 @@ msgstr "" msgid "Incoming checksum" msgstr "" -#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:143 +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:144 msgid "Incoming interface" msgstr "" @@ -3636,7 +3636,7 @@ msgstr "Giá trị không hợp lệ" msgid "Invalid username and/or password! Please try again." msgstr "Tên và mật mã không đúng. Xin thử lại " -#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:193 +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:191 msgid "Invert match" msgstr "" @@ -3671,7 +3671,7 @@ msgstr "Hòa mạng: Quét mạng wifi" msgid "Joining Network: %q" msgstr "Hòa mạng: %q" -#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:173 +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:171 msgid "Jump to rule" msgstr "" @@ -4147,7 +4147,7 @@ msgstr "" #: 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:85 +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:86 #: 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" @@ -4293,7 +4293,7 @@ msgstr "" msgid "Method to determine link status" msgstr "" -#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:78 +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:79 #: 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" @@ -4861,7 +4861,7 @@ msgstr "" msgid "On-State Delay" msgstr "" -#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:108 +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:109 msgid "On-link" msgstr "" @@ -5061,7 +5061,7 @@ msgstr "Ngoài ràng buộc:" msgid "Outgoing checksum" msgstr "" -#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:154 +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:155 msgid "Outgoing interface" msgstr "" @@ -5481,7 +5481,7 @@ msgstr "Ưu tiên UMTS" msgid "Prefix Delegated" msgstr "Tiền tố được ủy quyền" -#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:188 +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:186 msgid "Prefix suppressor" msgstr "" @@ -5526,7 +5526,7 @@ msgid "Primary becomes active slave whenever it comes back up (always, 0)" msgstr "" #: 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-network/htdocs/luci-static/resources/view/network/routes.js:129 #: 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" @@ -6044,7 +6044,7 @@ msgstr "" msgid "Rule" msgstr "Luật" -#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:135 +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:136 msgid "Rule type" msgstr "" @@ -6408,8 +6408,8 @@ msgstr "" "phần mềm mới phải được nạp thủ công. Vui lòng tham khảo wiki để biết hướng " "dẫn cài đặt cụ thể của thiết bị." -#: 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-network/htdocs/luci-static/resources/view/network/routes.js:99 +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:148 #: 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 @@ -6884,8 +6884,8 @@ msgstr "Tốc độ truyền" msgid "TX queue length" msgstr "" -#: 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-network/htdocs/luci-static/resources/view/network/routes.js:91 +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:166 #: 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 @@ -7504,7 +7504,7 @@ msgstr "Năng lượng truyền" msgid "Type" msgstr "Loại " -#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:183 +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:181 msgid "Type of service" msgstr "" @@ -8263,16 +8263,16 @@ msgid "ZRam Size" msgstr "Kích cỡ 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 +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:152 +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:163 msgid "any" msgstr "Bất kể" #: 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/routes.js:102 +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:133 #: 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 |