SPB Git

Repository Public

services.ts 4.7 KB 145 lines typescript

1/**2 * =============================================================================3 *                  SP BOUCHER | INFRASTRUCTURE & AUTOMATION4 *             ARTIFICIAL INTELLIGENCE • FINANCE • ENGINEERING5 * =============================================================================6 *7 * Project          : MacLustr Command Center (MCC)8 * File             : apps/web/src/i18n/en/services.ts9 * Module           : i18n10 * Repository       : https://git.spboucher.ai/maclustr-command-center11 * Project Website  : https://clustr.spboucher.ai12 * Created          : 2026-11-1813 * Last Modified    : 2026-11-1814 *15 * Author           : Simon-Pierre Boucher16 * Position         : Professor of Finance17 * Institution      : Université du Québec en Outaouais (UQO)18 * Organization     : SP Boucher19 * Website          : https://spboucher.ai20 * Git              : https://git.spboucher.ai21 *22 * Preferred Contact: admin@spboucher.ai23 * Technical Contact: dev@spboucher.ai24 * Security/Admin   : admin@spboucher.ai25 *26 * Copyright (c) 202627 * Simon-Pierre Boucher28 * All rights reserved where applicable. This file is governed by the29 * applicable project license, copyright notices and relevant law.30 * Existing third-party rights and notices remain unaffected.31 *32 * License          : None specified (no license file in this repository)33 *34 * Do not embed credentials, private keys, access tokens,35 * certificates or confidential personal information.36 *37 * =============================================================================38 * END OF SP BOUCHER SOURCE HEADER39 * =============================================================================40 */4142import type { Shape } from "../types";43import type { services as fr } from "../fr/services";4445export const services: Shape<typeof fr> = {46  title: "Services",47  sub: "Services observed by the agents: PM2, launchd, systemd, Docker.",48  filters: "Service filters",49  filter: {50    q: "Search a service",51  },52  count: {53    one: "{count} service",54    other: "{count} services",55  },56  countMore: "shown; more are available below.",57  gone: "Gone",58  goneSince: "Gone since {time}",59  noPorts: "none",60  noUrl: "none",61  unmanagedNote: "This service is not marked “managed”: the server will refuse restart, start and stop.",62  unmanagedAdmin: "You can mark it managed with “Edit”.",63  unmanagedAsk: "An administrator (settings.manage) can mark it managed.",64  col: {65    name: "Service",66    app: "App",67    manager: "Manager",68    health: "Health",69    restarts: "Restarts",70    ports: "Ports",71    url: "Public URL",72    cpu: "CPU",73    mem: "Memory",74    uptime: "Uptime",75    managed: "Managed",76    freshness: "Freshness",77    lastSeen: "Last seen",78  },79  managed: {80    yes: "Managed",81    no: "Not managed",82  },83  health: {84    none: "Health not checked",85    checked: "checked",86    neverChecked: "never checked",87  },88  empty: {89    title: "No service observed",90    body: "Services appear as soon as an agent reports its inventory. Check that at least one agent is enrolled and online.",91    filteredTitle: "No service matches the filters",92    filteredBody: "Widen or reset the filters.",93  },94  action: {95    restart: "Restart",96    start: "Start",97    stop: "Stop",98    healthCheck: "Health check",99  },100  detail: {101    title: "Service",102    observed: "Observed at",103    identity: "Identity",104    runtime: "Runtime",105    version: "Version",106    pid: "PID",107    firstSeen: "First seen",108    meta: "Metadata",109  },110  edit: {111    open: "Edit",112    title: "Edit {name}",113    body: "Settings held by the server, not by the agent.",114    managed: "Managed service",115    managedHint: "Allows restart, start and stop actions, provided the agent also permits them in its local allowlist.",116    urlHint: "Public http(s) address of the service. Leave empty if it has none.",117    urlInvalid: "An http:// or https:// address is expected.",118  },119  logs: {120    title: "Log",121    tail: "Tail the log",122    again: "Tail the log again",123    note: "Bounded read (at most 500 lines, 256 KiB), redacted by the agent before sending, run as an audited action. Requires the permission logs.read.",124    emptyTitle: "No read requested",125    emptyBody: "The log is not streamed continuously: start a read to get the latest lines.",126    openAction: "Open the action",127    waiting: "Waiting for lines…",128    noLines: "The read returned no line.",129  },130  history: {131    title: "History",132    emptyTitle: "No event",133    emptyBody: "Restarts, state changes, actions and deployments will appear here.",134    viewAction: "view the action",135    kind: {136      restart: "Restart",137      state_change: "State change",138      action: "Action",139      deploy: "Deployment",140      appeared: "Appeared",141      disappeared: "Disappeared",142    },143  },144};145
Files main
Menu

Theme