From 7944b0a90bbb0f0f5d1da5eaf5d9906ac546c44b Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 19 Jan 2020 16:08:47 +0100 Subject: 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 --- applications/luci-app-firewall/po/ca/firewall.po | 840 ++++++++++++----------- 1 file changed, 433 insertions(+), 407 deletions(-) (limited to 'applications/luci-app-firewall/po/ca') diff --git a/applications/luci-app-firewall/po/ca/firewall.po b/applications/luci-app-firewall/po/ca/firewall.po index f6341cf093..72339c2bf3 100644 --- a/applications/luci-app-firewall/po/ca/firewall.po +++ b/applications/luci-app-firewall/po/ca/firewall.po @@ -16,53 +16,103 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 3.11-dev\n" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:154 -msgid "%s in %s" -msgstr "%s en %s" +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:47 +msgid "" +"%{src?%{dest?Forwarded:Incoming}:Outgoing} %{ipv6?%{ipv4?IPv4 and " +"IPv6:IPv6}:IPv4}%{proto?, protocol %{proto#" +"%{next?, }%{item.types?%{item.name}" +"ICMP with types %{item.types#%{next?, }" +"%{item}}:%{item.name}}}}%{mark?, mark %{mark.val}}%{dscp?, DSCP %{dscp.inv?" +"%{dscp.val}:%{dscp.val}}}%{helper?, helper " +"%{helper.inv?%{helper.val}:%{helper." +"val}}}" +msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:242 -msgid "%s%s with %s" -msgstr "%s%s amb %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" -msgstr "%s, %s en %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 "%d pkts. per %s" -msgstr "%d paquets al %s" +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:117 +msgid "" +"Accept %{src?%{dest?forward:input}:output}" +msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:271 -msgid "%d pkts. per %s, burst %d pkts." +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:86 +msgid "Prevent source rewrite" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:107 -msgid "%s and limit to %s" -msgstr "%s i limita a %s" +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:80 +msgid "" +"Forward to %{dest}%{dest_ip? IP " +"%{dest_ip}}%{dest_port? port %{dest_port}}" +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 "" +"Drop %{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 "" +"Assign DSCP classification %{set_dscp}" +"" 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:126 +msgid "" +"Assign conntrack helper %{set_helper}" 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/rules.js:129 +msgid "" +"%{set_mark?Assign:XOR} firewall mark " +"%{set_mark?:%{set_xmark}}" +msgstr "" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:83 +msgid "Automatically rewrite 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 "" +"Do not track %{src?%{dest?forward:input}:" +"output}" +msgstr "" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:120 +msgid "" +"Reject %{src?%{dest?forward:input}:output}" +msgstr "" + +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:80 +msgid "" +"Statically rewrite to source %{snat_ip?IP " +"%{snat_ip}} %{snat_port?port %{snat_port}}" +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/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/snats.js:204 +msgid "ACCEPT - Disable address rewriting" +msgstr "" + +#: 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 "Acció" @@ -79,9 +129,9 @@ msgid "" "e.g. -p tcp --sport 443 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 "Ajusts avançats" @@ -98,30 +148,29 @@ msgstr "Permet el reenviament des dels zones d'origen:" msgid "Allow forward to destination zones:" msgstr "Permet el reenviament als zones de destí:" -#: 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 "Qualsevol" -#: 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 "" @@ -173,84 +222,53 @@ msgstr "" "ordres s'executen després de cada reinici de tallafocs, just després el " "conjunt de regles per defecte s'ha carregat." -#: 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 "Adreça IP de destí" - -#: 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 "Adreça de destí" -#: 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 "Port de destí" -#: 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 "Zona de destí" -#: 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 " "invalid. 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 "No reescriguis" - -#: 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 "Descarta els paquets invàlids" -#: 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 "Activa" -#: 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 "" @@ -262,7 +280,7 @@ msgstr "Habilita protecció contra la inundació SYN" msgid "Enable logging on this zone" msgstr "Habilita el registre d'aquesta zona" -#: 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 "" @@ -274,17 +292,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 "Adreça IP extern" -#: 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 "Port extern" -#: 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 "Paràmetres extres" @@ -308,15 +326,15 @@ msgstr "Tallafocs" msgid "Firewall - Custom Rules" msgstr "Tallafocs - Regles personalitzades" -#: 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 "Tallafocs - Reenviaments de port" -#: 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 "Tallafocs - Regles de tràfic" @@ -329,49 +347,54 @@ msgstr "Tallafocs - Ajusts de zona" msgid "Forward" msgstr "Reenvia" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:143 -msgid "Forward to" -msgstr "Reenvia a" +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:29 +msgid "" +"Forwarded IPv4%{proto?, protocol %{proto#%{next?, }%{item.name}}}%{mark?, mark %{mark.val}}" +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 "Divendres" -#: 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 "Des de %s en %s" - -#: 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 "Des de %s en %s amb origen %s" - -#: 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 "Des de %s en %s amb orígens %s i %s" - -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:75 -msgid "From %s on this device" -msgstr "" - -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:73 -msgid "From %s on this device with source %s" +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:38 +msgid "" +"From %{src}%{src_device?, interface %{src_device}}%{src_ip?, IP " +"%{src_ip#%{next?, }%{item.ival}}}%{src_port?, port %{src_port#%{next?, }" +"%{item." +"ival}}}" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:71 -msgid "From %s on this device with source %s and %s" +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:63 +msgid "" +"From %{src}%{src_device?, interface %{src_device}}%{src_ip?, IP " +"%{src_ip#%{next?, }%{item.ival}}}%{src_port?, port %{src_port#%{next?, }" +"%{item." +"ival}}}%{src_mac?, MAC %{src_mac#%{next?, }%{item.ival}" +"}}" 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?, }%{item.ival}}}%{src_port?, " +"port %{src_port#%{next?, }%{item.ival}}}%{src_mac?, MAC %{src_mac#%{next?, }%{item.ival}}}" 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 @@ -382,72 +405,64 @@ msgstr "Ajusts generals" 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 "IPv4" - -#: 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 "IPv4 i IPv6" -#: 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 "Només IPv4" -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:218 -msgid "IPv6" -msgstr "IPv6" - -#: 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 "Només IPv6" -#: 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?%{item.name}ICMP with " +"types %{item.types#%{next?, }%{item}}:%{item." +"name}}}}%{mark?, mark %{mark.val}" +"}%{helper?, helper %{helper.inv?%{helper.val}:%{helper.val}}}" +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 "Entrada" -#: 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 "Adreça IP interna" -#: 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 "Port intern" -#: 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 "Zona interna" -#: 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 "" @@ -455,27 +470,27 @@ msgstr "" msgid "Limit log messages" msgstr "Limita els missatges de registre" -#: 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." +#: 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 %{limit.num} packets per %{limit.unit}%{limit.burst? burst %{limit.burst}}" 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/tools/firewall.js:347 +msgid "Limits traffic matching to the specified rate." msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:96 -msgid "MAC" -msgstr "MAC" - -#: 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 "" @@ -487,54 +502,48 @@ msgstr "Fixació MSS" msgid "Masquerading" msgstr "Mascarada" -#: 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 "Coincideix" -#: 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 "Coincideix amb el tipus ICMP" -#: 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" @@ -542,78 +551,74 @@ msgstr "" "Coincideix amb trànsit entrant dirigit al port o rang de ports de destí en " "aquest host donat" -#: 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 "Dilluns" -#: 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 "Nom" -#: 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 "Només coincideix amb trànsit entrant dirigit a la adreça IP donada." -#: 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 "Només coincideix amb trànsit entrant des d'aquests MAC." -#: 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 "Només coincideix amb trànsit entrant des d'aquest IP o rang." -#: 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" @@ -621,12 +626,12 @@ msgstr "" "Només coincideix amb trànsit originant en el host client des del port o del " "rang de ports d'origen donat" -#: 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 "" @@ -635,9 +640,9 @@ msgstr "" msgid "Output" msgstr "Sortida" -#: 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 "Passa paràmetres addicionals al iptables. Utilitzeu-ho amb cura!" @@ -650,12 +655,12 @@ 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 "Reenviaments de port" -#: 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." @@ -663,33 +668,21 @@ msgstr "" "El reenviament de ports permet que els ordinadors remots en el Internet " "connectin a un ordinador o servei específic dins del LAN privat." -#: 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 "Protocol" -#: 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 "Redirigeix trànsit entrant coincidit al port donat en el host intern" -#: 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 "Redirigeix trànsit entrant coincidit al host intern especificat" -#: 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 "" @@ -702,57 +695,45 @@ msgstr "Restringeix la mascarada a les subxarxes de destí donades" msgid "Restrict Masquerading to given source subnets" msgstr "Restringeix la mascarada a les subxarxes d'origen donades" -#: 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 "Restringeix a la família d'adreces" -#: 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 "Dissabte" -#: 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." @@ -766,65 +747,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 "Adreça IP d'origen" -#: 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 "Adreça MAC d'origen" -#: 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 "Adreça d'origen" -#: 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 "Port d'origen" -#: 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 "Zona d'origen" -#: 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 "Diumenge" @@ -869,53 +850,57 @@ msgstr "" "Xarxes cobertes especifica quines xarxes disponibles són membres " "d'aquesta zona." -#: 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 "Dijous" -#: 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 this device" -msgstr "A %s a %s en aquest dispositiu" - -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:89 -msgid "To %s in %s" -msgstr "A %s en %s" - -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:98 -msgid "To %s on this device" -msgstr "A %s en aquest dispositiu" +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:76 +msgid "" +"To %{dest}%{dest_device?, interface %{dest_device}}%{dest_ip?, IP " +"%{dest_ip#%{next?, }%{item.ival}}}%{dest_port?, port %{dest_port#%{next?, }" +"%{item." +"ival}}}" +msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:87 -msgid "To %s, %s in %s" -msgstr "A %s, %s en %s" +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:48 +msgid "" +"To %{dest}%{dest_device?, via interface %{dest_device}}%{dest_ip?, IP %{dest_ip#%{next?, }%{item.ival}}}%{dest_port?, port " +"%{dest_port#%{next?, }%{item.ival}}}" +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?, }%{item.ival}}}%{dest_port?, port %{dest_port#%{next?, }%{item.ival}}}" 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 "Regles de trànsit" -#: 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 " @@ -925,8 +910,8 @@ msgstr "" "zones distintes, per exemple per a rebutjar trànsit entre certs hosts o " "obrir ports WAN en el encaminador." -#: 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 "Dimarts" @@ -934,23 +919,23 @@ msgstr "Dimarts" 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 "" @@ -958,11 +943,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 "" @@ -978,33 +967,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 "Via %s" - -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:70 -msgid "Via %s at %s" -msgstr "Via %s a %s" - -#: 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 "Dimecres" -#: 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 "" @@ -1016,137 +997,182 @@ msgstr "Zona ⇒ Reenviaments" msgid "Zones" msgstr "Zones" -#: 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 "accepta" -#: 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 "qualsevol" -#: 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 "qualsevol host" - -#: 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 "qualsevol IP d'encaminador" - -#: 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 "qualsevol zona" -#: 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 "no rastregis" -#: 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 "descarta" -#: 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 "rebutja" -#: 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 "" +#~ msgid "%s in %s" +#~ msgstr "%s en %s" + +#~ msgid "%s%s with %s" +#~ msgstr "%s%s amb %s" + +#~ msgid "%s, %s in %s" +#~ msgstr "%s, %s en %s" + +#~ msgid "%d pkts. per %s" +#~ msgstr "%d paquets al %s" + +#~ msgid "%s and limit to %s" +#~ msgstr "%s i limita a %s" + +#~ msgid "Destination IP address" +#~ msgstr "Adreça IP de destí" + +#~ msgid "Do not rewrite" +#~ msgstr "No reescriguis" + +#~ msgid "Forward to" +#~ msgstr "Reenvia a" + +#~ msgid "From %s in %s" +#~ msgstr "Des de %s en %s" + +#~ msgid "From %s in %s with source %s" +#~ msgstr "Des de %s en %s amb origen %s" + +#~ msgid "From %s in %s with source %s and %s" +#~ msgstr "Des de %s en %s amb orígens %s i %s" + +#~ msgid "IPv4" +#~ msgstr "IPv4" + +#~ msgid "IPv6" +#~ msgstr "IPv6" + +#~ msgid "MAC" +#~ msgstr "MAC" + +#~ msgid "To %s at %s on this device" +#~ msgstr "A %s a %s en aquest dispositiu" + +#~ msgid "To %s in %s" +#~ msgstr "A %s en %s" + +#~ msgid "To %s on this device" +#~ msgstr "A %s en aquest dispositiu" + +#~ msgid "To %s, %s in %s" +#~ msgstr "A %s, %s en %s" + +#~ msgid "Via %s" +#~ msgstr "Via %s" + +#~ msgid "Via %s at %s" +#~ msgstr "Via %s a %s" + +#~ msgid "any host" +#~ msgstr "qualsevol host" + +#~ msgid "any router IP" +#~ msgstr "qualsevol IP d'encaminador" + #~ msgid "Force connection tracking" #~ msgstr "Força el rastreig de connexió" -- cgit v1.2.3