SPB Git

Repository Public

maintenance.ts 9.0 KB 114 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/maintenance.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 { maintenance as fr } from "../fr/maintenance";4445export const maintenance: Shape<typeof fr> = {46  title: "Maintenance",47  sub: "Calendar of maintenance windows and intervention notes.",48  tabs: { calendar: "Calendar", notes: "Notes" },49  calendar: {50    navigate: "Calendar navigation", view: "View", views: { month: "Month", week: "Week", agenda: "Agenda" },51    prev: { month: "Previous month", week: "Previous week", agenda: "Previous 30 days" },52    next: { month: "Next month", week: "Next week", agenda: "Next 30 days" },53    new: "New window", newOn: "New window on {day}", newOnShort: "Schedule on this day",54    zone: "Display time zone", zoneLocal: "Browser ({zone})", zoneShown: "Times shown in: {zone}",55    filterNode: "Node", allNodes: "All nodes", filterStatus: "Status", allStatuses: "All statuses",56    ics: "Export (.ics)", icsHelp: "The iCalendar export requires your session: it is not a public subscription URL.",57    truncated: "More than 1,000 occurrences in this period: the list is truncated by the server. Narrow the period or filter.",58    legend: "Category legend", recurring: "Recurring", hasNotes: "Has notes",59    monthGrid: "Calendar of {month}", weekBody: "Hour grid of the week",60    windowCount: { one: "{count} maintenance window", other: "{count} maintenance windows" },61    nodeCount: { one: "{count} node", other: "{count} nodes" },62    noteCount: { one: "{count} note", other: "{count} notes" },63    more: "+ {count} more", continues: "continued", continuesAfter: "continues",64    flagMode: "maintenance mode", flagSilence: "alerts silenced",65    emptyTitle: "No maintenance window in this period", emptyBody: "Schedule a window to announce an intervention, put nodes in maintenance mode and silence their alerts.",66    dayEmpty: "No window on this day.", dayEmptyHint: "Double-click a day, or press Enter in the grid, to schedule a window.",67    keysMove: "change day", keysMonth: "change month", keysOpen: "open the day or schedule",68  },69  form: {70    savedWithWarnings: "Window saved, with warnings", serverWarningsLead: "The window is saved. The server reports the following; nothing was blocked.",71    createTitle: "Schedule a maintenance window", editTitle: "Edit the maintenance window", lead: "During each occurrence the scheduler applies maintenance mode and the silence according to the options below.",72    schedule: "Schedule", created: "Window scheduled", updated: "Window updated",73    title: "Title", description: "Description", descriptionHint: "Plain text. http(s) addresses become links.", category: "Category",74    timezone: "Time zone of the window", timezoneHint: "Start and end are entered in this zone; recurrences keep the local time across clock changes.",75    start: "Start", end: "End", resolved: "Interpreted in {zone}.", resolvedUtc: "UTC: {start} → {end}.", resolvedViewer: "For you: {start} → {end}.", resolvedPending: "Enter a valid start and end.",76    recurrence: "Recurrence", recurrenceHint: "Occurrences are computed by the server.", until: "Until (inclusive)", untilHint: "Leave empty for a recurrence without end.",77    untilHintEdit: "Once saved, the end date can be changed but not removed.",78    nodes: "Nodes in scope", nodesHint: "The nodes affected by the intervention.", nodesEmptyHint: "Without nodes the window is purely informational: no maintenance mode, no silence.",79    nodesUnavailable: "The node list is not available on this server yet.", nodesError: "The node list could not be loaded.",80    setMode: "Put the nodes in maintenance mode", setModeHint: "During the occurrence, routine actions are refused on these nodes and their state reads “maintenance”.",81    silence: "Silence alerts", silenceHint: "A linked silence is created for the duration of the occurrence: alerts of these nodes do not notify.",82    overlapTitle: "Possible overlap with windows already on screen", overlapNote: "Local hint, computed from the occurrences loaded on screen. The server also checks overlaps on save and reports them without blocking.",83    refused: "The server refused the window.", conflict: "This window can no longer be modified (completed or cancelled).",84    error: {85      titleRequired: "The title is required.", titleTooLong: "160 characters at most.", descriptionTooLong: "8,000 characters at most.", startInvalid: "Invalid start.", endInvalid: "Invalid end.",86      endBeforeStart: "End must be after start.", zoneInvalid: "Unknown time zone.", untilBeforeStart: "The recurrence end date is before the start.",87    },88  },89  detail: {90    title: "Maintenance window", back: "Maintenance calendar", schedule: "Schedule", nodes: "Nodes in scope", noNodes: "No node: informational window.",91    firstOccurrence: "First occurrence ({zone})", yourZone: "In your zone ({zone})", duration: "Duration", until: "until {date}", noEnd: "no end date",92    occurrences: "Occurrences (90 days)", noOccurrences: "No occurrence in the next 90 days.", occurrencesHint: "Times in {zone}. Pick an occurrence to read or write its notes.",93    activeNow: "Occurrence in progress since {time}: the planned maintenance mode and silence are applied.",94    closedCompleted: "Window completed: it can no longer be modified.", closedCancelled: "Window cancelled: it and its notes are kept, but it can no longer be modified.",95    complete: "Mark complete", completeTitle: "Mark the maintenance as complete", completeBody: "The active occurrence ends: maintenance mode and the silence are lifted. The window becomes “completed”.",96    completeBodyRecurring: "The active occurrence ends: maintenance mode and the silence are lifted. The recurring window stays scheduled for its next occurrence.",97    closingNote: "Closing note", closingNoteHint: "Optional; it is stored as a maintenance note on the occurrence.", completed: "Maintenance marked complete",98    cancel: "Cancel window", cancelTitle: "Cancel this maintenance window?", cancelBody: "The window and its notes are kept with the status “cancelled”. An occurrence in progress ends: maintenance mode and the silence are lifted.", cancelled: "Window cancelled",99    notesScope: "Notes scope", notesOccurrence: "Occurrence of {time}", notesWindow: "Whole window", clearOccurrence: "Deselect the occurrence",100  },101  notes: {102    title: "Notes", titleOccurrence: "Notes of the occurrence", allLead: "Recent notes across every window and node. To write a note, open a maintenance window or a node.",103    search: "Search notes", add: "Add a note", placeholder: "Findings, steps done, follow-up…", plainHint: "Plain text, line breaks kept, http(s) links clickable.",104    shortcutFocus: "to write", shortcutSave: "to save", pinNew: "Pin this note", save: "Save note",105    added: "Note added", updated: "Note edited", deleted: "Note deleted", pinnedDone: "Note pinned", unpinned: "Note unpinned",106    readOnly: "Read-only: writing notes requires the permission maintenance.write.",107    empty: "No note yet", emptyHint: "Intervention notes will appear here.", emptyHintWrite: "Record what was done here: the n key puts the cursor in the field.",108    noMatch: "No note contains “{query}”", matches: { one: "{count} matching note", other: "{count} matching notes" },109    edited: "edited {time}", pinned: "Pinned", pin: "Pin", unpin: "Unpin", edit: "Edit note", editLabel: "Note text", delete: "Delete note",110    deleteTitle: "Delete this note?", deleteBody: "Note by {author} from {time}. It will no longer be visible.",111    contextWindow: "Maintenance window", contextOccurrence: "occurrence of {time}",112  },113};114
Files main
Menu

Theme