diff options
Diffstat (limited to 'applications/luci-app-firewall')
6 files changed, 217 insertions, 30 deletions
diff --git a/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js b/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js index b68f428d95..ada05f24ca 100644 --- a/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js +++ b/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js @@ -29,7 +29,7 @@ function rule_proto_txt(s, ctHelpers) { } : null; m = String(uci.get('firewall', s, 'mark')).match(/^(!\s*)?(0x[0-9a-f]{1,8}|[0-9]{1,10})(?:\/(0x[0-9a-f]{1,8}|[0-9]{1,10}))?$/i); - var f = m ? { + var w = m ? { val: m[0].toUpperCase().replace(/X/g, 'x'), inv: m[1], num: '0x%02X'.format(+m[2]), @@ -51,7 +51,7 @@ function rule_proto_txt(s, ctHelpers) { dest: uci.get('firewall', s, 'dest'), proto: proto, helper: h, - mark: f, + mark: w, dscp: d }); } diff --git a/applications/luci-app-firewall/po/es/firewall.po b/applications/luci-app-firewall/po/es/firewall.po index d15b8ef736..50345ecc6b 100644 --- a/applications/luci-app-firewall/po/es/firewall.po +++ b/applications/luci-app-firewall/po/es/firewall.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-03-30 17:00+0200\n" -"PO-Revision-Date: 2020-01-19 20:38+0000\n" +"PO-Revision-Date: 2020-01-26 12:41+0000\n" "Last-Translator: Franco Castillo <castillofrancodamian@gmail.com>\n" "Language-Team: Spanish <https://hosted.weblate.org/projects/openwrt/" "luciapplicationsfirewall/es/>\n" @@ -30,73 +30,107 @@ msgid "" ""\">%{helper.val}</var>:<var data-tooltip=\"%{helper.name}\">%{helper." "val}</var>}}" msgstr "" +"%{src?%{dest?Reenvío:Entrada}:Salida} %{ipv6?%{ipv4?<var>IPv4</var> y " +"<var>IPv6</var>:<var>IPv6</var>}:<var>IPv4</var>}%{proto?, protocolo " +"%{proto#%{next?, }%{item.types?<var class=\"cbi-tooltip-container\"" +">%{item.name}<span class=\"cbi-tooltip\">ICMP con tipos %{item.types#%{" +"next?, }<var>%{item}</var>}</span></var>:<var>%{item.name}</var>}}}%{mark?, " +"marca <var%{mark.inv? data-tooltip=\"Hacer coincidir fwmarks excepto " +"%{mark.num}%{mark.mask? con máscara %{mark.mask}}.\":%{mark.mask? data-" +"tooltip=\"Enmascarar el valor de fwmark con %{mark.mask} antes de comparar.\"" +"}}>%{mark.val}</var>}%{dscp?, DSCP %{dscp.inv?<var data-tooltip=\"Igualar " +"las clasificaciones DSCP excepto %{dscp.num?:%{dscp.name}}\"" +">%{dscp.val}</var>:<var>%{dscp.val}</var>}}%{helper?, ayudante %{helper.inv?<" +"var data-tooltip=\"Iguala a cualquier ayudante excepto " +""%{helper.name}"\">%{helper.val}</var>:<var data-tooltip=\"" +"%{helper.name}\">%{helper.val}</var>}}" #: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:431 msgid "-- add IP --" -msgstr "-- añadir IP --" +msgstr "-- Añadir IP --" #: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:479 msgid "-- add MAC --" -msgstr "-- añadir MAC" +msgstr "-- Añadir MAC" #: 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 "" +"<var data-tooltip=\"ACCEPT\">Aceptar</var> " +"%{src?%{dest?reenvío:entrada}:salida}" #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:86 msgid "<var data-tooltip=\"ACCEPT\">Prevent source rewrite</var>" -msgstr "" +msgstr "<var data-tooltip=\"ACCEPT\">Prevenir la reescritura de la fuente</var>" #: 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 "" +"<var data-tooltip=\"DNAT\">Reenviar</var> a %{dest}%{dest_ip? IP " +"<var>%{dest_ip}</var>}%{dest_port? puerto <var>%{dest_port}</var>}" #: 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 "" +"<var data-tooltip=\"DROP\">Descartar</var> " +"%{src?%{dest?reenvío:entrada}:salida}" #: 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 "" +"<var data-tooltip=\"DSCP\">Asignar DSCP</var> clasificación " +"<var>%{set_dscp}</var>" #: 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 "" +"<var data-tooltip=\"HELPER\">Asignar conntrack</var> ayudante <var%{" +"helper_name? data-tooltip=\"%{helper_name}\"}>%{set_helper}</var>" #: 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 "" +"<var data-tooltip=\"MARK\">%{set_mark?Asignar:XOR}</var> marca de firewall " +"<var>%{set_mark?:%{set_xmark}}</var>" #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:83 msgid "<var data-tooltip=\"MASQUERADE\">Automatically rewrite</var> source IP" msgstr "" +"<var data-tooltip=\"MASQUERADE\">Reescribir automáticamente</var> IP de " +"origen" #: 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 "" +"<var data-tooltip=\"NOTRACK\">No seguir</var> " +"%{src?%{dest?reenvío:entrada}:salida}" #: 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 "" +"<var data-tooltip=\"REJECT\">Rechazar</var> " +"%{src?%{dest?reenvío:entrada}:salida}" #: 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 "" +"<var data-tooltip=\"SNAT\">Reescribir estáticamente</var> a origen %{" +"snat_ip?IP <var>%{snat_ip}</var>} %{snat_port?puerto <var>%{snat_port}</var>}" #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:224 msgid "A rewrite IP must be specified!" @@ -378,6 +412,11 @@ msgid "" "%{mark.num}%{mark.mask? with mask %{mark.mask}}.\":%{mark.mask? data-tooltip=" "\"Mask fwmark value with %{mark.mask} before compare.\"}}>%{mark.val}</var>}" msgstr "" +"Reenviar IPv4%{proto?, protocolo %{proto#%{next?, " +"}<var>%{item.name}</var>}}%{mark?, marca <var%{mark.inv? data-tooltip=\"" +"Hacer coincidir fwmarks excepto %{mark.num}%{mark.mask? con máscara " +"%{mark.mask}}.\":%{mark.mask? data-tooltip=\"Enmascarar el valor de fwmark " +"con %{mark.mask} antes de comparar.\"}}>%{mark.val}</var>}" #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:435 #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:263 @@ -392,6 +431,11 @@ msgid "" "<var%{item.inv? data-tooltip=\"Match ports except %{item.val}.\"}>%{item." "ival}</var>}}" msgstr "" +"Desde %{src}%{src_device?, interfaz <var>%{src_device}</var>}%{src_ip?, IP " +"%{src_ip#%{next?, }<var%{item.inv? data-tooltip=\"Hacer coincidir las " +"direcciones IP excepto %{item.val}.\"}>%{item.ival}</var>}}%{src_port?, " +"puerto %{src_port#%{next?, }<var%{item.inv? data-tooltip=\"Igualar puertos " +"excepto %{item.val}.\"}>%{item.ival}</var>}}" #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:63 msgid "" @@ -404,6 +448,14 @@ msgid "" "name}}.\":%{item.hint.name? data-tooltip=\"%{item.hint.name}\"}}>%{item.ival}" "</var>}}" msgstr "" +"Desde %{src}%{src_device?, interfaz <var>%{src_device}</var>}%{src_ip?, IP " +"%{src_ip#%{next?, }<var%{item.inv? data-tooltip=\"Hacer coincidir las " +"direcciones IP excepto %{item.val}.\"}>%{item.ival}</var>}}%{src_port?, " +"puerto %{src_port#%{next?, }<var%{item.inv? data-tooltip=\"Igualar puertos " +"excepto %{item.val}.\"}>%{item.ival}</var>}}%{src_mac?, MAC %{src_mac#%{" +"next?, }<var%{item.inv? data-tooltip=\"Hacer coincidir MAC excepto " +"%{item.val}%{item.hint.name? a.k.a. %{item.hint.name}}.\":%{item.hint.name? " +"data-tooltip=\"%{item.hint.name}\"}}>%{item.ival}</var>}}" #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:47 msgid "" @@ -415,6 +467,14 @@ msgid "" "k.a. %{item.hint.name}}.\":%{item.hint.name? data-tooltip=\"%{item.hint." "name}\"}}>%{item.ival}</var>}}" msgstr "" +"Desde %{src}%{src_ip?, IP %{src_ip#%{next?, }<var%{item.inv? data-tooltip=\"" +"Hacer coincidir las direcciones IP excepto %{item.val}.\"" +"}>%{item.ival}</var>}}%{src_port?, puerto %{src_port#%{next?, }<var%{" +"item.inv? data-tooltip=\"Igualar puertos excepto %{item.val}.\"" +"}>%{item.ival}</var>}}%{src_mac?, MAC %{src_mac#%{next?, }<var%{item.inv? " +"data-tooltip=\"Hacer coincidir MAC excepto %{item.val}%{item.hint.name? " +"a.k.a. %{item.hint.name}}.\":%{item.hint.name? data-tooltip=\"" +"%{item.hint.name}\"}}>%{item.ival}</var>}}" #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:136 #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:180 @@ -460,6 +520,17 @@ msgid "" "except "%{helper.name}"\">%{helper.val}</var>:<var data-tooltip=" "\"%{helper.name}\">%{helper.val}</var>}}" msgstr "" +"IPv4 entrante%{proto?, protocolo %{proto#%{next?, }%{item.types?<var class" +"=\"cbi-tooltip-container\">%{item.name}<span class=\"cbi-tooltip\">ICMP con " +"tipos %{item.types#%{next?, " +"}<var>%{item}</var>}</span></var>:<var>%{item.name}</var>}}}%{mark?, mark " +"<var%{mark.inv? data-tooltip=\"Hacer coincidir fwmarks excepto %{mark.num}%{" +"mark.mask? with mask %{mark.mask}}.\":%{mark.mask? data-tooltip=\"Enmascarar " +"el valor de fwmark con %{mark.mask} antes de comparar.\"" +"}}>%{mark.val}</var>}%{helper?, ayudante %{helper.inv?<var data-tooltip=\"" +"Iguala a cualquier ayudante excepto "%{helper.name}"\"" +">%{helper.val}</var>:<var data-tooltip=\"%{helper.name}\"" +">%{helper.val}</var>}}" #: 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 @@ -505,6 +576,8 @@ msgid "" "Limit matching to <var>%{limit.num}</var> packets per <var>%{limit.unit}</" "var>%{limit.burst? burst <var>%{limit.burst}</var>}" msgstr "" +"Limitar coincidencia a <var>%{limit.num}</var> paquetes por " +"<var>%{limit.unit}</var>%{limit.burst? interrumpir <var>%{limit.burst}</var>}" #: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:347 msgid "Limits traffic matching to the specified rate." @@ -628,7 +701,7 @@ msgstr "Días del mes" #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:129 #: applications/luci-app-firewall/root/usr/share/luci/menu.d/luci-app-firewall.json:43 msgid "NAT Rules" -msgstr "Reglas NAT" +msgstr "Reglas de NAT" #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:127 msgid "" @@ -668,7 +741,7 @@ msgstr "" #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:244 #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:238 msgid "Outbound device" -msgstr "Dispositivo saliente" +msgstr "Dispositivo de salida" #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:172 msgid "Outbound zone" @@ -940,6 +1013,11 @@ msgid "" "<var%{item.inv? data-tooltip=\"Match ports except %{item.val}.\"}>%{item." "ival}</var>}}" msgstr "" +"A %{dest}%{dest_device?, interfaz <var>%{dest_device}</var>}%{dest_ip?, IP " +"%{dest_ip#%{next?, }<var%{item.inv? data-tooltip=\"Hacer coincidir las " +"direcciones IP excepto %{item.val}.\"}>%{item.ival}</var>}}%{dest_port?, " +"puerto %{dest_port#%{next?, }<var%{item.inv? data-tooltip=\"Igualar puertos " +"excepto %{item.val}.\"}>%{item.ival}</var>}}" #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:48 msgid "" @@ -949,6 +1027,11 @@ msgid "" "%{dest_port#%{next?, }<var%{item.inv? data-tooltip=\"Match ports except " "%{item.val}.\"}>%{item.ival}</var>}}" msgstr "" +"A %{dest}%{dest_device?, via interfaz <var>%{dest_device}</var>}%{dest_ip?, " +"IP %{dest_ip#%{next?, }<var%{item.inv? data-tooltip=\"Hacer coincidir las " +"direcciones IP excepto %{item.val}.\"}>%{item.ival}</var>}}%{dest_port?, " +"puerto %{dest_port#%{next?, }<var%{item.inv? data-tooltip=\"Igualar puertos " +"excepto %{item.val}.\"}>%{item.ival}</var>}}" #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:56 msgid "" @@ -957,6 +1040,11 @@ msgid "" "var>}}%{dest_port?, port %{dest_port#%{next?, }<var%{item.inv? data-tooltip=" "\"Match ports except %{item.val}.\"}>%{item.ival}</var>}}" msgstr "" +"A %{dest}%{dest_ip?, IP %{dest_ip#%{next?, }<var%{item.inv? data-tooltip=\"" +"Hacer coincidir las direcciones IP excepto %{item.val}.\"" +"}>%{item.ival}</var>}}%{dest_port?, puerto %{dest_port#%{next?, }<var%{" +"item.inv? data-tooltip=\"Igualar puertos excepto %{item.val}.\"" +"}>%{item.ival}</var>}}" #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:391 msgid "Tracking helper" @@ -1020,6 +1108,9 @@ msgid "" "be converted to \"nat\" sections and the firewall will be restarted to apply " "the updated configuration." msgstr "" +"Al presionar \"Continuar\", las secciones de \"redireccionamiento\" con \"" +"SNAT\" de destino se convertirán en secciones \"nat\" y el firewall se " +"reiniciará para aplicar la configuración actualizada." #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:256 msgid "Use external IP address" @@ -1144,7 +1235,7 @@ msgstr "Hora" #: 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 "Minuto" +msgstr "minuto" #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:368 #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:53 @@ -1171,7 +1262,7 @@ msgstr "este dispositivo" #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:184 #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:273 msgid "this new zone" -msgstr "Esta nueva zona" +msgstr "esta nueva zona" #: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:351 msgid "unlimited" @@ -1179,7 +1270,7 @@ msgstr "ilimitado" #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:242 msgid "unspecified" -msgstr "sin especificar" +msgstr "Sin especificar" #: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:336 msgid "valid firewall mark" diff --git a/applications/luci-app-firewall/po/pl/firewall.po b/applications/luci-app-firewall/po/pl/firewall.po index 100f0960f8..e3ec70cb2d 100644 --- a/applications/luci-app-firewall/po/pl/firewall.po +++ b/applications/luci-app-firewall/po/pl/firewall.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-03-30 17:00+0200\n" -"PO-Revision-Date: 2020-01-19 20:38+0000\n" +"PO-Revision-Date: 2020-01-21 13:31+0000\n" "Last-Translator: Marcin Net <marcin.net@linux.pl>\n" "Language-Team: Polish <https://hosted.weblate.org/projects/openwrt/" "luciapplicationsfirewall/pl/>\n" @@ -31,6 +31,19 @@ msgid "" ""\">%{helper.val}</var>:<var data-tooltip=\"%{helper.name}\">%{helper." "val}</var>}}" msgstr "" +"%{src?%{dest?Forwarded:Incoming}:Outgoing} %{ipv6?%{ipv4?<var>IPv4</var> i " +"<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 z odmianami %{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>}}" #: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:431 msgid "-- add IP --" @@ -44,60 +57,79 @@ msgstr "-- dodaj MAC --" msgid "" "<var data-tooltip=\"ACCEPT\">Accept</var> %{src?%{dest?forward:input}:output}" msgstr "" +"<var data-tooltip=\"ACCEPT\">Akceptuj</var> " +"%{src?%{dest?forward:input}:output}" #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:86 msgid "<var data-tooltip=\"ACCEPT\">Prevent source rewrite</var>" -msgstr "" +msgstr "<var data-tooltip=\"ACCEPT\">Zapobieganie przepisywaniu źródła</var>" #: 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 "" +"<var data-tooltip=\"DNAT\">Przekazuj</var> do %{dest}%{dest_ip? IP " +"<var>%{dest_ip}</var>}%{dest_port? port <var>%{dest_port}</var>}" #: 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 "" +"<var data-tooltip=\"DROP\">Porzuć</var> %{src?%{dest?forward:input}:output}" #: 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 "" +"<var data-tooltip=\"DSCP\">Przydziel DSCP</var> klasyfikacja " +"<var>%{set_dscp}</var>" #: 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 "" +"<var data-tooltip=\"HELPER\">Przydziel conntrack</var> pomoc <var%{" +"helper_name? data-tooltip=\"%{helper_name}\"}>%{set_helper}</var>" #: 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 "" +"<var data-tooltip=\"MARK\">%{set_mark?Assign:XOR}</var> znacznik zapory " +"sieciowej <var>%{set_mark?:%{set_xmark}}</var>" #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:83 msgid "<var data-tooltip=\"MASQUERADE\">Automatically rewrite</var> source IP" msgstr "" +"<var data-tooltip=\"MASQUERADE\">Automatycznie przepisz</var> źródłowy adres " +"IP" #: 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 "" +"<var data-tooltip=\"NOTRACK\">Nie śledź</var> " +"%{src?%{dest?forward:input}:output}" #: 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 "" +"<var data-tooltip=\"REJECT\">Odrzucaj</var> " +"%{src?%{dest?forward:input}:output}" #: 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 "" +"<var data-tooltip=\"SNAT\">Statystycznie przepisz</var> do źródła %{" +"snat_ip?IP <var>%{snat_ip}</var>} %{snat_port?port <var>%{snat_port}</var>}" #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:224 msgid "A rewrite IP must be specified!" @@ -379,6 +411,11 @@ msgid "" "%{mark.num}%{mark.mask? with mask %{mark.mask}}.\":%{mark.mask? data-tooltip=" "\"Mask fwmark value with %{mark.mask} before compare.\"}}>%{mark.val}</var>}" msgstr "" +"Przekazywanie 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>}" #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:435 #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:263 @@ -393,6 +430,11 @@ msgid "" "<var%{item.inv? data-tooltip=\"Match ports except %{item.val}.\"}>%{item." "ival}</var>}}" msgstr "" +"Z %{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>}}" #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:63 msgid "" @@ -405,6 +447,14 @@ msgid "" "name}}.\":%{item.hint.name? data-tooltip=\"%{item.hint.name}\"}}>%{item.ival}" "</var>}}" msgstr "" +"Z %{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>}}" #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:47 msgid "" @@ -416,6 +466,13 @@ msgid "" "k.a. %{item.hint.name}}.\":%{item.hint.name? data-tooltip=\"%{item.hint." "name}\"}}>%{item.ival}</var>}}" msgstr "" +"Z %{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>}}" #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:136 #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:180 @@ -461,6 +518,16 @@ msgid "" "except "%{helper.name}"\">%{helper.val}</var>:<var data-tooltip=" "\"%{helper.name}\">%{helper.val}</var>}}" msgstr "" +"Przychodzące 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>}}" #: 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 @@ -506,6 +573,8 @@ msgid "" "Limit matching to <var>%{limit.num}</var> packets per <var>%{limit.unit}</" "var>%{limit.burst? burst <var>%{limit.burst}</var>}" msgstr "" +"Dopasowanie limitu do <var>%{limit.num}</var> pakiety na " +"<var>%{limit.unit}</var>%{limit.burst? burst <var>%{limit.burst}</var>}" #: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:347 msgid "Limits traffic matching to the specified rate." @@ -933,6 +1002,11 @@ msgid "" "<var%{item.inv? data-tooltip=\"Match ports except %{item.val}.\"}>%{item." "ival}</var>}}" msgstr "" +"Do %{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>}}" #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:48 msgid "" @@ -942,6 +1016,11 @@ msgid "" "%{dest_port#%{next?, }<var%{item.inv? data-tooltip=\"Match ports except " "%{item.val}.\"}>%{item.ival}</var>}}" msgstr "" +"Do %{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>}}" #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:56 msgid "" @@ -950,6 +1029,10 @@ msgid "" "var>}}%{dest_port?, port %{dest_port#%{next?, }<var%{item.inv? data-tooltip=" "\"Match ports except %{item.val}.\"}>%{item.ival}</var>}}" msgstr "" +"Do %{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>}}" #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:391 msgid "Tracking helper" diff --git a/applications/luci-app-firewall/po/pt/firewall.po b/applications/luci-app-firewall/po/pt/firewall.po index 9c826b66e6..21933922b9 100644 --- a/applications/luci-app-firewall/po/pt/firewall.po +++ b/applications/luci-app-firewall/po/pt/firewall.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-03-30 17:00+0200\n" -"PO-Revision-Date: 2020-01-19 06:04+0000\n" +"PO-Revision-Date: 2020-01-20 05:58+0000\n" "Last-Translator: ssantos <ssantos@web.de>\n" "Language-Team: Portuguese <https://hosted.weblate.org/projects/openwrt/" "luciapplicationsfirewall/pt/>\n" @@ -12,7 +12,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 3.10.2\n" +"X-Generator: Weblate 3.11-dev\n" #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:47 msgid "" @@ -33,20 +33,22 @@ msgstr "" #: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:431 msgid "-- add IP --" -msgstr "" +msgstr "-- adicionar IP --" #: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:479 msgid "-- add MAC --" -msgstr "" +msgstr "-- adicionar MAC --" #: 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 "" +"<var data-tooltip=\"ACCEPT\">Aceitar</var> " +"%{src?%{dest?forward:input}:output}" #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:86 msgid "<var data-tooltip=\"ACCEPT\">Prevent source rewrite</var>" -msgstr "" +msgstr "<var data-tooltip=\"ACCEPT\">Prevenir a reescrita da fonte</var>" #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:80 msgid "" @@ -208,7 +210,7 @@ msgstr "Os conteúdos foram gravados." #: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:650 msgid "Continue" -msgstr "" +msgstr "Continuar" #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:189 msgid "Covered devices" diff --git a/applications/luci-app-firewall/po/ru/firewall.po b/applications/luci-app-firewall/po/ru/firewall.po index 02e83500ae..552e1e4089 100644 --- a/applications/luci-app-firewall/po/ru/firewall.po +++ b/applications/luci-app-firewall/po/ru/firewall.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: LuCI: firewall\n" "POT-Creation-Date: 2013-09-05 16:02+0200\n" -"PO-Revision-Date: 2020-01-19 20:38+0000\n" +"PO-Revision-Date: 2020-01-20 05:58+0000\n" "Last-Translator: Anton Kikin <a.a.kikin@gmail.com>\n" "Language-Team: Russian <https://hosted.weblate.org/projects/openwrt/" "luciapplicationsfirewall/ru/>\n" @@ -32,7 +32,7 @@ msgid "" ""\">%{helper.val}</var>:<var data-tooltip=\"%{helper.name}\">%{helper." "val}</var>}}" msgstr "" -"%{src?%{dest?Перенаправляемый:Входящий}:Исходящий} " +"%{src?%{dest?Перенаправление:Входящий}:Исходящий} " "%{ipv6?%{ipv4?<var>IPv4</var> и " "<var>IPv6</var>:<var>IPv6</var>}:<var>IPv4</var>}%{proto?, протокол " "%{proto#%{next?, }%{item.types?<var class=\"cbi-tooltip-container\"" @@ -104,8 +104,8 @@ msgid "" "<var data-tooltip=\"MARK\">%{set_mark?Assign:XOR}</var> firewall mark <var>" "%{set_mark?:%{set_xmark}}</var>" msgstr "" -"<var data-tooltip=\"MARK\">%{set_mark?Назначить:XOR}</var> метку брандмауэра " -"<var>%{set_mark?:%{set_xmark}}</var>" +"<var data-tooltip=\"MARK\">%{set_mark?Назначить метку:XOR метки}</var> " +"брандмауэра <var>%{set_mark?:%{set_xmark}}</var>" #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:83 msgid "<var data-tooltip=\"MASQUERADE\">Automatically rewrite</var> source IP" @@ -524,7 +524,7 @@ msgid "" "except "%{helper.name}"\">%{helper.val}</var>:<var data-tooltip=" "\"%{helper.name}\">%{helper.val}</var>}}" msgstr "" -"Входящие IPv4%{proto?, протокол %{proto#%{next?, }%{item.types?<var class" +"Входящий IPv4%{proto?, протокол %{proto#%{next?, }%{item.types?<var class" "=\"cbi-tooltip-container\">%{item.name}<span class=\"cbi-tooltip\">ICMP с " "типами %{item.types#%{next?, " "}<var>%{item}</var>}</span></var>:<var>%{item.name}</var>}}}%{mark?, метка " @@ -608,7 +608,7 @@ msgstr "Маскарадинг" #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:217 #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:146 msgid "Match" -msgstr "Входящий трафик" +msgstr "Соответствие" #: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:260 msgid "Match DSCP" @@ -616,7 +616,7 @@ msgstr "Соответствие DSCP" #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:284 msgid "Match ICMP type" -msgstr "Соответствовать ICMP типу" +msgstr "Соответствие ICMP типу" #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:240 msgid "Match device" @@ -1018,7 +1018,7 @@ msgid "" "<var%{item.inv? data-tooltip=\"Match ports except %{item.val}.\"}>%{item." "ival}</var>}}" msgstr "" -"К %{dest}%{dest_device?, интерфейс <var>%{dest_device}</var>}%{dest_ip?, IP-" +"В %{dest}%{dest_device?, интерфейс <var>%{dest_device}</var>}%{dest_ip?, IP-" "адрес %{dest_ip#%{next?, }<var%{item.inv? data-tooltip=\"Соответствие IP-" "адресам кроме %{item.val}.\"}>%{item.ival}</var>}}%{dest_port?, порт " "%{dest_port#%{next?, }<var%{item.inv? data-tooltip=\"Соответствие портам " @@ -1032,7 +1032,7 @@ msgid "" "%{dest_port#%{next?, }<var%{item.inv? data-tooltip=\"Match ports except " "%{item.val}.\"}>%{item.ival}</var>}}" msgstr "" -"К %{dest}%{dest_device?, через интерфейс <var>%{dest_device}</var>}%{" +"В %{dest}%{dest_device?, через интерфейс <var>%{dest_device}</var>}%{" "dest_ip?, IP-адрес %{dest_ip#%{next?, }<var%{item.inv? data-tooltip=\"" "Соответствие IP-адресам кроме %{item.val}.\"}>%{item.ival}</var>}}%{" "dest_port?, порт %{dest_port#%{next?, }<var%{item.inv? data-tooltip=\"" @@ -1045,7 +1045,7 @@ msgid "" "var>}}%{dest_port?, port %{dest_port#%{next?, }<var%{item.inv? data-tooltip=" "\"Match ports except %{item.val}.\"}>%{item.ival}</var>}}" msgstr "" -"К %{dest}%{dest_ip?, IP-адрес %{dest_ip#%{next?, }<var%{item.inv? data-" +"В %{dest}%{dest_ip?, IP-адрес %{dest_ip#%{next?, }<var%{item.inv? data-" "tooltip=\"Соответствие IP-адресам кроме %{item.val}.\"" "}>%{item.ival}</var>}}%{dest_port?, порт %{dest_port#%{next?, }<var%{" "item.inv? data-tooltip=\"Соответствие портам кроме %{item.val}.\"" @@ -1200,7 +1200,7 @@ msgstr "любой" #: 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 "любой зоны" +msgstr "любая зона" #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:371 msgid "apply firewall mark" diff --git a/applications/luci-app-firewall/root/usr/share/rpcd/acl.d/luci-app-openvpn.json b/applications/luci-app-firewall/root/usr/share/rpcd/acl.d/luci-app-openvpn.json new file mode 100644 index 0000000000..bc9d8e184d --- /dev/null +++ b/applications/luci-app-firewall/root/usr/share/rpcd/acl.d/luci-app-openvpn.json @@ -0,0 +1,11 @@ +{ + "luci-app-openvpn": { + "description": "Grant file upload access to /etc/openvpn", + "write": { + "cgi-io": [ "upload" ], + "file": { + "/etc/openvpn/*": [ "write" ] + } + } + } +} |