diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-01-19 16:08:47 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-01-19 16:22:47 +0100 |
commit | 7944b0a90bbb0f0f5d1da5eaf5d9906ac546c44b (patch) | |
tree | 5ebe11f9fe5b310f6b1863cb3349a3141eea9409 /applications/luci-app-firewall/po/templates/firewall.pot | |
parent | 601c4ee01e21f4da3fc615196d21fde72bfbaee9 (diff) |
luci-app-firewall: rework rule descriptions, deduplicate code
Use a simple custom format string DSL to assemble the rule description
texts in the overview page.
Also move common code for shared, complex cbi options to the firewall
tool class.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-firewall/po/templates/firewall.pot')
-rw-r--r-- | applications/luci-app-firewall/po/templates/firewall.pot | 758 |
1 files changed, 359 insertions, 399 deletions
diff --git a/applications/luci-app-firewall/po/templates/firewall.pot b/applications/luci-app-firewall/po/templates/firewall.pot index f11d72686e..4b25a2cd4e 100644 --- a/applications/luci-app-firewall/po/templates/firewall.pot +++ b/applications/luci-app-firewall/po/templates/firewall.pot @@ -1,53 +1,103 @@ msgid "" msgstr "Content-Type: text/plain; charset=UTF-8" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:154 -msgid "%s in %s" +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:47 +msgid "" +"%{src?%{dest?Forwarded:Incoming}:Outgoing} %{ipv6?%{ipv4?<var>IPv4</var> and " +"<var>IPv6</var>:<var>IPv6</var>}:<var>IPv4</var>}%{proto?, protocol %{proto#" +"%{next?, }%{item.types?<var class=\"cbi-tooltip-container\">%{item.name}" +"<span class=\"cbi-tooltip\">ICMP with types %{item.types#%{next?, }<var>" +"%{item}</var>}</span></var>:<var>%{item.name}</var>}}}%{mark?, mark <var" +"%{mark.inv? data-tooltip=\"Match fwmarks except %{mark.num}%{mark.mask? with " +"mask %{mark.mask}}.\":%{mark.mask? data-tooltip=\"Mask fwmark value with " +"%{mark.mask} before compare.\"}}>%{mark.val}</var>}%{dscp?, DSCP %{dscp.inv?" +"<var data-tooltip=\"Match DSCP classifications except %{dscp.num?:%{dscp." +"name}}\">%{dscp.val}</var>:<var>%{dscp.val}</var>}}%{helper?, helper " +"%{helper.inv?<var data-tooltip=\"Match any helper except "%{helper.name}" +""\">%{helper.val}</var>:<var data-tooltip=\"%{helper.name}\">%{helper." +"val}</var>}}" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:242 -msgid "%s%s with %s" +#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:431 +msgid "-- add IP --" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:152 -msgid "%s, %s in %s" +#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:479 +msgid "-- add MAC --" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:275 -msgid "<var>%d</var> pkts. per <var>%s</var>" +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:117 +msgid "" +"<var data-tooltip=\"ACCEPT\">Accept</var> %{src?%{dest?forward:input}:output}" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:271 -msgid "<var>%d</var> pkts. per <var>%s</var>, burst <var>%d</var> pkts." +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:86 +msgid "<var data-tooltip=\"ACCEPT\">Prevent source rewrite</var>" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:107 -msgid "<var>%s</var> and limit to %s" +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:80 +msgid "" +"<var data-tooltip=\"DNAT\">Forward</var> to %{dest}%{dest_ip? IP <var>" +"%{dest_ip}</var>}%{dest_port? port <var>%{dest_port}</var>}" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:280 -msgid "A rewrite IP must be specified!" +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:114 +msgid "" +"<var data-tooltip=\"DROP\">Drop</var> %{src?%{dest?forward:input}:output}" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:267 -msgid "ACCEPT - Disable address rewriting" +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:132 +msgid "" +"<var data-tooltip=\"DSCP\">Assign DSCP</var> classification <var>%{set_dscp}" +"</var>" +msgstr "" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:126 +msgid "" +"<var data-tooltip=\"HELPER\">Assign conntrack</var> helper <var" +"%{helper_name? data-tooltip=\"%{helper_name}\"}>%{set_helper}</var>" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:293 -msgid "Accept forward" +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:129 +msgid "" +"<var data-tooltip=\"MARK\">%{set_mark?Assign:XOR}</var> firewall mark <var>" +"%{set_mark?:%{set_xmark}}</var>" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:303 -msgid "Accept input" +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:83 +msgid "<var data-tooltip=\"MASQUERADE\">Automatically rewrite</var> source IP" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:283 -msgid "Accept output" +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:123 +msgid "" +"<var data-tooltip=\"NOTRACK\">Do not track</var> %{src?%{dest?forward:input}:" +"output}" +msgstr "" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:120 +msgid "" +"<var data-tooltip=\"REJECT\">Reject</var> %{src?%{dest?forward:input}:output}" +msgstr "" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:80 +msgid "" +"<var data-tooltip=\"SNAT\">Statically rewrite</var> to source %{snat_ip?IP " +"<var>%{snat_ip}</var>} %{snat_port?port <var>%{snat_port}</var>}" +msgstr "" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:216 +msgid "A rewrite IP must be specified!" +msgstr "" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:204 +msgid "ACCEPT - Disable address rewriting" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:224 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:388 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:262 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:164 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:220 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:355 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:149 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:199 msgid "Action" msgstr "" @@ -64,9 +114,9 @@ msgid "" "e.g. <code>-p tcp --sport 443</code> to only match inbound HTTPS traffic." msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:109 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:178 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:163 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:129 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:173 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:127 #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:78 msgid "Advanced Settings" msgstr "" @@ -83,30 +133,29 @@ msgstr "" msgid "Allow forward to <em>destination zones</em>:" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:278 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:198 +#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:506 msgid "Any" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:454 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:470 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:329 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:345 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:421 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:437 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:249 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:265 msgid "Any day" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:369 +#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:314 msgid "" "Apply a bitwise XOR of the given value and the existing mark value on " "established connections. Format is value[/mask]. If a mask is specified then " "those bits set in the mask are zeroed out." msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:316 +#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:261 msgid "Apply the given DSCP class or value to established connections." msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:416 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:383 msgid "Assign the specified connection tracking helper to matched traffic." msgstr "" @@ -154,84 +203,53 @@ msgid "" "each firewall restart, right after the default ruleset has been loaded." msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:398 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:365 msgid "DSCP classification" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:315 +#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:260 msgid "DSCP mark" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:349 +#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:294 msgid "DSCP mark required" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:238 -msgid "Destination IP address" -msgstr "" - -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:373 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:346 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:185 msgid "Destination address" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:379 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:251 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:348 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:190 msgid "Destination port" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:367 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:340 msgid "Destination zone" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:256 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:252 msgid "Device name" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:299 -msgid "Discard forward" -msgstr "" - -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:309 -msgid "Discard input" -msgstr "" - -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:289 -msgid "Discard output" -msgstr "" - #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:211 msgid "" "Do not install extra rules to reject forwarded traffic with conntrack state " "<em>invalid</em>. This may be required for complex asymmetric route setups." msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:125 -msgid "Do not rewrite" -msgstr "" - -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:297 -msgid "Do not track forward" -msgstr "" - -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:307 -msgid "Do not track input" -msgstr "" - -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:287 -msgid "Do not track output" -msgstr "" - #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:36 msgid "Drop invalid packets" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:157 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:230 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:190 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:172 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:226 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:155 msgid "Enable" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:270 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:239 msgid "Enable NAT Loopback" msgstr "" @@ -243,7 +261,7 @@ msgstr "" msgid "Enable logging on this zone" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:391 +#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:336 msgid "Expecting: %s" msgstr "" @@ -255,17 +273,17 @@ msgstr "" msgid "Explicitly choses allowed connection tracking helpers for zone traffic" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:218 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:206 msgid "External IP address" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:231 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:211 msgid "External port" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:306 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:446 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:320 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:275 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:413 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:240 msgid "Extra arguments" msgstr "" @@ -289,15 +307,15 @@ msgstr "" msgid "Firewall - Custom Rules" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:154 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:118 msgid "Firewall - NAT Rules" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:100 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:120 msgid "Firewall - Port Forwards" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:169 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:164 msgid "Firewall - Traffic Rules" msgstr "" @@ -310,49 +328,54 @@ msgstr "" msgid "Forward" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:143 -msgid "Forward to" +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:29 +msgid "" +"Forwarded IPv4%{proto?, protocol %{proto#%{next?, }<var>%{item.name}</" +"var>}}%{mark?, mark <var%{mark.inv? data-tooltip=\"Match fwmarks except " +"%{mark.num}%{mark.mask? with mask %{mark.mask}}.\":%{mark.mask? data-tooltip=" +"\"Mask fwmark value with %{mark.mask} before compare.\"}}>%{mark.val}</var>}" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:460 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:335 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:427 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:255 msgid "Friday" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:62 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:64 -msgid "From %s in %s" -msgstr "" - -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:60 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:62 -msgid "From %s in %s with source %s" -msgstr "" - -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:58 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:60 -msgid "From %s in %s with source %s and %s" -msgstr "" - -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:75 -msgid "From %s on <var>this device</var>" -msgstr "" - -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:73 -msgid "From %s on <var>this device</var> with source %s" +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:38 +msgid "" +"From %{src}%{src_device?, interface <var>%{src_device}</var>}%{src_ip?, IP " +"%{src_ip#%{next?, }<var%{item.inv? data-tooltip=\"Match IP addresses except " +"%{item.val}.\"}>%{item.ival}</var>}}%{src_port?, port %{src_port#%{next?, }" +"<var%{item.inv? data-tooltip=\"Match ports except %{item.val}.\"}>%{item." +"ival}</var>}}" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:71 -msgid "From %s on <var>this device</var> with source %s and %s" +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:63 +msgid "" +"From %{src}%{src_device?, interface <var>%{src_device}</var>}%{src_ip?, IP " +"%{src_ip#%{next?, }<var%{item.inv? data-tooltip=\"Match IP addresses except " +"%{item.val}.\"}>%{item.ival}</var>}}%{src_port?, port %{src_port#%{next?, }" +"<var%{item.inv? data-tooltip=\"Match ports except %{item.val}.\"}>%{item." +"ival}</var>}}%{src_mac?, MAC %{src_mac#%{next?, }<var%{item.inv? data-" +"tooltip=\"Match MACs except %{item.val}%{item.hint.name? a.k.a. %{item.hint." +"name}}.\":%{item.hint.name? data-tooltip=\"%{item.hint.name}\"}}>%{item.ival}" +"</var>}}" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:93 -msgid "From %{ipaddr?:any host} %{port?with source %{port}}" +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:47 +msgid "" +"From %{src}%{src_ip?, IP %{src_ip#%{next?, }<var%{item.inv? data-tooltip=" +"\"Match IP addresses except %{item.val}.\"}>%{item.ival}</var>}}%{src_port?, " +"port %{src_port#%{next?, }<var%{item.inv? data-tooltip=\"Match ports except " +"%{item.val}.\"}>%{item.ival}</var>}}%{src_mac?, MAC %{src_mac#%{next?, }<var" +"%{item.inv? data-tooltip=\"Match MACs except %{item.val}%{item.hint.name? a." +"k.a. %{item.hint.name}}.\":%{item.hint.name? data-tooltip=\"%{item.hint." +"name}\"}}>%{item.ival}</var>}}" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:108 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:177 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:162 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:128 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:172 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:126 #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:31 #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:77 #: applications/luci-app-firewall/root/usr/share/luci/menu.d/luci-app-firewall.json:16 @@ -363,72 +386,64 @@ msgstr "" msgid "Hardware flow offloading" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:157 -msgid "IP" -msgstr "" - -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:167 -msgid "IP range" -msgstr "" - -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:175 -msgid "IPs" -msgstr "" - -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:216 -msgid "IPv4" -msgstr "" - -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:220 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:267 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:263 #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:192 msgid "IPv4 and IPv6" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:268 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:264 #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:193 msgid "IPv4 only" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:218 -msgid "IPv6" -msgstr "" - -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:269 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:265 #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:194 msgid "IPv6 only" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:239 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:235 msgid "Inbound device" msgstr "" +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:37 +msgid "" +"Incoming IPv4%{proto?, protocol %{proto#%{next?, }%{item.types?<var class=" +"\"cbi-tooltip-container\">%{item.name}<span class=\"cbi-tooltip\">ICMP with " +"types %{item.types#%{next?, }<var>%{item}</var>}</span></var>:<var>%{item." +"name}</var>}}}%{mark?, mark <var%{mark.inv? data-tooltip=\"Match fwmarks " +"except %{mark.num}%{mark.mask? with mask %{mark.mask}}.\":%{mark.mask? data-" +"tooltip=\"Mask fwmark value with %{mark.mask} before compare.\"}}>%{mark.val}" +"</var>}%{helper?, helper %{helper.inv?<var data-tooltip=\"Match any helper " +"except "%{helper.name}"\">%{helper.val}</var>:<var data-tooltip=" +"\"%{helper.name}\">%{helper.val}</var>}}" +msgstr "" + #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:39 #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:115 msgid "Input" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:247 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:225 msgid "Internal IP address" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:259 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:230 msgid "Internal port" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:241 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:219 msgid "Internal zone" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:357 +#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:302 msgid "Invalid DSCP mark" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:425 +#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:370 msgid "Invalid limit value" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:435 +#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:380 msgid "Limit burst" msgstr "" @@ -436,27 +451,27 @@ msgstr "" msgid "Limit log messages" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:401 +#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:346 msgid "Limit matching" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:402 -msgid "Limits traffic matching to the specified rate." -msgstr "" - -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:275 -msgid "Loopback source IP" +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:74 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:95 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:67 +msgid "" +"Limit matching to <var>%{limit.num}</var> packets per <var>%{limit.unit}</" +"var>%{limit.burst? burst <var>%{limit.burst}</var>}" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:96 -msgid "MAC" +#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:347 +msgid "Limits traffic matching to the specified rate." msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:104 -msgid "MACs" +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:244 +msgid "Loopback source IP" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:266 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:203 msgid "MASQUERADE - Automatically rewrite to outbound interface IP" msgstr "" @@ -468,142 +483,132 @@ msgstr "" msgid "Masquerading" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:133 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:214 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:174 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:153 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:209 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:138 msgid "Match" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:84 -msgid "" -"Match %{protocol?%{family} %{protocol} traffic:any %{family} traffic} %{mark?" -"with firewall mark %{mark}} %{limit?limited to %{limit}}" -msgstr "" - -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:315 +#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:260 msgid "Match DSCP" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:288 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:276 msgid "Match ICMP type" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:236 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:232 msgid "Match device" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:239 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:186 msgid "Match forwarded traffic directed at the given IP address." msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:252 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:191 msgid "" "Match forwarded traffic directed at the given destination port or port range." msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:215 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:172 msgid "Match forwarded traffic from this IP or range." msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:228 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:177 msgid "" "Match forwarded traffic originating from the given source port or port range." msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:284 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:423 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:253 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:390 msgid "Match helper" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:232 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:212 msgid "" "Match incoming traffic directed at the given destination port or port range " "on this host" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:368 +#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:313 msgid "Match mark" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:284 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:423 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:253 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:390 msgid "Match traffic using the specified connection tracking helper." msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:371 +#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:316 msgid "Matches a specific firewall mark or a range of different marks." msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:311 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:231 msgid "Matches forwarded traffic using the specified outbound network device." msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:316 +#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:261 msgid "Matches traffic carrying the specified DSCP marking." msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:436 +#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:381 msgid "" "Maximum initial number of packets to match: this number gets recharged by " "one every time the limit specified above is not reached, up to this number." msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:456 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:331 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:423 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:251 msgid "Monday" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:466 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:341 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:433 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:261 msgid "Month Days" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:157 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:121 #: applications/luci-app-firewall/root/usr/share/luci/menu.d/luci-app-firewall.json:43 msgid "NAT Rules" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:155 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:119 msgid "" "NAT rules allow fine grained control over the source IP to use for outbound " "or forwarded traffic." msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:129 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:210 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:170 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:149 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:205 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:134 #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:93 msgid "Name" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:169 -msgid "Network" -msgstr "" - -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:219 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:207 msgid "Only match incoming traffic directed at the given IP address." msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:182 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:188 msgid "Only match incoming traffic from these MACs." msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:195 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:193 msgid "Only match incoming traffic from this IP or range." msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:208 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:198 msgid "" "Only match incoming traffic originating from the given source port or port " "range on the client host" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:240 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:310 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:236 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:230 msgid "Outbound device" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:207 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:164 msgid "Outbound zone" msgstr "" @@ -612,9 +617,9 @@ msgstr "" msgid "Output" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:307 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:447 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:321 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:276 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:414 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:241 msgid "Passes additional arguments to iptables. Use with care!" msgstr "" @@ -627,44 +632,32 @@ msgid "" "all services." msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:103 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:123 #: applications/luci-app-firewall/root/usr/share/luci/menu.d/luci-app-firewall.json:25 msgid "Port Forwards" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:101 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:121 msgid "" "Port forwarding allows remote computers on the Internet to connect to a " "specific computer or service within the private LAN." msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:162 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:275 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:195 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:177 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:272 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:160 msgid "Protocol" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:260 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:231 msgid "" "Redirect matched incoming traffic to the given port on the internal host" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:248 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:226 msgid "Redirect matched incoming traffic to the specified internal host" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:295 -msgid "Refuse forward" -msgstr "" - -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:305 -msgid "Refuse input" -msgstr "" - -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:285 -msgid "Refuse output" -msgstr "" - #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:66 msgid "Requires hardware NAT support. Implemented at least for mt7621" msgstr "" @@ -677,57 +670,45 @@ msgstr "" msgid "Restrict Masquerading to given source subnets" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:264 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:260 #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:191 msgid "Restrict to address family" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:269 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:206 msgid "Rewrite IP address" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:270 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:207 msgid "Rewrite matched traffic to the specified source IP address." msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:300 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:222 msgid "Rewrite matched traffic to the specified source port or port range." msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:299 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:221 msgid "Rewrite port" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:184 -msgid "Rewrite to" -msgstr "" - -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:116 -msgid "Rewrite to %{ipaddr?%{port?%{ipaddr}, %{port}:%{ipaddr}}:%{port}}" -msgstr "" - -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:122 -msgid "Rewrite to outbound device IP" -msgstr "" - #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:53 msgid "Routing/NAT Offloading" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:265 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:202 msgid "SNAT - Rewrite to specific source IP or port" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:461 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:336 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:428 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:256 msgid "Saturday" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:368 +#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:313 msgid "Set mark" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:370 +#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:315 msgid "" "Set the given mark value on established connections. Format is value[/mask]. " "If a mask is specified then only those bits set in the mask are modified." @@ -741,65 +722,65 @@ msgstr "" msgid "Software flow offloading" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:194 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:214 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:192 msgid "Source IP address" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:181 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:341 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:187 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:330 msgid "Source MAC address" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:352 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:331 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:171 msgid "Source address" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:207 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:358 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:227 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:197 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:333 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:176 msgid "Source port" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:175 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:335 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:181 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:324 msgid "Source zone" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:257 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:253 msgid "" "Specifies whether to tie this traffic rule to a specific inbound or outbound " "network device." msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:275 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:244 msgid "" "Specifies whether to use the external or the internal IP address for " "reflected traffic." msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:485 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:360 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:452 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:280 msgid "Start Date (yyyy-mm-dd)" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:477 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:352 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:444 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:272 msgid "Start Time (hh.mm.ss)" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:489 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:364 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:456 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:284 msgid "Stop Date (yyyy-mm-dd)" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:481 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:356 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:448 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:276 msgid "Stop Time (hh.mm.ss)" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:455 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:330 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:422 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:250 msgid "Sunday" msgstr "" @@ -829,61 +810,65 @@ msgid "" "networks</em> specifies which available networks are members of this zone." msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:459 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:334 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:426 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:254 msgid "Thursday" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:179 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:164 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:174 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:128 msgid "Time Restrictions" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:493 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:368 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:460 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:288 msgid "Time in UTC" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:96 -msgid "To %s at %s on <var>this device</var>" -msgstr "" - -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:89 -msgid "To %s in %s" -msgstr "" - -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:98 -msgid "To %s on <var>this device</var>" +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:76 +msgid "" +"To %{dest}%{dest_device?, interface <var>%{dest_device}</var>}%{dest_ip?, IP " +"%{dest_ip#%{next?, }<var%{item.inv? data-tooltip=\"Match IP addresses except " +"%{item.val}.\"}>%{item.ival}</var>}}%{dest_port?, port %{dest_port#%{next?, }" +"<var%{item.inv? data-tooltip=\"Match ports except %{item.val}.\"}>%{item." +"ival}</var>}}" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:87 -msgid "To %s, %s in %s" +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:48 +msgid "" +"To %{dest}%{dest_device?, via interface <var>%{dest_device}</" +"var>}%{dest_ip?, IP %{dest_ip#%{next?, }<var%{item.inv? data-tooltip=\"Match " +"IP addresses except %{item.val}.\"}>%{item.ival}</var>}}%{dest_port?, port " +"%{dest_port#%{next?, }<var%{item.inv? data-tooltip=\"Match ports except " +"%{item.val}.\"}>%{item.ival}</var>}}" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:103 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:56 msgid "" -"To %{ipaddr?:any destination} %{port?at %{port}} %{zone?via zone %{zone}} " -"%{device?egress device %{device}}" +"To %{dest}%{dest_ip?, IP %{dest_ip#%{next?, }<var%{item.inv? data-tooltip=" +"\"Match IP addresses except %{item.val}.\"}>%{item.ival}</" +"var>}}%{dest_port?, port %{dest_port#%{next?, }<var%{item.inv? data-tooltip=" +"\"Match ports except %{item.val}.\"}>%{item.ival}</var>}}" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:416 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:383 msgid "Tracking helper" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:172 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:167 #: applications/luci-app-firewall/root/usr/share/luci/menu.d/luci-app-firewall.json:34 msgid "Traffic Rules" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:170 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:165 msgid "" "Traffic rules define policies for packets traveling between different zones, " "for example to reject traffic between certain hosts or to open WAN ports on " "the router." msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:457 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:332 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:424 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:252 msgid "Tuesday" msgstr "" @@ -891,23 +876,23 @@ msgstr "" msgid "Unable to save contents: %s" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:299 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:438 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:268 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:405 msgid "Unknown or not installed conntrack helper \"%s\"" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:167 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:171 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:131 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:135 msgid "Unnamed NAT" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:116 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:130 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:136 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:150 msgid "Unnamed forward" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:186 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:211 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:181 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:206 msgid "Unnamed rule" msgstr "" @@ -915,11 +900,15 @@ msgstr "" msgid "Unnamed zone" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:279 +#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:548 +msgid "Unrecognized protocol" +msgstr "" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:248 msgid "Use external IP address" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:278 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:247 msgid "Use internal IP address" msgstr "" @@ -935,33 +924,25 @@ msgid "" "instead of networks or devices." msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:383 +#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:328 msgid "Valid firewall mark required" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:72 -msgid "Via %s" -msgstr "" - -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:70 -msgid "Via %s at %s" -msgstr "" - -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:458 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:333 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:425 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:253 msgid "Wednesday" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:450 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:325 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:417 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:245 msgid "Week Days" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:397 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:364 msgid "XOR firewall mark" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:368 +#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:313 msgid "XOR mark" msgstr "" @@ -973,133 +954,112 @@ msgstr "" msgid "Zones" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:392 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:359 #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:47 #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:123 msgid "accept" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:320 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:186 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:199 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:212 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:223 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:263 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:286 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:293 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:344 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:355 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:361 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:376 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:382 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:418 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:425 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:219 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:232 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:243 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:255 +#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:265 +#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:431 +#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:453 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:202 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:234 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:255 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:281 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:336 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:351 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:385 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:392 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:181 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:194 msgid "any" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:53 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:147 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:58 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:85 -msgid "any host" -msgstr "" - -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:66 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:69 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:94 -msgid "any router IP" -msgstr "" - -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:182 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:52 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:146 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:48 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:81 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:64 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:77 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:39 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:49 msgid "any zone" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:396 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:363 msgid "apply firewall mark" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:395 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:362 msgid "assign conntrack helper" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:267 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:67 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:88 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:60 msgid "day" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:273 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:303 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:225 msgid "do not rewrite" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:394 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:361 msgid "don't track" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:391 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:358 #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:46 #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:122 msgid "drop" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:265 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:67 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:88 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:60 msgid "hour" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:263 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:67 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:88 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:60 msgid "minute" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:86 -msgid "not" -msgstr "" - -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:121 -msgid "port" -msgstr "" - -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:131 -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:140 -msgid "ports" -msgstr "" - -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:393 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:360 #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:45 #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:121 msgid "reject" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:261 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:67 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:88 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:60 msgid "second" msgstr "" +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:48 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:57 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:81 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:64 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:77 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:49 +msgid "this device" +msgstr "" + #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:88 #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:176 #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:265 msgid "this new zone" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:197 -msgid "type" -msgstr "" - -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:209 -msgid "types" -msgstr "" - -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:406 +#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:351 msgid "unlimited" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:238 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:234 msgid "unspecified" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:391 +#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:336 msgid "valid firewall mark" msgstr "" |