Procházet zdrojové kódy

fix(ui): use unit and client in the labels the reporter listed

Fleet/Unit convention from #1896 applied to the Fleet summary, comparison caption, fleet filter, Reports and the tagging picker, and Device becomes Client in the clients table, the type filter and the tagging panel. Both locales.

Fixes #1980
Nacho před 3 týdny
rodič
revize
97f22ced8c

+ 17 - 17
app/public/locales/en/translation.json

@@ -422,7 +422,7 @@
     "clearFilters": "Clear filters",
     "connection": "Connection",
     "colBand": "Band",
-    "colDevice": "Device",
+    "colDevice": "Client",
     "colFirstSeen": "First seen",
     "colLastSeen": "Last seen",
     "colSignal": "Signal",
@@ -446,11 +446,11 @@
       "unfiltered": "Unfiltered",
       "connectedTo": "Connected to"
     },
-    "deviceType": "Device type",
-    "emptyDesc": "No device matches these filters.",
+    "deviceType": "Client type",
+    "emptyDesc": "No client matches these filters.",
     "emptyTitle": "Nothing here",
     "filterByBand": "Filter by band",
-    "filterByRouter": "Filter by router",
+    "filterByRouter": "Filter by unit",
     "fleet": "Fleet",
     "gridView": "Grid view",
     "groups": {
@@ -1269,7 +1269,7 @@
     "colTraffic": "Traffic",
     "colUptime": "Uptime",
     "comparison": "Comparison",
-    "comparisonSub": "Current metrics per router",
+    "comparisonSub": "Current metrics per unit",
     "firmwareAvailable": "Available: {{version}}",
     "firmwareOutdated": "Outdated",
     "firmwareTargetHint": "Target: {{target}}",
@@ -1277,8 +1277,8 @@
     "highTemp": "High temperature: {{temp}} · ventilation recommended",
     "mainGateway": "Main gateway",
     "sortBy": "Sort by {{column}}",
-    "statusAria": "{{online}} routers online, {{warnings}} with warnings",
-    "summary": "{{total}} routers · {{online}} online · {{warnings}} with warnings",
+    "statusAria": "{{online}} units online, {{warnings}} with warnings",
+    "summary": "{{total}} units · {{online}} online · {{warnings}} with warnings",
     "tempThreshold": "Threshold: {{value}}",
     "traffic24h": "Traffic 24 h",
     "trafficAria": "{{name}} traffic over the last 24 hours",
@@ -1392,7 +1392,7 @@
     }
   },
   "reports": {
-    "availability": "Availability per router",
+    "availability": "Availability per unit",
     "coverage": "{{days}}/{{total}} days with data",
     "coverageHours": "{{days}}/{{total}} hours with data",
     "downNone": "No gaps",
@@ -1400,7 +1400,7 @@
     "downloadCsv": "Download as CSV",
     "empty": "No data for this period yet. Today is measured live; history is filled in by the nightly rollup.",
     "error": "Could not load the report. Check the connection and try again.",
-    "explain": "Minutes with data received from each router during {{window}} (5-minute resolution). 100% means no gaps.",
+    "explain": "Minutes with data received from each unit during {{window}} (5-minute resolution). 100% means no gaps.",
     "fleetAvg": "Fleet average",
     "footnote": "Availability = minutes with data received (5-minute buckets) over the measurable time in the window; the current period is shown as partial. A gap usually means the router was down, but it can also mean the monitor had no data. Green: at least 99%. Amber: at least 95%. Red: below 95%, needs attention.",
     "insufficient": "Not enough data",
@@ -1417,10 +1417,10 @@
     "totalDown": "Total time without data",
     "windowDay": "the last {{n}} days",
     "windowHour": "the last {{n}} hours",
-    "worstRouter": "Router with most gaps",
+    "worstRouter": "Unit with most gaps",
     "presence": {
       "title": "Client presence",
-      "caption": "Online spans of one client in the selected range, with the router it was on. device_events history, with the retention configured in Settings.",
+      "caption": "Online spans of one client in the selected range, with the unit it was on. device_events history, with the retention configured in Settings.",
       "range": "Range",
       "days": "{{n}} days",
       "search": "Search client…",
@@ -1505,7 +1505,7 @@
     "tunnel": "Tunnel",
     "weakSignal": "Weak signal",
     "zoomControls": "Map zoom controls",
-    "tagDevices": "Tag devices",
+    "tagDevices": "Tag clients",
     "tagThis": "Tag",
     "zoomIn": "Zoom in",
     "zoomOut": "Zoom out",
@@ -1859,12 +1859,12 @@
     },
     "overrides": {
       "title": "Topology — manual tagging",
-      "caption": "Manual layer on top of auto-discovery: tag a device as hypervisor or switch, or attach a device to a host. Changes show up on the map after refresh.",
-      "hint": "Auto-discovery (FDB/LLDP) can't always tell which real host sits behind a shared port. Tagging by hand clears it up: a hypervisor nests its CTs under it, a switch manages its port, and \"attach\" hangs a device from a host.",
+      "caption": "Manual layer on top of auto-discovery: tag a client as hypervisor or switch, or attach a client to a host. Changes show up on the map after refresh.",
+      "hint": "Auto-discovery (FDB/LLDP) can't always tell which real host sits behind a shared port. Tagging by hand clears it up: a hypervisor nests its CTs under it, a switch manages its port, and \"attach\" hangs a client from a host.",
       "empty": "No overrides yet. Add the first one with the \"Add\" button.",
       "add": "Add",
       "adding": "Adding…",
-      "addDevice": "Tag another device",
+      "addDevice": "Tag another client",
       "mac": "MAC or unit id (when it has no MAC)",
       "name": "Name (optional)",
       "kind": {
@@ -1877,9 +1877,9 @@
       "kindAttach": "Attach",
       "parent": "Attach to",
       "parentPlaceholder": "Select target…",
-      "parentRouters": "Routers",
+      "parentRouters": "Units",
       "parentPorts": "Ports",
-      "parentDevices": "Devices",
+      "parentDevices": "Clients",
       "enabled": "Enabled",
       "edit": "Edit",
       "delete": "Delete",

+ 14 - 14
app/public/locales/es/translation.json

@@ -422,7 +422,7 @@
     "clearFilters": "Limpiar filtros",
     "connection": "Conexión",
     "colBand": "Banda",
-    "colDevice": "Dispositivo",
+    "colDevice": "Cliente",
     "colFirstSeen": "Primera vez",
     "colLastSeen": "Última vez",
     "colSignal": "Señal",
@@ -446,11 +446,11 @@
       "unfiltered": "Sin filtrar",
       "connectedTo": "Conectado a"
     },
-    "deviceType": "Tipo de dispositivo",
-    "emptyDesc": "Ningún dispositivo coincide con estos filtros.",
+    "deviceType": "Tipo de cliente",
+    "emptyDesc": "Ningún cliente coincide con estos filtros.",
     "emptyTitle": "Nada por aquí",
     "filterByBand": "Filtrar por banda",
-    "filterByRouter": "Filtrar por router",
+    "filterByRouter": "Filtrar por equipo",
     "fleet": "Flota",
     "gridView": "Vista de tarjetas",
     "groups": {
@@ -1392,7 +1392,7 @@
     }
   },
   "reports": {
-    "availability": "Disponibilidad por router",
+    "availability": "Disponibilidad por equipo",
     "coverage": "{{days}}/{{total}} días con datos",
     "coverageHours": "{{days}}/{{total}} horas con datos",
     "downNone": "Sin huecos",
@@ -1400,7 +1400,7 @@
     "downloadCsv": "Descargar como CSV",
     "empty": "Todavía no hay datos para este período. El día en curso se mide en vivo; el histórico lo rellena el rollup nocturno.",
     "error": "No se pudo cargar el informe. Comprueba la conexión e inténtalo de nuevo.",
-    "explain": "Minutos con datos recibidos de cada router durante {{window}} (resolución de 5 min). 100% significa sin huecos.",
+    "explain": "Minutos con datos recibidos de cada equipo durante {{window}} (resolución de 5 min). 100% significa sin huecos.",
     "fleetAvg": "Media de la red",
     "footnote": "Disponibilidad = minutos con datos recibidos (buckets de 5 min) sobre el tiempo medible de la ventana; el período en curso se muestra parcial. Un hueco suele ser el router caído, pero también puede ser el monitor sin datos. Verde: al menos 99%. Ámbar: al menos 95%. Rojo: menos del 95%, requiere atención.",
     "insufficient": "Sin datos suficientes",
@@ -1417,10 +1417,10 @@
     "totalDown": "Tiempo sin datos total",
     "windowDay": "los últimos {{n}} días",
     "windowHour": "las últimas {{n}} horas",
-    "worstRouter": "Router con más huecos",
+    "worstRouter": "Equipo con más huecos",
     "presence": {
       "title": "Presencia de clientes",
-      "caption": "Tramos online de un cliente en el rango elegido, con el router donde estuvo. Histórico de device_events con la retención configurada en Ajustes.",
+      "caption": "Tramos online de un cliente en el rango elegido, con el equipo donde estuvo. Histórico de device_events con la retención configurada en Ajustes.",
       "range": "Rango",
       "days": "{{n}} días",
       "search": "Buscar cliente…",
@@ -1505,7 +1505,7 @@
     "tunnel": "Túnel",
     "weakSignal": "Señal débil",
     "zoomControls": "Controles de zoom del mapa",
-    "tagDevices": "Etiquetar dispositivos",
+    "tagDevices": "Etiquetar clientes",
     "tagThis": "Etiquetar",
     "zoomIn": "Acercar",
     "zoomOut": "Alejar",
@@ -1859,12 +1859,12 @@
     },
     "overrides": {
       "title": "Topología — etiquetado manual",
-      "caption": "Capa manual sobre el autodiscover: marca un equipo como hipervisor o switch, o asigna un dispositivo a un host. Los cambios se aplican en el mapa al refrescar.",
-      "hint": "El autodiscover (FDB/LLDP) no siempre sabe qué host real hay tras un puerto compartido. Etiquetar a mano lo aclara: un hipervisor agrupa sus CTs bajo él, un switch gestiona su puerto y «asignar» cuelga un dispositivo de un host.",
+      "caption": "Capa manual sobre el autodiscover: marca un equipo como hipervisor o switch, o asigna un cliente a un host. Los cambios se aplican en el mapa al refrescar.",
+      "hint": "El autodiscover (FDB/LLDP) no siempre sabe qué host real hay tras un puerto compartido. Etiquetar a mano lo aclara: un hipervisor agrupa sus CTs bajo él, un switch gestiona su puerto y «asignar» cuelga un cliente de un host.",
       "empty": "Sin overrides todavía. Añade el primero con el botón «Añadir».",
       "add": "Añadir",
       "adding": "Añadiendo…",
-      "addDevice": "Etiquetar otro equipo",
+      "addDevice": "Etiquetar otro cliente",
       "mac": "MAC o id de la unidad (si no tiene MAC)",
       "name": "Nombre (opcional)",
       "kind": {
@@ -1877,9 +1877,9 @@
       "kindAttach": "Asignar",
       "parent": "Dónde cuelga",
       "parentPlaceholder": "Selecciona destino…",
-      "parentRouters": "Routers",
+      "parentRouters": "Unidades",
       "parentPorts": "Puertos",
-      "parentDevices": "Dispositivos",
+      "parentDevices": "Clientes",
       "enabled": "Activado",
       "edit": "Editar",
       "delete": "Eliminar",