SPB Git

Repository Public

nodes.ts 7.4 KB 92 lines typescript

1import type { Shape } from "../types";2import type { nodes as fr } from "../fr/nodes";34export const nodes: Shape<typeof fr> = {5  title: "Nodes",6  sub: "Inventory and latest state reported by the agents.",7  unset: "not set", neverSeen: "never seen", noAgent: "no agent", noMatch: "No node matches these filters.", morePages: "(more follow)",8  count: { one: "{count} node shown", other: "{count} nodes shown" },9  selected: { one: "{count} selected", other: "{count} selected" },10  openAlerts: { one: "{count} open alert", other: "{count} open alerts" },11  select: "Select {alias}", clearSelection: "Clear selection",12  sparkLabel: "CPU usage of {alias} over the last hour", sparkNone: "No CPU series available for this node.",13  state: { maintenance: "Maintenance", retired: "Retired" },14  col: {15    alias: "Alias", kind: "Kind", site: "Site", role: "Role", tags: "Tags", hardware: "Chip · model", cpu: "CPU", load: "Load 1 min", memory: "Memory", disk: "Disk",16    alerts: "Alerts", lastContact: "Last contact", agent: "Agent",17  },18  field: { environment: "Environment", tagsHint: "Separated by commas or spaces." },19  sort: { alias: "Alias", site: "Site", role: "Role", last_seen: "Last contact", cpu: "CPU", memory: "Memory", disk: "Disk" },20  view: { label: "View", table: "Table", grid: "Cards" },21  filters: {22    label: "Node filters", search: "Search a node (alias, host, tag)…", allSites: "All sites", allRoles: "All roles", allTags: "All tags", allKinds: "All kinds",23    freshness: "Freshness", anyFreshness: "Any freshness", maintenance: "Maintenance", inMaintenance: "In maintenance", notInMaintenance: "Not in maintenance", sort: "Sort by (server)",24    order: "Order", asc: "Ascending", desc: "Descending", retired: "Include retired nodes",25    clear: { one: "Clear {count} filter", other: "Clear {count} filters" },26  },27  empty: {28    title: "No node yet", body: "A node appears here as soon as an agent enrolls on the machine, or after a manual registration. Nothing is shown until something has been observed.",29    enroll: "Enroll an agent", askAdmin: "Ask an administrator to issue an enrollment token (Settings → Agents).",30  },31  register: {32    open: "Register a node", title: "Register a node manually", body: "The node stays “offline” and without measurements until an agent enrolls on it.",33    submit: "Register", done: "Node {alias} registered", aliasTaken: "This alias is already in use.",34  },35  compare: {36    open: "Compare", hint: "Select {min} to {max} nodes to compare them.", title: "Node comparison", sub: "{count} nodes side by side", back: "Back to nodes",37    needTwo: "Not enough nodes selected", pick: "Pick nodes", specs: "Specifications", property: "Property", unavailable: "unavailable", charts: "Overlaid charts", metric: "Metric",38    missing: "Nodes without data for this period", noData: "No point received for this metric over the period.",39  },40  detail: { title: "Node", back: "All nodes", tabs: "Node sections" },41  tab: { overview: "Overview", metrics: "Metrics", processes: "Processes", services: "Services", storage: "Storage and network", agent: "Agent", health: "Health", maintenance: "Maintenance" },42  actions: {43    inventory: "Refresh inventory", menu: "Actions", notEnabled: "not enabled", missing: "missing permission {permission}", none: "No node action in the catalog.",44    catalogNotAvailable: "The action catalog is not available on this server yet.", catalogError: "The action catalog could not be loaded.",45  },46  hw: {47    title: "Hardware and system", model: "Model", chip: "Chip", arch: "Architecture", cpuCores: "CPU cores", perfLevels: "Performance levels", gpuCores: "GPU cores", memory: "Memory",48    storage: "Storage", os: "System", osBuild: "Build", inventoryAt: "Inventory taken",49  },50  identity: {51    title: "Identity", hostname: "Hostname", registeredVia: "Registered by", id: "Identifier",52    via: { manual: "manual entry", agent: "agent enrollment" },53  },54  private: { ip: "Primary IP address", serial: "Serial number", uuid: "Hardware UUID", requires: "requires the permission nodes.private.read" },55  latest: { title: "Latest measurements", observed: "Observed at", none: "No measurement received for this node.", other: "Other" },56  metrics: { title: "Time series", family: "Metric family", label: "Label (volume, interface, target)", allLabels: "All labels", resolution: "Resolution: {resolution}" },57  proc: {58    title: "Processes", name: "Process", user: "User", command: "Command", noCommand: "not reported", none: "No process reported.",59    hint: "Agents report at most 15 processes, the heaviest ones; command lines are redacted.", unavailable: "The list shown may be missing or old.",60  },61  svc: { title: "Services on this node", manager: "Manager", ports: "Ports", restarts: "Restarts", health: "Health", none: "No service observed on this node." },62  vol: {63    title: "Volumes", mount: "Mount point", fs: "File system", usage: "Usage", usageOf: "Usage of {mount}", used: "Used", total: "Size", gone: "Gone",64    none: "No volume observed.", smartHint: "SMART: overall state reported by the system when observable; detailed attributes are not collected.",65    kind: { internal: "Internal", external: "External", network: "Network" },66  },67  net: {68    title: "Network interfaces", link: "Link", up: "Up", down: "Down", speed: "Link speed", addresses: "Addresses", rx: "Receive", tx: "Transmit", none: "No interface observed.",69    kind: { ethernet: "Ethernet", wifi: "Wi-Fi", wireguard: "WireGuard", tailscale: "Tailscale", loopback: "Loopback", other: "Other" },70  },71  agent: {72    title: "Agent", none: "No agent enrolled", noneBody: "This node was registered manually or its agent never enrolled: no measurement and no action is possible.",73    lastSeen: "Seen at", version: "Version", os: "Platform", enrolled: "Enrolled", capabilities: "Declared capabilities", noCapabilities: "none", overheadCpu: "CPU used by the agent",74    overheadRss: "Agent memory", certSerial: "Certificate serial", certFingerprint: "SHA-256 fingerprint", certExpires: "Certificate expiry", id: "Agent identifier",75    revoked: "Agent revoked on {time}.",76  },77  health: {78    title: "Health history", uptime: "Uptime", bucket: "One segment = {duration}", start: "Start", end: "End", alerts: "Firing alerts", none: "No history for this period.",79    view: "Presentation", strip: "Strip", stripLabel: "Health strip. {summary}", shapeHint: "Segment height follows the state: full = up, low = down, line = unknown.",80    state: { up: "Up", degraded: "Degraded", down: "Down", maintenance: "Maintenance", unknown: "Unknown" },81  },82  maintenance: {83    title: "Maintenance mode", mode: "Mode", on: "In maintenance", off: "Not in maintenance", reason: "Reason", noReason: "no reason given", activeWindow: "Active window", window: "View the maintenance window",84    noWindow: "none", hint: "Maintenance mode is set by the “node.maintenance.set” action or by a scheduled window.", calendar: "Open the maintenance calendar of this node", notes: "Maintenance notes",85  },86  edit: { title: "Edit {alias}", body: "The alias is an editable attribute; the identity of the node remains its hardware UUID.", done: "Node updated" },87  retire: {88    open: "Retire", title: "Retire {alias}?", body: "The node leaves the lists and its agent is no longer accepted. History is kept. A passkey verification will be requested.",89    confirm: "Retire node", done: "Node {alias} retired", retired: "This node is retired: it is kept for history only.",90  },91};92
Files main
Menu

Theme