Add forms for Worker and ClusterSettings with translations and workers list template

This commit is contained in:
Eduardo Silva
2025-08-14 22:43:18 -03:00
parent a78dc65da1
commit 7c5cbe51be
15 changed files with 1717 additions and 394 deletions

Binary file not shown.

View File

@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-08-12 11:30-0300\n"
"POT-Creation-Date: 2025-08-14 22:07-0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -17,6 +17,206 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: cluster/forms.py:17 dns/forms.py:111 templates/cluster/workers_list.html:8
#: templates/dns/static_host_list.html:68
#: templates/user_manager/peer_group_list.html:8 user_manager/forms.py:177
#: wireguard_peer/forms.py:10
msgid "Name"
msgstr "Nombre"
#: cluster/forms.py:18 templates/cluster/workers_list.html:24
#: vpn_invite/forms.py:49 vpn_invite/forms.py:294
msgid "Enabled"
msgstr "Habilitado"
#: cluster/forms.py:19
msgid "IP Lock"
msgstr ""
#: cluster/forms.py:20 dns/forms.py:66 templates/cluster/workers_list.html:10
#: templates/dns/static_host_list.html:18
#: templates/firewall/manage_redirect_rule.html:43
#: templates/firewall/manage_redirect_rule.html:67
#: templates/firewall/manage_redirect_rule.html:68
#: templates/wireguard/wireguard_status.html:45
msgid "IP Address"
msgstr "Dirección IP"
#: cluster/forms.py:21
msgid "Country"
msgstr ""
#: cluster/forms.py:22
msgid "City"
msgstr ""
#: cluster/forms.py:23 dns/forms.py:65 templates/dns/static_host_list.html:17
msgid "Hostname"
msgstr "Nombre de host"
#: cluster/forms.py:25 cluster/forms.py:95 dns/forms.py:25 dns/forms.py:67
#: dns/forms.py:109 templates/firewall/manage_firewall_rule.html:380
#: templates/firewall/manage_firewall_settings.html:60
#: templates/firewall/manage_redirect_rule.html:85
#: templates/wireguard/wireguard_manage_ip.html:42
#: templates/wireguard/wireguard_manage_peer.html:170
#: templates/wireguard/wireguard_peer_list.html:166 user_manager/forms.py:49
#: user_manager/forms.py:180 vpn_invite/forms.py:192 vpn_invite/forms.py:326
msgid "Back"
msgstr "Volver"
#: cluster/forms.py:26 dns/forms.py:68 dns/forms.py:110
#: templates/firewall/manage_firewall_rule.html:382
#: templates/firewall/manage_redirect_rule.html:86
#: templates/wireguard/wireguard_manage_ip.html:43
#: templates/wireguard/wireguard_peer_list.html:185 user_manager/forms.py:48
#: user_manager/forms.py:181
msgid "Delete"
msgstr "Eliminar"
#: cluster/forms.py:54 cluster/forms.py:121 dns/forms.py:37 dns/forms.py:83
#: dns/forms.py:134 templates/firewall/manage_firewall_rule.html:379
#: templates/firewall/manage_firewall_settings.html:59
#: templates/firewall/manage_redirect_rule.html:84
#: templates/wireguard/wireguard_manage_ip.html:41
#: templates/wireguard/wireguard_manage_peer.html:168
#: templates/wireguard/wireguard_manage_server.html:130
#: user_manager/forms.py:98 user_manager/forms.py:205 vpn_invite/forms.py:191
#: vpn_invite/forms.py:325
msgid "Save"
msgstr "Guardar"
#: cluster/forms.py:69
msgid "A worker with that name already exists."
msgstr "Ya existe un worker con ese nombre."
#: cluster/forms.py:72
msgid "IP Address is required when IP Lock is enabled."
msgstr ""
#: cluster/forms.py:87
msgid "Cluster Enabled"
msgstr "Cluster habilitado"
#: cluster/forms.py:88
msgid "Primary Enable WireGuard"
msgstr ""
#: cluster/forms.py:89
msgid "Stats Sync Interval (seconds)"
msgstr ""
#: cluster/forms.py:90
msgid "Stats Cache Interval (seconds)"
msgstr ""
#: cluster/forms.py:91
msgid "Cluster Mode"
msgstr ""
#: cluster/forms.py:92
msgid "Restart Mode"
msgstr "Modo de reinicio"
#: cluster/forms.py:93
msgid "Worker Display"
msgstr ""
#: cluster/forms.py:134
msgid "Stats sync interval must be at least 10 seconds."
msgstr "El intervalo de sincronización de estadísticas debe ser de al menos 10 segundos."
#: cluster/forms.py:137
msgid "Stats cache interval must be at least 10 seconds."
msgstr "El intervalo de caché de estadísticas debe ser de al menos 10 segundos."
#: cluster/views.py:15 cluster/views.py:27 cluster/views.py:96
#: templates/access_denied.html:9
msgid "Access Denied"
msgstr "Acceso denegado"
#: cluster/views.py:17 templates/base.html:185
msgid "Cluster"
msgstr ""
#: cluster/views.py:33
msgid "Edit Worker: "
msgstr "Editar Worker: "
#: cluster/views.py:39
msgid "Worker deleted|Worker deleted: "
msgstr "Worker eliminado|Worker eliminado: "
#: cluster/views.py:42
msgid "Worker not deleted|Invalid confirmation."
msgstr "Worker no eliminado|Confirmación inválida."
#: cluster/views.py:46 templates/cluster/list_buttons.html:2
msgid "Add Worker"
msgstr "Agregar Worker"
#: cluster/views.py:57
msgid "Worker updated|Worker updated: "
msgstr "Worker actualizado|Worker actualizado: "
#: cluster/views.py:59
msgid "Worker created|Worker created: "
msgstr "Worker creado|Worker creado: "
#: cluster/views.py:64
msgid ""
"\n"
" <h5>Worker Configuration</h5>\n"
" <p>Configure a cluster worker node that will synchronize with this "
"primary instance.</p>\n"
" \n"
" <h5>Name</h5>\n"
" <p>A unique name to identify this worker.</p>\n"
" \n"
" <h5>IP Address</h5>\n"
" <p>The IP address of the worker node. Leave empty if IP lock is "
"disabled.</p>\n"
" \n"
" <h5>IP Lock</h5>\n"
" <p>When enabled, the worker can only connect from the specified IP "
"address.</p>\n"
" \n"
" <h5>Location Information</h5>\n"
" <p>Optional location details for this worker (country, city, "
"hostname).</p>\n"
" "
msgstr ""
#: cluster/views.py:99 templates/cluster/list_buttons.html:3
msgid "Cluster Settings"
msgstr "Configuración del Cluster"
#: cluster/views.py:105
msgid "Cluster settings updated successfully."
msgstr "Configuración del cluster actualizada exitosamente."
#: cluster/views.py:112
msgid ""
"\n"
" <h5>Cluster Mode</h5>\n"
" <p>Configure how the cluster operates and synchronizes "
"configurations between nodes.</p>\n"
" \n"
" <h5>Sync Intervals</h5>\n"
" <p>Configure how frequently statistics and cache data are "
"synchronized between cluster nodes.</p>\n"
" \n"
" <h5>Restart Mode</h5>\n"
" <p>Choose whether WireGuard services should be automatically "
"restarted when configurations change, or if manual intervention is required."
"</p>\n"
" \n"
" <h5>Worker Display</h5>\n"
" <p>Select how workers should be identified in the interface - by "
"name, server address, location, or a combination.</p>\n"
" "
msgstr ""
#: console/views.py:25 console/views.py:57 user_manager/forms.py:16
msgid "Console"
msgstr "Consola"
@@ -65,64 +265,14 @@ msgstr "DNS primario"
msgid "Secondary DNS"
msgstr "DNS secundario"
#: dns/forms.py:25 dns/forms.py:67 dns/forms.py:109
#: templates/firewall/manage_firewall_rule.html:380
#: templates/firewall/manage_firewall_settings.html:60
#: templates/firewall/manage_redirect_rule.html:85
#: templates/wireguard/wireguard_manage_ip.html:42
#: templates/wireguard/wireguard_manage_peer.html:170
#: templates/wireguard/wireguard_peer_list.html:166 user_manager/forms.py:49
#: user_manager/forms.py:180 vpn_invite/forms.py:192 vpn_invite/forms.py:326
msgid "Back"
msgstr "Volver"
#: dns/forms.py:29
msgid "Resolver Settings"
msgstr "Configuración de resolución"
#: dns/forms.py:37 dns/forms.py:83 dns/forms.py:134
#: templates/firewall/manage_firewall_rule.html:379
#: templates/firewall/manage_firewall_settings.html:59
#: templates/firewall/manage_redirect_rule.html:84
#: templates/wireguard/wireguard_manage_ip.html:41
#: templates/wireguard/wireguard_manage_peer.html:168
#: templates/wireguard/wireguard_manage_server.html:130
#: user_manager/forms.py:98 user_manager/forms.py:205 vpn_invite/forms.py:191
#: vpn_invite/forms.py:325
msgid "Save"
msgstr "Guardar"
#: dns/forms.py:65 templates/dns/static_host_list.html:17
msgid "Hostname"
msgstr "Nombre de host"
#: dns/forms.py:66 templates/dns/static_host_list.html:18
#: templates/firewall/manage_redirect_rule.html:43
#: templates/firewall/manage_redirect_rule.html:67
#: templates/firewall/manage_redirect_rule.html:68
#: templates/wireguard/wireguard_status.html:45
msgid "IP Address"
msgstr "Dirección IP"
#: dns/forms.py:68 dns/forms.py:110
#: templates/firewall/manage_firewall_rule.html:382
#: templates/firewall/manage_redirect_rule.html:86
#: templates/wireguard/wireguard_manage_ip.html:43
#: templates/wireguard/wireguard_peer_list.html:185 user_manager/forms.py:48
#: user_manager/forms.py:181
msgid "Delete"
msgstr "Eliminar"
#: dns/forms.py:75
msgid "Static DNS"
msgstr "DNS estático"
#: dns/forms.py:111 templates/dns/static_host_list.html:68
#: templates/user_manager/peer_group_list.html:8 user_manager/forms.py:177
#: wireguard_peer/forms.py:10
msgid "Name"
msgstr "Nombre"
#: dns/forms.py:112 firewall/forms.py:111
#: templates/dns/static_host_list.html:69
#: templates/firewall/manage_redirect_rule.html:18
@@ -470,10 +620,6 @@ msgstr ""
"Si encuentra algún problema con la traducción o desea solicitar un nuevo "
"idioma, por favor abra un"
#: templates/access_denied.html:9
msgid "Access Denied"
msgstr "Acceso denegado"
#: templates/access_denied.html:12
msgid "Sorry, you do not have permission to access this page."
msgstr "Lo siento, no tienes permiso para acceder a esta página."
@@ -508,9 +654,10 @@ msgstr "Has cerrado sesión correctamente."
msgid "Login again"
msgstr "Iniciar sesión de nuevo"
#: templates/base.html:112 templates/dns/static_host_list.html:72
#: vpn_invite/forms.py:78 vpn_invite/forms.py:79 vpn_invite/forms.py:80
#: vpn_invite/forms.py:81 vpn_invite/forms.py:82
#: templates/base.html:112 templates/cluster/workers_list.html:9
#: templates/dns/static_host_list.html:72 vpn_invite/forms.py:78
#: vpn_invite/forms.py:79 vpn_invite/forms.py:80 vpn_invite/forms.py:81
#: vpn_invite/forms.py:82
msgid "Status"
msgstr "Estado"
@@ -523,11 +670,11 @@ msgstr "Gestión de usuarios"
msgid "VPN Invite"
msgstr "Invitación VPN"
#: templates/base.html:254
#: templates/base.html:263
msgid "Update Required"
msgstr "Actualización requerida"
#: templates/base.html:256
#: templates/base.html:265
msgid ""
"Your WireGuard settings have been modified. To apply these changes, please "
"update the configuration and reload the WireGuard service."
@@ -535,22 +682,78 @@ msgstr ""
"Tus ajustes de WireGuard han sido modificados. Para aplicar los cambios, "
"actualiza la configuración y recarga el servicio WireGuard."
#: templates/base.html:265
#: templates/base.html:274
msgid "Update and restart service"
msgstr "Actualizar y reiniciar servicio"
#: templates/base.html:273
#: templates/base.html:282
msgid "Update and reload service"
msgstr "Actualizar y recargar servicio"
#: templates/base.html:286
#: templates/base.html:295
msgid "Update Available"
msgstr "Actualización disponible"
#: templates/base.html:288
#: templates/base.html:297
msgid "Version"
msgstr "Versión"
#: templates/cluster/workers_list.html:11
msgid "Location"
msgstr "Ubicación"
#: templates/cluster/workers_list.html:12
msgid "Last Seen"
msgstr "Visto por última vez"
#: templates/cluster/workers_list.html:13
msgid "Config Version"
msgstr "Versión de configuración"
#: templates/cluster/workers_list.html:14
msgid "Options"
msgstr "Opciones"
#: templates/cluster/workers_list.html:26 vpn_invite/forms.py:49
msgid "Disabled"
msgstr "Deshabilitado"
#: templates/cluster/workers_list.html:33
msgid "IP Lock Enabled"
msgstr "Bloqueo de IP habilitado"
#: templates/cluster/workers_list.html:36
#: templates/cluster/workers_list.html:43
msgid "Not set"
msgstr "No establecido"
#: templates/cluster/workers_list.html:50
msgid "Never"
msgstr ""
#: templates/cluster/workers_list.html:57
msgid "Config Pending"
msgstr "Configuración pendiente"
#: templates/cluster/workers_list.html:65
msgid "Force Reload"
msgstr ""
#: templates/cluster/workers_list.html:70
msgid "Force Restart"
msgstr ""
#: templates/cluster/workers_list.html:74
#: templates/dns/static_host_list.html:74 templates/user_manager/list.html:53
#: templates/user_manager/peer_group_list.html:35
#: templates/wireguard/wireguard_peer_list.html:196
msgid "Edit"
msgstr "Editar"
#: templates/cluster/workers_list.html:79
msgid "No workers configured"
msgstr ""
#: templates/console/console.html:12
msgid "Clear"
msgstr "Limpiar"
@@ -591,12 +794,6 @@ msgstr "Última actualización"
msgid "Update"
msgstr "Actualizar"
#: templates/dns/static_host_list.html:74 templates/user_manager/list.html:53
#: templates/user_manager/peer_group_list.html:35
#: templates/wireguard/wireguard_peer_list.html:196
msgid "Edit"
msgstr "Editar"
#: templates/dns/static_host_list.html:116
msgid "Add Filter List"
msgstr "Añadir lista de filtro"
@@ -1575,14 +1772,6 @@ msgstr ""
msgid "Please type the username to proceed."
msgstr "Por favor escribe el nombre de usuario para continuar."
#: vpn_invite/forms.py:49 vpn_invite/forms.py:294
msgid "Enabled"
msgstr "Habilitado"
#: vpn_invite/forms.py:49
msgid "Disabled"
msgstr "Deshabilitado"
#: vpn_invite/forms.py:68 vpn_invite/forms.py:69 vpn_invite/forms.py:70
#: vpn_invite/forms.py:71 vpn_invite/forms.py:72
msgid "URL"