Files
template-app/modules/agent/i18n/en.ts
T
2026-11-14 09:56:45 +00:00

79 lines
3.0 KiB
TypeScript

// English messages of the agent module. Every string a page of this module shows is a key here
// and in lt.ts; `__tests__/i18n.test.ts` fails when the two differ.
export const en = {
title: "Agent runs",
intro: "Bounded runs of published tools. A run proposes; a person approves. AI output is disclosed where it appears.",
runs: {
heading: "Runs",
empty: "No runs yet.",
goal: "Goal",
status: "Status",
statusQueued: "Queued",
statusRunning: "Running",
statusAwaitingApproval: "Awaiting approval",
statusCompleted: "Completed",
statusFailed: "Failed",
statusCancelled: "Cancelled",
statusUncertain: "Uncertain — needs reconciliation",
progress: "Progress",
percent: "{percent}%",
startedBy: "Started by",
startedAt: "Started",
finishedAt: "Finished",
usageLabel: "Usage",
usage: "{steps} steps, {cost} microcents",
failure: "Failure",
cancel: "Cancel run",
cancelling: "Cancelling",
needsApproval: "approved by a person before it runs",
answer: "Answer",
answerDisclosure:
"AI-generated: a model wrote this answer from the run's tool results. Check it before you rely on it.",
streamLost: "Live updates stopped. Reload the page to see the run's current state.",
back: "All runs",
plan: "Plan",
step: "Step",
tool: "Tool",
stepPending: "Pending",
stepCommitted: "Done",
stepFailed: "Failed",
stepCancelled: "Cancelled",
stepUncertain: "Uncertain",
},
start: {
heading: "Start a run",
goalLabel: "Goal",
goalHint: "What this run should achieve, in a sentence a reviewer reads.",
planLabel: "Plan",
planHint: "One tool call per step, as JSON: {example}",
submit: "Start run",
starting: "Starting",
failed: "That did not work: {detail}",
},
approvals: {
heading: "Approvals waiting for you",
empty: "Nothing is waiting for a decision.",
proposed: "Proposed arguments",
review: "Review in console",
approve: "Approve",
reject: "Reject",
decided: "Decision recorded; the run resumes.",
disclosure:
"Proposed by an agent run: these are the exact arguments the call will be made with. Approve only what you would do yourself.",
},
recovery: {
failedHint: "A failed run can be started again; the plan is visible above.",
cancelledHint: "This run was cancelled. Start a new run to do the work again.",
uncertainHint:
"This run timed out after an external effect. Check the affected service before deciding: reconcile by cancelling, or let the platform's reconciliation settle it.",
reconcileCancel: "Mark reconciled (cancel)",
budgetExhausted: "The run reached its budget.",
approvalUnavailable:
"The approval could not be completed here. Open the console to review the persisted proposal, then approve again.",
toolError: "A tool refused the call.",
planRefused: "The plan was refused at admission.",
internal: "The run failed internally.",
},
} as const