summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/po/ca
diff options
context:
space:
mode:
authorVladislav Grigoryev <vg.aetera@gmail.com>2021-09-04 00:24:48 +0300
committerVladislav Grigoryev <vg.aetera@gmail.com>2021-09-04 15:51:11 +0300
commit0be0f069077fb01038b34446afea510d26b8782e (patch)
tree3f04152ccaaa48c7c4c2af4d26c17468678c71a1 /modules/luci-base/po/ca
parent4f7db0e2ec3016e01b9308fe68c4680c04250adb (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/ca')
-rw-r--r--modules/luci-base/po/ca/base.po56
1 files changed, 28 insertions, 28 deletions
diff --git a/modules/luci-base/po/ca/base.po b/modules/luci-base/po/ca/base.po
index ec8b219d1f..c98e272397 100644
--- a/modules/luci-base/po/ca/base.po
+++ b/modules/luci-base/po/ca/base.po
@@ -514,7 +514,7 @@ msgstr "Administració"
#: 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
@@ -1700,7 +1700,7 @@ msgstr "Disseny"
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"
@@ -1786,8 +1786,8 @@ msgstr ""
msgid "Directory"
msgstr "Directori"
-#: 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"
@@ -2553,7 +2553,7 @@ msgstr "Ajusts de tallafocs"
msgid "Firewall Status"
msgstr "Estat de tallafocs"
-#: 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 ""
@@ -2725,7 +2725,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"
@@ -2743,7 +2743,7 @@ 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: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"
@@ -3068,7 +3068,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 ""
@@ -3167,7 +3167,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 ""
@@ -3386,7 +3386,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 ""
@@ -3604,7 +3604,7 @@ msgstr ""
msgid "Invalid username and/or password! Please try again."
msgstr "Usuari i/o contrasenya invàlids! Si us plau prova-ho de nou."
-#: 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 ""
@@ -3639,7 +3639,7 @@ msgstr ""
msgid "Joining Network: %q"
msgstr ""
-#: 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 ""
@@ -4107,7 +4107,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"
@@ -4251,7 +4251,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"
@@ -4815,7 +4815,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 ""
@@ -5002,7 +5002,7 @@ msgstr "Sortint:"
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 ""
@@ -5420,7 +5420,7 @@ msgstr ""
msgid "Prefix Delegated"
msgstr ""
-#: 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 ""
@@ -5463,7 +5463,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"
@@ -5970,7 +5970,7 @@ msgstr ""
msgid "Rule"
msgstr ""
-#: 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 ""
@@ -6325,8 +6325,8 @@ msgid ""
"instructions."
msgstr ""
-#: 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
@@ -6788,8 +6788,8 @@ msgstr "Velocitat TX"
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
@@ -7389,7 +7389,7 @@ msgstr "Potència Tx"
msgid "Type"
msgstr "Tipus"
-#: 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 ""
@@ -8130,16 +8130,16 @@ msgid "ZRam Size"
msgstr ""
#: 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 "qualsevol"
#: 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