4
0
Эх сурвалжийг харах

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 3 долоо хоног өмнө
parent
commit
97f22ced8c

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

@@ -422,7 +422,7 @@
     "clearFilters": "Clear filters",
     "clearFilters": "Clear filters",
     "connection": "Connection",
     "connection": "Connection",
     "colBand": "Band",
     "colBand": "Band",
-    "colDevice": "Device",
+    "colDevice": "Client",
     "colFirstSeen": "First seen",
     "colFirstSeen": "First seen",
     "colLastSeen": "Last seen",
     "colLastSeen": "Last seen",
     "colSignal": "Signal",
     "colSignal": "Signal",
@@ -446,11 +446,11 @@
       "unfiltered": "Unfiltered",
       "unfiltered": "Unfiltered",
       "connectedTo": "Connected to"
       "connectedTo": "Connected to"
     },
     },
-    "deviceType": "Device type",
-    "emptyDesc": "No device matches these filters.",
+    "deviceType": "Client type",
+    "emptyDesc": "No client matches these filters.",
     "emptyTitle": "Nothing here",
     "emptyTitle": "Nothing here",
     "filterByBand": "Filter by band",
     "filterByBand": "Filter by band",
-    "filterByRouter": "Filter by router",
+    "filterByRouter": "Filter by unit",
     "fleet": "Fleet",
     "fleet": "Fleet",
     "gridView": "Grid view",
     "gridView": "Grid view",
     "groups": {
     "groups": {
@@ -1269,7 +1269,7 @@
     "colTraffic": "Traffic",
     "colTraffic": "Traffic",
     "colUptime": "Uptime",
     "colUptime": "Uptime",
     "comparison": "Comparison",
     "comparison": "Comparison",
-    "comparisonSub": "Current metrics per router",
+    "comparisonSub": "Current metrics per unit",
     "firmwareAvailable": "Available: {{version}}",
     "firmwareAvailable": "Available: {{version}}",
     "firmwareOutdated": "Outdated",
     "firmwareOutdated": "Outdated",
     "firmwareTargetHint": "Target: {{target}}",
     "firmwareTargetHint": "Target: {{target}}",
@@ -1277,8 +1277,8 @@
     "highTemp": "High temperature: {{temp}} · ventilation recommended",
     "highTemp": "High temperature: {{temp}} · ventilation recommended",
     "mainGateway": "Main gateway",
     "mainGateway": "Main gateway",
     "sortBy": "Sort by {{column}}",
     "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}}",
     "tempThreshold": "Threshold: {{value}}",
     "traffic24h": "Traffic 24 h",
     "traffic24h": "Traffic 24 h",
     "trafficAria": "{{name}} traffic over the last 24 hours",
     "trafficAria": "{{name}} traffic over the last 24 hours",
@@ -1392,7 +1392,7 @@
     }
     }
   },
   },
   "reports": {
   "reports": {
-    "availability": "Availability per router",
+    "availability": "Availability per unit",
     "coverage": "{{days}}/{{total}} days with data",
     "coverage": "{{days}}/{{total}} days with data",
     "coverageHours": "{{days}}/{{total}} hours with data",
     "coverageHours": "{{days}}/{{total}} hours with data",
     "downNone": "No gaps",
     "downNone": "No gaps",
@@ -1400,7 +1400,7 @@
     "downloadCsv": "Download as CSV",
     "downloadCsv": "Download as CSV",
     "empty": "No data for this period yet. Today is measured live; history is filled in by the nightly rollup.",
     "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.",
     "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",
     "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.",
     "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",
     "insufficient": "Not enough data",
@@ -1417,10 +1417,10 @@
     "totalDown": "Total time without data",
     "totalDown": "Total time without data",
     "windowDay": "the last {{n}} days",
     "windowDay": "the last {{n}} days",
     "windowHour": "the last {{n}} hours",
     "windowHour": "the last {{n}} hours",
-    "worstRouter": "Router with most gaps",
+    "worstRouter": "Unit with most gaps",
     "presence": {
     "presence": {
       "title": "Client 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",
       "range": "Range",
       "days": "{{n}} days",
       "days": "{{n}} days",
       "search": "Search client…",
       "search": "Search client…",
@@ -1505,7 +1505,7 @@
     "tunnel": "Tunnel",
     "tunnel": "Tunnel",
     "weakSignal": "Weak signal",
     "weakSignal": "Weak signal",
     "zoomControls": "Map zoom controls",
     "zoomControls": "Map zoom controls",
-    "tagDevices": "Tag devices",
+    "tagDevices": "Tag clients",
     "tagThis": "Tag",
     "tagThis": "Tag",
     "zoomIn": "Zoom in",
     "zoomIn": "Zoom in",
     "zoomOut": "Zoom out",
     "zoomOut": "Zoom out",
@@ -1859,12 +1859,12 @@
     },
     },
     "overrides": {
     "overrides": {
       "title": "Topology — manual tagging",
       "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.",
       "empty": "No overrides yet. Add the first one with the \"Add\" button.",
       "add": "Add",
       "add": "Add",
       "adding": "Adding…",
       "adding": "Adding…",
-      "addDevice": "Tag another device",
+      "addDevice": "Tag another client",
       "mac": "MAC or unit id (when it has no MAC)",
       "mac": "MAC or unit id (when it has no MAC)",
       "name": "Name (optional)",
       "name": "Name (optional)",
       "kind": {
       "kind": {
@@ -1877,9 +1877,9 @@
       "kindAttach": "Attach",
       "kindAttach": "Attach",
       "parent": "Attach to",
       "parent": "Attach to",
       "parentPlaceholder": "Select target…",
       "parentPlaceholder": "Select target…",
-      "parentRouters": "Routers",
+      "parentRouters": "Units",
       "parentPorts": "Ports",
       "parentPorts": "Ports",
-      "parentDevices": "Devices",
+      "parentDevices": "Clients",
       "enabled": "Enabled",
       "enabled": "Enabled",
       "edit": "Edit",
       "edit": "Edit",
       "delete": "Delete",
       "delete": "Delete",

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

@@ -422,7 +422,7 @@
     "clearFilters": "Limpiar filtros",
     "clearFilters": "Limpiar filtros",
     "connection": "Conexión",
     "connection": "Conexión",
     "colBand": "Banda",
     "colBand": "Banda",
-    "colDevice": "Dispositivo",
+    "colDevice": "Cliente",
     "colFirstSeen": "Primera vez",
     "colFirstSeen": "Primera vez",
     "colLastSeen": "Última vez",
     "colLastSeen": "Última vez",
     "colSignal": "Señal",
     "colSignal": "Señal",
@@ -446,11 +446,11 @@
       "unfiltered": "Sin filtrar",
       "unfiltered": "Sin filtrar",
       "connectedTo": "Conectado a"
       "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í",
     "emptyTitle": "Nada por aquí",
     "filterByBand": "Filtrar por banda",
     "filterByBand": "Filtrar por banda",
-    "filterByRouter": "Filtrar por router",
+    "filterByRouter": "Filtrar por equipo",
     "fleet": "Flota",
     "fleet": "Flota",
     "gridView": "Vista de tarjetas",
     "gridView": "Vista de tarjetas",
     "groups": {
     "groups": {
@@ -1392,7 +1392,7 @@
     }
     }
   },
   },
   "reports": {
   "reports": {
-    "availability": "Disponibilidad por router",
+    "availability": "Disponibilidad por equipo",
     "coverage": "{{days}}/{{total}} días con datos",
     "coverage": "{{days}}/{{total}} días con datos",
     "coverageHours": "{{days}}/{{total}} horas con datos",
     "coverageHours": "{{days}}/{{total}} horas con datos",
     "downNone": "Sin huecos",
     "downNone": "Sin huecos",
@@ -1400,7 +1400,7 @@
     "downloadCsv": "Descargar como CSV",
     "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.",
     "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.",
     "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",
     "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.",
     "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",
     "insufficient": "Sin datos suficientes",
@@ -1417,10 +1417,10 @@
     "totalDown": "Tiempo sin datos total",
     "totalDown": "Tiempo sin datos total",
     "windowDay": "los últimos {{n}} días",
     "windowDay": "los últimos {{n}} días",
     "windowHour": "las últimas {{n}} horas",
     "windowHour": "las últimas {{n}} horas",
-    "worstRouter": "Router con más huecos",
+    "worstRouter": "Equipo con más huecos",
     "presence": {
     "presence": {
       "title": "Presencia de clientes",
       "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",
       "range": "Rango",
       "days": "{{n}} días",
       "days": "{{n}} días",
       "search": "Buscar cliente…",
       "search": "Buscar cliente…",
@@ -1505,7 +1505,7 @@
     "tunnel": "Túnel",
     "tunnel": "Túnel",
     "weakSignal": "Señal débil",
     "weakSignal": "Señal débil",
     "zoomControls": "Controles de zoom del mapa",
     "zoomControls": "Controles de zoom del mapa",
-    "tagDevices": "Etiquetar dispositivos",
+    "tagDevices": "Etiquetar clientes",
     "tagThis": "Etiquetar",
     "tagThis": "Etiquetar",
     "zoomIn": "Acercar",
     "zoomIn": "Acercar",
     "zoomOut": "Alejar",
     "zoomOut": "Alejar",
@@ -1859,12 +1859,12 @@
     },
     },
     "overrides": {
     "overrides": {
       "title": "Topología — etiquetado manual",
       "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».",
       "empty": "Sin overrides todavía. Añade el primero con el botón «Añadir».",
       "add": "Añadir",
       "add": "Añadir",
       "adding": "Añadiendo…",
       "adding": "Añadiendo…",
-      "addDevice": "Etiquetar otro equipo",
+      "addDevice": "Etiquetar otro cliente",
       "mac": "MAC o id de la unidad (si no tiene MAC)",
       "mac": "MAC o id de la unidad (si no tiene MAC)",
       "name": "Nombre (opcional)",
       "name": "Nombre (opcional)",
       "kind": {
       "kind": {
@@ -1877,9 +1877,9 @@
       "kindAttach": "Asignar",
       "kindAttach": "Asignar",
       "parent": "Dónde cuelga",
       "parent": "Dónde cuelga",
       "parentPlaceholder": "Selecciona destino…",
       "parentPlaceholder": "Selecciona destino…",
-      "parentRouters": "Routers",
+      "parentRouters": "Unidades",
       "parentPorts": "Puertos",
       "parentPorts": "Puertos",
-      "parentDevices": "Dispositivos",
+      "parentDevices": "Clientes",
       "enabled": "Activado",
       "enabled": "Activado",
       "edit": "Editar",
       "edit": "Editar",
       "delete": "Eliminar",
       "delete": "Eliminar",