Skip to content

Linger is An Open-Source Personal Agent That Runs Fully on Your PC. We aim to break Big Tech’s grip on AI by bringing powerful local AI to everyday computers through efficient model–harness co-design, so everyone can run their own.

10.6 KB
Raw Blame
import { defineMessages } from "@/i18n/messages";

/**
 * The cards in the chat: what the client writes around a request (buttons,
 * status lines, fixed headings, hints, errors) and the system line a settled
 * card becomes. Titles, questions, options and bodies come with the card.
 */
export const cardsMessages = defineMessages("cards", {
  // Shared by several cards.
  cardDecisionFailed: "Card decision failed.",
  cardUpdateFailed: "The card could not be updated.",
  decisionMismatch:
    "Card decision response does not match the active Room command.",
  expired: "Expired",
  connected: "Connected",
  notConnected: "Not connected",
  connect: "Connect",
  connectApp: "Connect {name}",
  notNow: "Not now",
  none: "None",
  listSeparator: ", ",
  granted: "Granted",
  dontAllow: "Don't allow",
  notAllowed: "Not allowed",
  instructions: "Instructions",
  send: "Send",

  // Approve or deny, with a reason.
  approve: "Approve",
  deny: "Deny",
  approvalActions: "Approval actions",
  closeReason: "Close the reason",
  denyWithoutReason: "Deny without a reason",
  continueReason: "Continue your reason",
  addReason: "Add a reason",
  denyReasonLabel: "Reason for denying",
  denyReasonPlaceholder: "Reason, then press Enter",
  denyWithReason: "Deny with this reason",
  fullCall: "Full call · {tool}",

  // The approval card: its label, its words and how it ended.
  labelPermissionRequest: "Permission request",
  labelRoomCreation: "Room creation",
  labelConfirmationRequest: "Confirmation request",
  createRoom: "Create Room",
  create: "Create",
  created: "Created",
  dontCreate: "Don't create",
  notCreated: "Not created",
  creating: "Creating…",
  apply: "Apply",
  applied: "Applied",
  dontApply: "Don't apply",
  notApplied: "Not applied",
  applying: "Applying…",
  allowOnce: "Allow once",
  allowedOnce: "Allowed once",
  running: "Running…",
  sent: "Sent",
  dontSend: "Don't send",
  notSent: "Not sent",
  sending: "Sending…",
  done: "Done",
  denied: "Denied",
  approvedUntil: "{approved} until {time}",
  approvedUsed: "{approved} · Used",
  failed: "Failed",
  failedWithOutcome: "Failed: {outcome}",
  resultUnknown: "Result unknown",
  resultUnknownWithOutcome: "Result unknown: {outcome}",
  deniedWithReason: "{denied} · “{reason}”",
  agentFieldDescription: "description",
  agentFieldName: "name",
  agentFieldInstructions: "instructions",
  newAgent: "New Agent {name}",
  changeAgent: "Change {name}",
  newRoom: "New Room {name}",
  memberCount: { one: "{count} member", other: "{count} members" },
  memberCountWithNames: {
    one: "{count} member · {names}",
    other: "{count} members · {names}",
  },

  // An Agent change.
  fieldDescription: "Description",
  fieldName: "Name",
  newInstructions: "New instructions",
  currentInstructions: "Current instructions",
  showLess: "Show less",
  showFullInstructions: "Show full instructions",

  // A Room creation and its first message.
  membersLine: "<label>Members: </label>{names}",
  openRoom: "Open Room",
  initialTaskInput: "Initial task input",
  referenceTarget: "Reference target: {name} ({type})",
  spaceMember: "Space member",
  fileSegment: "File: {name}",
  meetingSummary: "Meeting summary",
  documentSegment: "Document: {name}",
  artifactDirectory: "Artifact directory: {path}",
  skillSegment: "Skill: {name}",

  // A Runtime permission.
  screenshotUnavailable: "The screenshot is no longer available.",
  screenshotOwnerOnly: "Only {name} can see the screenshot.",
  screenshotAlt: "The screen before this action, with its target marked",
  screenshotCaption: "Before the action · the target is marked",
  diffLabel: "Diff · +{added} −{removed}",
  scriptLabel: "Script · {path}",
  scriptLabelWithHash: "Script · {path} · sha256 {hash}",
  pageElement: "Page element",
  pageUrl: "Page",
  pageTitle: "Title",
  pageTarget: "Element",

  // A connected app write.
  noSubject: "No subject",
  emailToLine: "To {recipients}",
  emailFrom: "From",
  emailTo: "To",
  emailCc: "Cc",
  emailBcc: "Bcc",
  emailSubject: "Subject",
  messageWhere: "Where",
  messagePreview: "Message preview",
  noMessageText: "No message text.",
  attachments: "Attachments",
  messageBody: "Message body",

  // A question.
  labelHumanInteraction: "Human interaction requested",
  previousQuestion: "Previous question",
  nextQuestion: "Next question",
  chooseAny: "Choose any",
  next: "Next",
  other: "Other…",
  ownAnswerTo: "Your own answer to {question}",
  ownAnswer: "Your own answer",

  // The Another Me setup cards.
  labelAnotherMeSetup: "AnotherMe setup",
  linkCount: { one: "{count} link", other: "{count} links" },
  fileCount: { one: "{count} file", other: "{count} files" },
  sharedItems: "Shared {items}",
  sharedLinksAndFiles: "Shared {links} and {files}",
  nothingShared: "Nothing shared",
  skipped: "Skipped",
  sharedSources: "Shared sources",
  fileNoLongerAvailable:
    "A file is no longer available. Remove it and upload it again.",
  replyConnected: "Connected",
  skipForNow: "Skip for now",
  connectYourApps: "Connect your apps",
  more: "More",
  verifyingConnection: "Verifying connection…",
  continueConnecting: "Continue",
  notAvailableYet: "Not available yet",
  linkInvalid: "Enter a full link that starts with http:// or https://.",
  linkAlreadyAdded: "That link is already added.",
  linkLimit: "You can add up to {max} links.",
  uploadFailed: "Upload failed.",
  fileLimit: "You can upload up to {max} files.",
  thatsAll: "That's all",
  skip: "Skip",
  websiteOrFiles: "Website or files",
  uploadedSize: "Uploaded · {size}",
  removeItem: "Remove {name}",
  pasteLink: "Paste a link",
  addLink: "Add link",
  uploadFiles: "Upload files",
  sourcesAddedHint: "Added here. Select That's all to share with Another Me.",
  sourcesEmptyHint:
    "Add a link or upload a file, then select That's all to share.",
  added: "Added",

  // A connection authorization.
  labelAppAuthorization: "App authorization requested",
  requestedAccount: "Requested account: {account}",
  authorizing: "Authorizing…",
  signInFailed: "Failed: the sign-in did not complete",
  appUnavailableForAgents: "This app is unavailable for Agent access.",
  authorizationNotStarted: "Authorization could not be started.",
  authorizationNotCancelled: "Authorization could not be cancelled.",
  openAuthorizationWindow: "Open authorization window",
  popupBlocked:
    "Your browser blocked the authorization popup. Allow popups and try again.",
  allowAgent: "Allow {name}",
  allow: "Allow",
  accountsNotLoaded: "Accounts could not be loaded.",
  appAccount: "{app} account",
  accountPending: "{account} (pending)",
  accountNeedsReconnecting: "{account} (needs reconnecting)",
  connectNewAccount: "Connect a new account",

  // A Composio API key request.
  labelComposioKey: "Composio API key requested",
  neededToConnect: "Needed to connect {app}",
  everyAppNeedsIt: "Every connected app needs it",
  composioApiKey: "Composio API key",
  addKey: "Add key",
  continuesOnceKeySaved: "{agent} continues once the key is saved.",
  addComposioKeyTitle: "Add a Composio API key",
  keyAdded: "Key added",
  noKeyAdded: "No key added",
  notCompleted: "Not completed",

  // A web search API key request. Backend names and descriptions come from
  // TeamHub. Requested: the Agent named the backend; Suggested: TeamHub
  // picked it.
  labelSearchKey: "Web search key requested",
  requested: "Requested",
  suggested: "Suggested",
  searchKeyNoLongerAccepted:
    "{backend} no longer accepts the saved key. Paste a new one.",
  freeSearchesUsedUp:
    "The free {backend} searches are used up. Add a key to keep searching.",
  otherProviders: "Other providers",
  otherProvidersCount: "Other providers ({count})",
  hideOtherProviders: "Hide other providers",
  freeLimited: "Free, limited",
  searchKeyAdded: "{backend} key added. Your Agent is continuing.",
  searchKeyAddedInstead:
    "{backend} key added instead of {requested}. Your Agent continues with {backend}.",

  // A browser connection.
  labelBrowserConnection: "Browser connection requested",
  everydayChrome: "Everyday Chrome",
  continuesOnceConnected: "{agent} continues once you connect.",
  browserConnectionFailed: "Failed: the connection did not complete",

  // A system permission of a Computer.
  labelSystemPermission: "System permission requested",
  subjectComputerUse: "Computer use (CuaDriver)",
  permissionAccessibility: "Accessibility",
  permissionScreenRecording: "Screen Recording",
  stateNotRequested: "Not requested yet",
  stateUnknown: "Unknown",
  declined: "Declined",
  relaunchLinger: "Relaunch Linger",
  request: "Request",
  openSettings: "Open Settings",
  stepDidNotRun: "The step did not run.",
  permissionsUnreadable: "The Mac's permissions could not be read.",
  relaunchToApply: "Relaunch Linger to apply",
  openLingerOnThatMac: "Open Linger on that Mac to grant these permissions.",
  opensOn: "Opens on {name}",
  opensOnThatMac: "Opens on that Mac",

  // The system line of a settled card. `{who}` is "You", "Someone" or
  // `noticeActor`; a translation that needs a space after a name puts it in
  // `noticeActor`.
  noticeActor: "{name}",
  noticeSomeone: "Someone",
  noAnswer: "No answer",
  noticeUnanswered: "No one answered “{title}” in time",
  noticeAnswered: "{who} answered “{question}” with “{answer}”",
  noticeAddedNote: "{who} added “{note}”",
  noticeExpired: "“{title}” expired",
  noticeDeclined: "{who} declined “{title}”",
  noticeDeclinedWithReason: "{who} declined “{title}”: “{reason}”",
  noticeAllowedOnce: "{who} allowed “{title}” once",
  noticeAllowedOnceRan: "{who} allowed “{title}” once, and it ran",
  noticeConnectedChrome: "{who} connected Chrome",
  noticeAddedComposioKey: "{who} added the Composio API key",
  noticeAddedSearchKey: "{who} added a {backend} key",
  noticeAddedSearchKeyInstead:
    "{who} added a {backend} key instead of {requested}",
  noticeConnectedApp: "{who} connected <link>{app}</link>",
  noticeDidNotFinish: "“{title}” did not finish",
  noticeDidNotFinishWithOutcome: "“{title}” did not finish: {outcome}",
  noticeGranted: "{who} granted “{title}”",
  noticeSkipped: "{who} skipped “{title}”",
  noticeCompleted: "{who} completed “{title}”",
  noticeCreatedRoom: "{who} created Room <link>{room}</link>",
  noticeApproved: "{who} approved “{title}”",
  noticeApprovedFailed: "{who} approved “{title}”, but it failed",
  noticeApprovedFailedWithOutcome:
    "{who} approved “{title}”, but it failed: {outcome}",
  noticeApprovedUnknown: "{who} approved “{title}”; the result is unknown",
  noticeApprovedUnknownWithOutcome:
    "{who} approved “{title}”; the result is unknown: {outcome}",
  noticeEnded: "“{title}” ended",
});