diff options
42 files changed, 872 insertions, 266 deletions
diff --git a/applications/luci-app-adblock/po/es/adblock.po b/applications/luci-app-adblock/po/es/adblock.po index a211af6d7c..6bfb143df3 100644 --- a/applications/luci-app-adblock/po/es/adblock.po +++ b/applications/luci-app-adblock/po/es/adblock.po @@ -3,11 +3,11 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Project-Id-Version: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2019-02-22 16:32-0300\n" +"PO-Revision-Date: 2019-10-08 15:37-0300\n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 2.2.3\n" +"X-Generator: Poedit 2.2.4\n" "Last-Translator: Franco Castillo <castillofrancodamian@gmail.com>\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "Language: es\n" @@ -542,7 +542,7 @@ msgstr "Información en tiempo de ejecución" #: applications/luci-app-adblock/luasrc/model/cbi/adblock/overview_tab.lua:84 msgid "SSL req." -msgstr "Requerimiento de SSL" +msgstr "SSL req." #: applications/luci-app-adblock/luasrc/model/cbi/adblock/blacklist_tab.lua:27 #: applications/luci-app-adblock/luasrc/model/cbi/adblock/configuration_tab.lua:26 diff --git a/applications/luci-app-advanced-reboot/po/es/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/es/advanced-reboot.po index 0f70f0b3dd..eced5317f4 100644 --- a/applications/luci-app-advanced-reboot/po/es/advanced-reboot.po +++ b/applications/luci-app-advanced-reboot/po/es/advanced-reboot.po @@ -3,11 +3,11 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Project-Id-Version: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2019-09-17 22:29-0300\n" +"PO-Revision-Date: 2019-10-08 15:37-0300\n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 2.2.3\n" +"X-Generator: Poedit 2.2.4\n" "Last-Translator: Franco Castillo <castillofrancodamian@gmail.com>\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "Language: es\n" @@ -33,7 +33,7 @@ msgstr "Cancelar" #: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42 msgid "Changes applied." -msgstr "" +msgstr "Cambios aplicados." #: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10 #: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10 @@ -55,7 +55,7 @@ msgstr "Firmware" #: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:45 msgid "Loading" -msgstr "" +msgstr "Cargando" #: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:114 msgid "No access to fw_printenv or fw_printenv!" @@ -113,7 +113,7 @@ msgstr "Estado" #: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39 msgid "System" -msgstr "" +msgstr "Sistema" #: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:94 msgid "" @@ -212,7 +212,7 @@ msgstr "" #: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:46 msgid "Waiting for changes to be applied..." -msgstr "" +msgstr "Esperando a que se apliquen los cambios..." #: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83 msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!" diff --git a/applications/luci-app-aria2/po/es/aria2.po b/applications/luci-app-aria2/po/es/aria2.po index 275f1b82d9..d847527c5e 100644 --- a/applications/luci-app-aria2/po/es/aria2.po +++ b/applications/luci-app-aria2/po/es/aria2.po @@ -3,11 +3,11 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Project-Id-Version: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2019-09-17 23:29-0300\n" +"PO-Revision-Date: 2019-10-08 16:08-0300\n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 2.2.3\n" +"X-Generator: Poedit 2.2.4\n" "Last-Translator: Franco Castillo <castillofrancodamian@gmail.com>\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "Language: es\n" @@ -31,7 +31,7 @@ msgstr "Todos los proxy" #: applications/luci-app-aria2/luasrc/model/cbi/aria2/config.lua:228 msgid "Append HEADERs to HTTP request header." -msgstr "Añadir encabezados al encabezado de solicitud HTTP." +msgstr "Añadir ENCABEZADOs al encabezado de solicitud HTTP." #: applications/luci-app-aria2/luasrc/controller/aria2.lua:18 #: applications/luci-app-aria2/luasrc/model/cbi/aria2/config.lua:35 @@ -45,7 +45,7 @@ msgid "" "Aria2 is a lightweight multi-protocol & multi-source, cross platform " "download utility." msgstr "" -"Aria2 es un multiprotocolo ligero & utilidad de descarga multiplataforma." +"Aria2 es una utilidad de descarga multiplataforma y multiprotocolo ligero." #: applications/luci-app-aria2/luasrc/model/cbi/aria2/config.lua:428 msgid "Auto save interval" @@ -61,7 +61,7 @@ msgstr "Opciones de BitTorrent" #: applications/luci-app-aria2/luasrc/model/cbi/aria2/config.lua:335 msgid "BitTorrent listen port" -msgstr "BitTorrent escucha puerto" +msgstr "Puerto/s de BitTorrent" #: applications/luci-app-aria2/luasrc/model/cbi/aria2/config.lua:189 msgid "CA certificate" @@ -110,7 +110,7 @@ msgstr "Contenido del archivo de sesión: <code>%s</code>" #: applications/luci-app-aria2/luasrc/model/cbi/aria2/config.lua:341 msgid "DHT Listen port" -msgstr "Puerto de DHT" +msgstr "Puerto DHT" #: applications/luci-app-aria2/luasrc/model/cbi/aria2/config.lua:87 msgid "Debug" @@ -121,7 +121,7 @@ msgid "" "Disable IPv6. This is useful if you have to use broken DNS and want to avoid " "terribly slow AAAA record lookup." msgstr "" -"Deshabilitar IPv6. Esto es útil si tiene que usar DNS roto y desea evitar " +"Deshabilita IPv6. Esto es útil si tiene que usar un DNS roto y desea evitar " "una búsqueda de registros AAAA terriblemente lenta." #: applications/luci-app-aria2/luasrc/model/cbi/aria2/config.lua:440 @@ -149,12 +149,12 @@ msgstr "Archivo vacío." #: applications/luci-app-aria2/luasrc/model/cbi/aria2/config.lua:280 msgid "Enable IPv4 DHT functionality. It also enables UDP tracker support." msgstr "" -"Habilite la funcionalidad DHT IPv4. También habilita el soporte de tracker " +"Habilita la funcionalidad DHT IPv4. También habilita el soporte de tracker " "UDP." #: applications/luci-app-aria2/luasrc/model/cbi/aria2/config.lua:290 msgid "Enable IPv6 DHT functionality." -msgstr "Habilite la funcionalidad DHT IPv6 ." +msgstr "Habilita la funcionalidad DHT IPv6 ." #: applications/luci-app-aria2/luasrc/model/cbi/aria2/config.lua:298 msgid "Enable Local Peer Discovery." @@ -162,11 +162,11 @@ msgstr "Habilitar el descubrimiento de pares locales." #: applications/luci-app-aria2/luasrc/model/cbi/aria2/config.lua:307 msgid "Enable Peer Exchange extension." -msgstr "Habilite la extensión de intercambio de pares." +msgstr "Habilita la extensión de intercambio de pares." #: applications/luci-app-aria2/luasrc/model/cbi/aria2/config.lua:442 msgid "Enable disk cache (in bytes), set 0 to disabled." -msgstr "Habilite el caché de disco (en bytes), establezca 0 para deshabilitar." +msgstr "Habilita el caché de disco (en bytes), establezca 0 para deshabilitar." #: applications/luci-app-aria2/luasrc/model/cbi/aria2/config.lua:77 msgid "Enable logging" @@ -248,7 +248,7 @@ msgstr "Opciones HTTP/FTP/SFTP" #: applications/luci-app-aria2/luasrc/model/cbi/aria2/config.lua:227 msgid "Header" -msgstr "Encabezamiento" +msgstr "Encabezado" #: applications/luci-app-aria2/luasrc/model/cbi/aria2/files.lua:15 msgid "Here shows the files used by aria2." @@ -256,15 +256,15 @@ msgstr "Aquí se muestran los archivos utilizados por aria2." #: applications/luci-app-aria2/luasrc/model/cbi/aria2/config.lua:278 msgid "IPv4 <abbr title=\"Distributed Hash Table\">DHT</abbr> enabled" -msgstr "<abbr title=\"Distributed Hash Table\">DHT</abbr> IPv4 habilitado" +msgstr "Habilitar <abbr title=\"Distributed Hash Table\">DHT</abbr> IPv4" #: applications/luci-app-aria2/luasrc/model/cbi/aria2/config.lua:288 msgid "IPv6 <abbr title=\"Distributed Hash Table\">DHT</abbr> enabled" -msgstr "<abbr title=\"Distributed Hash Table\">DHT</abbr> IPv6 habilitado" +msgstr "Habilitar <abbr title=\"Distributed Hash Table\">DHT</abbr> IPv6" #: applications/luci-app-aria2/luasrc/model/cbi/aria2/config.lua:421 msgid "IPv6 disabled" -msgstr "IPv6 deshabilitado" +msgstr "Deshabilitar IPv6" #: applications/luci-app-aria2/luasrc/model/cbi/aria2/config.lua:379 msgid "" @@ -273,10 +273,10 @@ msgid "" "Configuring this option with your preferred download speed can increase your " "download speed in some cases." msgstr "" -"Si toda la velocidad de descarga de cada torrent es inferior a SPEED, aria2 " -"aumenta temporalmente el número de pares para intentar obtener más velocidad " -"de descarga. Configurar esta opción con su velocidad de descarga preferida " -"puede aumentar su velocidad de descarga en algunos casos." +"Si toda la velocidad de descarga de cada torrent es inferior al límite " +"máximo, aria2 aumenta temporalmente el número de pares para intentar obtener " +"más velocidad de descarga. Configurar esta opción con su velocidad de " +"descarga preferida puede aumentar su velocidad de descarga en algunos casos." #: applications/luci-app-aria2/luasrc/model/cbi/aria2/config.lua:88 msgid "Info" @@ -405,7 +405,7 @@ msgstr "Aviso" #: applications/luci-app-aria2/luasrc/model/cbi/aria2/config.lua:99 msgid "Pause" -msgstr "Pausa" +msgstr "Pausar" #: applications/luci-app-aria2/luasrc/model/cbi/aria2/config.lua:99 msgid "Pause download after added." @@ -524,7 +524,7 @@ msgid "" "Save a control file(*.aria2) every N seconds. If 0 is given, a control file " "is not saved during download." msgstr "" -"Guarde un archivo de control (*.aria2) cada N segundos. Si se da 0, no se " +"Guarda un archivo de control (*.aria2) cada N segundos. Si se da 0, no se " "guarda un archivo de control durante la descarga." #: applications/luci-app-aria2/luasrc/model/cbi/aria2/config.lua:461 @@ -533,7 +533,7 @@ msgid "" "This option also saves control file in that situations. This may be useful " "to save BitTorrent seeding which is recognized as completed state." msgstr "" -"Guarde la descarga en el archivo de sesión incluso si la descarga se ha " +"Guarda la descarga en el archivo de sesión incluso si la descarga se ha " "completado o eliminado. Esta opción también guarda el archivo de control en " "esas situaciones. Esto puede ser útil para guardar la siembra de BitTorrent " "que se reconoce como estado completado." @@ -543,8 +543,8 @@ msgid "" "Save error/unfinished downloads to session file every N seconds. If 0 is " "given, file will be saved only when aria2 exits." msgstr "" -"Guarde el error/descargas inacabadas en el archivo de sesión cada N " -"segundos. Si se da 0, el archivo se guardará solo cuando salga aria2." +"Guarda el error/descargas inacabadas en el archivo de sesión cada N " +"segundos. Si se da 0, el archivo se guardará solo cuando cierre aria2." #: applications/luci-app-aria2/luasrc/model/cbi/aria2/config.lua:316 msgid "" @@ -552,9 +552,9 @@ msgid "" "BitTorrent Magnet URI is used. The file name is hex encoded info hash with " "suffix \".torrent\"." msgstr "" -"Guardar metadatos como archivo \".torrent\". Esta opción solo tiene efecto " -"cuando se utiliza el URI de imán de BitTorrent. El nombre del archivo es " -"hash de información codificado hexadecimal con sufijo \".torrent\"." +"Guarda los metadatos como archivo \".torrent\". Esta opción solo tiene " +"efecto cuando se utiliza la URI de BitTorrent Magnet. El nombre del archivo " +"es hash de información codificado hexadecimal con sufijo \".torrent\"." #: applications/luci-app-aria2/luasrc/model/cbi/aria2/config.lua:434 msgid "Save session interval" @@ -563,7 +563,7 @@ msgstr "Guardar intervalo de sesión" #: applications/luci-app-aria2/luasrc/model/cbi/aria2/config.lua:330 msgid "Seed previously downloaded files without verifying piece hashes." msgstr "" -"Sembrar archivos descargados previamente sin verificar hashes de piezas." +"Siembra los archivos descargados previamente sin verificar hashes de piezas." #: applications/luci-app-aria2/luasrc/model/cbi/aria2/config.lua:401 msgid "Seed ratio" @@ -571,11 +571,11 @@ msgstr "Proporción de semilla" #: applications/luci-app-aria2/luasrc/model/cbi/aria2/config.lua:408 msgid "Seed time" -msgstr "Tiempo de semilla" +msgstr "Tiempo de sembrado" #: applications/luci-app-aria2/luasrc/model/cbi/aria2/config.lua:329 msgid "Seed unverified" -msgstr "Semilla sin verificar" +msgstr "Sembrar sin verificar" #: applications/luci-app-aria2/luasrc/model/cbi/aria2/config.lua:211 msgid "" @@ -594,7 +594,7 @@ msgid "" "you can add Cache-Control header with a directive you like using \"Header\" " "option." msgstr "" -"Envíe el encabezado <code>Cache-Control: no-cache</code> y <code>Pragma: no-" +"Envía el encabezado <code>Cache-Control: no-cache</code> y <code>Pragma: no-" "cache</code> para evitar el contenido en caché. Si está deshabilitado, estos " "encabezados no se envían y puede agregar el encabezado Cache-Control con una " "directiva que le guste usando la opción \"Encabezado\"." @@ -661,7 +661,7 @@ msgstr "Establezca los segundos para esperar entre reintentos." #: applications/luci-app-aria2/luasrc/model/cbi/aria2/config.lua:272 msgid "Set user agent for HTTP(S) downloads." -msgstr "Establecer agente de usuario para descargas HTTP(S)." +msgstr "Establezca el agente de usuario para descargas HTTP(S)." #: applications/luci-app-aria2/luasrc/model/cbi/aria2/config.lua:35 msgid "Settings" @@ -713,10 +713,10 @@ msgid "" "with this option, seeding ends when at least one of the conditions is " "satisfied. Specifying 0 disables seeding after download completed." msgstr "" -"Especifique el tiempo de siembra en minutos. Si se especifica la opción " -"\"Proporción de semillas\" junto con esta opción, la siembra finaliza cuando " -"se cumple al menos una de las condiciones. Especificar 0 deshabilita la " -"siembra después de completar la descarga." +"Especifique el tiempo de sembrado en minutos. Si se especifica la opción " +"\"Proporción de sembrado\" junto con esta opción, la siembra finaliza cuando " +"se cumple al menos una de las condiciones. Especificar 0 deshabilita el " +"sembradi después de completar la descarga." #: applications/luci-app-aria2/luasrc/model/cbi/aria2/config.lua:402 msgid "" @@ -724,11 +724,10 @@ msgid "" "RATIO. You are strongly encouraged to specify equals or more than 1.0 here. " "Specify 0.0 if you intend to do seeding regardless of share ratio." msgstr "" -"Especificar proporción de participación. La semilla ha completado torrents " -"hasta que la proporción de participación alcance la PROPORCIÓN. Le " -"recomendamos encarecidamente que especifique iguales o más de 1.0 aquí. " -"Especifique 0.0 si tiene la intención de sembrar, independientemente de la " -"proporción de acciones." +"Especifique la proporción de compartición. Sembrar torrents completados " +"hasta que la proporción de compartición alcance la PROPORCIÓN. Se recomienda " +"que especifique iguales o más de 1.0 aquí. Especifique 0.0 si tiene la " +"intención de sembrar, independientemente de la proporción de compartición." #: applications/luci-app-aria2/luasrc/model/cbi/aria2/config.lua:373 msgid "Specify the maximum number of peers per torrent, 0 means unlimited." @@ -743,8 +742,8 @@ msgid "" "20 bytes." msgstr "" "Especifique el prefijo de la ID del par. La ID del par en BitTorrent tiene " -"20 bytes de longitud. Si se especifican más de 20 bytes, solo se utilizan " -"los primeros 20 bytes. Si se especifican menos de 20 bytes, se agregan datos " +"20 bytes de longitud. Si se especifican más de 20 bytes, sólo se utilizan " +"los primeros 20 bytes. Si se especifica menos de 20 bytes, se agregan datos " "de bytes aleatorios para que su longitud sea de 20 bytes." #: applications/luci-app-aria2/luasrc/model/cbi/aria2/config.lua:388 @@ -752,8 +751,8 @@ msgid "" "Stop BitTorrent download if download speed is 0 in consecutive N seconds. If " "0 is given, this feature is disabled." msgstr "" -"Detenga la descarga de BitTorrent si la velocidad de descarga es 0 en N " -"segundos consecutivos. Si se da 0, esta característica está deshabilitada." +"Detiene la descarga de BitTorrent si la velocidad de descarga es 0 en N " +"segundos consecutivos. Si se da 0, esta característica estará deshabilitada." #: applications/luci-app-aria2/luasrc/model/cbi/aria2/config.lua:387 msgid "Stop timeout" @@ -770,8 +769,8 @@ msgstr "El servicio Aria2 se está ejecutando." #: applications/luci-app-aria2/luasrc/model/cbi/aria2/config.lua:74 msgid "The directory to store the config file, session file and DHT file." msgstr "" -"El directorio para almacenar el archivo de configuración, el archivo de " -"sesión y el archivo DHT." +"Directorio para almacenar el archivo de configuración, el archivo de sesión " +"y el archivo DHT." #: applications/luci-app-aria2/luasrc/model/cbi/aria2/config.lua:70 msgid "The directory to store the downloaded file. eg. <code>/mnt/sda1</code>" @@ -785,7 +784,7 @@ msgstr "El nombre del archivo de registro." #: applications/luci-app-aria2/luasrc/model/cbi/aria2/config.lua:249 msgid "The maximum number of connections to one server for each download." -msgstr "El número máximo de conexiones a un servidor para cada descarga." +msgstr "Número máximo de conexiones a un servidor para cada descarga." #: applications/luci-app-aria2/luasrc/model/cbi/aria2/config.lua:281 #: applications/luci-app-aria2/luasrc/model/cbi/aria2/config.lua:291 @@ -882,7 +881,7 @@ msgstr "Nombre de usuario y contraseña" msgid "" "Verify the peer using certificates specified in \"CA certificate\" option." msgstr "" -"Verifique el par utilizando los certificados especificados en la opción " +"Verifica el par utilizando los certificados especificados en la opción " "\"Certificado CA\"." #: applications/luci-app-aria2/luasrc/model/cbi/aria2/config.lua:90 diff --git a/applications/luci-app-banip/luasrc/model/cbi/banip/overview_tab.lua b/applications/luci-app-banip/luasrc/model/cbi/banip/overview_tab.lua index 4302f86063..d418ad32af 100644 --- a/applications/luci-app-banip/luasrc/model/cbi/banip/overview_tab.lua +++ b/applications/luci-app-banip/luasrc/model/cbi/banip/overview_tab.lua @@ -30,9 +30,9 @@ o3 = s:option(MultiValue, "ban_iface", translate("Manual WAN Interface Selection if dump then local i, v for i, v in ipairs(dump.interface) do - if v.interface ~= "loopback" and v.interface ~= "lan" then + if v.interface ~= "loopback" then local device = v.l3_device or v.device or "-" - o3:value(v.interface, v.interface.. " (" ..device.. ")") + o3:value(v.interface, " " .. v.interface .. " (" .. device .. ") ") end end end diff --git a/applications/luci-app-banip/po/es/banip.po b/applications/luci-app-banip/po/es/banip.po index db6f92ef9a..2020617821 100644 --- a/applications/luci-app-banip/po/es/banip.po +++ b/applications/luci-app-banip/po/es/banip.po @@ -3,11 +3,11 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Project-Id-Version: \n" "POT-Creation-Date: 2019-07-23 22:17-0300\n" -"PO-Revision-Date: 2019-09-17 22:33-0300\n" +"PO-Revision-Date: 2019-10-09 12:24-0300\n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 2.2.3\n" +"X-Generator: Poedit 2.2.4\n" "Last-Translator: Franco Castillo <castillofrancodamian@gmail.com>\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "Language: es\n" @@ -94,7 +94,7 @@ msgstr "Utilidad de descarga" #: applications/luci-app-banip/luasrc/view/banip/runtime.htm:126 msgid "Download Utility, RT Monitor" -msgstr "" +msgstr "Utilidad de descarga, Monitor RT" #: applications/luci-app-banip/luasrc/controller/banip.lua:22 msgid "Edit Blacklist" @@ -221,7 +221,7 @@ msgstr "Servicio de baja prioridad" #: applications/luci-app-banip/luasrc/model/cbi/banip/overview_tab.lua:28 msgid "Manual WAN Interface Selection" -msgstr "" +msgstr "Selección manual de interfaz WAN" #: applications/luci-app-banip/luasrc/model/cbi/banip/overview_tab.lua:100 msgid "Max. Download Queue" @@ -302,7 +302,7 @@ msgstr "Demonio SSH" #: applications/luci-app-banip/luasrc/model/cbi/banip/overview_tab.lua:43 msgid "SSH/LuCI RT Monitor" -msgstr "" +msgstr "Monitor SSH/LuCI RT" #: applications/luci-app-banip/luasrc/model/cbi/banip/blacklist_tab.lua:27 #: applications/luci-app-banip/luasrc/model/cbi/banip/configuration_tab.lua:26 @@ -322,11 +322,11 @@ msgstr "Seleccione el tipo de inicio utilizado durante el arranque." #: applications/luci-app-banip/luasrc/model/cbi/banip/overview_tab.lua:127 msgid "Select your preferred download utility." -msgstr "" +msgstr "Seleccione su utilidad de descarga preferida." #: applications/luci-app-banip/luasrc/model/cbi/banip/overview_tab.lua:29 msgid "Select your preferred interface(s) manually." -msgstr "" +msgstr "Seleccione sus interfaces preferidas manualmente." #: applications/luci-app-banip/luasrc/model/cbi/banip/overview_tab.lua:88 msgid "" @@ -352,6 +352,8 @@ msgstr "" msgid "" "Special options for the selected download utility, e.g. '--timeout=20 -O'." msgstr "" +"Opciones especiales para la utilidad de descarga seleccionada, p.e. '--" +"timeout=20 -O'." #: applications/luci-app-banip/luasrc/model/cbi/banip/overview_tab.lua:144 msgid "Start Type" @@ -362,6 +364,8 @@ msgid "" "Starts a small log/banIP monitor in the background to block SSH/LuCI brute " "force attacks in realtime." msgstr "" +"Inicia un pequeño monitor log/banIP en segundo plano para bloquear los " +"ataques de fuerza bruta SSH/LuCI en tiempo real." #: applications/luci-app-banip/luasrc/model/cbi/banip/overview_tab.lua:95 msgid "" diff --git a/applications/luci-app-dcwapd/Makefile b/applications/luci-app-dcwapd/Makefile new file mode 100644 index 0000000000..3396bcd296 --- /dev/null +++ b/applications/luci-app-dcwapd/Makefile @@ -0,0 +1,15 @@ +# +# Copyright (C) 2019 EWSI +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +LUCI_TITLE:=Dual Channel Wi-Fi AP Daemon configuration module +LUCI_DEPENDS:=+dcwapd + +include ../../luci.mk + +# call BuildPackage - OpenWrt buildroot signature diff --git a/applications/luci-app-dcwapd/luasrc/controller/dcwapd.lua b/applications/luci-app-dcwapd/luasrc/controller/dcwapd.lua new file mode 100644 index 0000000000..f13c422005 --- /dev/null +++ b/applications/luci-app-dcwapd/luasrc/controller/dcwapd.lua @@ -0,0 +1,13 @@ +-- Copyright 2019 EWSI +-- Licensed to the public under the Apache License 2.0. + +module("luci.controller.dcwapd", package.seeall) + +function index() + if not nixio.fs.access("/etc/config/dcwapd") then + return + end + local page + page = entry({"admin", "network", "dcwapd"}, cbi("dcwapd/dcwapd"), _("Dual Channel WiFi")) + page.dependent = true +end diff --git a/applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua b/applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua new file mode 100644 index 0000000000..9561211849 --- /dev/null +++ b/applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua @@ -0,0 +1,218 @@ +-- Copyright 2019 EWSI +-- Licensed to the public under the Apache License 2.0. + +local wa = require "luci.tools.webadmin" +local fs = require "nixio.fs" +local ntm = require "luci.model.network" +local uc = require "luci.model.uci".cursor() + +local sys = require "luci.sys" + +local devices = sys.net.devices() + +local m, s +local i, v +local enable, tmpdir +local pri_ssid, pri_bridge, data_channels +local dat_ssid, dat_bridge, ifaces +local mac, filters +local packetsize, srcip, srcport, proto, dstport + +m = Map("dcwapd", translate("Dual Channel Wi-Fi AP Daemon"), + translate("With <abbr title=\"Dual Channel Wi-Fi AP Daemon\">Dual Channel WiFi</abbr> you " .. + "can use two simultaneous Wi-Fi connections to decrease wireless traffic " .. + "congestion and increase throughput.")) + +-- General section +s = m:section(NamedSection, "general", translate("General"), translate("General Settings")) +s.addremove = false +s.dynamic = false +s.optional = false +s.anonymous = true + +-- Enabled state option +enable = s:option(Flag, "enabled", translate("Enable")) +enable.default = false +enable.optional = false +enable.rmempty = false + +-- Temp dir option +tmpdir = s:option(Value, "tmpdir", translate("Temp Directory"), translate("Specify the temporary directory for dcwapd file storage.")) +tmpdir.optional = false +tmpdir.rmempty = false + +-- Channel sets section +s = m:section(TypedSection, "channel-set", translate("Channel Sets"), translate("Define primary channels and their corresponding data channels.")) +s.addremove= true +s.dynamic = false +s.optional = false +s.anonymous = false + +-- Enabled state option +enable = s:option(Flag, "enabled", translate("Enable")) +enable.default = false +enable.optional = false +enable.rmempty = false + +-- SSID option +pri_ssid = s:option(Value, "ssid", translate("SSID")) +pri_ssid.optional = false +pri_ssid.rmempty = false +pri_ssid.size = 0 +for i, v in ipairs(devices) do + ntm.init() + local net = ntm:get_wifinet(v) + if net then + pri_ssid:value(net:ssid()) + pri_ssid.size = pri_ssid.size + 1 + end +end + +-- Primary bridge option +pri_bridge = s:option(Value, "bridge", translate("Bridge")) +pri_bridge.optional = false +pri_bridge.rmempty = false +pri_bridge.size = 0 +for i, v in ipairs(devices) do + ntm.init() + local net = ntm:get_wifinet(v) + if net then + local nw = net:get_network() + if nw then + pri_bridge:value("br-" .. nw:name()) + pri_bridge.size = pri_bridge.size + 1 + end + end +end + +-- Data channels list +data_channels = s:option(MultiValue, "data_channels", translate("Data Channels")) +data_channels.widget = "checkbox" +data_channels.optional = false +data_channels.rmempty = false +data_channels.size = 0 +uc:foreach("dcwapd", "datachannel", function(s) + if s['.name'] then + data_channels:value(s['.name']) + data_channels.size = data_channels.size + 1 + end +end) + +-- Data channels section +s = m:section(TypedSection, "datachannel", translate("Data Channels"), translate("Define data channels over which outbound filtered packets will flow.")) +s.anonymous = false +s.addremove = true + +-- SSID option +dat_ssid = s:option(Value, "ssid", translate("SSID")) +dat_ssid.optional = false +dat_ssid.rmempty = false +dat_ssid.size = 0 +for i, v in ipairs(devices) do + ntm.init() + local net = ntm:get_wifinet(v) + if net then + dat_ssid:value(net:ssid()) + dat_ssid.size = dat_ssid.size + 1 + end +end + +-- Data bridge option +dat_bridge = s:option(Value, "bridge", translate("Bridge")) +dat_bridge.optional = false +dat_bridge.rmempty = false +dat_bridge.size = 0 +for i, v in ipairs(devices) do + ntm.init() + local net = ntm:get_wifinet(v) + if net then + local nw = net:get_network() + if nw then + dat_bridge:value("br-" .. nw:name()) + dat_bridge.size = dat_bridge.size + 1 + end + end +end + +-- Data interfaces list +ifaces = s:option(MultiValue, "interfaces", translate("Interfaces")) +ifaces.widget = "checkbox" +ifaces.optional = true +ifaces.rmempty = false +ifaces.size = 0 +table.sort(devices) +for i, v in ipairs(devices) do + ntm.init() + local net = ntm:get_wifinet(v) + if net then + ifaces:value(v) + ifaces.size = ifaces.size + 1 + end +end + +-- Filter sets section +s = m:section(TypedSection, "filter-set", translate("Filter Sets"), translate("Select filters to apply to matching MAC addresses.")) +s.addremove = true +s.dynamic = false +s.anonymous = false +s.optional = false + +-- MAC address option +mac = s:option(Value, "mac", translate("MAC Address")) +mac.optional = false +mac.rmempty = false + +-- Filters list +filters = s:option(MultiValue, "filters", translate("Filters")) +filters.widget = "checkbox" +filters.optional = false +filters.rmempty = false +filters.size = 0 +uc:foreach("dcwapd", "filter", function(s) + if s['.name'] then + filters:value(s['.name']) + filters.size = filters.size + 1 + end +end) + +-- Filters section +s = m:section(TypedSection, "filter", translate("Filters"), translate("Define filter rules to apply to outbound packets. Matching packets will flow over the data channel.")) +s.template = "cbi/tblsection" +s.anonymous = false +s.addremove = true +s.sortable = true + +-- Packet Size +packetsize = s:option(Value, "packet_size", translate("Packet size")) +packetsize.rmempty = false +packetsize:value("*", "*") +packetsize.default = "*" + +-- Source IP +srcip = s:option(Value, "source_ip", translate("Source IP")) +srcip.rmempty = false +srcip:value("*", "*") +srcip.default = "*" + +-- Source Port +srcport = s:option(Value, "source_port", translate("Source port")) +srcport.rmempty = false +srcport:value("*", "*") +srcport.default = "*" + +-- Protocol +proto = s:option(Value, "protocol", translate("Protocol")) +proto:value("*", "*") +proto:value("tcp", "TCP") +proto:value("udp", "UDP") +proto:value("icmp", "ICMP") +proto.rmempty = false +proto.default = "*" + +-- Destination Port +dstport = s:option(Value, "dest_port", translate("Destination port")) +dstport.rmempty = false +dstport:value("*", "*") +dstport.default = "*" + +return m diff --git a/applications/luci-app-dcwapd/po/es/dcwapd.po b/applications/luci-app-dcwapd/po/es/dcwapd.po new file mode 100644 index 0000000000..7ae91530d4 --- /dev/null +++ b/applications/luci-app-dcwapd/po/es/dcwapd.po @@ -0,0 +1,131 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" +"Project-Id-Version: \n" +"POT-Creation-Date: 2019-10-10 18:41-0300\n" +"POT-Creation-Date: 2019-10-10 18:48-0300\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 2.2.4\n" +"Last-Translator: Franco Castillo <castillofrancodamian@gmail.com>\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Language: es\n" + +#: applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua:72 +#: applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua:121 +msgid "Bridge" +msgstr "Puente" + +#: applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua:45 +msgid "Channel Sets" +msgstr "Conjuntos de canales" + +#: applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua:89 +#: applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua:102 +msgid "Data Channels" +msgstr "Canales de datos" + +#: applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua:102 +msgid "Define data channels over which outbound filtered packets will flow." +msgstr "" +"Defina canales de datos sobre los cuales fluirán los paquetes filtrados " +"salientes." + +#: applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua:179 +msgid "" +"Define filter rules to apply to outbound packets. Matching packets will flow " +"over the data channel." +msgstr "" +"Defina reglas de filtro para aplicar a los paquetes salientes. Los paquetes " +"coincidentes fluirán sobre el canal de datos." + +#: applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua:45 +msgid "Define primary channels and their corresponding data channels." +msgstr "Definir canales primarios y sus canales de datos correspondientes." + +#: applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua:213 +msgid "Destination port" +msgstr "Puerto de destino" + +#: applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua:21 +msgid "Dual Channel Wi-Fi AP Daemon" +msgstr "Demonio AP de WiFi de doble canal" + +#: applications/luci-app-dcwapd/luasrc/controller/dcwapd.lua:11 +msgid "Dual Channel WiFi" +msgstr "WiFi de doble canal" + +#: applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua:34 +#: applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua:52 +msgid "Enable" +msgstr "Habilitar" + +#: applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua:154 +msgid "Filter Sets" +msgstr "Conjuntos de filtros" + +#: applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua:166 +#: applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua:179 +msgid "Filters" +msgstr "Filtros" + +#: applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua:27 +msgid "General" +msgstr "General" + +#: applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua:27 +msgid "General Settings" +msgstr "Configuración general" + +#: applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua:138 +msgid "Interfaces" +msgstr "Interfaces" + +#: applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua:161 +msgid "MAC Address" +msgstr "Dirección MAC" + +#: applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua:186 +msgid "Packet size" +msgstr "Tamaño del paquete" + +#: applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua:204 +msgid "Protocol" +msgstr "Protocolo" + +#: applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua:58 +#: applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua:107 +msgid "SSID" +msgstr "SSID" + +#: applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua:154 +msgid "Select filters to apply to matching MAC addresses." +msgstr "Seleccione filtros para aplicar a las direcciones MAC coincidentes." + +#: applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua:192 +msgid "Source IP" +msgstr "IP de origen" + +#: applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua:198 +msgid "Source port" +msgstr "Puerto de origen" + +#: applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua:40 +msgid "Specify the temporary directory for dcwapd file storage." +msgstr "" +"Especifique el directorio temporal para el almacenamiento de archivos dcwapd." + +#: applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua:40 +msgid "Temp Directory" +msgstr "Directorio temporal" + +#: applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua:22 +msgid "" +"With <abbr title=\"Dual Channel Wi-Fi AP Daemon\">Dual Channel WiFi</abbr> " +"you can use two simultaneous Wi-Fi connections to decrease wireless traffic " +"congestion and increase throughput." +msgstr "" +"Con <abbr title=\"Dual Channel Wi-Fi AP Daemon\">Dual Channel WiFi</abbr> " +"puede usar dos conexiones WiFi simultáneas para disminuir la congestión del " +"tráfico inalámbrico y aumentar el rendimiento." diff --git a/applications/luci-app-dcwapd/po/templates/dcwapd.pot b/applications/luci-app-dcwapd/po/templates/dcwapd.pot new file mode 100644 index 0000000000..616ead654e --- /dev/null +++ b/applications/luci-app-dcwapd/po/templates/dcwapd.pot @@ -0,0 +1,112 @@ +msgid "" +msgstr "Content-Type: text/plain; charset=UTF-8" + +#: applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua:72 +#: applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua:121 +msgid "Bridge" +msgstr "" + +#: applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua:45 +msgid "Channel Sets" +msgstr "" + +#: applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua:89 +#: applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua:102 +msgid "Data Channels" +msgstr "" + +#: applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua:102 +msgid "Define data channels over which outbound filtered packets will flow." +msgstr "" + +#: applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua:179 +msgid "" +"Define filter rules to apply to outbound packets. Matching packets will flow " +"over the data channel." +msgstr "" + +#: applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua:45 +msgid "Define primary channels and their corresponding data channels." +msgstr "" + +#: applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua:213 +msgid "Destination port" +msgstr "" + +#: applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua:21 +msgid "Dual Channel Wi-Fi AP Daemon" +msgstr "" + +#: applications/luci-app-dcwapd/luasrc/controller/dcwapd.lua:11 +msgid "Dual Channel WiFi" +msgstr "" + +#: applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua:34 +#: applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua:52 +msgid "Enable" +msgstr "" + +#: applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua:154 +msgid "Filter Sets" +msgstr "" + +#: applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua:166 +#: applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua:179 +msgid "Filters" +msgstr "" + +#: applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua:27 +msgid "General" +msgstr "" + +#: applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua:27 +msgid "General Settings" +msgstr "" + +#: applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua:138 +msgid "Interfaces" +msgstr "" + +#: applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua:161 +msgid "MAC Address" +msgstr "" + +#: applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua:186 +msgid "Packet size" +msgstr "" + +#: applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua:204 +msgid "Protocol" +msgstr "" + +#: applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua:58 +#: applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua:107 +msgid "SSID" +msgstr "" + +#: applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua:154 +msgid "Select filters to apply to matching MAC addresses." +msgstr "" + +#: applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua:192 +msgid "Source IP" +msgstr "" + +#: applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua:198 +msgid "Source port" +msgstr "" + +#: applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua:40 +msgid "Specify the temporary directory for dcwapd file storage." +msgstr "" + +#: applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua:40 +msgid "Temp Directory" +msgstr "" + +#: applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua:22 +msgid "" +"With <abbr title=\"Dual Channel Wi-Fi AP Daemon\">Dual Channel WiFi</abbr> " +"you can use two simultaneous Wi-Fi connections to decrease wireless traffic " +"congestion and increase throughput." +msgstr "" diff --git a/applications/luci-app-dcwapd/root/etc/uci-defaults/60_luci-dcwapd b/applications/luci-app-dcwapd/root/etc/uci-defaults/60_luci-dcwapd new file mode 100644 index 0000000000..36455f834f --- /dev/null +++ b/applications/luci-app-dcwapd/root/etc/uci-defaults/60_luci-dcwapd @@ -0,0 +1,11 @@ +#!/bin/sh + +# register commit handler +uci -q batch <<-EOF >/dev/null + delete ucitrack.@dcwapd[-1] + add ucitrack dcwapd + set ucitrack.@dcwapd[-1].init=dcwapd + commit ucitrack +EOF + +exit 0 diff --git a/applications/luci-app-ddns/po/es/ddns.po b/applications/luci-app-ddns/po/es/ddns.po index 092319bb19..805637aee7 100644 --- a/applications/luci-app-ddns/po/es/ddns.po +++ b/applications/luci-app-ddns/po/es/ddns.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: luci-app-ddns 2.4.0-1\n" "POT-Creation-Date: 2016-01-30 11:07+0100\n" -"PO-Revision-Date: 2019-09-17 22:38-0300\n" +"PO-Revision-Date: 2019-10-08 16:15-0300\n" "Last-Translator: Franco Castillo <castillofrancodamian@gmail.com>\n" "Language-Team: \n" "Language: es\n" @@ -10,7 +10,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: Poedit 2.2.3\n" +"X-Generator: Poedit 2.2.4\n" #: applications/luci-app-ddns/luasrc/view/ddns/overview_status.htm:145 msgid "&" @@ -103,7 +103,7 @@ msgstr "Cambiar proveedor" #: applications/luci-app-ddns/luasrc/model/cbi/ddns/detail.lua:1302 msgid "Check Interval" -msgstr "Verificar intervalo" +msgstr "Intervalo de verificación" #: applications/luci-app-ddns/luasrc/view/ddns/system_status.htm:55 msgid "Collecting data..." @@ -155,8 +155,7 @@ msgstr "" #: applications/luci-app-ddns/luasrc/model/cbi/ddns/detail.lua:452 msgid "Custom update script to be used for updating your DDNS Provider." msgstr "" -"Script de actualización personalizado que se utilizará para actualizar su " -"proveedor DDNS." +"Script personalizado que se utilizará para actualizar su proveedor DDNS." #: applications/luci-app-ddns/luasrc/model/cbi/ddns/detail.lua:412 msgid "Custom update-URL" @@ -164,7 +163,7 @@ msgstr "URL de actualización personalizada" #: applications/luci-app-ddns/luasrc/model/cbi/ddns/detail.lua:451 msgid "Custom update-script" -msgstr "Actualización de script personalizado" +msgstr "Script de actualización personalizado" #: applications/luci-app-ddns/luasrc/model/cbi/ddns/hints.lua:45 #: applications/luci-app-ddns/luasrc/model/cbi/ddns/overview.lua:75 @@ -349,7 +348,7 @@ msgstr "Forzar versión de IP no soportado" #: applications/luci-app-ddns/luasrc/model/cbi/ddns/detail.lua:1357 msgid "Force Interval" -msgstr "Forzar actualización" +msgstr "Forzar actualización cada" #: applications/luci-app-ddns/luasrc/model/cbi/ddns/detail.lua:1205 msgid "Force TCP on DNS" @@ -502,10 +501,10 @@ msgid "" "to 0 will force the script to only run once<br />Values lower 'Check " "Interval' except '0' are not supported" msgstr "" -"Intervalo para forzar actualizaciones enviadas al proveedor de DDNS<br /" -">Establecer este parámetro en 0 forzará que el script se ejecute solo una " -"vez<br />Los valores inferiores de 'Verificar intervalo' no son compatibles " -"con '0'" +"Intervalo para forzar las actualizaciones enviadas al proveedor de DDNS<br /" +">Establecer este parámetro en 0 forzará a que el script se ejecute solo una " +"vez<br />Los valores inferiores a 'Intervalo de verificación' no son " +"compatibles con '0'" #: applications/luci-app-ddns/luasrc/model/cbi/ddns/global.lua:29 msgid "It is NOT recommended for casual users to change settings on this page." @@ -999,7 +998,7 @@ msgstr "Instalado" #: applications/luci-app-ddns/luasrc/model/cbi/ddns/detail.lua:286 msgid "invalid FQDN / required - Sample" -msgstr "FQDN inválido / requerido - Muestra" +msgstr "FQDN inválido/requerido - Ejemplo" #: applications/luci-app-ddns/luasrc/model/cbi/ddns/detail.lua:1364 #: applications/luci-app-ddns/luasrc/model/cbi/ddns/detail.lua:1432 @@ -1032,7 +1031,7 @@ msgstr "Minutos" #: applications/luci-app-ddns/luasrc/model/cbi/ddns/detail.lua:910 #: applications/luci-app-ddns/luasrc/model/cbi/ddns/detail.lua:917 msgid "missing / required" -msgstr "Falta / Requerido" +msgstr "Falta/Requerido" #: applications/luci-app-ddns/luasrc/model/cbi/ddns/detail.lua:1382 msgid "must be greater or equal 'Check Interval'" diff --git a/applications/luci-app-firewall/po/es/firewall.po b/applications/luci-app-firewall/po/es/firewall.po index 767da3f151..6c40bc88c1 100644 --- a/applications/luci-app-firewall/po/es/firewall.po +++ b/applications/luci-app-firewall/po/es/firewall.po @@ -3,14 +3,14 @@ msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-03-30 17:00+0200\n" -"PO-Revision-Date: 2019-09-17 23:31-0300\n" +"PO-Revision-Date: 2019-10-08 16:17-0300\n" "Last-Translator: Franco Castillo <castillofrancodamian@gmail.com>\n" "Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Poedit 2.2.3\n" +"X-Generator: Poedit 2.2.4\n" "Language-Team: \n" #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:146 @@ -857,14 +857,14 @@ msgstr "No" #: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:121 #: applications/luci-app-firewall/luasrc/tools/firewall.lua:50 msgid "port" -msgstr "Puerto" +msgstr "puerto" #: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:131 #: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:140 #: applications/luci-app-firewall/luasrc/tools/firewall.lua:55 #: applications/luci-app-firewall/luasrc/tools/firewall.lua:65 msgid "ports" -msgstr "Puertos" +msgstr "puertos" #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:333 #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js:45 diff --git a/applications/luci-app-https_dns_proxy/Makefile b/applications/luci-app-https_dns_proxy/Makefile index 7af2d1d102..09ee8a3a92 100644 --- a/applications/luci-app-https_dns_proxy/Makefile +++ b/applications/luci-app-https_dns_proxy/Makefile @@ -10,7 +10,7 @@ LUCI_TITLE:=HTTPS DNS Proxy Web UI LUCI_DESCRIPTION:=Provides Web UI for HTTPS DNS Proxy LUCI_DEPENDS:=+luci-mod-admin-full +https_dns_proxy LUCI_PKGARCH:=all -PKG_RELEASE:=4 +PKG_RELEASE:=5 include ../../luci.mk diff --git a/applications/luci-app-https_dns_proxy/luasrc/model/cbi/https_dns_proxy.lua b/applications/luci-app-https_dns_proxy/luasrc/model/cbi/https_dns_proxy.lua index 2cc9f303c5..17ce610eab 100644 --- a/applications/luci-app-https_dns_proxy/luasrc/model/cbi/https_dns_proxy.lua +++ b/applications/luci-app-https_dns_proxy/luasrc/model/cbi/https_dns_proxy.lua @@ -1,4 +1,6 @@ local uci = require("luci.model.uci").cursor() +local dispatcher = require("luci.dispatcher") + function uci_del_list(conf, sect, opt, value) local lval = uci:get(conf, sect, opt) if lval == nil or lval == "" then @@ -40,37 +42,96 @@ end m = Map("https_dns_proxy", translate("HTTPS DNS Proxy Settings")) m.template="cbi/map" -s3 = m:section(TypedSection, "https_dns_proxy", translate("Instances")) +s3 = m:section(TypedSection, "https_dns_proxy", translate("Instances"), translate("When you add/remove any instances below, they will be used to override the 'DNS forwardings' section of ") + .. [[ <a href="]] .. dispatcher.build_url("admin/network/dhcp") .. [[">]] + .. translate("DHCP and DNS") .. [[</a>]] .. "." +-- .. "</br>" +-- .. translate("For more information on different options check ") +-- .. [[ <a href="https://adguard.com/en/adguard-dns/overview.html#instruction">]] +-- .. "AdGuard.com" .. [[</a>]] .. ", " +-- .. [[ <a href="https://cleanbrowsing.org/guides/dnsoverhttps">]] +-- .. "CleanBrowsing.org" .. [[</a>]] .. " " .. translate("and") .. " " +-- .. [[ <a href="https://www.quad9.net/doh-quad9-dns-servers/">]] +-- .. "Quad9.net" .. [[</a>]] .. "." + ) s3.template = "cbi/tblsection" s3.sortable = false s3.anonymous = true s3.addremove = true -local n = 0 -uci:foreach("https_dns_proxy", "https_dns_proxy", function(s) - if s[".name"] == section then - return false - end - n = n + 1 -end) - prov = s3:option(ListValue, "url_prefix", translate("Provider")) -prov:value("https://cloudflare-dns.com/dns-query?ct=application/dns-json&","Cloudflare") -prov:value("https://dns.google.com/resolve?","Google") +-- prov:value("https://dns.adguard.com/dns-query?", "AdGuard (Standard)") +-- prov:value("https://dns-family.adguard.com/dns-query?", "AdGuard (Family Protection)") +-- prov:value("https://doh.cleanbrowsing.org/doh/security-filter/?ct&", "CleanBrowsing (Security Filter)") +-- prov:value("https://doh.cleanbrowsing.org/doh/family-filter/?ct&", "CleanBrowsing (Family Filter)") +-- prov:value("https://doh.cleanbrowsing.org/doh/adult-filter/?ct&", "CleanBrowsing (Adult Filter)") +prov:value("https://cloudflare-dns.com/dns-query?ct=application/dns-json&", "Cloudflare") +-- prov:value("https://dns.digitale-gesellschaft.ch/dns-query?", "Digitale Gesellschaft (ch)") +prov:value("https://doh.dns.sb/dns-query?", "DNS.SB") +prov:value("https://dns.google.com/resolve?", "Google") +-- prov:value("https://odvr.nic.cz/doh?", "ODVR (nic.cz)") +-- prov:value("https://dns.quad9.net:5053/dns-query?", "Quad9 (Recommended)") +-- prov:value("https://dns9.quad9.net:5053/dns-query?", "Quad9 (Secured)") +-- prov:value("https://dns10.quad9.net:5053/dns-query?", "Quad9 (Unsecured)") +-- prov:value("https://dns11.quad9.net:5053/dns-query?", "Quad9 (Secured with ECS Support)") +prov.default = "https://dns.google.com/resolve?" +prov.forcewrite = true prov.write = function(self, section, value) + if not value then return end + local n = 0 + uci:foreach("https_dns_proxy", "https_dns_proxy", function(s) + if s[".name"] == section then + return false + end + n = n + 1 + end) local la_val = la:formvalue(section) local lp_val = lp:formvalue(section) - if not la_val then la_val = "127.0.0.1" end - if not lp_val then lp_val = n + 5053 end - if value and value:match("cloudflare") then + if not la_val or la_val == "" then la_val = "127.0.0.1" end + if not lp_val or lp_val == "" then lp_val = n + 5053 end + if value:match("dns\.adguard") then + uci:set("https_dns_proxy", section, "bootstrap_dns", "176.103.130.130,176.103.130.131") + uci:set("https_dns_proxy", section, "url_prefix", "https://dns.adguard.com/dns-query?ct&") + elseif value:match("family\.adguard") then + uci:set("https_dns_proxy", section, "bootstrap_dns", "176.103.130.132,176.103.130.134") + uci:set("https_dns_proxy", section, "url_prefix", "https://dns-family.adguard.com/dns-query?ct&") + elseif value:match("cleanbrowsing\.org/doh/security") then + uci:set("https_dns_proxy", section, "bootstrap_dns", "185.228.168.168") + uci:set("https_dns_proxy", section, "url_prefix", "https://doh.cleanbrowsing.org/doh/security-filter/?ct&") + elseif value:match("cleanbrowsing\.org/doh/family") then + uci:set("https_dns_proxy", section, "bootstrap_dns", "185.228.168.168") + uci:set("https_dns_proxy", section, "url_prefix", "https://doh.cleanbrowsing.org/doh/family-filter/?ct&") + elseif value:match("cleanbrowsing\.org/doh/adult") then + uci:set("https_dns_proxy", section, "bootstrap_dns", "185.228.168.168") + uci:set("https_dns_proxy", section, "url_prefix", "https://doh.cleanbrowsing.org/doh/adult-filter/?ct&") + elseif value:match("cloudflare") then uci:set("https_dns_proxy", section, "bootstrap_dns", "1.1.1.1,1.0.0.1") uci:set("https_dns_proxy", section, "url_prefix", "https://cloudflare-dns.com/dns-query?ct=application/dns-json&") - else + elseif value:match("gesellschaft\.ch") then + uci:set("https_dns_proxy", section, "bootstrap_dns", "185.95.218.42,185.95.218.43") + uci:set("https_dns_proxy", section, "url_prefix", "https://dns.digitale-gesellschaft.ch/dns-query?") + elseif value:match("dns\.sb") then + uci:set("https_dns_proxy", section, "bootstrap_dns", "185.222.222.222,185.184.222.222") + uci:set("https_dns_proxy", section, "url_prefix", "https://doh.dns.sb/dns-query?") + elseif value:match("google") then uci:set("https_dns_proxy", section, "bootstrap_dns", "8.8.8.8,8.8.4.4") uci:set("https_dns_proxy", section, "url_prefix", "https://dns.google.com/resolve?") + elseif value:match("odvr\.nic\.cz") then + uci:set("https_dns_proxy", section, "bootstrap_dns", "193.17.47.1,185.43.135.1") + uci:set("https_dns_proxy", section, "url_prefix", "https://odvr.nic.cz/doh?") + elseif value:match("dns\.quad9") then + uci:set("https_dns_proxy", section, "bootstrap_dns", "9.9.9.9,149.112.112.112") + uci:set("https_dns_proxy", section, "url_prefix", "https://dns.quad9.net:5053/dns-query?") + elseif value:match("dns9\.quad9") then + uci:set("https_dns_proxy", section, "bootstrap_dns", "9.9.9.9,149.112.112.9") + uci:set("https_dns_proxy", section, "url_prefix", "https://dns9.quad9.net:5053/dns-query?") + elseif value:match("dns10\.quad9") then + uci:set("https_dns_proxy", section, "bootstrap_dns", "9.9.9.10,149.112.112.10") + uci:set("https_dns_proxy", section, "url_prefix", "https://dns10.quad9.net:5053/dns-query?") + elseif value:match("dns11\.quad9") then + uci:set("https_dns_proxy", section, "bootstrap_dns", "9.9.9.11,149.112.112.11") + uci:set("https_dns_proxy", section, "url_prefix", "https://dns11.quad9.net:5053/dns-query?") end - uci:set("https_dns_proxy", section, "user", "nobody") - uci:set("https_dns_proxy", section, "group", "nogroup") uci:save("https_dns_proxy") if n == 0 then uci:delete("dhcp", "@dnsmasq[0]", "server") @@ -81,27 +142,28 @@ prov.write = function(self, section, value) end la = s3:option(Value, "listen_addr", translate("Listen address")) -la.value = "127.0.0.1" -la.rmempty = true +la.datatype = "host" +la.placeholder = "127.0.0.1" +la.rmempty = true + +local n = 0 +uci:foreach("https_dns_proxy", "https_dns_proxy", function(s) + if s[".name"] == section then + return false + end + n = n + 1 +end) lp = s3:option(Value, "listen_port", translate("Listen port")) -lp.datatype = "port" -lp.value = n + 5053 -lp.write = function(self, section, value) - if not value then - uci:set("https_dns_proxy", section, "listen_port", n + 5053) - else - uci:set("https_dns_proxy", section, "listen_port", value) - end - uci:save("https_dns_proxy") -end +lp.datatype = "port" +lp.value = n + 5053 sa = s3:option(Value, "subnet_addr", translate("Subnet address")) -sa.datatype = "ip4prefix" +sa.datatype = "host" sa.rmempty = true ps = s3:option(Value, "proxy_server", translate("Proxy server")) -ps.datatype = "or(ipaddr,hostname)" -ps.rmempty = true +ps.datatype = "host" +ps.rmempty = true return m diff --git a/applications/luci-app-mosquitto/luasrc/model/cbi/mosquitto.lua b/applications/luci-app-mosquitto/luasrc/model/cbi/mosquitto.lua index 4b7582a195..c687cf744e 100644 --- a/applications/luci-app-mosquitto/luasrc/model/cbi/mosquitto.lua +++ b/applications/luci-app-mosquitto/luasrc/model/cbi/mosquitto.lua @@ -116,9 +116,9 @@ o = s:option(ListValue, "tls_version", "TLS Version", "Depends on your openssl version, empty to support all") o.optional = true o:value("", "Default") -o:value("tlsv1") o:value("tlsv1.1") o:value("tlsv1.2") +o:value("tlsv1.3") OptionalFlag(s, "require_certificate", "Require clients to present a certificate") OptionalFlag(s, "use_identity_as_username", "use_identity_as_username") diff --git a/applications/luci-app-noddos/htdocs/cgi-bin/clientdetails b/applications/luci-app-noddos/htdocs/cgi-bin/clientdetails index 6ff4ce59f2..411113c6a6 100755 --- a/applications/luci-app-noddos/htdocs/cgi-bin/clientdetails +++ b/applications/luci-app-noddos/htdocs/cgi-bin/clientdetails @@ -64,7 +64,7 @@ pagetop = [[ <meta name="viewport" content="initial-scale=1.0"> <link rel="stylesheet" href="/luci-static/bootstrap/cascade.css?v=git-17.100.70571-29fabe2"> <link rel="stylesheet" media="only screen and (max-device-width: 854px)" href="/luci-static/bootstrap/mobile.css?v=git-17.100.70571-29fabe2" type="text/css" /> - <link rel="shortcut icon" href="/luci-static/bootstrap/favicon.ico"> + <link rel="shortcut icon" href="/luci-static/bootstrap/favicon.png"> <script src="/luci-static/resources/xhr.js?v=git-17.100.70571-29fabe2"></script> </head> <body text=blue> diff --git a/applications/luci-app-ocserv/po/es/ocserv.po b/applications/luci-app-ocserv/po/es/ocserv.po index 435ce56843..02bfd4190f 100644 --- a/applications/luci-app-ocserv/po/es/ocserv.po +++ b/applications/luci-app-ocserv/po/es/ocserv.po @@ -3,11 +3,11 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Project-Id-Version: \n" "POT-Creation-Date: 2019-07-22 16:44-0300\n" -"PO-Revision-Date: 2019-08-01 20:46-0300\n" +"PO-Revision-Date: 2019-10-08 16:18-0300\n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 2.2.3\n" +"X-Generator: Poedit 2.2.4\n" "Last-Translator: Franco Castillo <castillofrancodamian@gmail.com>\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "Language: es\n" diff --git a/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-basic.lua b/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-basic.lua index 86a76d5c8d..54f082a1fa 100644 --- a/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-basic.lua +++ b/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-basic.lua @@ -47,10 +47,6 @@ local basicParams = { "keepalive", "10 60", translate("Helper directive to simplify the expression of --ping and --ping-restart in server mode configurations") }, - { ListValue, - "proto", - { "udp", "tcp-client", "tcp-server" }, - translate("Use protocol") }, { Flag, "client", 0, @@ -93,6 +89,20 @@ local basicParams = { translate("Local private key") }, } +local has_ipv6 = fs.access("/proc/net/ipv6_route") +if has_ipv6 then + table.insert( basicParams, { ListValue, + "proto", + { "udp", "tcp-client", "tcp-server", "udp6", "tcp6-client", "tcp6-server" }, + translate("Use protocol") + }) +else + table.insert( basicParams, { ListValue, + "proto", + { "udp", "tcp-client", "tcp-server" }, + translate("Use protocol") + }) +end local m = Map("openvpn") m.redirect = luci.dispatcher.build_url("admin", "vpn", "openvpn") diff --git a/applications/luci-app-openvpn/po/es/openvpn.po b/applications/luci-app-openvpn/po/es/openvpn.po index fb625987eb..49cfd7045e 100644 --- a/applications/luci-app-openvpn/po/es/openvpn.po +++ b/applications/luci-app-openvpn/po/es/openvpn.po @@ -3,14 +3,14 @@ msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2009-06-10 03:41+0200\n" -"PO-Revision-Date: 2019-03-02 14:45-0300\n" +"PO-Revision-Date: 2019-10-09 12:29-0300\n" "Last-Translator: José Vicente <josevteg@gmail.com>\n" "Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Poedit 2.2.1\n" +"X-Generator: Poedit 2.2.4\n" "Language-Team: \n" #: applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua:822 @@ -723,7 +723,7 @@ msgstr "Número de puerto TCP/UDP para remoto (default=1194)" #: applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua:710 msgid "TLS 1.3 or newer cipher" -msgstr "" +msgstr "TLS 1.3 o cifrado más reciente" #: applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua:702 msgid "TLS cipher" diff --git a/applications/luci-app-samba4/po/es/samba4.po b/applications/luci-app-samba4/po/es/samba4.po index 688aebb6b9..42d18ceabf 100644 --- a/applications/luci-app-samba4/po/es/samba4.po +++ b/applications/luci-app-samba4/po/es/samba4.po @@ -3,14 +3,14 @@ msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2009-06-10 03:41+0200\n" -"PO-Revision-Date: 2019-05-28 15:35-0300\n" +"PO-Revision-Date: 2019-10-08 16:19-0300\n" "Last-Translator: José Vicente <josevteg@gmail.com>\n" "Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Poedit 2.2.3\n" +"X-Generator: Poedit 2.2.4\n" "Language-Team: \n" #: applications/luci-app-samba4/luasrc/model/cbi/samba4.lua:78 @@ -21,7 +21,7 @@ msgstr "Permitir invitados" msgid "Allow system users to reach their home directories via network shares" msgstr "" "Permitir que los usuarios del sistema accedan a sus carpetas personales a " -"través de Samba" +"través de Samba4" #: applications/luci-app-samba4/luasrc/model/cbi/samba4.lua:75 msgid "Allowed users" @@ -106,7 +106,7 @@ msgstr "Nombre" #: applications/luci-app-samba4/luasrc/controller/samba4.lua:12 #: applications/luci-app-samba4/luasrc/model/cbi/samba4.lua:3 msgid "Network Shares" -msgstr "Samba" +msgstr "Samba4" #: applications/luci-app-samba4/luasrc/model/cbi/samba4.lua:58 msgid "Path" diff --git a/applications/luci-app-simple-adblock/Makefile b/applications/luci-app-simple-adblock/Makefile index b7d1a79fbc..a46abb821e 100644 --- a/applications/luci-app-simple-adblock/Makefile +++ b/applications/luci-app-simple-adblock/Makefile @@ -10,7 +10,7 @@ LUCI_TITLE:=Simple Adblock Web UI LUCI_DESCRIPTION:=Provides Web UI for simple-adblock service. LUCI_DEPENDS:=+luci-mod-admin-full +simple-adblock LUCI_PKGARCH:=all -PKG_RELEASE:=37 +PKG_RELEASE:=38 include ../../luci.mk diff --git a/applications/luci-app-simple-adblock/luasrc/controller/simple-adblock.lua b/applications/luci-app-simple-adblock/luasrc/controller/simple-adblock.lua index 98f69ac968..acfea5bf38 100644 --- a/applications/luci-app-simple-adblock/luasrc/controller/simple-adblock.lua +++ b/applications/luci-app-simple-adblock/luasrc/controller/simple-adblock.lua @@ -1,7 +1,6 @@ module("luci.controller.simple-adblock", package.seeall) function index() - if not nixio.fs.access("/etc/config/simple-adblock") then - return + if nixio.fs.access("/etc/config/simple-adblock") then + entry({"admin", "services", "simple-adblock"}, cbi("simple-adblock"), _("Simple AdBlock")) end - entry({"admin", "services", "simple-adblock"}, cbi("simple-adblock"), _("Simple AdBlock")) end diff --git a/applications/luci-app-simple-adblock/luasrc/model/cbi/simple-adblock.lua b/applications/luci-app-simple-adblock/luasrc/model/cbi/simple-adblock.lua index f4153355d6..9f392a20c7 100644 --- a/applications/luci-app-simple-adblock/luasrc/model/cbi/simple-adblock.lua +++ b/applications/luci-app-simple-adblock/luasrc/model/cbi/simple-adblock.lua @@ -187,15 +187,15 @@ local dns_descr = translate("Pick the DNS resolution option to create the adbloc .. translate("README") .. [[</a>]] .. " " .. translate("for details.") if not checkDnsmasq then - dns_descr = dns_descr .. "</br>" .. translate("Please note that") .. " <i>dnsmasq.addnhosts</i> " .. translate("is not supported on this system.") - dns_descr = dns_descr .. "</br>" .. translate("Please note that") .. " <i>dnsmasq.conf</i> " .. translate("is not supported on this system.") - dns_descr = dns_descr .. "</br>" .. translate("Please note that") .. " <i>dnsmasq.ipset</i> " .. translate("is not supported on this system.") - dns_descr = dns_descr .. "</br>" .. translate("Please note that") .. " <i>dnsmasq.servers</i> " .. translate("is not supported on this system.") + dns_descr = dns_descr .. "<br />" .. translate("Please note that") .. " <i>dnsmasq.addnhosts</i> " .. translate("is not supported on this system.") + dns_descr = dns_descr .. "<br />" .. translate("Please note that") .. " <i>dnsmasq.conf</i> " .. translate("is not supported on this system.") + dns_descr = dns_descr .. "<br />" .. translate("Please note that") .. " <i>dnsmasq.ipset</i> " .. translate("is not supported on this system.") + dns_descr = dns_descr .. "<br />" .. translate("Please note that") .. " <i>dnsmasq.servers</i> " .. translate("is not supported on this system.") elseif not checkDnsmasqIpset then - dns_descr = dns_descr .. "</br>" .. translate("Please note that") .. " <i>dnsmasq.ipset</i> " .. translate("is not supported on this system.") + dns_descr = dns_descr .. "<br />" .. translate("Please note that") .. " <i>dnsmasq.ipset</i> " .. translate("is not supported on this system.") end if not checkUnbound then - dns_descr = dns_descr .. "</br>" .. translate("Please note that") .. " <i>unbound.adb_list</i> " .. translate("is not supported on this system.") + dns_descr = dns_descr .. "<br />" .. translate("Please note that") .. " <i>unbound.adb_list</i> " .. translate("is not supported on this system.") end dns = s:taboption("advanced", ListValue, "dns", translate("DNS Service"), dns_descr) diff --git a/applications/luci-app-simple-adblock/po/es/simple-adblock.po b/applications/luci-app-simple-adblock/po/es/simple-adblock.po index 3a24b398f8..526c0a066a 100644 --- a/applications/luci-app-simple-adblock/po/es/simple-adblock.po +++ b/applications/luci-app-simple-adblock/po/es/simple-adblock.po @@ -3,11 +3,11 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Project-Id-Version: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2019-09-17 22:46-0300\n" +"PO-Revision-Date: 2019-10-09 12:31-0300\n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 2.2.3\n" +"X-Generator: Poedit 2.2.4\n" "Last-Translator: Franco Castillo <castillofrancodamian@gmail.com>\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "Language: es\n" @@ -78,7 +78,7 @@ msgstr "Config de DNSMASQ" #: applications/luci-app-simple-adblock/luasrc/model/cbi/simple-adblock.lua:206 msgid "DNSMASQ IP Set" -msgstr "" +msgstr "DNSMASQ IP Set" #: applications/luci-app-simple-adblock/luasrc/model/cbi/simple-adblock.lua:208 msgid "DNSMASQ Servers File" @@ -203,7 +203,7 @@ msgstr "Elige el LED que no se haya usado en" #: applications/luci-app-simple-adblock/luasrc/model/cbi/simple-adblock.lua:195 #: applications/luci-app-simple-adblock/luasrc/model/cbi/simple-adblock.lua:198 msgid "Please note that" -msgstr "" +msgstr "Tenga en cuenta que" #: applications/luci-app-simple-adblock/luasrc/model/cbi/simple-adblock.lua:187 msgid "README" @@ -241,7 +241,7 @@ msgstr "Simple AdBlock" #: applications/luci-app-simple-adblock/luasrc/model/cbi/simple-adblock.lua:51 msgid "Simple AdBlock Settings" -msgstr "Configuración de Simple AdBlock " +msgstr "Configuración de Simple AdBlock" #: applications/luci-app-simple-adblock/luasrc/model/cbi/simple-adblock.lua:234 msgid "Simultaneous processing" @@ -328,7 +328,7 @@ msgstr "para detalles." #: applications/luci-app-simple-adblock/luasrc/model/cbi/simple-adblock.lua:195 #: applications/luci-app-simple-adblock/luasrc/model/cbi/simple-adblock.lua:198 msgid "is not supported on this system." -msgstr "" +msgstr "no es compatible con este sistema." #: applications/luci-app-simple-adblock/luasrc/model/cbi/simple-adblock.lua:177 msgid "none" diff --git a/applications/luci-app-statistics/po/de/statistics.po b/applications/luci-app-statistics/po/de/statistics.po index 2ad486e256..4365d30ad9 100644 --- a/applications/luci-app-statistics/po/de/statistics.po +++ b/applications/luci-app-statistics/po/de/statistics.po @@ -1128,7 +1128,7 @@ msgstr "" #: applications/luci-app-statistics/luasrc/statistics/plugins/iwinfo.lua:7 #: applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/iwinfo.lua:7 msgid "Wireless" -msgstr "Drahtlos" +msgstr "WLAN" #: applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/iwinfo.lua:7 msgid "Wireless iwinfo Plugin Configuration" diff --git a/applications/luci-app-statistics/po/es/statistics.po b/applications/luci-app-statistics/po/es/statistics.po index 571d20b16e..74d4bb9401 100644 --- a/applications/luci-app-statistics/po/es/statistics.po +++ b/applications/luci-app-statistics/po/es/statistics.po @@ -3,14 +3,14 @@ msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2009-06-10 03:41+0200\n" -"PO-Revision-Date: 2019-08-01 23:05-0300\n" +"PO-Revision-Date: 2019-10-09 12:33-0300\n" "Last-Translator: Franco Castillo <castillofrancodamian@gmail.com>\n" "Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Poedit 2.2.3\n" +"X-Generator: Poedit 2.2.4\n" "Language-Team: \n" #: applications/luci-app-statistics/luasrc/statistics/plugins/apcups.lua:7 @@ -24,7 +24,7 @@ msgstr "Configuración del complemento APCUPS" #: applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/memory.lua:15 msgid "Absolute values" -msgstr "" +msgstr "Valores absolutos" #: applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/iptables.lua:70 msgid "Action (target)" @@ -66,6 +66,8 @@ msgstr "Monitorización básica" #: applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/cpu.lua:18 msgid "By setting this, CPU is not aggregate of all processors on the system" msgstr "" +"Al configurar esto, la CPU no es un agregado de todos los procesadores en el " +"sistema" #: applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/contextswitch.lua:4 msgid "CPU Context Switches Plugin Configuration" @@ -270,7 +272,7 @@ msgstr "Configuración del plugin Exec" #: applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/cpufreq.lua:15 msgid "Extra items" -msgstr "" +msgstr "Ítems extra" #: applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/netlink.lua:68 msgid "Filter class monitoring" @@ -499,7 +501,7 @@ msgstr "Monitorizar puertos remotos" #: applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/cpufreq.lua:15 msgid "More details about frequency usage and transitions" -msgstr "" +msgstr "Más detalles sobre el uso de frecuencia y las transiciones" #: applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/curl.lua:20 msgid "Name" @@ -587,7 +589,7 @@ msgstr "Plugins de salida" #: applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/memory.lua:23 msgid "Percent values" -msgstr "" +msgstr "Valores porcentuales" #: applications/luci-app-statistics/luasrc/statistics/plugins/ping.lua:7 #: applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/ping.lua:7 @@ -604,7 +606,7 @@ msgstr "Puerto" #: applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/apcups.lua:23 msgid "Port for apcupsd communication" -msgstr "Puerto para comunicación apcupsd." +msgstr "Puerto para comunicación apcupsd" #: applications/luci-app-statistics/luasrc/statistics/plugins/processes.lua:7 #: applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/processes.lua:7 @@ -650,15 +652,15 @@ msgstr "Configuración del plugin \"Herramienta RRD\"" #: applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/cpu.lua:17 msgid "Report by CPU" -msgstr "" +msgstr "Informe por CPU" #: applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/cpu.lua:24 msgid "Report by state" -msgstr "" +msgstr "Informe por estado" #: applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/cpu.lua:31 msgid "Report in percent" -msgstr "" +msgstr "Informe en porcentaje" #: applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/rrdtool.lua:74 msgid "Rows per RRA" @@ -1137,15 +1139,17 @@ msgstr "Monitorización detallada" #: applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/cpu.lua:25 msgid "When set to true, reports per-state metric (system, user, idle)" msgstr "" +"Cuando se establece en verdadero, informa métrica por estado (sistema, " +"usuario, inactivo)" #: applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/memory.lua:16 msgid "When set to true, we request absolute values" -msgstr "" +msgstr "Cuando se establece en verdadero, se solicita valores absolutos" #: applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/cpu.lua:32 #: applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/memory.lua:24 msgid "When set to true, we request percentage values" -msgstr "" +msgstr "Cuando se establece en verdadero, se solicita valores de porcentaje" #: applications/luci-app-statistics/luasrc/statistics/plugins/iwinfo.lua:7 #: applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/iwinfo.lua:7 diff --git a/applications/luci-app-transmission/po/es/transmission.po b/applications/luci-app-transmission/po/es/transmission.po index 28b0940b34..d3a41986db 100644 --- a/applications/luci-app-transmission/po/es/transmission.po +++ b/applications/luci-app-transmission/po/es/transmission.po @@ -3,14 +3,14 @@ msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2012-08-21 22:06+0200\n" -"PO-Revision-Date: 2019-03-02 12:35-0300\n" +"PO-Revision-Date: 2019-10-09 12:34-0300\n" "Last-Translator: José Vicente <josevteg@gmail.com>\n" "Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Poedit 2.2.1\n" +"X-Generator: Poedit 2.2.4\n" "Language-Team: \n" #: applications/luci-app-transmission/luasrc/model/cbi/transmission.lua:39 @@ -338,7 +338,7 @@ msgstr "Nombre de archivo del script" #: applications/luci-app-transmission/luasrc/model/cbi/transmission.lua:212 msgid "Seed queue enabled" -msgstr "Cola de seed Habilitar " +msgstr "Cola de seed Habilitar" #: applications/luci-app-transmission/luasrc/model/cbi/transmission.lua:215 msgid "Seed queue size" diff --git a/applications/luci-app-travelmate/po/es/travelmate.po b/applications/luci-app-travelmate/po/es/travelmate.po index 019b6cea22..afc48bc87d 100644 --- a/applications/luci-app-travelmate/po/es/travelmate.po +++ b/applications/luci-app-travelmate/po/es/travelmate.po @@ -3,11 +3,11 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Project-Id-Version: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2019-09-17 22:49-0300\n" +"PO-Revision-Date: 2019-10-09 13:55-0300\n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 2.2.3\n" +"X-Generator: Poedit 2.2.4\n" "Last-Translator: Franco Castillo <castillofrancodamian@gmail.com>\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "Language: es\n" @@ -38,7 +38,7 @@ msgid "" "Additional trigger delay in seconds before travelmate processing begins." msgstr "" "Demora adicional del disparador en segundos antes de que comience el " -"procesamiento de travelmate" +"procesamiento de travelmate." #: applications/luci-app-travelmate/luasrc/controller/travelmate.lua:21 msgid "Advanced" @@ -174,7 +174,7 @@ msgstr "Editar la configuración de Travelmate" #: applications/luci-app-travelmate/luasrc/controller/travelmate.lua:23 msgid "Edit Wireless Configuration" -msgstr "Editar la configuración del WiFi" +msgstr "Editar la configuración de WiFi" #: applications/luci-app-travelmate/luasrc/model/cbi/travelmate/wifi_edit.lua:10 msgid "Edit Wireless Uplink Configuration" @@ -331,7 +331,7 @@ msgstr "Abrir" #: applications/luci-app-travelmate/luasrc/model/cbi/travelmate/wifi_add.lua:146 #: applications/luci-app-travelmate/luasrc/model/cbi/travelmate/wifi_edit.lua:139 msgid "Optional Arguments" -msgstr "" +msgstr "Argumentos opcionales" #: applications/luci-app-travelmate/luasrc/model/cbi/travelmate/overview_tab.lua:101 msgid "" @@ -483,6 +483,9 @@ msgid "" "Space separated list of additional optional arguments passed to the Auto " "Login Script, i.e. username and password" msgstr "" +"Lista separada por espacios de argumentos opcionales adicionales pasados al " +"Script de inicio de sesión automático, es decir, nombre de usuario y " +"contraseña" #: applications/luci-app-travelmate/luasrc/view/travelmate/runtime.htm:113 msgid "Station ID (RADIO/SSID/BSSID)" @@ -624,7 +627,7 @@ msgstr "Estaciones WiFi" #: applications/luci-app-travelmate/luasrc/model/cbi/travelmate/overview_tab.lua:27 msgid "add it to the wan zone of the firewall." -msgstr "añadir a la zona wan del firewall" +msgstr "añadir a la zona wan del firewall." #: applications/luci-app-travelmate/luasrc/view/travelmate/wifi_scan.htm:56 msgid "hidden" diff --git a/applications/luci-app-uhttpd/po/es/uhttpd.po b/applications/luci-app-uhttpd/po/es/uhttpd.po index c11a3a3df9..6e594ca19a 100644 --- a/applications/luci-app-uhttpd/po/es/uhttpd.po +++ b/applications/luci-app-uhttpd/po/es/uhttpd.po @@ -7,7 +7,7 @@ msgstr "" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 2.2.1\n" +"X-Generator: Poedit 2.2.4\n" "Last-Translator: \n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "Language: es\n" @@ -24,7 +24,7 @@ msgstr "Error 404" #: applications/luci-app-uhttpd/luasrc/model/cbi/uhttpd/uhttpd.lua:7 msgid "A lightweight single-threaded HTTP(S) server" -msgstr "Un servidor HTTP(S) liviano de un solo hilo." +msgstr "Un servidor HTTP(S) liviano de un solo hilo" #: applications/luci-app-uhttpd/luasrc/model/cbi/uhttpd/uhttpd.lua:20 msgid "Advanced Settings" @@ -74,7 +74,7 @@ msgstr "" #: applications/luci-app-uhttpd/luasrc/model/cbi/uhttpd/uhttpd.lua:129 msgid "Do not follow symlinks outside document root" -msgstr "No siga los enlaces simbólicos fuera de la raíz del documento." +msgstr "No siga los enlaces simbólicos fuera de la raíz del documento" #: applications/luci-app-uhttpd/luasrc/model/cbi/uhttpd/uhttpd.lua:132 msgid "Do not generate directory listings." diff --git a/applications/luci-app-unbound/po/es/unbound.po b/applications/luci-app-unbound/po/es/unbound.po index 69f9f619fc..3b9b891683 100644 --- a/applications/luci-app-unbound/po/es/unbound.po +++ b/applications/luci-app-unbound/po/es/unbound.po @@ -7,7 +7,7 @@ msgstr "" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 2.2.1\n" +"X-Generator: Poedit 2.2.4\n" "Last-Translator: \n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "Language: es\n" @@ -453,6 +453,8 @@ msgid "" "Note: local DNS is configured to look at odhpcd, but odhpcd UCI lease " "trigger is incorrectly set:" msgstr "" +"Nota: el DNS local está configurado para mirar odhpcd, pero el disparador de " +"arrendamiento odhpcd UCI está configurado incorrectamente:" #: applications/luci-app-unbound/luasrc/model/cbi/unbound/zones.lua:16 msgid "" @@ -711,7 +713,7 @@ msgstr "Use entradas DNS extra que se encuentran en /etc/config/dhcp" #: applications/luci-app-unbound/luasrc/model/cbi/unbound/configure.lua:232 msgid "Use menu System/Processes to observe any memory growth" msgstr "" -"Usa el menú Sistema/Procesos para observar cualquier crecimiento de memoria." +"Usa el menú Sistema/Procesos para observar cualquier crecimiento de memoria" #: applications/luci-app-unbound/luasrc/model/cbi/unbound/configure.lua:184 msgid "WAN DNS" diff --git a/applications/luci-app-wifischedule/po/es/wifischedule.po b/applications/luci-app-wifischedule/po/es/wifischedule.po index 5aeb5eb7d5..467233d742 100644 --- a/applications/luci-app-wifischedule/po/es/wifischedule.po +++ b/applications/luci-app-wifischedule/po/es/wifischedule.po @@ -3,11 +3,11 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Project-Id-Version: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2019-09-17 22:54-0300\n" +"PO-Revision-Date: 2019-10-08 16:30-0300\n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 2.2.3\n" +"X-Generator: Poedit 2.2.4\n" "Last-Translator: Franco Castillo <castillofrancodamian@gmail.com>\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "Language: es\n" @@ -26,7 +26,7 @@ msgstr "No se pudo encontrar el programa requerido /usr/bin/iwinfo" #: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:41 msgid "Cron Jobs" -msgstr "Cron Jobs" +msgstr "Trabajos Cron" #: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:154 msgid "Day(s) of Week" diff --git a/modules/luci-base/htdocs/luci-static/resources/tools/widgets.js b/modules/luci-base/htdocs/luci-static/resources/tools/widgets.js index 1667fa6707..9cc3e26ed2 100644 --- a/modules/luci-base/htdocs/luci-static/resources/tools/widgets.js +++ b/modules/luci-base/htdocs/luci-static/resources/tools/widgets.js @@ -3,6 +3,19 @@ 'require form'; 'require network'; 'require firewall'; +'require fs'; + +function getUsers() { + return fs.lines('/etc/passwd').then(function(lines) { + return lines.map(function(line) { return line.split(/:/)[0] }); + }); +} + +function getGroups() { + return fs.lines('/etc/group').then(function(lines) { + return lines.map(function(line) { return line.split(/:/)[0] }); + }); +} var CBIZoneSelect = form.ListValue.extend({ __name__: 'CBI.ZoneSelect', @@ -559,10 +572,48 @@ var CBIDeviceSelect = form.ListValue.extend({ }, }); +var CBIUserSelect = form.ListValue.extend({ + __name__: 'CBI.UserSelect', + + load: function(section_id) { + return getUsers().then(L.bind(function(users) { + for (var i = 0; i < users.length; i++) { + this.value(users[i]); + } + + return this.super('load', section_id); + }, this)); + }, + + filter: function(section_id, value) { + return true; + }, +}); + +var CBIGroupSelect = form.ListValue.extend({ + __name__: 'CBI.GroupSelect', + + load: function(section_id) { + return getGroups().then(L.bind(function(groups) { + for (var i = 0; i < groups.length; i++) { + this.value(groups[i]); + } + + return this.super('load', section_id); + }, this)); + }, + + filter: function(section_id, value) { + return true; + }, +}); + return L.Class.extend({ ZoneSelect: CBIZoneSelect, ZoneForwards: CBIZoneForwards, NetworkSelect: CBINetworkSelect, DeviceSelect: CBIDeviceSelect, + UserSelect: CBIUserSelect, + GroupSelect: CBIGroupSelect, }); diff --git a/modules/luci-base/luasrc/dispatcher.lua b/modules/luci-base/luasrc/dispatcher.lua index e8106b741d..f571144566 100644 --- a/modules/luci-base/luasrc/dispatcher.lua +++ b/modules/luci-base/luasrc/dispatcher.lua @@ -149,7 +149,11 @@ function httpdispatch(request, prefix) --context._disable_memtrace() end -local function require_post_security(target) +local function require_post_security(target, args) + if type(target) == "table" and target.type == "arcombine" and type(target.targets) == "table" then + return require_post_security((type(args) == "table" and #args > 0) and target.targets[2] or target.targets[1], args) + end + if type(target) == "table" then if type(target.post) == "table" then local param_name, required_val, request_val @@ -470,7 +474,7 @@ function dispatch(request) return end - if c and require_post_security(c.target) then + if c and require_post_security(c.target, args) then if not test_post_security(c) then return end diff --git a/modules/luci-base/po/de/base.po b/modules/luci-base/po/de/base.po index 0319cceaa5..f47ea07c4d 100644 --- a/modules/luci-base/po/de/base.po +++ b/modules/luci-base/po/de/base.po @@ -4671,7 +4671,7 @@ msgstr "Wurzelverzeichnis erzeugen" #: protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js:126 msgid "Route Allowed IPs" -msgstr "Erlaubte IP-Addressen routen" +msgstr "Erlaubte IP-Adressen routen" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:72 msgid "Route table" diff --git a/modules/luci-base/po/es/base.po b/modules/luci-base/po/es/base.po index ccef1183c0..963baa9f8e 100644 --- a/modules/luci-base/po/es/base.po +++ b/modules/luci-base/po/es/base.po @@ -3,14 +3,14 @@ msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2009-06-10 03:41+0200\n" -"PO-Revision-Date: 2019-09-25 12:05-0300\n" +"PO-Revision-Date: 2019-10-08 15:34-0300\n" "Last-Translator: Franco Castillo <castillofrancodamian@gmail.com>\n" "Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Poedit 2.2.3\n" +"X-Generator: Poedit 2.2.4\n" "Language-Team: \n" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:867 @@ -1437,7 +1437,7 @@ msgstr "Eliminar clave" #: modules/luci-base/htdocs/luci-static/resources/ui.js:1634 msgid "Delete request failed: %s" -msgstr "" +msgstr "Error al eliminar la solicitud: %s" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js:724 msgid "Delete this network" @@ -2089,7 +2089,7 @@ msgstr "Grabar imagen..." #: modules/luci-mod-system/htdocs/luci-static/resources/view/system/flash.js:362 msgid "Flash image?" -msgstr "¿Instalar imagen en flash?" +msgstr "¿Grabar imagen en flash?" #: modules/luci-mod-system/htdocs/luci-static/resources/view/system/flash.js:484 msgid "Flash new firmware image" @@ -2858,7 +2858,7 @@ msgstr "Conectarse a: %q" #: modules/luci-mod-system/htdocs/luci-static/resources/view/system/flash.js:306 msgid "Keep settings and retain the current configuration" -msgstr "" +msgstr "Mantener los ajustes y conservar la configuración actual" #: modules/luci-mod-status/luasrc/controller/admin/status.lua:16 #: modules/luci-mod-status/luasrc/view/admin_status/dmesg.htm:8 @@ -3329,7 +3329,7 @@ msgstr "Malla" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js:105 msgid "Mesh ID" -msgstr "" +msgstr "ID de malla" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js:807 msgid "Mesh Id" @@ -4809,7 +4809,7 @@ msgid "" "fails. Use only if you are sure that the firmware is correct and meant for " "your device!" msgstr "" -"Seleccione \"Forzar actualización\" para flashear la imagen incluso si falla " +"Seleccione \"Forzar actualización\" para grabar la imagen incluso si falla " "la verificación del formato de la imagen. ¡Úselo solo si está seguro de que " "el firmware es correcto y está diseñado para su dispositivo!" @@ -5342,7 +5342,7 @@ msgid "" "compare them with the original file to ensure data integrity. <br /> Click " "\"Proceed\" below to start the flash procedure." msgstr "" -"Se ha instalado la imagen en flash. A continuación se muestra la suma de " +"Se ha subido la imagen a grabar. A continuación se muestra la suma de " "comprobación y el tamaño del archivo, compárelos con el archivo original " "para garantizar la integridad de los datos. <br /> Haga clic en \"Continuar" "\" a continuación para iniciar el procedimiento de instalación." @@ -5481,7 +5481,7 @@ msgstr "El archivo de copia de seguridad cargado no es legible" #: modules/luci-mod-system/htdocs/luci-static/resources/view/system/flash.js:327 msgid "The uploaded firmware does not allow keeping current configuration." -msgstr "" +msgstr "El firmware cargado no permite mantener la configuración actual." #: modules/luci-mod-system/htdocs/luci-static/resources/view/system/flash.js:322 msgid "" @@ -5787,7 +5787,7 @@ msgstr "Segundos no disponibles (UAS)" #: modules/luci-base/htdocs/luci-static/resources/fs.js:100 msgid "Unexpected reply data format" -msgstr "" +msgstr "Formato de datos de respuesta inesperado" #: modules/luci-base/htdocs/luci-static/resources/network.js:1984 #: modules/luci-base/luasrc/model/network.lua:970 @@ -5854,6 +5854,8 @@ msgstr "Subir" msgid "" "Upload a sysupgrade-compatible image here to replace the running firmware." msgstr "" +"Cargue aquí una imagen compatible con sysupgrade para reemplazar el firmware " +"en ejecución." #: modules/luci-mod-system/htdocs/luci-static/resources/view/system/flash.js:221 #: modules/luci-mod-system/htdocs/luci-static/resources/view/system/flash.js:252 @@ -5902,7 +5904,7 @@ msgstr "Usar <code>/etc/ethers</code>" #: modules/luci-mod-system/htdocs/luci-static/resources/view/system/system.js:264 msgid "Use DHCP advertised servers" -msgstr "" +msgstr "Usar servidores anunciados de DHCP" #: protocols/luci-proto-relay/htdocs/luci-static/resources/protocol/relay.js:167 msgid "Use DHCP gateway" @@ -6033,6 +6035,8 @@ msgid "" "Used for two different purposes: RADIUS NAS ID and 802.11r R0KH-ID. Not " "needed with normal WPA(2)-PSK." msgstr "" +"Se utiliza para dos propósitos diferentes: RADIUS NAS ID y 802.11r R0KH-ID. " +"No es necesario con WPA(2)-PSK normal." #: protocols/luci-proto-openconnect/htdocs/luci-static/resources/protocol/openconnect.js:110 msgid "User certificate (PEM encoded)" @@ -6115,11 +6119,11 @@ msgstr "WDS" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js:1161 msgid "WEP Open System" -msgstr "sistema abierto WEP" +msgstr "WEP (sistema abierto)" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js:1162 msgid "WEP Shared Key" -msgstr "clave compartida WEP" +msgstr "WEP (clave compartida)" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js:1831 msgid "WEP passphrase" @@ -6266,7 +6270,7 @@ msgstr "" "Puede habilitar o deshabilitar los scripts de inicio instalados aquí. Los " "cambios se aplicarán después de que se reinicie el dispositivo.<br /> " "<strong>Advertencia: Si deshabilitas los scripts de inicio esenciales como " -"\"red\", ¡Tu dispositivo podría volverse inaccesible!</strong>" +"\"network\", ¡Tu dispositivo podría volverse inaccesible!</strong>" #: themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/header.htm:184 #: themes/luci-theme-material/luasrc/view/themes/material/header.htm:222 diff --git a/modules/luci-base/po/uk/base.po b/modules/luci-base/po/uk/base.po index 00f4cb7aec..b245f378e3 100644 --- a/modules/luci-base/po/uk/base.po +++ b/modules/luci-base/po/uk/base.po @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" -"PO-Revision-Date: 2019-09-25 22:40+0300\n" +"PO-Revision-Date: 2019-10-09 20:55+0300\n" "Last-Translator: Yurii <yuripet@gmail.com>\n" "Language-Team: none\n" "Language: uk\n" @@ -32,7 +32,7 @@ msgstr "%s є непозначеним у декількох VLAN!" #: modules/luci-mod-status/luasrc/view/admin_status/wireless.htm:168 #: modules/luci-mod-status/luasrc/view/admin_status/wireless.htm:169 msgid "(%d minute window, %d second interval)" -msgstr "(вікно - %d хв, інтервал - %d с)" +msgstr "(вікно – %d хв, інтервал – %d с)" #: modules/luci-base/htdocs/luci-static/resources/tools/widgets.js:105 #: modules/luci-base/htdocs/luci-static/resources/tools/widgets.js:111 @@ -567,7 +567,7 @@ msgstr "Дозволити root-вхід із паролем" #: modules/luci-mod-system/htdocs/luci-static/resources/view/system/dropbear.js:30 msgid "Allow the <em>root</em> user to login with password" -msgstr "Дозволити користувачеві <em>root</em> вхід у систему з паролем" +msgstr "Дозволити користувачеві <em>root</em> вхід до системи з паролем" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:200 msgid "" @@ -1449,7 +1449,7 @@ msgstr "Видалити ключ" #: modules/luci-base/htdocs/luci-static/resources/ui.js:1634 msgid "Delete request failed: %s" -msgstr "" +msgstr "Помилка запиту на видалення: %s" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js:724 msgid "Delete this network" @@ -2864,7 +2864,7 @@ msgstr "Потрібен JavaScript!" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js:1694 msgid "Join Network" -msgstr "Підключення до мережі" +msgstr "Підключитися до мережі" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js:1631 msgid "Join Network: Wireless Scan" @@ -2876,7 +2876,7 @@ msgstr "Приєднання до мережі: %q" #: modules/luci-mod-system/htdocs/luci-static/resources/view/system/flash.js:306 msgid "Keep settings and retain the current configuration" -msgstr "" +msgstr "Зберегти налаштування та поточну конфігурацію" #: modules/luci-mod-status/luasrc/controller/admin/status.lua:16 #: modules/luci-mod-status/luasrc/view/admin_status/dmesg.htm:8 @@ -3086,8 +3086,8 @@ msgstr "Порти прослуховування" #: modules/luci-mod-system/htdocs/luci-static/resources/view/system/dropbear.js:16 msgid "Listen only on the given interface or, if unspecified, on all" msgstr "" -"Прослуховувати тільки на цьому інтерфейсі, або на всіх (якщо <em>не " -"визначено</em>)" +"Прослуховувати тільки на цьому інтерфейсі, якщо <em>не визначено</em> – на " +"всіх" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:217 msgid "Listening port for inbound DNS queries" @@ -3357,7 +3357,7 @@ msgstr "Mesh" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js:105 msgid "Mesh ID" -msgstr "" +msgstr "Mesh ID" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js:807 msgid "Mesh Id" @@ -3520,7 +3520,7 @@ msgstr "Домен NT" #: modules/luci-mod-system/htdocs/luci-static/resources/view/system/system.js:269 msgid "NTP server candidates" -msgstr "Кандидати для синхронізації сервера NTP" +msgstr "Сервери NTP – кандидати для синхронізації" #: modules/luci-base/htdocs/luci-static/resources/form.js:1097 #: modules/luci-base/luasrc/view/cbi/tblsection.htm:27 @@ -3577,7 +3577,7 @@ msgstr "Наступний »" #: modules/luci-base/htdocs/luci-static/resources/form.js:1757 #: protocols/luci-proto-vpnc/htdocs/luci-static/resources/protocol/vpnc.js:108 msgid "No" -msgstr "№" +msgstr "Немає" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:514 msgid "No DHCP Server configured for this interface" @@ -3716,7 +3716,7 @@ msgstr "DNS-запит" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:261 msgid "Number of cached DNS entries (max is 10000, 0 is no caching)" -msgstr "Кількість кешованих записів DNS (макс. - 10000, 0 - без кешування)" +msgstr "Кількість кешованих записів DNS (макс. – 10000, 0 – без кешування)" #: modules/luci-mod-system/htdocs/luci-static/resources/view/system/system.js:194 msgid "Number of parallel threads used for compression" @@ -3860,7 +3860,7 @@ msgid "" "Recommended value if this device is behind a NAT is 25." msgstr "" "Необов'язково. Час (сек.) між перевірками активності повідомлень. Типове " -"значення - 0 (вимкнено). Рекомендоване значення для цього пристрою за NAT - " +"значення – 0 (вимкнено). Рекомендоване значення для цього пристрою за NAT – " "25." #: protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js:54 @@ -5494,8 +5494,8 @@ msgid "" "\"Cancel\" to abort the operation." msgstr "" "Відвантажений резервний архів видається дійсним і містить перелічені нижче " -"файли. Натисніть \"Продовжити\", щоб відновити резервну копію та " -"виконатиперезавантаження, або \"Скасувати\", щоб перервати операцію." +"файли. Натисніть \"Продовжити\", щоб відновити резервну копію та виконати " +"перезавантаження, або \"Скасувати\", щоб перервати операцію." #: modules/luci-mod-system/htdocs/luci-static/resources/view/system/flash.js:198 msgid "The uploaded backup archive is not readable" @@ -5503,7 +5503,7 @@ msgstr "Відвантажений архів резервної копії не #: modules/luci-mod-system/htdocs/luci-static/resources/view/system/flash.js:327 msgid "The uploaded firmware does not allow keeping current configuration." -msgstr "" +msgstr "Відвантажена мікропрограма не дозволить зберегти поточну конфігурацію." #: modules/luci-mod-system/htdocs/luci-static/resources/view/system/flash.js:322 msgid "" @@ -5810,7 +5810,7 @@ msgstr "Недоступні секунди (<abbr title=\"Unavailable Seconds\" #: modules/luci-base/htdocs/luci-static/resources/fs.js:100 msgid "Unexpected reply data format" -msgstr "" +msgstr "Несподіваний формат даних відповіді" #: modules/luci-base/htdocs/luci-static/resources/network.js:1984 #: modules/luci-base/luasrc/model/network.lua:970 @@ -5877,6 +5877,8 @@ msgstr "Відвантажити" msgid "" "Upload a sysupgrade-compatible image here to replace the running firmware." msgstr "" +"Відвантажте тут sysupgrade-сумісний образ, щоб замінити працюючу " +"мікропрограму." #: modules/luci-mod-system/htdocs/luci-static/resources/view/system/flash.js:221 #: modules/luci-mod-system/htdocs/luci-static/resources/view/system/flash.js:252 @@ -5925,7 +5927,7 @@ msgstr "Використовувати <code>/etc/ethers</code>" #: modules/luci-mod-system/htdocs/luci-static/resources/view/system/system.js:264 msgid "Use DHCP advertised servers" -msgstr "" +msgstr "Використовувати сервери, оголошені DHCP" #: protocols/luci-proto-relay/htdocs/luci-static/resources/protocol/relay.js:167 msgid "Use DHCP gateway" @@ -6059,6 +6061,9 @@ msgid "" "Used for two different purposes: RADIUS NAS ID and 802.11r R0KH-ID. Not " "needed with normal WPA(2)-PSK." msgstr "" +"Використовується для двох різних цілей: RADIUS NAS ID і 802.11r <abbr title=" +"\"ідентифікатор власника ключа R0\">R0KH-ID</abbr>. Не потрібно зі " +"звичайним WPA(2)-PSK." #: protocols/luci-proto-openconnect/htdocs/luci-static/resources/protocol/openconnect.js:110 msgid "User certificate (PEM encoded)" @@ -6810,47 +6815,3 @@ msgstr "так" #: modules/luci-base/luasrc/view/cbi/delegator.htm:20 msgid "« Back" msgstr "« Назад" - -#~ msgid "Caution: Configuration files will be erased" -#~ msgstr "Увага: файли конфігурації буде видалено." - -#~ msgid "Changes applied." -#~ msgstr "Зміни застосовано." - -#~ msgid "Configuration files will be kept" -#~ msgstr "Конфігураційні файли буде збережено" - -#~ msgid "Delete permission denied" -#~ msgstr "Дозволу на видалення не надано" - -#~ msgid "Delete request failed: %d %s" -#~ msgstr "Помилка запиту на видалення: %d %s" - -#~ msgid "Device is rebooting..." -#~ msgstr "Пристрій перезавантажується..." - -#~ msgid "Keep settings" -#~ msgstr "Зберегти налаштування" - -#~ msgid "Rebooting..." -#~ msgstr "Перезавантаження..." - -#~ msgid "" -#~ "Upload a sysupgrade-compatible image here to replace the running " -#~ "firmware. Check \"Keep settings\" to retain the current configuration " -#~ "(requires a compatible firmware image)." -#~ msgstr "" -#~ "Відвантажити sysupgrade-сумісний образ, щоб замінити поточну " -#~ "мікропрограму. Для збереження поточної конфігурації встановіть прапорець " -#~ "\"Зберегти налаштування\" (потрібен сумісний образ мікропрограми)." - -#~ msgid "" -#~ "Used for two different purposes: RADIUS NAS ID and 802.11r R0KH-ID. Not " -#~ "needed with normal WPA(2)-PSK/WPA3-SAE." -#~ msgstr "" -#~ "Використовується для двох різних цілей: RADIUS NAS ID і 802.11r <abbr " -#~ "title=\"ідентифікатор власника ключа R0\">R0KH-ID</abbr>. Не потрібно за " -#~ "звичайного WPA(2)-PSK/WPA3-SAE." - -#~ msgid "Waiting for changes to be applied..." -#~ msgstr "Очікуємо, доки зміни наберуть чинності..." diff --git a/modules/luci-base/po/zh-cn/base.po b/modules/luci-base/po/zh-cn/base.po index 22fd6ad53c..72c4c76948 100644 --- a/modules/luci-base/po/zh-cn/base.po +++ b/modules/luci-base/po/zh-cn/base.po @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"PO-Revision-Date: 2019-09-29 15:29+0800\n" +"PO-Revision-Date: 2019-10-11 14:56+0800\n" "Last-Translator: Yangfl <mmyangfl@gmail.com>\n" "Language-Team: <debian-l10n-chinese@lists.debian.org>\n" "Language: \n" @@ -1387,7 +1387,7 @@ msgstr "删除密钥" #: modules/luci-base/htdocs/luci-static/resources/ui.js:1634 msgid "Delete request failed: %s" -msgstr "" +msgstr "删除请求失败:%s" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js:724 msgid "Delete this network" @@ -2775,7 +2775,7 @@ msgstr "加入网络:%q" #: modules/luci-mod-system/htdocs/luci-static/resources/view/system/flash.js:306 msgid "Keep settings and retain the current configuration" -msgstr "" +msgstr "保留当前配置" #: modules/luci-mod-status/luasrc/controller/admin/status.lua:16 #: modules/luci-mod-status/luasrc/view/admin_status/dmesg.htm:8 @@ -3231,7 +3231,7 @@ msgstr "Mesh" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js:105 msgid "Mesh ID" -msgstr "" +msgstr "Mesh ID" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js:807 msgid "Mesh Id" @@ -5307,7 +5307,7 @@ msgstr "无法读取上传的备份归档" #: modules/luci-mod-system/htdocs/luci-static/resources/view/system/flash.js:327 msgid "The uploaded firmware does not allow keeping current configuration." -msgstr "" +msgstr "上传的固件无法使用当前的配置。" #: modules/luci-mod-system/htdocs/luci-static/resources/view/system/flash.js:322 msgid "" @@ -5595,7 +5595,7 @@ msgstr "不可用秒数(UAS)" #: modules/luci-base/htdocs/luci-static/resources/fs.js:100 msgid "Unexpected reply data format" -msgstr "" +msgstr "错误的数据回复格式" #: modules/luci-base/htdocs/luci-static/resources/network.js:1984 #: modules/luci-base/luasrc/model/network.lua:970 @@ -5661,7 +5661,7 @@ msgstr "上传" #: modules/luci-mod-system/htdocs/luci-static/resources/view/system/flash.js:486 msgid "" "Upload a sysupgrade-compatible image here to replace the running firmware." -msgstr "" +msgstr "从这里上传一个 sysupgrade 兼容镜像以更新正在运行的固件。" #: modules/luci-mod-system/htdocs/luci-static/resources/view/system/flash.js:221 #: modules/luci-mod-system/htdocs/luci-static/resources/view/system/flash.js:252 @@ -5709,7 +5709,7 @@ msgstr "使用 <code>/etc/ethers</code> 配置" #: modules/luci-mod-system/htdocs/luci-static/resources/view/system/system.js:264 msgid "Use DHCP advertised servers" -msgstr "" +msgstr "使用 DHCP 通告的服务器" #: protocols/luci-proto-relay/htdocs/luci-static/resources/protocol/relay.js:167 msgid "Use DHCP gateway" @@ -5839,6 +5839,8 @@ msgid "" "Used for two different purposes: RADIUS NAS ID and 802.11r R0KH-ID. Not " "needed with normal WPA(2)-PSK." msgstr "" +"用于两种不同的用途:RADIUS NAS ID 和 802.11r R0KH-ID。通常的 WPA(2)-PSK 不需" +"要。" #: protocols/luci-proto-openconnect/htdocs/luci-static/resources/protocol/openconnect.js:110 msgid "User certificate (PEM encoded)" diff --git a/modules/luci-base/root/usr/share/rpcd/acl.d/luci-base.json b/modules/luci-base/root/usr/share/rpcd/acl.d/luci-base.json index 001e6deec8..f811fb99ea 100644 --- a/modules/luci-base/root/usr/share/rpcd/acl.d/luci-base.json +++ b/modules/luci-base/root/usr/share/rpcd/acl.d/luci-base.json @@ -30,6 +30,8 @@ "/etc/filesystems": [ "read" ], "/etc/rc.local": [ "read" ], "/etc/sysupgrade.conf": [ "read" ], + "/etc/passwd": [ "read" ], + "/etc/group": [ "read" ], "/proc/filesystems": [ "read" ], "/proc/mtd": [ "read" ], "/proc/partitions": [ "read" ], diff --git a/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/favicon.ico b/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/favicon.ico Binary files differdeleted file mode 100644 index 77a138ba0c..0000000000 --- a/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/favicon.ico +++ /dev/null diff --git a/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/favicon.png b/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/favicon.png Binary files differnew file mode 100644 index 0000000000..d6eaa4bc4d --- /dev/null +++ b/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/favicon.png diff --git a/themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/header.htm b/themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/header.htm index 697c5c7bf1..de1fd73f0e 100644 --- a/themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/header.htm +++ b/themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/header.htm @@ -139,7 +139,7 @@ <meta name="viewport" content="initial-scale=1.0"> <link rel="stylesheet" href="<%=media%>/cascade.css"> <link rel="stylesheet" media="only screen and (max-device-width: 854px)" href="<%=media%>/mobile.css" type="text/css" /> - <link rel="shortcut icon" href="<%=media%>/favicon.ico"> + <link rel="shortcut icon" href="<%=media%>/favicon.png"> <% if node and node.css then %> <link rel="stylesheet" href="<%=resource%>/<%=node.css%>"> <% end -%> |