Skip to content

The agent that grows with you

225 KB
Raw Blame
// health: allow FILE_LINES -- locale data: translated copy for the usage-window plan UI (allowance gauges, Large/Free tags, the limit card), one key per string
import { FIELD_DESCRIPTIONS, FIELD_LABELS } from '@/app/settings/constants'

import { enAppTour } from './en_app_tour'
import { enBilling } from './en_billing'
import { enBoot } from './en_boot'
import { enCatalog } from './en_catalog'
import { enCatalogInstall } from './en_catalog_install'
import { enClarify } from './en_clarify'
import { enConnectorAccounts } from './en_connector_accounts'
import { enConnectorCard } from './en_connector_card'
import { enCronControl } from './en_cron_control'
import { enGatewayGroupOpen, enSkillDeepLink } from './en_deep_links'
import { enErrorCodes } from './en_error_codes'
import { enErrorLayers } from './en_error_layers'
import { enExternalOpenFailed } from './en_external_open'
import { enFirstRun } from './en_first_run'
import { enGatewayHost } from './en_gateway_host'
import { enLocalModels } from './en_local_models'
import { enMemoryLayers } from './en_memory_layers'
import { enModelMenu } from './en_model_menu'
import { enModelSettings } from './en_model_settings'
import { enNotices } from './en_notices'
import { enNotifications } from './en_notifications'
import { enOnboarding } from './en_onboarding'
import { enPluginPreviewAccess } from './en_plugin_preview_access'
import { enPluginUpdate } from './en_plugin_update'
import { enPreviewWeb } from './en_preview_web'
import { enProjects } from './en_projects'
import { enSharedMetrics } from './en_shared_metrics'
import { enThemePicker } from './en_theme_picker'
import { enUninstallSection } from './en_uninstall_section'
import { enUpdateChannel } from './en_update_channel'
import type { Translations } from './types'

export const en: Translations = {
  externalOpenFailed: enExternalOpenFailed,
  sharedMetrics: enSharedMetrics,
  appTour: enAppTour,
  firstRun: enFirstRun,
  // English editorial copy stays in the shipped JSONL; other locales override it.
  intro: { stock: {}, custom: () => [] },
  connectors: enConnectorCard,

  catalog: enCatalog,
  // `connectors.*` above stays the onboarding and chat vocabulary; these are the page's own, and the two are not shared.
  connectorsPage: {
    title: 'Connectors',
    searchPlaceholder: (count: number) => `Search ${count} apps`,
    filterCategory: 'Category',
    categoryAll: 'All categories',
    uncategorised: 'Uncategorised',

    residencyLocal: 'On this device',

    segment: {
      all: 'All',
      available: 'Available',
      connected: 'Connected',
      off: 'Turned off'
    },

    group: {
      connected: 'Connected',
      connectedNote: 'Broken connections first.',
      available: 'Available',
      off: 'Turned off',
      offNote: 'Sign-ins are kept.'
    },

    card: {
      kindManaged: 'Managed',
      kindCatalog: 'MCP · Catalog',
      kindCustom: 'MCP · Custom',
      kindPlugin: (plugin: string) => `MCP · Plugin ${plugin}`,
      inCatalog: 'In the Hermes catalog',
      hostedTwin: 'Managed version available',
      alsoLocal: 'Also runs on this device',
      open: (name: string) => `Open ${name}`,
      turnServerOn: (name: string) => `Turn ${name} on`,
      turnServerOff: (name: string) => `Turn ${name} off`,
      state: {
        accessExpired: 'Access expired',
        available: 'Available',
        connected: 'Connected',
        connecting: 'Connecting',
        connectionUnknown: 'State unknown',
        couldNotConnect: 'Could not connect',
        offByYourOrganisation: 'Off by your organisation',
        offForYou: 'Off for you',
        serverConnecting: 'Connecting…',
        serverError: 'Error',
        serverNeedsAuth: 'Needs authentication',
        serverOff: 'Off',
        serverOn: 'On',
        serverOnUnused: 'On, unused'
      },
      fact: {
        tools: (count: number) => `${count} tool${count === 1 ? '' : 's'}`,
        toolsOff: (count: number) => `${count} tool${count === 1 ? '' : 's'} off`,
        toolsOn: (count: number) => `${count} tool${count === 1 ? '' : 's'} on`,
        toolsSomeOn: (total: number, on: number) => `${total} tools, ${on} on`
      },
      verb: {
        authenticate: 'Authenticate',
        connect: 'Connect',
        install: 'Install',
        openLogs: 'Open logs',
        reconnect: 'Reconnect',
        stopWaiting: 'Stop waiting',
        tryAgain: 'Try again',
        turnBackOn: 'Turn back on'
      },
      reason: {
        finishSignIn: 'Finish the sign-in in your browser.',
        reconnect: 'Reconnect to keep this app working.',
        serverError: 'The server refused the connection.',
        serverNeedsAuth: 'Sign in to let this server answer.'
      }
    },

    page: {
      loading: 'Reading the catalog and the servers on this computer',
      emptyTitle: 'No apps here yet. Add a server on this computer to get started.',
      noMatchTitle: 'No matching apps',
      noMatchBody: 'Nothing here matches. Point Hermes at your own MCP server to add it.',
      clearSearch: 'Clear the search',
      hostedFailedTitle: 'Could not reach the hosted apps.',
      hostedFailedBody: 'The servers on this computer are unaffected and still running. Nothing was turned off.',
      retry: 'Retry',
      matchesElsewhere: (count: number) => `${count} more match${count === 1 ? '' : 'es'} in other groups.`,
      showAllMatches: 'Show all matches',
      segmentNoMatch: (segment: string) => `No match in ${segment}, so every match is shown.`,
      freeTierNote: 'Connections stay on this computer until you sign in.',
      signInLine: 'Sign in to Nous to use managed apps.',
      signIn: 'Sign in',
      managedUnavailable: 'Managed apps are not available for this account yet.',
      writeFailed: 'That change was not saved.',
      refreshFailed: 'The tool list was not refreshed.',
      disconnectNoAccount: 'Hermes has no account to disconnect here. Refresh the page and try again.',
      disconnectRefused:
        'Nous could not remove this sign-in right now. Turn the app off with the switch instead, or try again later.'
    },

    add: {
      action: 'Add your own',
      title: 'Connect to a custom MCP',
      hint: 'one new entry in mcp.json on this device',
      pasteLabel: 'Paste a command or a snippet',
      pastePlaceholder: 'npx -y @modelcontextprotocol/server-filesystem /path/to/dir',
      pasteNoMatch: 'Nothing here reads as a server. Fill the fields below instead.',
      name: 'Name',
      nameTaken: 'That name is already used.',
      type: 'Type',
      typeStdio: 'STDIO',
      typeHttp: 'Streamable HTTP',
      command: 'Command to launch',
      args: 'Arguments',
      addArg: '+ Add argument',
      envVars: 'Environment variables',
      addEnvVar: '+ Add environment variable',
      passthrough: 'Environment variable passthrough',
      addPassthrough: '+ Add variable',
      cwd: 'Working directory',
      url: 'URL',
      headers: 'Headers',
      addHeader: '+ Add header',
      auth: 'Auth',
      authNone: 'None',
      authOauth: 'OAuth',
      authBearer: 'Bearer token',
      keyPlaceholder: 'KEY',
      valuePlaceholder: 'value',
      removeRow: 'Remove this row',
      editJson: 'Edit mcp.json',
      saveFailed: 'That server was not saved.'
    },

    dialog: {
      disconnect: 'Disconnect',
      disconnectTitle: (name: string) => `Disconnect ${name}?`,
      disconnectBody: 'Hermes stops acting as this account. You can connect again at any time.',
      menuRefreshTools: 'Refresh tools',
      moreActions: 'More actions',
      removeServerTitle: (name: string) => `Remove ${name}?`,
      removeServerBody: 'The entry leaves mcp.json on this computer. Nothing else is deleted.',
      appSwitch: (name: string) => `Hermes can use ${name}`,
      waysTitle: (name: string) => `Where ${name} runs`,
      wayNotConnected: (name: string) => `Not connected yet. Sign in to ${name} in your browser.`,
      wayHosted: 'Managed',
      bothOn: (name: string) => `Both are on, so Hermes sees every ${name} tool twice.`,
      turnOffLocal: 'Turn off the local server',
      providedByPlugin: (plugin: string) => `Provided by plugin ${plugin}`,
      openPlugins: 'Open the Plugins tab',
      // Verbatim, by decision of the design of record.
      nousLine: 'Nous apps follow your account, not the profile.',
      rulesReadOnly: 'Rules cannot be changed right now.',
      rulesAppOff: (name: string) => `Turn ${name} on to change its tools.`,
      rulesSignIn: 'Sign in to change what Hermes may do here.',
      orgNote: (count: number) => `Your organisation turned ${count} tools off.`,
      orgLink: 'Open the connectors admin',
      connectEnded: 'The sign-in did not finish.',
      connectOpenAgain: 'Open the link again',
      tokensPerCall: 'tokens per call',
      usesPerMonth: 'uses in 30 days',
      advanced: 'Advanced',
      advancedHint: 'the mcp.json entry and logs'
    },

    accounts: enConnectorAccounts,

    tools: {
      title: 'Tools',
      notInstalledBody: 'Install it on this device to see the tools it brings.',
      summaryTitle: (name: string) => `What Hermes may do with ${name}`,
      summaryPreviewTitle: (name: string) => `What Hermes could do with ${name} once you connect`,
      summaryCount: (count: number) => `${count} tool${count === 1 ? '' : 's'}`,
      summaryAllTools: 'All tools',
      summaryOther: 'Other',
      allToolsSwitch: 'Turn every tool on or off',
      summaryAllOn: 'all on',
      summarySomeOn: (on: number, total: number) => `${on} of ${total} on`,
      summaryOff: 'off',
      showAllTools: (count: number) => `Show all ${count} tool${count === 1 ? '' : 's'}`,
      showSummary: 'Show summary',
      facetSwitch: (facet: string) => `Turn ${facet} tools on or off`,
      moreHints: (count: number) => `+${count}`,
      staleSignIn: 'Sign in to read the latest tool list.',
      searchCountPlaceholder: (count: number) => `Search ${count} tools`,
      toolList: (name: string) => `${name} tools`,
      categorySelect: (count: number) => `${count} categories`,
      showDeprecated: (count: number) => `Show ${count} deprecated`,
      hideDeprecated: (count: number) => `Hide ${count} deprecated`,
      quickReadOnly: 'Read only',
      quickNoDestructive: 'Turn off destructive',
      quickEverythingOn: 'Everything on',
      lockedHint: 'off by your organisation',
      turnToolOn: (tool: string) => `Turn ${tool} on`,
      turnToolOff: (tool: string) => `Turn ${tool} off`,
      showDetails: (tool: string) => `Show what ${tool} does`,
      hideDetails: (tool: string) => `Hide what ${tool} does`,
      noMatch: 'No tool matches these filters.',
      loading: 'Reading the tool list',
      unavailableLine: 'Tool list unavailable.',
      needsAuthTitle: (name: string) => `Sign in to ${name} to read its tools.`,
      needsAuthBody: 'The sign-in stays on this computer. Nothing leaves it.',
      retry: 'Retry',
      goneTitle: (name: string) => `${name} left the catalog.`,
      goneBody: 'Hermes cannot call it any more. The row stays until you remove it, so nothing vanishes.',
      remove: 'Remove',
      offTitle: (name: string) => `${name} is off.`,
      offBody: 'Turn it on with the switch above to read the tools it brings.',
      signedOutTitle: 'Sign in to Nous to read the tool list.',
      signedOutBody: 'Your servers on this computer are unaffected.',
      conflictTitle: 'Someone changed this rule while you were editing.',
      // Two sentences at most, and the second says the work is still here.
      conflictBody: (theyOff: number, theyOn: number) => {
        const they = [
          theyOff > 0 ? `turned off ${theyOff} tool${theyOff === 1 ? '' : 's'} you have on` : '',
          theyOn > 0 ? `left ${theyOn} tool${theyOn === 1 ? '' : 's'} on that you turned off` : ''
        ].filter(Boolean)

        return `${they.length > 0 ? `They ${they.join(', and ')}. ` : ''}Your edits stay on screen; nothing was written.`
      },
      conflictReload: 'Reload their version',
      conflictSave: 'Save over their version',
      saveFailed: 'Those tool rules were not saved.',
      footerDirty: (off: number, backOn: number) =>
        `${off} tool${off === 1 ? '' : 's'} off, ${backOn === 0 ? 'none' : backOn} back on`,
      discard: 'Discard',
      save: 'Save changes',
      saving: 'Saving...'
    },

    // The label rides in every tool row, so it stays short enough not to widen one.
    vocabulary: {
      facetRead: { label: 'Read', long: 'Reads data out of this app. It changes nothing.' },
      facetWrite: { label: 'Write', long: 'Creates or changes something in this app.' },
      facetDestructive: { label: 'Destructive', long: 'Can remove something in this app for good.' },
      facetUnclassified: { label: 'Unknown effect', long: 'The app never said what this tool does.' },
      hintReadOnly: { label: 'Read only', long: 'The tool declares that it only reads.' },
      hintCreate: { label: 'Creates', long: 'Makes something new.' },
      hintUpdate: { label: 'Updates', long: 'Changes something that already exists.' },
      hintDelete: { label: 'Deletes', long: 'Removes something.' },
      hintDestructive: { label: 'Destructive', long: 'The change it makes cannot be undone here.' },
      hintIdempotent: { label: 'Repeatable', long: 'Running it twice does what running it once does.' },
      hintOpenWorld: { label: 'External', long: 'Reaches something outside this app.' }
    }
  },

  sessionImport: {
    title: 'Continue from another app',
    subtitle: 'Bring a conversation into Hermes and pick up where you left off.',
    action: 'Import session',
    readingFrom: 'Reading from',
    connectedComputer: 'the connected computer',
    destination: 'Import into',
    all: 'All',
    search: 'Search loaded sessions',
    scanning: 'Finding conversations',
    scanError: 'Could not find sessions',
    scanHelp: 'Check your backend connection, then try again. Older backends may need an update.',
    empty: 'No conversations found',
    emptyHelp: 'Claude Code and Codex sessions on this backend will appear here.',
    noMatches: 'No matching conversations',
    searchHelp: 'Try another title or folder, or load more sessions.',
    skipped: 'Some logs were empty, unreadable, or too large to preview.',
    more: 'Load more sessions',
    messages: 'messages',
    choose: 'A conversation worth continuing',
    chooseHelp: 'Choose a session to read its history before bringing it into Hermes.',
    previewLoading: 'Opening preview',
    previewError: 'Preview unavailable',
    previewHelp: 'The source may have moved or changed. Refresh the list and try again.',
    previewLimit: 'Preview shortened for readability. The complete conversation is imported.',
    you: 'You',
    snapshot: 'This conversation is already in Hermes. Open your existing copy to continue.',
    copyNotice:
      'Copies conversation text. Source files stay unchanged. Tool output and reasoning are not carried over.',
    importing: 'Importing…',
    open: 'Open in Hermes',
    continue: 'Continue in Hermes',
    importError: 'Could not import this conversation.'
  },
  common: {
    apply: 'Apply',
    back: 'Back',
    save: 'Save',
    saving: 'Saving…',
    cancel: 'Cancel',
    change: 'Change',
    choose: 'Choose',
    clear: 'Clear',
    close: 'Close',
    collapse: 'Collapse',
    confirm: 'Confirm',
    connect: 'Connect',
    connecting: 'Connecting',
    continue: 'Continue',
    bots: 'Bots',
    copied: 'Copied',
    copy: 'Copy',
    copyFailed: 'Copy failed',
    delete: 'Delete',
    docs: 'Docs',
    done: 'Done',
    error: 'Error',
    expand: 'Expand',
    failed: 'Failed',
    formatJson: 'Format JSON',
    free: 'Free',
    loading: 'Loading…',
    notSet: 'Not set',
    refresh: 'Refresh',
    remove: 'Remove',
    replace: 'Replace',
    retry: 'Retry',
    run: 'Run',
    send: 'Send',
    set: 'Set',
    skip: 'Skip',
    update: 'Update',
    tryHint: term => `Try “${term}”`,
    on: 'On',
    off: 'Off'
  },

  fileMenu: {
    revealFinder: 'Reveal in Finder',
    revealExplorer: 'Reveal in File Explorer',
    revealFileManager: 'Open containing folder',
    revealInSidebar: 'Reveal in filetree',
    copyPath: 'Copy path',
    copyRelativePath: 'Copy relative path',
    download: 'Download',
    downloadSaved: 'Saved',
    downloadFailed: 'Download failed',
    rename: 'Rename…',
    delete: 'Delete',
    renameTitle: 'Rename',
    renameLabel: 'New name',
    deleteTitle: name => `Delete ${name}?`,
    deleteBody: 'It will be moved to the Trash — you can restore it from there.',
    pathCopied: 'Path copied',
    revealMissing: 'That folder is not on this computer',
    revealUnavailable: 'That path is not on this computer — it lives on the backend machine. Use “Reveal in filetree”.'
  },

  boot: enBoot.boot,

  notifications: {
    sharedProfileWarning:
      'Another Hermes installation is using this profile. Both installations share its settings and data, so changes can conflict. You can continue, or close the other installation before making changes.',
    region: 'Notifications',
    hide: 'Hide',
    show: 'Show',
    more: count => `${count} more ${count === 1 ? 'notification' : 'notifications'}`,
    clearAll: 'Clear all',
    dismiss: 'Dismiss notification',
    details: 'Details',
    copyDetail: 'Copy detail',
    copyDetailFailed: 'Could not copy notification detail',
    compressDeferredDone: 'Context compression finished',
    backendOutOfDateTitle: 'Backend out of date',
    backendOutOfDateMessage:
      'Your Hermes backend is older than this desktop build and may not work correctly. Update to align them.',
    desktopOutOfDateTitle: 'Hermes app out of date',
    desktopOutOfDateMessage:
      'This Hermes app is older than the backend it is connected to and may not work correctly. Update the app to align them.',
    updateDesktopApp: 'Update app',
    installMethodUnsupportedTitle: 'Unsupported install method',
    updateHermes: 'Update Hermes',
    updateReadyTitle: 'Update ready',
    updateReadyMessage: count => `${count} new change${count === 1 ? '' : 's'} available.`,
    updateReadyMessageUnknown: 'A new update is available.',
    updateReadyMessageAppInstaller: 'A new version of Hermes is ready. Update now and Windows will finish it for you.',
    seeWhatsNew: "See what's new",
    mcp: {
      needsAuthTitle: 'MCP server needs re-authentication',
      needsAuthMessage: name => `${name} MCP needs re-authentication.`,
      errorTitle: 'MCP server unreachable',
      errorMessage: name => `${name} MCP failed its health check.`,
      signIn: 'Sign in',
      view: 'View',
      disable: 'Disable',
      disabledMessage: name => `${name} MCP disabled. Re-enable it any time from Capabilities → MCP.`,
      disableFailed: name => `Could not disable ${name} MCP.`
    },
    errors: {
      elevenLabsNeedsKey: 'Voice input needs an ElevenLabs key. Add one in Settings → Keys.',
      elevenLabsRejectedKey: "ElevenLabs didn't accept your API key. Update it in Settings → Keys, then try again.",
      diskFull: 'Disk full — free some space, then try again.',
      storageFailure: "Hermes couldn't save to its data folder. Open Maintenance to check and repair it.",
      gatewayAuthFailed:
        'This Hermes no longer accepts your saved sign-in. Open Gateways and sign in again (or paste a new access token), then retry.',
      methodNotAllowed:
        "Hermes' background service is out of step with the app, probably after an update. Restart it to fix this.",
      microphonePermission: 'Microphone permission was denied.',
      openaiRejectedApiKey: "OpenAI didn't accept your API key. Update it in Settings → Keys, then try again.",
      openaiTtsNeedsKey: 'Voice needs an OpenAI key. Add one in Settings → Keys.',
      codeSkewRestartRequired:
        'Hermes was updated but is still running the old version. Restart it to finish the update.',
      rpcOutOfSync: 'The app and the backend are on different versions. Update both.',
      restartHermesFailed: "Couldn't restart Hermes"
    },
    actions: {
      restartHermes: 'Restart Hermes',
      openKeys: 'Open Keys',
      openGateways: 'Open Gateways',
      openMaintenance: 'Open Maintenance'
    },
    voice: {
      configureSpeechToText: 'Configure speech-to-text to use voice mode.',
      couldNotStartSession: 'Could not start voice session',
      microphoneAccessDenied: 'Microphone access denied.',
      microphoneConstraintsUnsupported: 'Microphone constraints are not supported by this device.',
      microphoneFailed: 'Microphone failed',
      microphoneInUse: 'Microphone is already in use by another app.',
      microphoneNeedsHttps:
        'The microphone needs a secure connection. Open the Webapp over HTTPS, or through an SSH tunnel to 127.0.0.1, to use it.',
      microphonePermissionDenied: 'Microphone permission was denied.',
      microphoneStartFailed: 'Could not start microphone recording.',
      microphoneUnsupported: 'This runtime does not support microphone recording.',
      noMicrophone: 'No microphone was found.',
      noSpeechDetected: 'No speech detected',
      playbackFailed: 'Voice playback failed',
      recordingFailed: 'Voice recording failed',
      sayStopToEnd: phrase => `Say "${phrase}" to end the voice chat.`,
      transcriptionFailed: 'Voice transcription failed',
      transcriptionUnavailable: 'Voice transcription is not available yet.',
      tryRecordingAgain: 'Try recording again.',
      unavailable: 'Voice unavailable',
      liveEnded: 'Live voice session ended',
      liveEndedConnectionLost: 'The live voice session lost its connection.',
      liveEndedClosed: 'The live voice session was closed by the service.',
      liveError: 'Live voice',
      liveDelegationFailed: 'Could not hand the request to Hermes',
      liveUnavailable: reason => `GPT-Live voice chat is not available: ${reason}. Using speech-to-text instead.`
    },
    native: {
      approvalTitle: 'Approval needed',
      approvalTitleNamed: session => `Approval needed — ${session}`,
      approveAction: 'Approve',
      rejectAction: 'Reject',
      inputTitle: 'Input needed',
      inputTitleNamed: session => `Input needed — ${session}`,
      inputBody: 'Hermes is waiting for your response.',
      turnDoneTitle: 'Hermes finished',
      turnDoneBody: 'Message complete.',
      turnErrorTitle: 'Turn failed',
      backgroundDoneTitle: 'Background task finished',
      backgroundFailedTitle: 'Background task failed',
      creditsTitle: 'Credits'
    }
  },

  ...enNotices,

  ...enBilling,

  sendDiagnostics: {
    title: 'Send diagnostics to Nous',
    privacyNotice:
      'This uploads a debug bundle to Nous-internal storage (not a public paste). It includes system info (OS, versions, provider, which API keys are configured — never the keys themselves) and full agent, gateway, and desktop logs (up to 512 KB each), which likely contain conversation content, tool outputs, and file paths. Secrets are redacted before upload. The bundle is viewable only by Nous staff and allowlisted Discord moderators, and auto-deletes after 14 days.',
    upload: 'Upload',
    uploading: 'Uploading…',
    cancel: 'Cancel',
    close: 'Close',
    copyLink: 'Copy link',
    uploadIdFallback: id => `No view link returned — quote upload ID ${id} to support`,
    doneTitle: 'Diagnostics sent',
    doneDescription:
      'Your bundle was uploaded privately. Share the link below in your support thread so the team can see your logs.',
    failedTitle: 'Upload failed',
    failedHint:
      'You can also run `hermes debug share --nous` from a terminal, or `hermes debug share --local` to print the report without uploading.',
    handoffLead: 'Pick up the discussion in:',
    links: {
      github: 'GitHub Issues',
      portal: 'Nous Portal Support',
      discord: 'Discord'
    }
  },

  titlebar: {
    hideSidebar: 'Hide sidebar',
    showSidebar: 'Show sidebar',
    search: 'Search',
    searchTitle: 'Search sessions, views, and actions',
    swapSidebarSides: 'Swap sidebar sides',
    hideRightSidebar: 'Hide right sidebar',
    showRightSidebar: 'Show right sidebar',
    unreadSessions: count => (count === 1 ? '1 unread session' : `${count} unread sessions`),
    muteHaptics: 'Mute haptics',
    unmuteHaptics: 'Unmute haptics',
    openSettings: 'Open settings',
    openStarmap: 'Open memory graph',
    enterHud: 'HUD mode',
    exitHud: 'Exit HUD mode',
    resetHudLayout: 'Reset HUD size and position',
    layoutEditor: 'Layout editor',
    layoutEditorTitle: mod => `Layout editor — ${mod}-click resets the layout`
  },

  keybinds: {
    title: 'Keyboard shortcuts',
    subtitle: open => `Click a shortcut to rebind it · ${open} reopens this panel.`,
    search: 'Search shortcuts…',
    rebind: 'Rebind',
    reset: 'Reset to default',
    resetAll: 'Reset all',
    clear: 'Clear',
    pressKey: 'Press a key…',
    set: 'set',
    conflictWith: label => `Also bound to “${label}”`,
    categories: {
      composer: 'Composer',
      profiles: 'Profiles',
      session: 'Session',
      navigation: 'Navigation',
      view: 'View'
    },
    actions: {
      'keybinds.openPanel': 'Open keyboard shortcuts',
      'nav.commandPalette': 'Open command palette',
      'nav.commandCenter': 'Open command center',
      'nav.settings': 'Open settings',
      'nav.profiles': 'Open profiles',
      'nav.capabilities': 'Open skills',
      'nav.messaging': 'Open messaging',
      'nav.artifacts': 'Open artifacts',
      'nav.cron': 'Open scheduled jobs',
      'nav.agents': 'Open agents',
      'session.new': 'New session',
      'session.newTab': 'New session tab',
      'session.newWindow': 'New window',
      'session.next': 'Next session',
      'session.prev': 'Previous session',
      'session.slot.1': 'Switch to recent session 1',
      'session.slot.2': 'Switch to recent session 2',
      'session.slot.3': 'Switch to recent session 3',
      'session.slot.4': 'Switch to recent session 4',
      'session.slot.5': 'Switch to recent session 5',
      'session.slot.6': 'Switch to recent session 6',
      'session.slot.7': 'Switch to recent session 7',
      'session.slot.8': 'Switch to recent session 8',
      'session.slot.9': 'Switch to recent session 9',
      'session.focusSearch': 'Search sessions',
      'session.togglePin': 'Pin / unpin current session',
      'session.archive': 'Archive current session',
      'conversation.scrollPageUp': 'Scroll conversation up one page',
      'conversation.scrollPageDown': 'Scroll conversation down one page',
      'workspace.newWorktree': 'New worktree',
      'workspace.openFolder': 'Open folder as project',
      'composer.focus': 'Focus composer',
      'composer.modelPicker': 'Open model picker',
      'composer.voice': 'Start / stop voice conversation',
      'composer.dictate': 'Start / stop dictation',
      'composer.reasoningUp': 'Reasoning level up',
      'composer.reasoningDown': 'Reasoning level down',
      'view.toggleSidebar': 'Toggle sessions sidebar',
      'view.cycleSidebarGrouping': 'Cycle session grouping',
      'view.toggleRightSidebar': 'Toggle file browser',
      'view.toggleReview': 'Toggle review pane',
      'view.toggleStatusbar': 'Toggle status bar',
      'view.toggleTabStrip': 'Toggle tabs',
      'view.toggleProfileRail': 'Toggle profile rail',
      'view.toggleSimpleMode': 'Toggle Simple mode',
      'view.showFiles': 'Show file browser',
      'view.showBrowser': 'Toggle browser',
      'view.toggleHud': 'Toggle HUD mode',
      'hud.snapToPointer': 'Move HUD to pointer (global, while HUD is open)',
      'view.showTerminal': 'Toggle terminal',
      'view.newTerminal': 'New terminal',
      'view.nextTerminal': 'Next terminal',
      'view.prevTerminal': 'Previous terminal',
      'view.closeTerminal': 'Close terminal',
      'view.selectionToComposer': 'Send selection to composer',
      'view.terminalCopy': 'Copy terminal selection',
      'view.terminalPaste': 'Paste into terminal',
      'view.closeTab': 'Close tab',
      'view.reopenTab': 'Reopen closed tab',
      'view.flipPanes': 'Swap sidebar sides',
      'view.findInPage': 'Find in page',
      'view.findNext': 'Find next match',
      'view.findPrevious': 'Find previous match',
      'view.tabSlot.1': 'Switch to tab 1',
      'view.tabSlot.2': 'Switch to tab 2',
      'view.tabSlot.3': 'Switch to tab 3',
      'view.tabSlot.4': 'Switch to tab 4',
      'view.tabSlot.5': 'Switch to tab 5',
      'view.tabSlot.6': 'Switch to tab 6',
      'view.tabSlot.7': 'Switch to tab 7',
      'view.tabSlot.8': 'Switch to tab 8',
      'view.tabSlot.9': 'Switch to tab 9',
      'appearance.toggleMode': 'Toggle light / dark',
      'profile.default': 'Switch to default profile',
      'profile.switch.1': 'Switch to profile 1',
      'profile.switch.2': 'Switch to profile 2',
      'profile.switch.3': 'Switch to profile 3',
      'profile.switch.4': 'Switch to profile 4',
      'profile.switch.5': 'Switch to profile 5',
      'profile.switch.6': 'Switch to profile 6',
      'profile.switch.7': 'Switch to profile 7',
      'profile.switch.8': 'Switch to profile 8',
      'profile.switch.9': 'Switch to profile 9',
      'profile.switch.10': 'Switch to profile 10',
      'profile.switch.11': 'Switch to profile 11',
      'profile.switch.12': 'Switch to profile 12',
      'profile.switch.13': 'Switch to profile 13',
      'profile.switch.14': 'Switch to profile 14',
      'profile.switch.15': 'Switch to profile 15',
      'profile.switch.16': 'Switch to profile 16',
      'profile.switch.17': 'Switch to profile 17',
      'profile.switch.18': 'Switch to profile 18',
      'profile.next': 'Next profile',
      'profile.prev': 'Previous profile',
      'profile.toggleAll': 'Toggle all-profiles view',
      'profile.create': 'Create profile',
      'composer.send': 'Send message',
      'composer.newline': 'Insert newline',
      'composer.steer': 'Steer the running turn',
      'composer.queue': 'Queue message',
      'composer.sendQueued': 'Send next queued turn',
      'composer.mention': 'Reference files, folders, URLs',
      'composer.slash': 'Slash command palette',
      'composer.help': 'Quick help',
      'composer.history': 'Cycle popover / history',
      'composer.cancel': 'Close popover · cancel run'
    }
  },

  findInPage: {
    next: 'Next match',
    previous: 'Previous match'
  },

  language: {
    label: 'Language',
    description: 'Choose the language for the desktop interface.',
    saving: 'Saving language…',
    saveError: 'Language update failed',
    switchTo: 'Switch language',
    searchPlaceholder: 'Search languages…',
    noResults: 'No languages found'
  },

  settings: {
    subpages: {
      appearanceTheme: 'Theme',
      appearanceTypography: 'Typography',
      appearanceWindowLayout: 'Window & layout',
      appearanceChatDisplay: 'Chat display',
      appearancePet: 'Pet',
      appearanceGeneral: 'General',
      modelMain: 'Main model',
      modelAuxiliary: 'Auxiliary models',
      modelMoa: 'Mixture of Agents',
      modelFallbacks: 'Fallback models',
      chatBehavior: 'Behavior',
      chatAttachments: 'Attachments',
      workspaceProjects: 'Projects & discovery',
      workspaceShell: 'Shell environment',
      workspaceFiles: 'Files & execution',
      safetyApprovals: 'Approvals',
      safetyPrivacy: 'Privacy & network',
      safetyCheckpoints: 'Checkpoints',
      browserProfile: 'Browser profile',
      browserNetwork: 'Local & private URLs',
      memoryPersistent: 'Persistent memory',
      memoryContext: 'Context & compression',
      voiceConversation: 'Voice conversation',
      voiceTranscription: 'Speech to text',
      voiceSpeech: 'Text to speech',
      advancedRuntime: 'Agent limits',
      advancedTools: 'Tool access',
      advancedTerminal: 'Terminal backend',
      advancedOutput: 'Output limits',
      advancedDelegation: 'Subagents',
      advancedDesktop: 'Desktop & startup',
      gatewayConnection: 'This window',
      gatewayDevices: 'Saved connections',
      gatewayManagedUpdates: 'Remote updates',
      gatewayManagedUpdatesUnavailable: 'Remote updates need a desktop version with managed SSH update support.',
      gatewayManagedUpdatesEmpty: 'Add an SSH connection in Saved connections to manage its updates here.',
      keyboardShortcuts: 'Key bindings',
      hudGesture: 'HUD gesture',
      screenCapture: 'Screen capture',
      notificationAlerts: 'Desktop alerts',
      notificationSounds: 'Sounds',
      archivedSessions: 'Archive & retention',
      defaultDirectory: 'Default project folder',
      vaultCredentials: 'Saved credentials',
      vaultSources: 'Password managers',
      appUpdates: 'Version & updates',
      uninstall: 'Uninstall',
      billingOverview: 'Overview',
      billingPlans: 'Plans'
    },
    closeSettings: 'Close settings',
    exportConfig: 'Export config',
    importConfig: 'Import config',
    resetToDefaults: 'Reset to defaults',
    resetConfirm: 'Reset all settings to Hermes defaults?',
    exportFailed: 'Export failed',
    resetFailed: 'Reset failed',
    pluginPages: {
      blurb: 'Options that installed plugins add. Each plugin gets its own page, and some add sub-pages under it.',
      empty: 'No plugin has settings yet.',
      manage: 'Manage plugins',
      agentSettings: 'Agent settings',
      pageCount: (n: number) => (n === 1 ? '1 page' : `${n} pages`),
      missing: 'That plugin has no settings page. It may be disabled or uninstalled.'
    },
    nav: {
      providers: 'Providers',
      providerAccounts: 'Accounts',
      providerApiKeys: 'API keys',
      providerCustomEndpoints: 'Custom Endpoints',
      providerLocalModels: 'Local Models',
      gateway: 'Gateways',
      apiKeys: 'Tools & Keys',
      keybinds: 'Keyboard Shortcuts',
      keysTools: 'Tools',
      keysSettings: 'Settings',
      mcp: 'MCP',
      archivedChats: 'Archived Chats',
      sessions: 'Sessions',
      about: 'About',
      billing: 'Billing',
      notifications: 'Notifications',
      vault: 'Passwords & Logins',
      plugins: 'Plugins'
    },
    plugins: {
      title: 'Desktop plugins',
      openFolder: 'Open Desktop plugins folder',
      rescan: 'Rescan',
      reveal: 'Reveal in file manager',
      enable: 'Enable',
      disable: 'Disable',
      failed: 'failed',
      kinds: { bundled: 'bundled', disk: 'on disk', runtime: 'runtime' },
      installModal: {
        installFromGit: 'Install from Git',
        reviewRepository: 'Review repository',
        repoPlaceholder: 'https://github.com/owner/repo',
        title: 'Install plugin',
        description: 'Review what this repository contains before installing anything.',
        repoLabel: 'Repository',
        verified: 'Verified',
        unverified: 'Unverified',
        reviewedByNous: 'Reviewed by Nous.',
        installsAndEnables: profile => `Installs for ${profile} and turns on right away.`,
        installsOnly: profile => `Installs for ${profile}.`,
        advanced: 'Advanced',
        versionLabel: 'Version',
        reviewedPin: sha => (sha ? `Reviewed pin ${sha}` : 'Reviewed pin'),
        latestCommit: 'Latest commit',
        sourceMoved: sha =>
          sha
            ? `The repository changed since you reviewed it. Review the new version (commit ${sha}) before installing it.`
            : 'The repository changed since you reviewed it. Reading the new version…',
        legacyBackendConfirm:
          'This backend is older than this app, so it cannot guarantee that the version you reviewed is the one that gets installed: if the repository changed since, the newer version installs instead. Update the backend to get that guarantee.',
        installAnyway: 'Install anyway',
        partialInstall: sha =>
          sha
            ? `Only part of this plugin is installed: the agent half is in at commit ${sha}, but the desktop half could not follow because the repository changed since you reviewed it. Turn on Force reinstall under Advanced to replace both halves with the version shown, or Cancel to keep only the agent half.`
            : 'Only part of this plugin is installed: the agent half is in, but the desktop half could not follow because the repository changed since you reviewed it. Turn on Force reinstall under Advanced to replace both halves with the version shown, or Cancel to keep only the agent half.',
        nothingToInstall: 'This package has nothing to install here.',
        includesHeading: 'This package includes',
        agentLabel: 'Agent plugin',
        desktopLabel: 'Desktop UI',
        profileLabel: 'Install for profile',
        agentTargetLocal: (profile, dir) => `Installs into the ${profile} backend (${dir})`,
        agentTargetRemote: profile => `Installs into the connected ${profile} backend`,
        toolsConnected: n => (n === 1 ? '1 tool connected' : `${n} tools connected`),
        skillsReady: names => (names.length === 1 ? `skill ${names[0]} ready` : `${names.length} skills ready`),
        nextChat: 'more tools available in your next chat',
        serverNotConnected: (server, reason) => `MCP server ${server} is not connected${reason ? `: ${reason}` : '.'}`,
        missingEnvAction: 'Set it up',
        alreadyInstalled: (name: string) => `${name} is already installed.`,
        desktopTarget: "Installs into this app's local desktop-plugins folder",
        desktopTargetFromPackage: 'Loaded into this app from the package above — same for every profile',
        desktopOnlyNote: 'Desktop-only packages do not install a backend agent plugin.',
        insecureWarning: 'This URL uses an insecure or local scheme. Prefer https:// or git@ for production installs.',
        securityIntro:
          'Install only from sources you trust — review the repository below if you want to see what will be added.',
        sourceHeading: 'Source code',
        viewRepository: 'View repository',
        viewPluginFiles: 'View plugin files',
        enableAgent: 'Enable agent plugin after install',
        forceReinstall: 'Force reinstall (replace if already installed)',
        pinToCommit: 'Pin to commit (optional)',
        pinToCommitPlaceholder: 'Full 40-character commit SHA',
        pinToCommitHint:
          'Everyone installing this SHA gets the same code; the plugin then refuses updates until re-pinned. Leave empty for the latest commit.',
        pinToCommitInvalid: 'Must be a full 40-character commit SHA (branches and tags are not accepted).',
        install: 'Install',
        installing: 'Installing…',
        probing: 'Inspecting repository…',
        probeUnavailable: 'Plugin inspection is unavailable in this environment.',
        desktopUnavailable: 'Desktop plugin install is unavailable in this environment.',
        selectComponent: 'Select at least one component to install.',
        agentSuccess: name => `Agent plugin ${name} installed`,
        desktopSuccess: name => `Desktop plugin ${name} installed`,
        agentFailed: 'Agent plugin install failed',
        installUncertain:
          'Hermes stopped waiting for the install result, but the plugin may still be installing. Close this dialog and use Rescan in Plugins before trying Install again.',
        desktopFailed: 'Desktop plugin install failed',
        missingEnv: (name, vars) =>
          `${name} is installed but needs a key before it can work: ${vars}. Add it now, or the plugin's tools will fail.`
      }
    },
    vault: {
      title: 'Passwords & Logins',
      blurb:
        'Say "log into GitHub" and the agent signs in for you. The first time it meets a sign-in page it asks you for the login right there; after that it just works. Passwords are encrypted on this machine and filled straight into the page — the model never sees them.',
      count: n => `${n} saved`,
      loadFailed: 'Could not load vault items',
      empty: 'Nothing saved yet',
      emptyDesc:
        "You don't have to add anything here. Ask the agent to sign into a site and it will ask you for the login once, on the spot. Use Add if you prefer to enter one ahead of time.",
      add: 'Add',
      addTitle: 'Add a login, card or address',
      addDescription: 'Stored encrypted on this machine. The agent never sees the password.',
      added: 'Saved.',
      adding: 'Saving…',
      addConfirm: 'Save',
      kindField: 'Kind',
      kinds: { login: 'Login', payment: 'Payment card', address: 'Address' },
      labelField: 'Label',
      labelPlaceholder: 'e.g. GitHub work account',
      labelRequired: 'A label is required.',
      originField: 'Site origin',
      originPlaceholder: 'https://github.com',
      originPlaceholderCheckout: 'https://shop.example.com',
      originInvalid: 'Enter a valid URL like https://example.com.',
      identifierTypeField: 'Identifier type',
      identifierTypes: { email: 'Email', phone: 'Phone', username: 'Username' },
      identifierField: 'Identifier',
      identifierShown: identifier => identifier,
      passwordField: 'Password',
      loginFieldsRequired: 'Identifier and password are required.',
      cardNumberField: 'Card number',
      cardNameField: 'Name on card',
      expMonthField: 'Exp. month',
      expYearField: 'Exp. year',
      cvcField: 'CVC',
      postalField: 'Postal code',
      addressLine1Field: 'Address line 1',
      addressLine2Field: 'Address line 2',
      cityField: 'City',
      stateField: 'State / region',
      countryField: 'Country',
      optional: '(optional)',
      createdOn: date => `Added ${date}`,
      deleteAction: 'Remove saved item',
      otpField: 'Authenticator key',
      otpPlaceholder: 'Base32 secret or otpauth:// link',
      otpHint: 'The "setup key" the site shows when you enable 2FA. With it saved, Hermes generates the codes itself.',
      twoFactorBadge: '2FA auto',
      deleteTitle: 'Delete this item?',
      deleteDescription: label => `"${label}" will be removed. This cannot be undone.`,
      deleteConfirm: 'Delete',
      sources: {
        title: 'Password managers',
        blurb:
          'Installed password managers are picked up automatically. The agent asks you to unlock one the first time it needs a login from it (once per session); only a session token stays in memory, and the agent never sees your master password or any login.',
        toggleFailed: 'Could not update password manager',
        notInstalled: name =>
          `Not detected. Install the ${name} command-line tool and sign in to it; Hermes picks it up automatically.`,
        disabledDesc: 'Detected but turned off for Hermes.',
        lockedDesc: 'Detected. The agent will ask you to unlock it when it needs a login, or unlock now.',
        unlockedDesc: 'Unlocked for this session. Locks automatically after 30 minutes idle or when Hermes closes.',
        statusLocked: 'Locked',
        statusNotDetected: 'Not detected',
        statusOff: 'Off',
        statusUnlocked: 'Unlocked',
        unlock: 'Unlock',
        unlocking: 'Unlocking…',
        lock: 'Lock',
        unlocked: name => `${name} unlocked for this session.`,
        unlockTitle: name => `Unlock ${name}`,
        unlockDescription:
          'Enter your master password. It is handed to the password manager on this machine and discarded — it is never stored, logged, or shown to the agent.',
        masterPasswordPlaceholder: 'Master password'
      }
    },
    notifications: enNotifications,
    sections: {
      model: 'Model',
      chat: 'Chat',
      appearance: 'Appearance',
      workspace: 'Workspace',
      safety: 'Safety',
      memory: 'Memory & Context',
      voice: 'Voice',
      advanced: 'Advanced'
    },
    searchPlaceholder: {
      about: 'About Hermes Desktop',
      config: 'Search settings...',
      gateway: 'Gateway connection...',
      keys: 'Search API keys...',
      mcp: 'Search MCP servers...',
      sessions: 'Search archived sessions...'
    },
    modeOptions: {
      light: { label: 'Light', description: 'Bright desktop surfaces' },
      dark: { label: 'Dark', description: 'Low-glare workspace' },
      system: { label: 'System', description: 'Follow OS appearance' }
    },
    appearance: {
      chatTextScaleTitle: 'Chat Text Size',
      chatTextScaleDesc:
        'Scales conversation text and the message editor relative to UI Scale. Sidebars and controls stay the same size.',
      title: 'Appearance',
      intro: 'Desktop-only. Mode is brightness; theme is palette and chat chrome.',
      colorMode: 'Color Mode',
      colorModeDesc: 'Pick a fixed mode or let Hermes follow your system setting.',
      toolViewTitle: 'Tool Call Display',
      toolViewDesc: 'Product hides raw tool payloads; Technical shows full input/output.',
      hideCodeDiffsTitle: 'Hide code diffs',
      hideCodeDiffsDesc: 'Show file edits as inline tool rows with added/removed line counts, without the code.',
      hideThreadTimelineTitle: 'Hide thread timeline bars',
      hideThreadTimelineDesc: 'Hide the navigation bars along the right edge of each conversation.',
      reasoningCollapsedTitle: 'Collapse thinking by default',
      reasoningCollapsedDesc: 'Keep streamed reasoning available without expanding it until you open it.',
      uiScaleTitle: 'UI Scale',
      uiScaleDesc: (percent: number) =>
        `Scales text and controls across the whole app. Cmd/Ctrl with +, - and 0 also works. Current: ${percent}%.`,
      sessionDensityTitle: 'Session List Density',
      sessionDensityDesc: 'Choose how much context appears beneath session titles in the sidebar.',
      sessionDensityCompact: 'Compact',
      sessionDensityComfortable: 'Comfortable',
      sessionDensityDetailed: 'Detailed',
      tabStripTitle: 'Tab Strip',
      tabStripDesc:
        'Show tabs above a zone. Auto hides them for a single pane unless another chat or tile zone is open.',
      tabStripAuto: 'Auto',
      tabStripAlways: 'Always',
      tabStripNever: 'Never',
      appActionsTitle: 'App Actions',
      appActionsDesc: 'Where Settings, Layout, and HUD sit in the titlebar. Right leaves room for tabs on the left.',
      appActionsLeft: 'Left',
      appActionsRight: 'Right',
      terminalFontTitle: 'Terminal Font',
      terminalFontDesc:
        'Choose an installed font for Desktop terminals. Nerd Fonts render Powerlevel10k and shell icons; leave blank to use bundled JetBrains Mono.',
      terminalFontPlaceholder: 'MesloLGS NF or a CSS font stack',
      terminalFontPreview: 'Glyph preview',
      terminalFontReset: 'Use default',
      chatFontTitle: 'Chat Font',
      chatFontDesc:
        "Choose an installed font for chat and the rest of the app. Handy for readability faces such as OpenDyslexic; leave blank to use the theme's font.",
      chatFontPlaceholder: 'OpenDyslexic or a CSS font stack',
      chatFontPreview: 'Preview',
      chatFontSample: 'The quick brown fox jumps over the lazy dog. 0123456789',
      chatFontReset: 'Use theme font',
      translucencyTitle: 'Window Translucency',
      translucencyDesc: 'See your desktop through the whole window, text and all. Tuned separately for light and dark.',
      translucencyGlassDesc:
        'Matte glass: the desktop shows through as a smooth blur while text stays sharp. Tuned separately for light and dark.',
      translucencyModeClear: 'Clear',
      translucencyModeGlass: 'Glass',
      translucencyTintTitle: 'Tint',
      translucencyFadeTitle: 'Fade',
      translucencyFrostTitle: 'Frost',
      translucencyFrost: {
        'under-window': 'Deep',
        popover: 'Soft',
        titlebar: 'Bright',
        header: 'Glare'
      },
      translucencyScopeTitle: 'Area',
      translucencyScope: {
        window: 'Whole window',
        sidebar: 'Sidebar only'
      },
      backdropTitle: 'Chat Backdrop',
      backdropDesc: 'The faint statue image behind the conversation.',
      userBubbleTitle: 'Message Bubble',
      userBubbleDesc: 'How see-through your own messages are. Solid at 0; only the outline remains at 100.',
      textDirectionTitle: 'Text direction',
      textDirectionDesc:
        'How chat messages and the composer choose their direction. Auto follows the first letter of each paragraph; pick a direction when mixed text lines up the wrong way. Code always stays left-to-right.',
      textDirection: { auto: 'Auto', rtl: 'Right-to-left', ltr: 'Left-to-right' },
      introSplashTitle: 'Intro Splash',
      introSplashDesc: 'The wordmark and prompt shown on an empty chat.',
      modelPricingTitle: 'Model Pricing',
      modelPricingDesc: 'Show input, output, and cache-read prices per million tokens in the model picker.',
      reactionsTitle: 'Message Reactions',
      reactionsDesc: 'iMessage-style emoji tapbacks — react to messages, and Hermes can react to yours.',
      tipsTitle: 'In-App Tips',
      tipsDesc:
        'Occasional hints from the app and Hermes. Each tip appears once. Turns off automatically after your first 30 days; you can turn it back on.',
      tipsReset: (count: number) => `Show ${count} ${count === 1 ? 'tip' : 'tips'} again`,
      toursTitle: 'Guided Tours',
      toursDesc:
        'Let Hermes spotlight each step as it guides you through the app. Turns off automatically after your first 30 days; you can turn it back on.',
      composerPopoutTitle: 'Floating Composer',
      composerPopoutDesc: 'Allow dragging the composer out of its dock. When off, it stays docked at the bottom.',
      fileBrowserTitle: 'File Browser',
      fileBrowserDesc:
        'Show the file browser beside the chat when a workspace is open. The titlebar toggle changes this too.',
      vibeHeartsTitle: 'Vibe Hearts',
      vibeHeartsDesc:
        'Floating hearts when you say thanks, ily, good bot, or send a heart. Separate from Message Reactions above.',
      embedsTitle: 'Inline Embeds',
      embedsDesc:
        'Rich previews load from third-party sites (YouTube, X, …). Ask shows a placeholder until you allow each one; Always loads them automatically; Off keeps plain links.',
      embedsAsk: 'Ask',
      embedsAlways: 'Always',
      embedsOff: 'Off',
      embedsReset: (count: number) => `Reset ${count} allowed ${count === 1 ? 'service' : 'services'}`,
      resumeLastSessionTitle: 'Reopen Last Chat on Launch',
      resumeLastSessionDesc:
        'When enabled, the app reopens your most recent chat on cold start. Turn off to always start with a fresh new chat.',
      product: 'Product',
      productDesc: 'Human-friendly tool activity with concise summaries.',
      technical: 'Technical',
      technicalDesc: 'Include raw tool args/results and low-level details.',
      themeTitle: 'Theme',
      themeDesc: 'Desktop palettes only. The selected mode is applied on top.',
      themeSearchPlaceholder: 'Search your themes or the VS Code Marketplace…',
      themeProfileNote: profile => `Saved for the ${profile} profile — each profile keeps its own theme.`,
      installTitle: 'Install from VS Code',
      installDesc:
        'Paste a Marketplace extension id (e.g. dracula-theme.theme-dracula) to convert its color theme into a desktop palette.',
      installPlaceholder: 'publisher.extension',
      installButton: 'Install',
      installing: 'Installing…',
      installError: 'Could not install that theme.',
      installed: name => `Installed “${name}”.`,
      removeTheme: 'Remove theme',
      importedBadge: 'Imported',
      pet: {
        title: 'Pet',
        intro:
          'Adopt an animated petdex mascot that floats over the app and reacts to what Hermes is doing — running while tools execute, celebrating on success, sulking on errors.',
        restartHint:
          'Pets need a quick restart — the running app started before this feature was added. Quit and reopen Hermes, then come back here.',
        scaleTitle: 'Size',
        scaleDesc: 'Resize the floating mascot. Applies everywhere instantly.',
        roamTitle: 'Roam',
        roamDesc: 'Let the pet wander the window on its own while idle.',
        chooseTitle: 'Choose a pet',
        chooseDesc: 'Picking one installs it (if needed) and makes it active.',
        searchPlaceholder: 'Search pets…',
        unreachable: "Couldn't reach the petdex gallery. Check your connection and reopen this page.",
        noMatch: query => `No pets match "${query}".`,
        installedTag: 'installed',
        generatedTag: 'Generated',
        countCapped: (cap, total) => `Showing ${cap} of ${total} — type to narrow it down.`,
        count: n => `${n} pet${n === 1 ? '' : 's'}.`,
        uninstall: name => `Uninstall ${name}`,
        delete: name => `Delete ${name}`,
        deleteTitle: name => `Delete ${name}?`,
        deleteBody: "This permanently deletes the pet — it can't be reinstalled.",
        deleteConfirm: 'Delete',
        rename: name => `Rename ${name}`,
        renameTitle: 'Rename pet',
        renamePlaceholder: 'Name your pet',
        renameSave: 'Save',
        exportPet: name => `Export ${name}`,
        adoptFailed: slug => `Could not adopt ${slug}`,
        uninstallFailed: slug => `Could not uninstall ${slug}`,
        renameFailed: slug => `Could not rename ${slug}`,
        exportFailed: slug => `Could not export ${slug}`,
        noneAvailable: 'No pets available to turn on right now.',
        turnOnFailed: 'Could not turn the pet on.',
        turnOffFailed: 'Could not turn the pet off.'
      }
    },
    fieldLabels: FIELD_LABELS,
    fieldDescriptions: FIELD_DESCRIPTIONS,
    uninstallSection: enUninstallSection,
    memoryLayers: enMemoryLayers,
    customEndpoints: {
      active: 'Active',
      apiKeySet: 'API key set',
      use: 'Use',
      editTitle: 'Edit Endpoint',
      addTitle: 'Add Endpoint',
      fields: {
        name: 'Name',
        providerId: 'Provider ID',
        endpointUrl: 'Endpoint URL',
        defaultModel: 'Default Model',
        context: 'Context',
        apiKey: 'API Key',
        apiKeyNewPlaceholder: 'Leave blank to keep current key',
        apiKeyPlaceholder: 'Optional',
        useNewChats: 'Use for new chats',
        discoverModels: 'Discover models'
      },
      test: 'Test',
      save: 'Save',
      newEndpoint: 'New endpoint',
      apiMode: 'API Mode',
      autoDetect: 'Auto-detect',
      couldNotLoad: 'Could not load custom endpoints',
      endpointSaved: 'Custom endpoint saved.',
      saveFailed: 'Save failed',
      endpointReachable: 'Endpoint is reachable.',
      endpointReachableTransport: transport => `Endpoint is reachable (${transport} route served).`,
      endpointReachableModels: (reachable, count) => `${reachable} Found ${count} models.`,
      endpointValidationFailed: 'Endpoint validation failed.',
      validationFailed: 'Validation failed',
      activationFailed: 'Activation failed',
      deleteConfirm: name => `Delete ${name}?`,
      deleteFailed: 'Delete failed',
      title: 'Custom Endpoints',
      deleteEndpoint: 'Delete endpoint',
      emptyDescription: 'Add an OpenAI-compatible endpoint below.',
      emptyTitle: 'No custom endpoints',
      namePlaceholder: 'Axet Proxy',
      contextPlaceholder: 'Auto'
    },
    computerUse: {
      accessibility: 'Accessibility',
      screenRecording: 'Screen Recording',
      driverHealth: 'Driver health'
    },
    about: { updates: 'Updates', channel: enUpdateChannel },
    config: {
      minimizeToTrayTitle: 'Minimize to tray',
      minimizeToTrayDesc:
        'Minimize windows or close the main window to hide them in the system tray (menu bar on macOS) and keep Hermes running. Use Quit Hermes from the tray menu or Cmd+Q to exit. Off by default; applies only to this device.',
      minimizeToTrayUnavailable:
        'The system tray is unavailable. Windows will minimize and close normally. Turn this off and on to retry.',
      none: 'None',
      noneParen: '(none)',
      builtinOnly: 'Built-in only',
      notSet: 'Not set',
      commaSeparated: 'comma-separated values',
      searchPlaceholder: 'Search…',
      noResults: 'No results found',
      systemDefault: 'System default',
      loading: 'Loading Hermes configuration...',
      emptyTitle: 'Nothing to configure',
      emptyDesc: 'This section has no adjustable settings.',
      failedLoad: 'Settings failed to load',
      autosaveFailed: 'Autosave failed',
      imported: 'Config imported',
      invalidJson: 'Invalid config JSON',
      toolsetsWipeConfirm:
        'Remove all enabled toolsets? This disables memory, terminal, web search, delegation, and most other tools until you re-enable them.',
      keepAwakeTitle: 'Keep computer awake',
      keepAwakeDesc:
        'Stop this machine from sleeping. "While working" holds it only while a turn is in flight, so overnight runs survive without pinning the laptop awake all week. The display can still dim.',
      keepAwakeOff: 'Off',
      keepAwakeWhileWorking: 'While working',
      keepAwakeAlways: 'Always',
      disableF12Title: 'Disable F12 DevTools',
      disableF12Desc: 'Block F12 from opening Developer Tools. Ctrl+Shift+I (or Cmd+Opt+I on Mac) still works.',
      alwaysExternalLinksTitle: 'Always open links in external browser',
      alwaysExternalLinksDesc:
        'Open every link you click in your system browser instead of the in-app browser. "Open in in-app browser" in the right-click menu still works.',
      attachmentSizeTitle: 'Max preview / image load size',
      attachmentSizeDesc:
        'How big a local file Desktop will load for previews and image attach, in MB. Default is 16. Remote non-image attach uses a separate 256 MB cap. Setting this very high loads the whole file into memory and can freeze or crash the app.',
      attachmentSizeUnit: 'MB',
      attachmentSizeLabel: 'Max preview / image load size in megabytes',
      voiceShortcutHintTitle: 'Voice recording shortcut',
      voiceShortcutHintDesc:
        'Set the voice recording shortcut in Settings → Keyboard Shortcuts ("Start / stop voice conversation"). The voice.record_key config value only applies to the CLI and TUI.',
      showOptions: 'Show options'
    },
    hudModifier: {
      title: 'Tap to summon HUD',
      description:
        'Tap and release ⌘ + Option on Mac, or Ctrl + Alt on Windows/Linux, to bring the HUD forward from any app. Off by default; applies only to this device.',
      permission:
        'Allow Hermes in System Settings → Privacy & Security → Input Monitoring, then retry. This gesture does not record keystrokes or capture your screen.',
      unavailable:
        'The HUD gesture helper could not start or stopped unexpectedly. Retry, or restart Hermes. The existing HUD shortcut still works inside Hermes.',
      missingHelper:
        'This Hermes installation is missing the HUD gesture helper. Update or reinstall Hermes, then retry.',
      unsupportedSession:
        'This desktop session does not support global modifier taps. Linux requires X11; Wayland is not supported.'
    },
    screenshot: {
      enabledTitle: 'Screenshot shortcut',
      enabledDesc:
        'Press both Command keys together from any app to capture its frontmost window and attach it to your current Hermes draft. Never sends automatically. Off by default; applies only to this Mac. Window contents may be sensitive — review the attachment before sending.',
      statusTitle: 'Screenshot shortcut status',
      checking: 'Checking screenshot shortcut…',
      disabled: 'Screenshot shortcut is off.',
      starting: 'Starting the shortcut listener. It is not ready yet.',
      ready: 'Shortcut is ready. Screenshots attach to your current draft without sending.',
      inputPermission:
        'Input Monitoring permission lets Hermes detect both Command keys while another app is active. Allow Hermes in System Settings → Privacy & Security → Input Monitoring, then return here and retry.',
      screenPermission:
        'Screen Recording permission lets Hermes capture the frontmost app window when you use this shortcut. Allow Hermes in System Settings → Privacy & Security → Screen Recording, then return here and retry. Restart Hermes if macOS asks.',
      openSettings: 'Open System Settings',
      retry: 'Retry',
      unavailable: 'The screenshot shortcut is unavailable. Retry, or turn it off.',
      errorTitle: 'Screenshot shortcut error',
      loadFailed: 'Could not read the shortcut status. Retry to check its current setting.',
      saveFailed: 'Could not confirm the shortcut change. Retry to check its current setting.',
      permissionFailed: 'Could not open System Settings. Open Privacy & Security manually, then retry.',
      captureFailed: 'Could not capture the frontmost window. Nothing was attached or sent.',
      contextChanged: 'The current draft changed during capture. The screenshot was not attached or sent.'
    },
    quickEntry: {
      enabledTitle: 'Quick Entry',
      enabledDesc:
        'Summon a small composer from anywhere with a global shortcut and fire a prompt without opening Hermes.',
      shortcutTitle: 'Quick Entry shortcut',
      shortcutDesc: 'Needs at least one modifier, e.g. CommandOrControl+Shift+Space.',
      active: 'Shortcut is active.',
      takenBy: 'Another app already uses this shortcut — pick a different one.',
      invalidShortcut: 'Not a valid shortcut. Include at least one modifier key.'
    },
    credentials: {
      pasteKey: 'Paste key',
      pasteLabelKey: label => `Paste ${label} key`,
      optional: 'Optional',
      enterValueFirst: 'Enter a value first.',
      couldNotSave: 'Could not save credential.',
      remove: 'Remove',
      getKey: 'Get a key',
      saving: 'Saving'
    },
    envActions: {
      actions: 'Actions',
      manageInKeys: 'Manage in API Keys',
      docs: 'Docs',
      hideValue: 'Hide value',
      revealValue: 'Reveal value',
      replace: 'Replace',
      set: 'Set',
      clear: 'Clear'
    },
    // v2 multi-connection registry: Settings → Gateways.
    connections: {
      title: 'Registered gateways',
      intro: 'Manage this device and every Hermes gateway it can reach through remote, SSH, or Cloud connections.',
      stagedNote:
        'Every gateway stays connected. Profiles, chats, messaging, and cron jobs stay with their gateway, and Sessions can show all of them at once.',
      launchModeTitle: 'At startup, return to Sessions on the last-used gateway',
      launchModeDesc: 'When off, Sessions opens on the Primary gateway.',
      searchPlaceholder: 'Search gateways…',
      noSearchResults: 'No gateways match your search.',
      loadFailed: 'Could not load connections',
      currentPill: 'Current',
      primaryPill: 'Primary',
      managedPill: 'App-managed',
      addConnection: 'Add connection',
      editConnection: 'Edit',
      removeConnection: 'Remove',
      removeConfirmTitle: 'Remove this connection?',
      removeConfirmDesc: (label: string) =>
        `“${label}” will be removed from this app. The instance itself is not touched — you can add it again any time.`,
      makePrimary: 'Make primary',
      testConnection: 'Test',
      testOk: 'Reachable',
      testFailed: 'Connection test failed',
      saveFailed: 'Could not save the connection',
      removeFailed: 'Could not remove the connection',
      updateAll: 'Update all instances',
      updateAllRunning: 'Updating all instances…',
      updateAllDone: 'Updates dispatched',
      updateAllFailed: 'Update fan-out failed',
      updateSkippedCloud: 'Managed by Hermes Cloud',
      kindLocal: 'Local',
      kindRemote: 'Remote gateway',
      kindCloud: 'Hermes Cloud',
      kindSsh: 'SSH',
      kindLocalDesc: 'The Hermes runtime managed by this app.',
      kindRemoteDesc: 'A Hermes gateway reachable over HTTP(S) — LAN, Tailscale, or the internet.',
      kindCloudDesc: 'A hosted instance discovered through your Hermes Cloud account.',
      kindSshDesc: 'A Hermes install reached over SSH.',
      labelTitle: 'Name',
      labelDesc: 'Required. Shown everywhere this instance appears; must be unique (e.g. “Homelab”, “Work laptop”).',
      labelPlaceholder: 'Homelab',
      urlTitle: 'Gateway URL',
      sshHostTitle: 'SSH host',
      headersTitle: 'Extra gateway headers',
      headersDesc:
        'Sent with every HTTP and WebSocket request to this gateway — for access proxies such as Cloudflare Access (CF-Access-Client-Id / CF-Access-Client-Secret). Values are stored encrypted. Headers Hermes manages (Authorization, Cookie, Host…) are ignored.',
      headerValuePlaceholder: 'Value',
      headerValueSaved: 'Saved — leave blank to keep',
      headerAdd: 'Add header',
      headerRemove: 'Remove',
      duplicateLocal: 'This app already manages a local connection — there can only be one.',
      duplicateUrl: (label: string) => `A connection to this gateway URL already exists (“${label}”).`,
      duplicateSsh: (label: string) => `A connection to this SSH host already exists (“${label}”).`,
      sameBackendHint: (label: string) => `Same backend as “${label}”`,
      localAddHint: 'Local is unavailable: the managed local connection already exists (there is only ever one).',
      cloudAddHint:
        'Tip: signing in under Hermes Cloud above discovers your agents automatically — use this form only to register a known instance URL by hand.',
      save: 'Save connection',
      saving: 'Saving…',
      cancel: 'Cancel',
      empty: 'No connections registered yet.'
    },
    managedUpdates: {
      title: 'Managed updates',
      intro:
        'Update Desktop-managed SSH installs transactionally: sessions drain, the remote checkout updates, and every profile is restored with a correlated receipt.',
      sshConnection: 'Desktop-managed SSH install',
      update: 'Update',
      updating: 'Updating…',
      progress: 'Draining sessions, updating the remote install, and restoring profiles…',
      updated: 'Updated',
      partial: 'Updated — restore failed',
      refused: 'Refused',
      failed: 'Update failed',
      alreadyRunning: 'Update already in progress',
      receipt: (id: string, outcome: string) => `Receipt ${id} · ${outcome}`,
      receiptVersions: (pre: string, post: string) => `${pre} → ${post}`,
      scopesRestored: (profiles: string) => `Restored profiles: ${profiles}`,
      scopeNotRestored: (profile: string, error: string) => `Profile “${profile}” not restored: ${error}`
    },
    gateway: {
      loading: 'Loading gateway settings...',
      ...enGatewayHost,
      title: 'Gateway Connection',
      envOverride: 'env override',
      intro:
        'Local by default. Use remote when this app should drive a Hermes backend elsewhere. Gateway connections are machine-level; profiles are discovered from the gateways you connect.',
      envOverrideTitle: 'This connection was fixed by the way Hermes was launched.',
      envOverrideDesc:
        'A startup setting outside the app chose this connection, so the options below are read-only. Restart Hermes without that setting — or ask whoever set it up — to change it here.',
      modeTitle: 'Connection mode',
      localTitle: 'Local gateway',
      localDesc: 'Start a private Hermes backend on localhost. This is the default and works offline.',
      remoteTitle: 'Remote gateway',
      remoteDesc: 'Connect this desktop shell to a remote Hermes backend.',
      remoteAuthHint: 'Hosted gateways use OAuth or a username and password; self-hosted ones may use a session token.',
      cloudTitle: 'Hermes Cloud',
      cloudDesc: 'Sign in once to Hermes Cloud and pick from the agents on your account — no URL to paste.',
      cloudSignInTitle: 'Hermes Cloud',
      cloudSignIn: 'Sign in to Hermes Cloud',
      cloudSignedIn: 'Signed in to Hermes Cloud',
      cloudNeedsSignIn: 'Sign in to Hermes Cloud to discover the agents on your account.',
      cloudSignedInDesc: 'You are signed in. Pick an agent below; the session refreshes automatically.',
      cloudAgentsTitle: 'Your agents',
      cloudOrgPickerTitle: 'Choose an organization',
      cloudOrgSelect: 'Select',
      cloudOrgChange: 'Change org',
      cloudOrgRole: role => `Role: ${role}`,
      cloudLoadingAgents: 'Loading your agents…',
      cloudNoAgents: {
        before: 'No agents found on this account. Create one in the ',
        linkText: 'Nous portal',
        after: ', then refresh.'
      },
      cloudRefresh: 'Refresh',
      cloudConnect: 'Connect',
      cloudSavedTitle: 'Saved Cloud gateways',
      cloudSavedDesc:
        'Use a saved gateway without changing your default. Sign in below to add instances. Manage names and sign-in in the saved connections list.',
      cloudUseSaved: 'Use gateway',
      cloudActive: 'Active in this window',
      cloudConnecting: 'Connecting…',
      cloudDiscoverFailed: 'Could not load your Hermes Cloud agents',
      cloudConnectFailed: 'Could not connect to that agent',
      cloudSignInFailed: 'Hermes Cloud sign-in failed',
      cloudSignedOutTitle: 'Signed out of Hermes Cloud',
      cloudSignedOutMessage: 'Cleared the Hermes Cloud session.',
      cloudConnectedTitle: 'Connected',
      cloudConnectedPill: 'Connected',
      cloudConnectedTo: name => `Connected to ${name}.`,
      cloudAgentProvisioning: 'Provisioning…',
      cloudStatusLabel: status => `Status: ${status}`,
      remoteUrlTitle: 'Remote URL',
      remoteUrlDesc: 'Base URL for the remote dashboard backend. Path prefixes are supported, for example /hermes.',
      probing: 'Checking how this gateway authenticates…',
      probeError:
        "Hermes can't reach that address. Check the URL and that the other computer is running Hermes — sign-in options appear once it answers.",
      signedIn: 'Signed in',
      signIn: 'Sign in',
      signOut: 'Sign out',
      signInWith: provider => `Sign in with ${provider}`,
      authTitle: 'Authentication',
      authSignedInPassword:
        'This gateway uses a username and password. You are signed in; the session refreshes automatically.',
      authSignedInOauth: 'This gateway uses OAuth. You are signed in; the session refreshes automatically.',
      authNeedsPassword: 'This gateway uses a username and password. Sign in to authorize this desktop app.',
      authNeedsOauth: provider => `This gateway uses OAuth. Sign in with ${provider} to authorize this desktop app.`,
      tokenTitle: 'Session token',
      tokenDesc: 'The dashboard session token used for REST and WebSocket access. Leave blank to keep the saved token.',
      existingToken: value => `Existing token ${value}`,
      savedToken: 'saved',
      pasteSessionToken: 'Paste session token',
      plainTextConfirmTitle: 'Store the gateway token in plain text?',
      plainTextConfirmDesc:
        'No OS keyring service was found on this machine, so the token would be saved unencrypted in the app’s connection settings file, readable by any process running as this user. Install or enable your system keychain (GNOME Keyring or KWallet on Linux) for encrypted storage.',
      plainTextConfirmAction: 'Save as plain text',
      plainTextStoredTitle: 'Token stored in plain text',
      plainTextStoredDesc:
        'Secure storage is unavailable, so the saved token is stored unencrypted in the app’s connection settings file on this machine. Install or enable your system keychain (GNOME Keyring or KWallet on Linux) to encrypt it.',
      keychainEncryptionTitle: 'Encrypt saved secrets with the OS keychain',
      keychainEncryptionDesc:
        'Off by default. When on, gateway tokens and sign-in credentials are encrypted with your system keychain (Keychain Access, GNOME Keyring, or Windows DPAPI) — your system may ask for permission or a password. When off, they are stored as plain files readable only by your user account.',
      keychainEncryptionFailed: 'Could not change secret encryption',
      testRemote: 'Test remote',
      saveForRestart: 'Save for next restart',
      saveAndReconnect: 'Save and reconnect',
      diagnostics: 'Diagnostics',
      diagnosticsDesc: 'Reveal desktop.log in your file manager — useful when the gateway fails to start.',
      openLogs: 'Open logs',
      incompleteTitle: 'Remote gateway incomplete',
      incompleteSignIn: 'Enter a remote URL and sign in before switching to remote.',
      incompleteToken: 'Enter a remote URL and session token before switching to remote.',
      incompleteSignInTest: 'Enter a remote URL and sign in before testing.',
      incompleteTokenTest: 'Enter a remote URL and session token before testing.',
      enterUrlFirst: 'Enter a remote URL first.',
      restartingTitle: 'Gateway connection restarting',
      savedTitle: 'Gateway settings saved',
      restartingMessage: 'Hermes Desktop will reconnect using the saved settings — the shell stays open.',
      savedMessage: 'Saved for the next restart.',
      connectedTo: (baseUrl, version) => `Connected to ${baseUrl}${version ? ` · Hermes ${version}` : ''}`,
      reachableTitle: 'Remote gateway reachable',
      signedOutTitle: 'Signed out',
      signedOutMessage: 'Cleared the remote gateway session.',
      failedLoad: 'Gateway settings failed to load',
      signInFailed: 'Sign-in failed',
      signOutFailed: 'Sign-out failed',
      testFailed: 'Remote gateway test failed',
      applyFailed: 'Could not apply gateway settings',
      saveFailed: 'Could not save gateway settings',
      sshTitle: 'Connect via SSH',
      sshDesc:
        'Hermes is launched on the remote over SSH and tunneled to this app — nothing to start or expose yourself. Requires working key-based SSH access to the host.',
      sshTrustHint: 'The first presented host key is trusted and pinned; later changes fail closed.',
      sshHostTitle: 'Host',
      sshHostDesc: 'user@host, or a Host alias from ~/.ssh/config.',
      sshHostPick: 'Select a host…',
      sshHostPickTitle: 'Host',
      sshHostPickDesc: 'A Host alias from ~/.ssh/config, or Custom to type one.',
      sshHostCustom: 'Custom (enter manually)…',
      sshUserTitle: 'User',
      sshUserDesc: 'Blank = ~/.ssh/config or your current user.',
      sshUserPlaceholder: 'from ~/.ssh/config',
      sshPortTitle: 'Port',
      sshPortDesc: 'Blank = 22 or the ~/.ssh/config port.',
      sshKeyTitle: 'Identity file',
      sshKeyDesc: 'Private key path. Blank = ssh-agent or ~/.ssh/config.',
      sshHermesPathTitle: 'Hermes path (optional)',
      sshHermesPathDesc: 'Full path to the remote hermes binary. Blank = auto-detect.',
      sshHermesPathPlaceholder: 'auto-detect',
      sshTestConnection: 'Test SSH',
      sshConnect: 'Connect',
      sshButtonsHint: 'Save applies on the next launch. Connect reconnects now.',
      sshReachable: (host, platform) => `Reachable: ${host} (${platform}) — Hermes found`,
      sshIncompleteHost: 'Enter an SSH host before connecting.',
      sshErrUnreachable: 'Could not reach that host over SSH. Check the host, port, and your network.',
      sshErrAuth:
        'SSH authentication failed. Load your key into the ssh-agent (ssh-add) or set an IdentityFile in ~/.ssh/config — Hermes runs ssh non-interactively.',
      sshErrHostKey:
        'The host key has CHANGED since you last connected. Verify this is expected, then run ssh-keygen -R <host> and reconnect.',
      sshErrNotInstalled:
        'Hermes is not installed on the remote host. Install it there (curl -fsSL https://hermes-agent.nousresearch.com/install.sh | sh) or set the Hermes path.',
      sshErrPlatform:
        'Unsupported remote platform. Hermes Desktop SSH mode supports Linux, macOS, and Windows remote hosts.',
      sshErrTimeout: 'SSH connection timed out. The host may be unreachable or asleep.',
      sshErrUpdateRequired: 'Update Hermes on the remote host before connecting with Desktop SSH.',
      sshErrInteractiveAuth:
        'Tailscale SSH requires an interactive browser check. In Terminal, run `ssh <host> true`, complete the check, then retry — Hermes runs SSH non-interactively.',
      sshErrUnknown: 'SSH connection failed.'
    },
    keys: {
      loading: 'Loading API keys and credentials...',
      failedLoad: 'API keys failed to load',
      empty: 'Nothing configured in this category yet.'
    },
    search: {
      placeholder: 'Search all settings…',
      pill: 'Search'
    },
    profileScope: {
      appliesTo: 'Applies to',
      editsProfile: profile => `Changes on this page apply to the “${profile}” profile.`
    },
    mcp: {
      loading: 'Loading MCP servers...',
      invalidJson: 'Invalid MCP JSON',
      saveFailed: 'Save failed',
      removeFailed: 'Remove failed',
      reloadFailed: 'MCP reload failed',
      savedTitle: 'MCP server saved',
      savedMessage: name => `${name} applies after MCP reload.`,
      disabled: 'disabled',
      name: 'Name',
      serverJson: 'Server JSON',
      remove: 'Remove',
      test: 'Test connection',
      catalogLoading: 'Loading MCP catalog...',
      catalogInstallFailed: name => `Failed to install ${name}`,
      catalogEnvRequired: 'Fill in the required values before installing.',
      capabilitySummary: (tools, prompts, resources) =>
        `${[`${tools} tools`, ...(prompts ? [`${prompts} prompts`] : []), ...(resources ? [`${resources} resources`] : [])].join(', ')} enabled`,
      costTokens: tokens => `~${tokens} tok/call`,
      usage30d: uses => `${uses} uses/30d`,
      statusConnecting: 'Connecting…',
      statusNeedsAuth: 'Needs authentication',
      statusError: 'Error',
      statusOff: 'Off',
      allServers: 'All servers',
      authenticatedTitle: 'Authenticated',
      authenticatedMessage: (server, count) => `${server}: ${count} tools`,
      authenticate: 'Authenticate',
      noOutput: 'No output yet.',
      deepLinkTitle: 'Add MCP server?',
      deepLinkDescription:
        'A link asked to add this MCP server to Hermes. Review the exact configuration below — it comes from the link, not from Hermes.',
      deepLinkStdioWarning:
        'This server runs a local process on your machine with the command shown below. Only continue if you trust its source.',
      deepLinkConfirm: 'Add server',
      deepLinkNameInvalid: 'Names use 1-64 letters, digits, dots, dashes, or underscores.',
      deepLinkNameConflict: name => `A server named ${name} already exists — choose a different name or cancel.`,
      deepLinkErrorTitle: 'MCP install link rejected',
      deepLinkErrorName: 'The link\u2019s server name is missing or invalid.',
      deepLinkErrorConfig: 'The link\u2019s config is not valid base64-encoded JSON.',
      deepLinkErrorShape: 'The config must be a JSON object with a string `url` or `command` field.',
      deepLinkErrorUrl: 'Only http:// and https:// server URLs are allowed.',
      deepLinkErrorTooLarge: 'The config payload exceeds the 32KB limit.'
    },
    model: enModelSettings,
    localModels: enLocalModels,
    billing: {
      perMonth: amount => `${amount}/mo`,
      creditsPerMonth: amount => `${amount} credits/mo`,
      usageLabel: label => `${label} usage`,
      freeTier: {
        signIn: 'Sign in',
        title: "You're on the Nous free tier",
        message: 'Sign in with a Nous account to unlock more models and tools.',
        caption:
          'Runs on nous/welcome with connectors included. Signing in keeps your connectors and adds the tools that need an account and every other model.',
        name: 'Nous · free tier',
        footnote:
          'The free tier has no balance and nothing to pay. Payment and usage appear when you sign in with a Nous account.',
        plan: 'Free tier',
        model: 'Model',
        connectors: 'Connectors',
        included: 'Included'
      },
      amountValidation: {
        reloadTo: 'Reload-to',
        greaterThanThreshold: 'Reload-to amount must be greater than the threshold.',
        decimal: label => `${label}: enter a dollar amount with at most 2 decimal places.`,
        positive: label => `${label}: amount must be greater than $0.`,
        minimum: (label, amount) => `${label}: minimum is ${amount}.`,
        maximum: (label, amount) => `${label}: maximum is ${amount}.`
      },
      stepUp: {
        openVerification: 'Open verification page',
        dismiss: 'Dismiss',
        waiting: 'Waiting for verification link…',
        verify: 'Verify to continue',
        deniedTitle: 'Verification was not approved',
        deniedBody: 'Verification finished without allowing Remote Spending for this terminal.',
        successTitle: 'Verification complete',
        successBody: 'Remote Spending is allowed for this terminal.'
      },
      charge: {
        added: amount => (amount ? `$${amount} added.` : 'Credits added.'),
        failedTitle: 'Charge failed',
        unconfirmedTitle: 'Charge outcome unconfirmed',
        unconfirmedBody: message =>
          `${message} Your last charge's outcome is unconfirmed - check your balance/history before retrying.`,
        checkTitle: 'Could not check charge',
        checkBody: 'Could not check the charge.',
        untrackedTitle: 'Charge could not be tracked',
        untrackedBody: 'The billing service accepted the request but did not return a charge id.',
        timeoutTitle: 'Still processing after 5 minutes',
        timeoutBody: 'Charge may still settle. Check the portal before retrying.',
        authenticationRequired:
          'Your bank requires verification (3DS). Complete it on the portal to finish this purchase.',
        expired: 'Your card has expired. Update it on the portal.',
        declined: 'Your card was declined. Try another card on the portal.',
        failedBody: reason => `The charge didn't go through (${reason}).`
      },
      title: 'Billing',
      preview: 'preview',
      summary: {
        balance: 'Balance',
        plan: 'Plan',
        autoRefill: 'Auto-refill'
      },
      sections: {
        invoices: 'Invoices',

        plan: 'Plan',
        paymentAndCredits: 'Payment & credits',
        usage: 'Usage'
      },
      usage: {
        title: 'Usage'
      },
      buyCredits: {
        customAmount: 'Custom credit amount',
        title: 'Buy credits now',
        buyButton: 'Buy',
        processing: 'Processing… checking settlement',
        added: amount => `${amount} added. Balance is refreshing.`,
        retry: 'Retry',
        openPortal: 'Open portal'
      },
      plan: {
        title: 'Plans',
        changePlan: 'Change plan',
        viewPlans: 'View plans',
        backAria: 'Back to billing',
        current: 'Current plan',
        scheduled: 'Scheduled',
        empty: 'No plans are available to change to right now.',
        undo: 'Undo',
        undoing: 'Undoing…',
        downgrade: 'Downgrade',
        confirmDowngrade: 'Confirm downgrade',
        tryAgain: 'Try again',
        checkingChange: 'Checking this change…',
        cannotChange: 'That change cannot be made here.',
        alreadyOn: name => `You are already on ${name} — nothing to change.`,
        notScheduleable: 'This change cannot be scheduled here.',
        scheduling: 'Scheduling…',
        cancel: 'Cancel',
        effectScheduled: (targetName, effectiveAt, creditsDelta) =>
          `Change to ${targetName} — takes effect ${effectiveAt}. No charge now; you keep your current plan until then.${creditsDelta ? ` Monthly credits change: ${creditsDelta}.` : ''}`
      },
      keepGoingOnCredits: {
        title: 'Keep going on credits',
        description: 'Use your credits when included usage runs out. Off: Hermes waits for the reset.',
        approveInBrowser: 'Approve Remote Spending in your browser to change this. It applies as soon as you approve.',
        openAgain: 'Open again',
        cancel: 'Cancel',
        approvedRetry: "Remote Spending is approved, but the change didn't save.",
        tryAgain: 'Try again'
      },
      autoReload: {
        threshold: 'Threshold',
        thresholdAria: 'Auto-refill threshold',
        reloadTo: 'Reload to',
        reloadToAria: 'Auto-refill reload-to amount',
        turnOffConfirm: 'Turn off auto-refill?',
        turnOff: 'Turn off',
        disable: 'Disable',
        updated: 'Auto-refill updated.',
        turnedOff: 'Auto-refill turned off.',
        manage: 'Manage',
        save: 'Save',
        saving: 'Saving…',
        cancel: 'Cancel'
      },
      state: {
        notice: {
          loggedOut: {
            title: 'Connect your Nous account',
            message: 'Sign in with your Nous account to see your balance, plan and usage here.',
            action: 'Sign in'
          },
          openPortal: 'Open portal ↗',
          noCard: {
            title: 'No payment method on file',
            message:
              'Buying top-up credits and auto-refill stay disabled until a card is on file. Add one on the portal.',
            action: 'Add card ↗'
          }
        },
        paymentMethod: {
          title: 'Payment method',
          description: 'Manage the card used for top-ups and subscription renewals.',
          addAction: 'Add payment method',
          updateAction: 'Update',
          provenance: {
            autoRefill: 'auto-refill card',
            customerDefault: 'customer default',
            subPin: 'subscription card',
            suffix: label => ` - ${label}`
          }
        },
        buyCredits: {
          description: 'A single charge on your card, added to your balance today.'
        },
        autoRefill: {
          title: 'Refill when low',
          genericDescription: 'Keep your balance topped up when it drops below your threshold.',
          offPill: 'Off',
          enabledPill: 'Enabled',
          notAvailablePill: '—',
          manageCaption: 'Manage auto-refill from the portal.',
          turnOnCaption: 'Turn on auto-refill from the portal',
          chargesDescription: (reloadTo, threshold) =>
            `Charges ${reloadTo} automatically when your balance falls below ${threshold}.`,
          distinctCardCaption: cardLabel => `Auto-refill charges ${cardLabel} — reconcile on the portal`,
          distinctCardFallback: 'a different card',
          reconcileAction: 'Reconcile ↗'
        },
        usage: {
          subscriptionCredits: {
            title: 'Subscription credits',
            barLabel: 'Subscription credits remaining',
            captionResets: date => `Resets ${date}`,
            valueOf: (remaining, monthly) => `${remaining} of ${monthly} left`,
            valueOver: (remaining, monthly, over) => `${remaining} of ${monthly} left · ${over} over`
          },
          topupCredits: {
            title: 'Top-up credits',
            caption: 'Does not expire'
          },
          monthlyCap: {
            title: 'Monthly spend cap',
            barLabel: 'Monthly spend cap used',
            captionDefault: 'Default ceiling',
            captionSpending: 'Monthly remote spending',
            valueUsed: (spent, limit) => `${spent} of ${limit} used`
          },
          window: {
            today: 'Today',
            week: 'This week',
            month: 'This month',
            topTier: 'Large models (monthly)',
            barLabel: title => `${title} included usage used`,
            captionPaused: 'Paused: subscription payment failed',
            captionPausedOther: 'Paused: see Billing in the Portal',
            captionTopTierUsedUp: 'Monthly allowance used up, credits cover the rest',
            captionTopTierUsedUpKeepGoingOff: 'Monthly allowance used up, other included models still work',
            captionResetsIn: duration => `Resets in ${duration}`,
            captionIncluded: 'Included usage',
            valueUsed: percent => `${percent} used`
          }
        },
        planCard: {
          freeTier: 'Free',
          chooseAction: 'Choose ↗',
          adjustPlanAction: 'Adjust plan ↗',
          unavailableCaption: 'Subscription details are unavailable; opening the portal is still available.',
          downgradeCaption: (tierName, when) => `Changes to ${tierName} on ${when}.`,
          cancellationCaption: when => `Cancels on ${when}.`,
          renewsCaption: date => `Renews ${date}`,
          noSubscriptionCaption: 'No active subscription — paid models draw down top-up credits.'
        }
      },
      errors: {
        consentRequired: {
          title: 'Card confirmation needed',
          message: 'Confirm this card for terminal charges in the portal'
        },
        insufficientScope: {
          title: 'Remote Spending needs approval',
          message: 'This needs Remote Spending allowed. Start a top-up to allow it, then retry.'
        },
        remoteSpendingRevoked: {
          title: 'Remote spending was stopped',
          messageByAdmin: 'An admin stopped remote spending for this terminal.',
          messageBySelf: 'You stopped remote spending for this terminal.'
        },
        remoteSpendingReconnect: who => `${who} Reconnect from Settings -> Gateway to re-authorize this device.`,
        sessionRevoked: {
          title: 'Session logged out',
          message: 'Your session was logged out. Sign in again from Settings → Gateway.'
        },
        cliBillingDisabled: {
          title: 'Remote spending is off',
          message:
            "Remote spending is off for this account — a billing admin can turn it on from the portal's Hermes Agent page."
        },
        roleRequired: {
          title: 'Admin role required',
          message: 'Adding funds needs an org admin/owner. Ask an admin, or manage on the portal.'
        },
        idempotencyConflict: {
          title: 'Start a fresh top-up',
          message: '🔴 That charge key was already used for a different amount. Start a fresh top-up.'
        },
        noPaymentMethod: {
          title: 'No saved card',
          message:
            '💳 No saved card for terminal charges yet. Set one up on the portal ' +
            "(one-time credit buys don't save a reusable card)."
        },
        orgAccessDenied: {
          title: 'Org access denied',
          message: "This token isn't bound to an org you can manage"
        },
        monthlyCapExceeded: {
          title: 'Monthly spend cap reached',
          messageReached: '🔴 Monthly spend cap reached.',
          messageHeadroom: remaining => `🔴 Monthly spend cap reached — $${remaining} headroom left.`
        },
        rateLimited: {
          title: 'Too many charges right now',
          message: mins =>
            mins > 0
              ? `🟡 Too many charges right now (try again in ~${mins} min). This isn't a payment failure.`
              : "🟡 Too many charges right now. This isn't a payment failure."
        },
        stripeUnavailable: {
          title: 'Stripe is having trouble',
          message: mins =>
            mins > 0
              ? `Stripe is having trouble — try again in ~${mins} min`
              : 'Stripe is having trouble — try again shortly'
        },
        upgradeCapExceeded: {
          title: 'Daily plan-change limit reached',
          message: 'Daily plan-change limit reached — try again tomorrow'
        },
        endpointUnavailable: {
          title: 'Billing endpoint unavailable',
          message: 'Billing endpoint returned a non-JSON response (it may not be available on this deployment).'
        },
        timeout: {
          title: 'Billing request timed out',
          message: 'Billing request timed out.'
        },
        transport: {
          title: 'Billing connection failed',
          message: 'Billing request failed before reaching the gateway.'
        },
        default: {
          title: 'Billing request failed',
          message: 'Billing request failed.'
        }
      }
    },
    providers: {
      connectAccount: 'Connect an account',
      haveApiKey: 'Have an API key instead?',
      intro:
        'Sign in with a subscription — no API key to copy. Hermes runs the browser sign-in for you, right here in the app.',
      connected: 'Connected',
      collapse: 'Collapse',
      connectAnother: 'Connect another provider',
      otherProviders: 'Other providers',
      disconnect: 'Disconnect',
      disconnectInTerminal: 'Disconnect (runs the removal command in the terminal)',
      removeConfirm: provider => `Remove ${provider}?`,
      removeExternalGeneric: provider => `${provider} is managed by its own CLI — remove it there.`,
      removeKeyManaged: provider => `${provider} is configured from an API key. Remove it from API Keys.`,
      removeTerminalConfirm: (provider, command) =>
        `Disconnect ${provider}? This runs "${command}" in the terminal to clear the credential.`,
      removeTerminalRunning: provider => `Running ${provider} disconnect in the terminal…`,
      removedTitle: 'Account removed',
      removedMessage: provider => `${provider} was removed.`,
      failedRemove: provider => `Could not remove ${provider}`,
      noProviderKeys: 'No provider API keys available.',
      searchKeys: 'Search providers…',
      noKeysMatch: 'No providers match your search.',
      localEndpoint: {
        title: 'Local / custom endpoint',
        description: 'Point Hermes at any OpenAI-compatible endpoint (Zyphra, vLLM, llama.cpp, Ollama, etc).'
      },
      loading: 'Loading providers...'
    },
    sessions: {
      loading: 'Loading archived sessions…',
      archivedTitle: 'Archived sessions',
      archivedIntro:
        'Archived chats are hidden from the sidebar but keep all their messages. Alt/⌥+Shift-click a chat in the sidebar to archive it.',
      emptyArchivedTitle: 'Nothing archived',
      emptyArchivedDesc: 'Archive a chat to hide it here.',
      unarchive: 'Unarchive',
      deletePermanently: 'Delete permanently',
      messages: count => `${count} ${count === 1 ? 'message' : 'messages'}`,
      restored: 'Restored',
      deleteConfirm: title => `Permanently delete "${title}"? This cannot be undone.`,
      autoArchiveTitle: 'Auto-archive stale chats',
      autoArchiveDesc:
        "Automatically archive chats you haven't touched in a while. Pinned chats are never archived, and nothing is deleted — archived chats just move here.",
      autoArchiveDaysLabel: 'Archive after',
      autoArchiveDaysUnit: 'days of inactivity',
      autoArchiveFailed: 'Could not update auto-archive',
      defaultDirTitle: 'Default project directory',
      defaultDirDesc:
        'New sessions start in this folder unless you pick another. Leave it unset to use your home directory.',
      defaultDirUpdated: shortcut =>
        `Default project directory updated — start a new chat${shortcut ? ` (${shortcut})` : ''} for it to take effect`,
      defaultsTo: label => `Defaults to ${label}.`,
      change: 'Change',
      choose: 'Choose',
      clear: 'Clear',
      notSet: 'Not set',
      failedLoad: 'Could not load archived sessions',
      unarchiveFailed: 'Unarchive failed',
      deleteFailed: 'Delete failed',
      updateDirFailed: 'Could not update default directory',
      clearDirFailed: 'Could not clear default directory'
    },
    toolsets: {
      loadingConfig: 'Loading configuration',
      savedTitle: 'Credential saved',
      savedMessage: key => `${key} updated.`,
      removedTitle: 'Credential removed',
      removedMessage: key => `${key} removed.`,
      failedSave: key => `Failed to save ${key}`,
      failedRemove: key => `Failed to remove ${key}`,
      failedReveal: key => `Failed to reveal ${key}`,
      removeConfirm: key => `Remove ${key} from .env?`,
      set: 'Set',
      notSet: 'Not set',
      selectedTitle: 'Provider selected',
      selectedMessage: provider => `${provider} is now active.`,
      failedSelect: provider => `Failed to select ${provider}`,
      failedLoad: 'Tool configuration failed to load',
      noProviderOptions: 'This toolset has no provider options — enable it and it works with your current setup.',
      noProviders: 'No providers are available for this toolset right now.',
      ready: 'Ready',
      needsSignIn: 'Needs sign-in',
      needsSetup: 'Setup required',
      activeBackend: 'Active',
      activeBackendHint: 'This is your active backend',
      useBackend: 'Use this backend',
      nousIncluded: 'Included with a Nous subscription — sign in with your Nous account to activate.',
      nousAuthNeededTitle: 'Sign in with your Nous account',
      nousAuthNeededMessage: provider =>
        `${provider} is saved but will only work once you sign in with your Nous account.`,
      nousAuthSignIn: 'Sign in',
      nousAuthDoneTitle: 'Nous account connected',
      nousAuthDoneMessage: 'Your subscription backends are now active.',
      nousAuthFailed: 'Nous sign-in did not complete',
      nousAuthFailedMessage: 'Try again.',
      nousAuthTryAgain: 'Try again',
      noApiKeyRequired: 'No API key required.',
      postSetupHint: step =>
        `This backend needs a one-time install (${step}). Runs on this machine — may take a few minutes.`,
      postSetupInstalledHint: 'Installed. Re-run setup only if something is broken.',
      postSetupRun: 'Run setup',
      postSetupRerun: 'Re-run setup',
      postSetupInstalled: 'Installed',
      postSetupRunning: 'Installing…',
      postSetupStarting: 'Starting…',
      postSetupCompleteTitle: 'Setup complete',
      postSetupCompleteMessage: step => `${step} installed.`,
      postSetupErrorTitle: 'Setup finished with errors',
      postSetupErrorMessage: step =>
        `Setting up ${step} did not finish. Open the logs to see why, then run setup again.`,
      postSetupOpenLogs: 'Open logs',
      postSetupRunAgain: 'Run again',
      postSetupFailed: step => `Failed to run ${step} setup`,
      webSearchActive: backend => `Search: ${backend}`,
      webExtractActive: backend => `Extract: ${backend}`,
      webCapabilityUnset: 'not set',
      webUseForSearch: 'Use for Search',
      webUseForExtract: 'Use for Extract',
      webUsedForSearch: 'Search backend',
      webUsedForExtract: 'Extract backend',
      webCapabilitySelectedMessage: (provider, capability) => `${provider} now handles web ${capability}.`,
      failedSelectCapability: provider => `Failed to set ${provider}`,
      loadingModels: 'Loading model catalog...',
      modelSectionTitle: 'Model',
      modelCount: count => `${count} model${count === 1 ? '' : 's'}`,
      modelInUse: 'In use',
      modelDefault: 'default',
      modelInactiveHint: 'Select this backend first to change its model.',
      modelSelectedTitle: 'Model selected',
      modelSelectedMessage: model => `${model} applies to new sessions.`,
      failedSelectModel: model => `Failed to select ${model}`,
      terminalBackend: {
        sectionTitle: 'Execution backend',
        loading: 'Checking execution backends…',
        failedLoad: 'Could not load terminal backends',
        ready: 'Ready',
        needsSetup: 'Needs setup',
        unavailable: 'Unavailable',
        inUse: 'In use',
        selectedTitle: 'Backend selected',
        selectedMessage: backend => `Terminal commands now run via ${backend}. Applies to new sessions.`,
        failedSelect: backend => `Failed to select ${backend}`,
        needsSetupHint:
          'This backend is currently selected without full setup — commands will fail until setup is complete.',
        needsSetupConfirmTitle: backend => `Select ${backend} anyway?`,
        needsSetupConfirmDescription: detail =>
          `${detail} Sessions that start after this change will have no terminal or file tools until setup is finished.`,
        needsSetupConfirmDescriptionGeneric:
          "This backend isn't set up yet. Sessions that start after this change will have no terminal or file tools until setup is finished.",
        needsSetupConfirmAction: 'Select anyway',
        unavailableTitle: 'Terminal commands are unavailable',
        unavailableMessage: backend =>
          `Hermes can't run shell commands right now: ${backend} isn't ready. Switch to Local, or finish setting up ${backend} and try again.`,
        openBackendSettings: 'Open terminal settings',
        useLocal: 'Use Local',
        switchedToLocal: 'Terminal commands now run locally. Applies to new sessions.'
      },
      browserRealProfile: {
        label: 'Use My Real Browser Profile',
        description:
          "Copies your default browser's logins and cookies into a managed snapshot the agent browses with. Your live profile is never opened directly. Applies to new sessions.",
        enabledTitle: 'Real-profile browsing on',
        enabledMessage: 'New sessions will browse with a snapshot of your default browser profile.',
        disabledTitle: 'Real-profile browsing off',
        disabledMessage: 'The profile snapshot will be deleted; new sessions use a clean browser.',
        failedSave: 'Could not save the real-profile setting',
        prompt: {
          title: 'Stay signed in to your sites',
          body: 'Let Hermes browse with a snapshot of your default browser profile, so sites open already signed in.',
          bulletSnapshot: 'Cookies and logins are copied into a managed snapshot.',
          bulletLiveProfile: 'Your live browser profile is never opened directly.',
          bulletLocal: 'Nothing leaves this computer.',
          dontShowAgain: "Don't show again",
          notNow: 'Not now',
          enable: 'Use my profile'
        }
      }
    }
  },

  skillDeepLink: enSkillDeepLink,
  skills: {
    tabSkills: 'Skills',
    tabToolsets: 'Tools',
    configuringProfile: 'Configuring:',
    all: 'All',
    searchSkills: 'Search skills...',
    searchToolsets: 'Search tools...',
    refresh: 'Refresh skills',
    refreshing: 'Refreshing skills',
    loading: 'Loading capabilities...',
    noSkillsTitle: 'No skills found',
    noSkillsDesc: 'Try a broader search or different category.',
    noToolsetsTitle: 'No toolsets found',
    noToolsetsDesc: 'Try a broader search query.',
    noDescription: 'No description.',
    configured: 'Configured',
    needsKeys: 'Needs keys',
    visionModelHint:
      'Vision uses your auxiliary model configuration — the image-capable model is picked there, not per-provider here.',
    visionModelLink: 'Choose vision model in Settings → Models',
    toolsetsEnabled: (enabled, total) => `${enabled}/${total} toolsets enabled`,
    configureToolset: label => `Configure ${label}`,
    toggleToolset: (label, enabled) => `Turn ${label} toolset ${enabled ? 'on' : 'off'}`,
    skillsLoadFailed: 'Skills failed to load',
    toolsetsRefreshFailed: 'Toolsets failed to refresh',
    skillEnabled: 'Skill enabled',
    skillDisabled: 'Skill disabled',
    toolsetEnabled: 'Toolset enabled',
    toolsetDisabled: 'Toolset disabled',
    appliesToNewSessions: name => `${name} applies to new sessions.`,
    failedToUpdate: name => `Failed to update ${name}`,
    sortMostUsed: 'Most used',
    sortAlpha: 'A–Z',
    sortMostUsedDesc: '↓ Most used',
    sortLeastUsedAsc: '↑ Least used',
    enableAll: 'Enable all',
    disableAll: 'Disable all',
    disableUnused: 'Disable unused',
    bulkUpdated: count => `Updated ${count} ${count === 1 ? 'item' : 'items'} for new sessions.`,
    bulkNoChange: 'Nothing to change.',
    usageCount: count => `used ${count}×`,
    provenance: {
      agent: 'Learned',
      bundled: 'Built-in',
      hub: 'Hub'
    },
    emptyNoneFound: noun => `No ${noun} found`,
    emptyNothingMatches: query => `Nothing matches “${query}”.`,
    emptyNoneAvailable: noun => `No ${noun} available yet.`,
    changesApplyNewSessions: 'Changes apply to new sessions.',
    skillUpdated: 'Skill updated',
    edit: 'Edit',
    archive: 'Archive',
    skillArchivedTitle: 'Skill archived',
    lock: 'Lock',
    locked: 'Locked',
    lockHint: "The agent can't change this skill while it's locked. You can still edit it yourself.",
    unlockedHint: 'Lock to stop the agent from changing this skill. You can still edit it yourself.',
    skillArchivedMessage: 'Restorable via hermes curator restore.',
    tabPlugins: 'Plugins',
    plugins: {
      agentTitle: 'Agent plugins',
      agentBlurb:
        'Extend the agent for the selected profile — tools, hooks, providers. Take effect after a gateway restart.',
      pageBlurb: 'A plugin can extend this app, the agent, or both — each half has its own switch.',
      halfDesktop: 'Desktop',
      halfDesktopHint: 'this app, same for every profile',
      halfAgent: 'Agent',
      halfAgentIn: (profile: string) => `Agent in ${profile}`,
      defaultProfile: 'Hermes (default)',
      kindAgent: 'Agent',
      kindDesktop: 'Desktop',
      kindBoth: 'Agent + Desktop',
      installAgentHere: 'Install here',
      installAgentHereTip: (profile: string) =>
        `The desktop half is loaded in this app, but the agent half is not installed in ${profile}. Install it there.`,
      installAgentHereNoOrigin:
        'The agent half is not installed in this profile, and this package was copied in by hand (no catalog entry or git remote), so it cannot be installed from here. Copy its folder into the profile or reinstall from Git.',
      desktopHalfPending: 'copying…',
      desktopHalfPendingTip:
        'This package ships a desktop half that has not been copied into the app yet. Use Rescan, or restart the app.',
      desktopHalfRemote: 'unavailable (remote backend)',
      desktopHalfRemoteTip:
        "This package's desktop half is on the remote backend's disk, which this app cannot read. To use it here, run Install from Git with the package's repo URL and the Desktop target checked — that clones the desktop half onto this machine.",
      emptyAll: 'No plugins yet.',
      empty: 'No agent plugins installed for this profile.',
      emptyHint: 'Browse the catalog below and install a reviewed plugin with one click.',
      loadFailed: 'Could not load agent plugins',
      toggleFailed: (name: string) => `Could not toggle ${name}`,
      toolsetOn: (name: string, profile: string) => `${name} agent tools enabled for ${profile}`,
      toolsetOff: (name: string, profile: string) => `${name} agent tools disabled for ${profile}`,
      toolsetToggleFailed: (name: string) =>
        `Could not toggle the ${name} agent tools; the Desktop panel was left unchanged`,
      legacyBackend: 'This backend predates key-addressed plugin toggles — update Hermes to manage it here.',
      portableBadge: 'portable',
      serverStates: {
        connected: 'connected',
        app_not_running: 'app not running',
        hermes_not_connected: 'MCP connection missing',
        endpoint_unavailable: 'endpoint unavailable',
        no_interactive_session: 'no interactive session',
        version_too_old: 'version too old',
        missing_app: 'app missing',
        unsupported_gpu: 'GPU not supported',
        unknown: 'status unknown'
      },
      alreadyInstalled: (name: string) => `${name} is already installed in this profile.`,
      catalogProvenance: (sha: string) => `Installed from the Hermes catalog${sha ? ` at pin ${sha}` : ''}.`,
      pinnedProvenance: (sha: string) =>
        `Pinned to commit ${sha}. Updates are refused until it is reinstalled with a new pin.`,
      pinnedBadge: (sha: string) => `pinned @ ${sha}`,
      ...enPluginUpdate,
      ...enPluginPreviewAccess,
      uninstall: 'Uninstall',
      uninstallTip: (name: string, profile: string) => `Uninstall ${name} from ${profile}`,
      uninstallConfirmTitle: (name: string) => `Uninstall ${name}?`,
      uninstallConfirmBody: (name: string, profile: string) =>
        `This deletes the plugin's files from the ${profile} profile. Any desktop half it shipped is removed with it. Reinstall it from the catalog or from Git at any time.`,
      uninstallFailed: (name: string) => `Could not uninstall ${name}`,
      uninstalled: (name: string) => `${name} uninstalled. Restart the gateway to unload it.`,
      uninstallDesktopTip: (name: string) => `Uninstall ${name} from this app`,
      uninstallDesktopConfirmBody: (name: string) =>
        `This deletes ${name} from the desktop-plugins folder on this computer and unloads it now. Reinstall it from Git or drop the folder back at any time.`,
      uninstalledDesktop: (name: string) => `${name} uninstalled.`,
      deepLinkErrorTitle: 'Plugin install link rejected',
      deepLinkCatalogInvalidName: 'The link\u2019s catalog name is missing or invalid.',
      deepLinkCatalogUnknown: (name: string) =>
        `\u201C${name}\u201D is not in the Hermes plugin catalog. Nothing was installed.`,
      deepLinkCatalogUnavailable:
        'Could not load the Hermes plugin catalog. Check your connection and open the link again.',
      settingsToggle: (name: string) => `Settings: ${name}`,
      settingsForm: {
        save: 'Save settings',
        saved: (name: string) => `${name} settings saved.`,
        saveFailed: (name: string) => `Could not save ${name} settings`,
        required: 'Required',
        optional: '(optional)',
        secretSet: '•••••••• (set)',
        secretStoredAs: (env: string) =>
          `Stored in the profile's .env as ${env}, never in config.yaml; leave blank to keep the current value.`
      }
    },
    officialCatalog: 'Available to install',
    officialPill: 'Official',
    hub: {
      searchPlaceholder: 'Search the skill hub',
      search: 'Search',
      searching: 'Searching...',
      connectingHubs: 'Connecting to skill hubs...',
      connectedHubs: 'Connected hubs:',
      featured: 'Featured skills',
      landingHint:
        'Search the hub to browse installable skills from the official index, GitHub, and community sources.',
      noResults: 'No matching skills found in the hub.',
      resultCount: (count, ms) => `${count} result${count === 1 ? '' : 's'}${ms !== null ? ` in ${ms}ms` : ''}`,
      timedOut: sources => `Timed out: ${sources}`,
      installed: 'Installed',
      install: 'Install',
      installing: 'Installing...',
      uninstall: 'Uninstall',
      uninstalling: 'Uninstalling...',
      updateAll: 'Update installed',
      updating: 'Updating...',
      preview: 'Preview',
      scan: 'Scan',
      scanning: 'Scanning...',
      close: 'Close',
      files: 'Files',
      noReadme: 'This skill has no SKILL.md preview.',
      trust: {
        builtin: 'builtin',
        trusted: 'trusted',
        community: 'community'
      },
      verdictSafe: 'Safe',
      verdictCaution: 'Caution',
      verdictDangerous: 'Dangerous',
      policyAllow: 'Install allowed',
      policyAsk: 'Review before installing',
      policyBlock: 'Install blocked by policy',
      findings: count => `${count} finding${count === 1 ? '' : 's'}`,
      noFindings: 'No security findings.',
      installStarted: name => `Installing ${name}...`,
      uninstallStarted: name => `Uninstalling ${name}...`,
      updateStarted: 'Updating installed skills...',
      actionFailed: 'Skill action failed',
      installBlockedTitle: name => `Couldn't install ${name}`,
      installBlockedMessage: (findings, unverified) =>
        `The security scan flagged ${findings > 0 ? `${findings} item${findings === 1 ? '' : 's'}` : 'risky patterns'} to review${unverified ? ' and the skill comes from an unverified source' : ''}. Read the scan before deciding whether to trust the author.`,
      viewScan: 'View scan',
      openLog: 'Open log',
      actionLog: 'Action log',
      alreadyInstalled: (name: string) => `"${name}" is already installed`,
      pickerTitle: 'Skills Hub',
      pickerBrowse: 'Browse the full hub',
      pickerHide: 'Hide the hub browser',
      pickerHint: 'Hit "+ Add to this Agent" on any skill — it installs and appears in the list above.',
      loadFailed: 'Skill hub failed to load',
      previewFailed: 'Skill preview failed',
      scanFailed: 'Security scan failed',
      searchFailed: 'Hub search failed'
    }
  },

  starmap: {
    title: 'Memory Graph',
    subtitle: (nodes, clusters) => `${nodes} skills across ${clusters} categories`,
    close: 'Close memory graph',
    refresh: 'Refresh',
    memory: 'Memory',
    filterAll: 'All',
    filterUsed: 'Used',
    filterLearned: 'Learned',
    viewGraph: 'Graph',
    loadFailed: 'Could not load memory graph',
    loading: 'Loading…',
    emptyTitle: 'Nothing learned yet',
    emptyDesc: 'As Hermes builds skills and memories for your work, they appear here.',
    share: 'Share map',
    shareHint:
      'Copy the code to share this map, or paste one to load. It only includes the layout, not your memory or skill text.',
    shareTitle: 'Import / export map',
    sharePlaceholder: 'Paste a map code…',
    copy: 'Copy map code',
    copied: 'Copied!',
    importMap: 'Import a map',
    importBtn: 'Load',
    importEmpty: 'Paste a map code to load it.',
    importSuccess: nodes => `Loaded a map with ${nodes} ${nodes === 1 ? 'node' : 'nodes'}.`,
    importedBadge: 'imported map',
    resetToMine: 'Back to my map'
  },
  gatewayGroupOpen: enGatewayGroupOpen,
  agents: {
    extendedTranscript: 'Extended transcript',
    transcriptTruncated: 'Showing the latest 16 KiB',
    transcriptUnavailable: 'Live transcript unavailable',

    close: 'Close agents',
    title: 'Spawn tree',
    subtitle: 'Live subagent activity for the current turn.',
    emptyTitle: 'No live subagents',
    emptyDesc: 'When a turn delegates work, child agents stream their progress here.',
    running: 'Running',
    failed: 'Failed',
    done: 'Done',
    streaming: 'Streaming',
    files: 'Files',
    moreFiles: count => `+${count} more files`,
    moreAgents: count => `+${count} more agents`,
    queued: 'Queued',
    waitingActivity: 'Waiting for activity',
    steer: 'Steer',
    steerPlaceholder: 'Instructions for this subagent',
    steerQueued: 'Queued for the next checkpoint',
    stopRequested: 'Stop requested',
    requestRejected: 'The subagent did not accept the request',
    delegation: index => `Delegation ${index}`,
    workers: count => `${count} workers`,
    workersActive: count => `${count} active`,
    agentsCount: count => `${count} ${count === 1 ? 'agent' : 'agents'}`,
    activeCount: count => `${count} active`,
    failedCount: count => `${count} failed`,
    toolsCount: count => `${count} tools`,
    filesCount: count => `${count} files`,
    updatedAgo: age => `updated ${age}`,
    ageNow: 'now',
    ageSeconds: seconds => `${seconds}s ago`,
    ageMinutes: minutes => `${minutes}m ago`,
    ageHours: hours => `${hours}h ago`,
    ageDays: days => `${days}d ago`,
    durationSeconds: seconds => `${seconds}s`,
    durationMinutes: (minutes, seconds) => `${minutes}m ${seconds}s`,
    tokens: value => `${value} tok`
  },

  commandCenter: {
    close: 'Close command center',
    paletteTitle: 'Command palette',
    back: 'Back',
    searchPlaceholder: 'Search sessions, views, and actions',
    goTo: 'Go to',
    goToSession: 'Go to session',
    branches: 'Branches',
    projects: 'Projects',
    openFolder: 'Open folder as project…',
    openFolderAt: path => `Open folder as project — ${path}`,
    newSessionInProject: project => `New session in ${project}`,
    commands: 'Commands',
    startInBranch: branch => `New conversation in ${branch}`,
    commandCenter: 'Command Center',
    appearance: 'Appearance',
    settings: 'Settings',
    changeTheme: 'Change theme',
    changeColorMode: 'Change color mode…',
    pets: {
      title: 'Pets',
      placeholder: 'Search pets…',
      loading: 'Loading petdex gallery…',
      error: 'Could not reach the petdex gallery.',
      staleBackend: 'Restart Hermes to use pets — the backend predates this feature.',
      empty: 'No matching pets.',
      turnOff: 'Turn off',
      turnOn: 'Turn on',
      installed: 'Installed',
      generatedTag: 'Generated',
      adoptFailed: 'Could not adopt that pet.',
      toggleFailed: enabled => `Could not turn the pet ${enabled ? 'on' : 'off'}.`,
      noneAvailable: 'No pets available — pick one below to install.'
    },
    generatePet: {
      title: 'Generate a pet',
      placeholder: 'Describe a pet to generate…',
      promptHint: 'Type a description, then press Enter to draft four looks.',
      readyHint: 'Press Enter to draft four looks from your description.',
      generate: 'Generate',
      generating: 'Generating…',
      retry: 'Retry',
      hatch: 'Hatch',
      spawning: 'Spawning…',
      hatching: 'Hatching your pet…',
      hatchingSub: 'Bringing it to life…',
      hatched: 'It hatched!',
      hatchRow: (_state, done, total) => `Sketching frame ${done} of ${total}…`,
      hatchComposing: 'Piecing it together…',
      hatchSaving: 'Almost there…',
      namePlaceholder: 'Name your pet',
      staleBackend: 'Update Hermes to generate pets.',
      backgroundHint: 'You can close this — Hermes will notify you when it’s done.',
      slowProviderHint: 'This can take several minutes',
      remix: 'Remix',
      remixConfirmTitle: 'Remix this look?',
      remixConfirmBody:
        'This generates a fresh set of drafts using this one as the starting point. It can take several minutes.',
      genericError: 'Generation failed — try again or pick a suggestion.',
      referenceImageTooLarge: 'Reference image is too large. Use one under 16 MB.',
      referenceImageInvalid: 'Could not read that reference image. Try a PNG, JPG, WebP, or GIF.',
      adopt: 'Adopt',
      startOver: 'Start over'
    },
    installTheme: {
      title: 'Install theme…',
      pageTitle: 'Install theme',
      placeholder: 'Search the VS Code Marketplace...',
      loading: 'Searching the Marketplace...',
      error: 'Could not reach the Marketplace.',
      empty: 'No matching themes.',
      install: 'Install',
      installing: 'Installing...',
      installed: 'Installed',
      installs: count => `${count} installs`
    },
    settingsFields: 'Settings fields',
    mcpServers: 'MCP servers',
    archivedChats: 'Archived chats',
    sections: { maintenance: 'Maintenance', sessions: 'Sessions', system: 'System', usage: 'Usage' },
    nav: {
      newChat: { title: 'New session', detail: 'Start a fresh session' },
      settings: { title: 'Settings', detail: 'Configure Hermes desktop' },
      capabilities: { title: 'Capabilities', detail: 'Skills, tools, MCP servers, and plugins' },
      messaging: { title: 'Messaging', detail: 'Set up Telegram, Slack, Discord, and more' },
      artifacts: { title: 'Artifacts', detail: 'Browse generated outputs' }
    },
    sectionEntries: {
      sessions: { title: 'Sessions panel', detail: 'Search, pin, and manage sessions' },
      system: { title: 'System panel', detail: 'Gateway status, logs, restart/update' },
      usage: { title: 'Usage panel', detail: 'Token, cost, and skill activity' }
    },
    providerNavigate: 'Navigate',
    providerSessions: 'Sessions',
    refresh: 'Refresh',
    refreshing: 'Refreshing...',
    noResults: 'No matching results found.',
    pinSession: 'Pin session',
    unpinSession: 'Unpin session',
    exportSession: 'Export session',
    deleteSession: 'Delete session',
    noSessions: 'No sessions yet.',
    gatewayRunning: 'Messaging gateway running',
    gatewayStopped: 'Messaging gateway stopped',
    hermesActiveSessions: (version, count) => `Hermes ${version} · Active sessions ${count}`,
    restartGateway: 'Restart gateway',
    openBrowser: 'Toggle browser',
    toggleBrowser: 'Toggle browser',
    gatewayRestartFailed: 'Gateway restart failed.',
    sharedGatewayRestartTitle: 'Restart the shared gateway?',
    sharedGatewayRestartDescription: bots => `All bots on this device reconnect: ${bots}`,
    sharedGatewayRestartConfirm: 'Restart all',
    sharedGatewayRestarted: count => `Shared gateway restarted (${count} ${count === 1 ? 'bot' : 'bots'})`,
    updateHermes: 'Update Hermes',
    reloadWindow: 'Reload window',
    actionRunning: 'running',
    actionDone: 'done',
    actionFailed: 'failed',
    actionStartedWaiting: 'Action started, waiting for status...',
    loadingStatus: 'Loading status...',
    recentLogs: 'Recent logs',
    noLogs: 'No logs loaded yet.',
    days: count => `${count}d`,
    statSessions: 'Sessions',
    statApiCalls: 'API calls',
    statTokens: 'Tokens in/out',
    statCost: 'Est. cost',
    actualCost: cost => `actual ${cost}`,
    loadingUsage: 'Loading usage...',
    noUsage: period => `No usage in the last ${period} days.`,
    retry: 'Retry',
    dailyTokens: 'Daily tokens',
    input: 'input',
    output: 'output',
    noDailyActivity: 'No daily activity.',
    topModels: 'Top models',
    noModelUsage: 'No model usage yet.',
    topSkills: 'Top skills',
    noSkillActivity: 'No skill activity yet.',
    actions: count => `${count} actions`,
    logFile: 'Log file',
    logLevel: 'Level',
    logSearchPlaceholder: 'Search log lines...',
    maintenance: {
      runOps: 'Diagnostics',
      doctor: 'Run doctor',
      doctorDesc: 'Health-check the install, config, and providers',
      securityAudit: 'Security audit',
      securityAuditDesc: 'Scan config and skills for risky settings',
      backup: 'Create backup',
      backupDesc: 'Zip config, memories, skills, and sessions',
      debugShare: 'Debug share',
      debugShareDesc: 'Upload a redacted report + logs, get shareable links (auto-deletes in 6h)',
      debugShareRunning: 'Uploading debug report...',
      debugShareLinks: 'Share links',
      debugShareFailed: 'Debug share failed',
      copyLink: 'Copy link',
      linkCopied: 'Link copied',
      curator: 'Skill curator',
      curatorDesc: 'Background review that archives stale agent-created skills',
      curatorPaused: 'Paused',
      curatorActive: 'Active',
      curatorDisabled: 'Disabled',
      curatorLastRun: when => `Last run ${when}`,
      curatorNeverRan: 'Never ran',
      pause: 'Pause',
      resume: 'Resume',
      runNow: 'Run now',
      memoryData: 'Memory data',
      memoryFile: 'Agent memory (MEMORY.md)',
      userFile: 'User profile (USER.md)',
      bytes: size => size,
      empty: 'empty',
      resetMemory: 'Reset memory',
      resetUser: 'Reset profile',
      resetAll: 'Reset both',
      resetConfirm: target => `Delete ${target}? This cannot be undone.`,
      resetDone: files => `Deleted ${files}.`,
      resetFailed: 'Memory reset failed',
      actionStarted: name => `${name} started — tailing log...`,
      actionFailed: name => `${name} failed to start`,
      running: 'Running...',
      viewLog: 'Action log'
    }
  },

  messaging: {
    search: 'Search messaging...',
    statusFilter: {
      all: 'All',
      bad: 'Errors',
      good: 'Connected',
      muted: 'Inactive',
      warn: 'Needs attention'
    },
    loading: 'Loading messaging platforms...',
    loadFailed: 'Messaging platforms failed to load',
    states: {
      connected: 'Connected',
      connecting: 'Connecting',
      disabled: 'Disabled',
      fatal: 'Error',
      gateway_stopped: 'Messaging gateway stopped',
      not_configured: 'Needs setup',
      pending_restart: 'Restart needed',
      retrying: 'Retrying',
      startup_failed: 'Startup failed'
    },
    unknown: 'Unknown',
    hintPendingRestart: 'Restart the gateway from the status bar to apply this change.',
    sharedListenerUrl: 'Served on the shared gateway listener at',
    hintGatewayStopped: 'Start the gateway from the status bar to connect.',
    credentialsSet: 'Credentials set',
    needsSetup: 'Needs setup',
    gatewayStopped: 'Messaging gateway stopped',
    getCredentials: 'Get your credentials',
    openSetupGuide: 'Open setup guide',
    required: 'Required',
    recommended: 'Recommended',
    advanced: count => `Advanced (${count})`,
    noTokenNeeded: 'This platform does not need a token here. Use the setup guide above, then enable it below.',
    enabled: 'Enabled',
    disabled: 'Disabled',
    unsavedChanges: 'Unsaved changes',
    saving: 'Saving...',
    saveChanges: 'Save changes',
    saved: 'Saved',
    replaceValue: 'Replace current value',
    openDocs: 'Open docs',
    clearField: key => `Clear ${key}`,
    addListEntry: 'Add another',
    removeListEntry: 'Remove',
    listEntryPlaceholder: 'Enter an ID',
    enableAria: name => `Enable ${name}`,
    disableAria: name => `Disable ${name}`,
    platformEnabled: name => `${name} enabled`,
    platformDisabled: name => `${name} disabled`,
    restartToApply: 'This change takes effect after a gateway restart.',
    setupSaved: name => `${name} setup saved`,
    restartToReconnect: 'New credentials take effect after a gateway restart.',
    appliedLive: 'Applied to the running gateway.',
    connectingLive: 'The running gateway is connecting with the new credentials.',
    keyCleared: key => `${key} cleared`,
    setupUpdated: name => `${name} setup was updated.`,
    failedUpdate: name => `Failed to update ${name}`,
    failedSave: name => `Failed to save ${name}`,
    failedClear: key => `Failed to clear ${key}`,
    pendingRequests: count => `Pending requests (${count})`,
    pendingAria: count => `${count} pending pairing ${count === 1 ? 'request' : 'requests'}`,
    approvedUsers: count => `Approved users (${count})`,
    approve: 'Approve',
    approving: 'Approving...',
    revoke: 'Revoke',
    revoking: 'Revoking...',
    revokeAria: name => `Revoke ${name}`,
    revokeTitle: 'Revoke access',
    revokeDesc: (name: string) => `${name} will lose access and stop being recognized on their next message.`,
    approvedUser: name => `${name} approved`,
    approvedHint: 'They are recognized automatically on their next message.',
    revokedUser: name => `${name} revoked`,
    failedApprove: name => `Failed to approve ${name}`,
    failedRevoke: name => `Failed to revoke ${name}`,
    pairingLockedOut: 'Too many failed approvals — this platform is locked out. Try again later.',
    waitingSince: minutes => (minutes < 1 ? 'just now' : `${minutes}m ago`),
    restartNeeded: 'Saved. Restart the messaging gateway so the new settings take effect.',
    restartNow: 'Restart now',
    restarting: 'Restarting…',
    restartFailedManual: "Hermes couldn't restart to apply your messaging settings",
    restartFailedManualDetail: 'Try Restart again; if it still fails, open the logs and send diagnostics.',
    restartAgain: 'Restart again',
    openLogs: 'Open logs',
    telegramQr: {
      title: 'Choose how to connect your Telegram bot',
      subtitle: 'Both options connect a bot you control and save its credentials only to this Hermes installation.',
      quickSetup: 'Quick setup',
      recommended: 'Recommended',
      quickHelp:
        'Scan a QR code and confirm in Telegram. Hermes creates the bot and detects your Telegram user ID automatically.',
      createWithQr: 'Create with QR',
      starting: 'Starting…',
      replaceWarning:
        'Telegram credentials are already configured. A new QR setup or bot token will replace the current bot when you save.',
      scanHint: 'Scan with the Telegram app on your phone, or open the link on this computer.',
      waiting: 'Waiting for Telegram…',
      expiresIn: remaining => `Expires in ${remaining}`,
      expired: 'Expired',
      openTelegram: 'Open Telegram',
      ready: 'Bot created',
      allowedUsers: 'Allowed users',
      ownerDetected: 'Owner detected',
      addAtLeastOne: 'Add at least one Telegram user ID.',
      userIdPlaceholder: 'Telegram user ID',
      add: 'Add',
      numericOnly: 'Allowed Telegram user IDs must be numeric.',
      saveAndRestart: 'Save and restart',
      applying: 'Saving…',
      pairingExpired: 'Telegram pairing expired. Start a new QR setup to try again.',
      stillWaiting: detail => `Still waiting for Telegram. Retrying after: ${detail}`,
      savedRestarting: 'Telegram saved; gateway restarting…',
      savedRestartFailed: detail => `Telegram saved; gateway restart failed${detail}`
    },
    fieldCopy: {
      TELEGRAM_BOT_TOKEN: {
        label: 'Bot token',
        help: 'Create a bot with @BotFather, then paste the token it gives you.',
        placeholder: 'Paste Telegram bot token'
      },
      TELEGRAM_ALLOWED_USERS: {
        label: 'Allowed Telegram user IDs',
        help: 'Recommended. Numeric IDs from @userinfobot, one per box. Without this, anyone can DM your bot.'
      },
      TELEGRAM_PROXY: { label: 'Proxy URL', help: 'Only needed on networks where Telegram is blocked.' },
      DISCORD_BOT_TOKEN: {
        label: 'Bot token',
        help: 'Create an application in the Discord Developer Portal, add a bot, then paste its token.'
      },
      DISCORD_ALLOWED_USERS: {
        label: 'Allowed Discord user IDs',
        help: 'Recommended. Discord user IDs, one per box.'
      },
      DISCORD_REPLY_TO_MODE: { label: 'Reply style', help: 'first, all, or off.' },
      DISCORD_ALLOW_ALL_USERS: {
        label: 'Allow all Discord users',
        help: 'Development only. When true, anyone can DM the bot without an allowlist.'
      },
      DISCORD_HOME_CHANNEL: {
        label: 'Home channel ID',
        help: 'Channel where the bot sends proactive messages (cron output, reminders).'
      },
      DISCORD_HOME_CHANNEL_NAME: {
        label: 'Home channel name',
        help: 'Display name for the home channel in logs and status output.'
      },
      BLUEBUBBLES_ALLOW_ALL_USERS: {
        label: 'Allow all iMessage users',
        help: 'When true, skip the BlueBubbles allowlist.'
      },
      MATTERMOST_ALLOW_ALL_USERS: { label: 'Allow all Mattermost users' },
      MATTERMOST_HOME_CHANNEL: { label: 'Home channel' },
      QQ_ALLOW_ALL_USERS: { label: 'Allow all QQ users' },
      QQBOT_HOME_CHANNEL: { label: 'QQ home channel', help: 'Default channel or group for cron delivery.' },
      QQBOT_HOME_CHANNEL_NAME: { label: 'QQ home channel name' },
      SLACK_BOT_TOKEN: {
        label: 'Slack bot token',
        help: 'Use the bot token from OAuth & Permissions after installing your Slack app.',
        placeholder: 'Paste Slack bot token'
      },
      SLACK_APP_TOKEN: {
        label: 'Slack app token',
        help: 'Use the app-level token required for Socket Mode.',
        placeholder: 'Paste Slack app token'
      },
      SLACK_ALLOWED_USERS: { label: 'Allowed Slack user IDs', help: 'Recommended. Slack user IDs, one per box.' },
      MATTERMOST_URL: { label: 'Server URL', placeholder: 'https://mattermost.example.com' },
      MATTERMOST_TOKEN: { label: 'Bot token' },
      MATTERMOST_ALLOWED_USERS: {
        label: 'Allowed user IDs',
        help: 'Recommended. Mattermost user IDs, one per box.'
      },
      MATRIX_HOMESERVER: { label: 'Homeserver URL', placeholder: 'https://matrix.org' },
      MATRIX_ACCESS_TOKEN: { label: 'Access token' },
      MATRIX_USER_ID: { label: 'Bot user ID', placeholder: '@hermes:example.org' },
      MATRIX_ALLOWED_USERS: {
        label: 'Allowed Matrix user IDs',
        help: 'Recommended. User IDs in @user:server format, one per box.'
      },
      SIGNAL_HTTP_URL: {
        label: 'Signal bridge URL',
        placeholder: 'http://127.0.0.1:8080',
        help: 'URL of a running signal-cli REST bridge.'
      },
      SIGNAL_ACCOUNT: { label: 'Phone number', help: 'The number registered with your signal-cli bridge.' },
      SIGNAL_ALLOWED_USERS: { label: 'Allowed Signal users', help: 'Recommended. Signal identifiers, one per box.' },
      WHATSAPP_ENABLED: {
        label: 'Enable WhatsApp bridge',
        help: 'Set automatically by the toggle below. Leave alone unless you know you need it.'
      },
      WHATSAPP_MODE: { label: 'Bridge mode' },
      WHATSAPP_ALLOWED_USERS: {
        label: 'Allowed WhatsApp users',
        help: 'Recommended. Phone numbers or WhatsApp IDs, one per box.'
      }
    },
    platformIntro: {}
  },

  webhooks: {
    search: 'Search webhooks...',
    loading: 'Loading webhooks...',
    loadFailed: 'Webhooks failed to load',
    subscriptions: (count: number) => `Subscriptions (${count})`,
    hint: 'Subscription changes hot-reload once the receiver is running. Disabled subscriptions reject incoming events.',
    empty: 'No webhook subscriptions yet.',
    disabledTitle: 'Webhook receiver disabled',
    disabledBody:
      'Webhooks are their own gateway platform. Enable them here to accept incoming HTTP events; chat channels are only needed when a subscription delivers to Telegram, Discord, Slack, or another channel.',
    enable: 'Enable webhooks',
    enabling: 'Enabling...',
    enabled: (name: string) => `Enabled: "${name}"`,
    disabled: (name: string) => `Disabled: "${name}"`,
    enableRow: 'Enable',
    disableRow: 'Disable',
    delete: 'Delete',
    deleting: 'Deleting...',
    deleted: 'Webhook deleted',
    deleteTitle: 'Delete webhook',
    deleteDescPrefix: 'This will permanently remove ',
    deleteDescSuffix: '. This cannot be undone.',
    deleteFailed: (name: string) => `Failed to delete "${name}"`,
    toggleFailed: (name, enabled) => `Failed to turn "${name}" ${enabled ? 'on' : 'off'}`,
    newSubscription: 'New subscription',
    restarting: 'Gateway restarting...',
    restartNeeded: 'Webhooks are enabled, but the gateway still needs a restart before the receiver can come online.',
    restartGateway: 'Restart gateway',
    restartingGateway: 'Restarting...',
    restartFailed: (detail: string) => `Gateway restart failed${detail}`,
    enabledRestarting: 'Webhooks enabled; gateway restarting...',
    all: '(all)',
    deliverOnly: 'deliver only',
    createdTitle: 'Subscription created',
    createdSecretHint: 'Copy the secret now — it is only shown once.',
    webhookUrl: 'Webhook URL',
    secretOnce: 'Secret (shown once)',
    done: 'Done',
    fieldName: 'Name',
    fieldNamePlaceholder: 'e.g. github-push',
    fieldDescription: 'Description',
    fieldDescriptionPlaceholder: 'What this webhook does (optional)',
    fieldEvents: 'Events',
    fieldEventsPlaceholder: 'comma-separated, leave empty for all',
    fieldSkills: 'Skills',
    fieldSkillsPlaceholder: 'comma-separated skill names (optional)',
    fieldDeliver: 'Deliver to',
    fieldDeliverOnly: 'Deliver payload only',
    fieldPrompt: 'Prompt',
    fieldPromptPlaceholder: 'Instructions for the agent when this webhook fires (optional)',
    nameRequired: 'Name required',
    create: 'Create',
    creating: 'Creating...',
    created: 'Created',
    createFailed: (detail: string) => `Failed to create: ${detail}`,
    copy: 'Copy',
    deliverOptions: {
      log: 'Log',
      telegram: 'Telegram',
      discord: 'Discord',
      slack: 'Slack',
      email: 'Email',
      github_comment: 'GitHub comment'
    }
  },

  profiles: {
    close: 'Close profiles',
    nameHint: 'Lowercase letters, digits, hyphens, and underscores. Must start with a letter or digit.',
    title: 'Profiles',
    count: count => `${count} ${count === 1 ? 'profile' : 'profiles'}`,
    search: 'Search profiles...',
    loading: 'Loading profiles...',
    newProfile: 'New profile',
    importProfile: 'Import profile…',
    exportProfile: 'Export profile…',
    imported: 'Profile imported',
    exported: 'Profile exported',
    failedImport: 'Failed to import profile',
    failedExport: 'Failed to export profile',
    exportNeedsHost: name =>
      `The browser can't save a profile archive. On the Hermes host, run: hermes profile export ${name}`,
    allProfiles: 'All profiles',
    showAllProfiles: 'Show all profiles',
    notServedHere: 'Not served here',
    switchToProfile: name => `Switch to ${name}`,
    switchToConnection: name => `Switch to ${name}`,
    switchConnectionFailed: name => `Could not connect to ${name}`,
    manageProfiles: 'Manage profiles…',
    connectGateway: 'Manage gateways…',
    fleet: {
      allOnGateway: 'All profiles on this gateway',
      gateway: gateway => `Profiles on ${gateway}`,
      gatewayUnreachable: gateway => `${gateway} · unreachable`,
      onGateway: (name, gateway) => `${name} · ${gateway}`,
      switchTo: (name, gateway) => `Open ${name} on ${gateway}`,
      deleteOn: gateway => ` on ${gateway}`,
      localDevice: 'This device (local backend — installs Hermes if missing, otherwise opens a fresh session)',
      installDeviceTitle: 'Install Hermes on This device?',
      installDeviceDesc:
        'This will install Hermes locally, then open a fresh session on this computer. Nothing is installed until you confirm.',
      installDeviceConfirm: 'Install locally',
      connectExistingInstead: 'Connect to existing instead'
    },
    status: {
      unread: (count: number) => (count === 1 ? '1 unread session' : `${count} unread sessions`),
      needsInput: (count: number) =>
        count === 1 ? '1 session needs your answer' : `${count} sessions need your answer`,
      working: (count: number) => (count === 1 ? '1 session running' : `${count} sessions running`)
    },
    remoteOverride: {
      menuItem: 'Connect to a remote host…',
      badge: (host: string) => `Runs on ${host}`,
      title: (profile: string) => `Connect ${profile} to a remote host`,
      description: 'Sessions in this profile will run on the remote Hermes you point it at, instead of this computer.',
      urlLabel: 'Remote address',
      urlPlaceholder: 'https://hermes.example.com',
      urlInvalid: 'Enter a full address starting with http:// or https://',
      tokenLabel: 'Access token',
      tokenPlaceholder: 'Paste the remote session token',
      tokenSavedHint: 'A token is already saved. Leave blank to keep it.',
      plainTextOptIn:
        'This computer has no secure key storage, so the token would be saved unencrypted on disk. Save it anyway.',
      collisionWarning: (label: string) =>
        `A gateway named “${label}” already exists in Settings. This profile connection is separate and will not change it.`,
      confirmTitle: 'Connect this profile to a remote host?',
      confirmNote: (profile: string, host: string) =>
        `New chats in ${profile} will run on ${host}. That computer will run commands and read files there, not on this one. Only connect to a host you trust.`,
      confirmBack: 'Back',
      connect: 'Connect',
      connecting: 'Connecting…',
      disconnect: 'Remove remote connection',
      savedTitle: 'Profile connected',
      savedMessage: (profile: string, host: string) => `${profile} now runs on ${host}`,
      removedTitle: 'Remote connection removed',
      removedMessage: (profile: string) => `${profile} now runs on this computer`,
      removeFailed: 'Could not remove the remote connection',
      authFailedTitle: 'Remote host rejected the saved token',
      authFailedMessage: (profile: string, host: string) =>
        `${host} refused the token saved for ${profile}. It may have been changed on the remote side.`,
      updateToken: 'Enter new token…'
    },
    actions: 'Actions',
    color: 'Color…',
    colorFor: 'Color',
    openInNewWindow: 'Open in new window',
    setAsDefault: 'Set as default',
    defaultProfile: 'Default profile',
    defaultSet: name => `${name} is now the default`,
    defaultDescription: 'Used when Hermes opens and for new chats. Existing sessions stay in their profiles.',
    failedSetDefault: 'Could not set the default profile',
    setColor: color => `Set color ${color}`,
    autoColor: 'Auto',
    noProfiles: 'No profiles yet.',
    selectPrompt: 'Select a profile to view its details.',
    refresh: 'Refresh profiles',
    refreshing: 'Refreshing profiles',
    default: 'default',
    skills: count => `${count} ${count === 1 ? 'skill' : 'skills'}`,
    env: 'env',
    defaultBadge: 'Default',
    rename: 'Rename',
    renameMenu: 'Rename…',
    exportMenu: 'Export…',
    editSoul: 'Edit SOUL.md…',
    copySetup: 'Copy setup',
    copying: 'Copying...',
    modelLabel: 'Model',
    skillsLabel: 'Skills',
    notSet: 'Not set',
    soulDesc: 'The system prompt and persona instructions baked into this profile.',
    soulMissing:
      'No SOUL.md file exists for this profile yet. Add instructions below and save to create one. Personality presets in config.yaml are managed separately.',
    soulOptional: 'optional',
    soulPlaceholder: mode => `The system prompt / persona for this profile.\nLeave blank to keep the ${mode} default.`,
    soulPlaceholderCloned: 'cloned',
    soulPlaceholderEmpty: 'empty',
    unsavedChanges: 'Unsaved changes',
    loadingSoul: 'Loading SOUL.md...',
    emptySoul: 'Empty SOUL.md — start writing the persona...',
    saving: 'Saving...',
    saveSoul: 'Save SOUL.md',
    deleteTitle: 'Delete profile?',
    deleteDescPrefix: 'This will delete ',
    deleteDescMid: ' and remove its ',
    deleteDescSuffix: ' directory. This cannot be undone.',
    deleting: 'Deleting...',
    createDesc: 'Profiles are independent Hermes environments: separate config, skills, and SOUL.md.',
    nameLabel: 'Name',
    cloneFrom: 'Clone from',
    cloneFromNone: 'None (blank)',
    cloneFromDesc: 'Copies config, skills, and SOUL.md from the selected source profile.',
    cloneFromDefault: 'Clone from default',
    cloneFromDefaultDesc: 'Copy config, skills, and SOUL.md from your default profile.',
    invalidName: hint => `Invalid name. ${hint}`,
    nameRequired: 'Name is required.',
    creating: 'Creating...',
    createAction: 'Create profile',
    renameTitle: 'Rename profile',
    renameDescPrefix: 'Renaming updates the profile directory and any wrapper scripts in ',
    renameDescSuffix: '.',
    displayNameTitle: 'Name this agent',
    displayNameDesc: 'Sets a display name shown across the app. The internal profile ID stays "default".',
    displayNameLabel: 'Display name',
    newNameLabel: 'New name',
    renaming: 'Renaming...',
    created: 'Profile created',
    renamed: 'Profile renamed',
    deleted: 'Profile deleted',
    setupCopied: 'Setup command copied',
    soulSaved: 'SOUL.md saved',
    failedLoad: 'Failed to load profiles',
    failedDelete: 'Failed to delete profile',
    failedCopy: 'Failed to copy setup command',
    failedLoadSoul: 'Failed to load SOUL.md',
    failedSaveSoul: 'Failed to save SOUL.md',
    failedCreate: 'Failed to create profile',
    failedRename: 'Failed to rename profile'
  },

  modelAssignment: {
    saveFailed: 'Hermes did not save that model change.',
    confirmTitle: 'Model Selection Warning',
    confirmDetail: 'Confirm only if you accept this trade-off.',
    confirmAction: 'Confirm',
    declined: 'Model change cancelled — you declined the data-training tier warning.'
  },

  cron: {
    control: enCronControl,
    close: 'Close cron',
    title: 'Scheduled jobs',
    count: count => `${count} ${count === 1 ? 'job' : 'jobs'}`,
    search: 'Search cron jobs...',
    loading: 'Loading cron jobs...',
    states: {
      enabled: 'enabled',
      scheduled: 'scheduled',
      running: 'running',
      paused: 'paused',
      disabled: 'disabled',
      error: 'last run failed',
      completed: 'completed'
    },
    lastRunFailed: 'Last run failed:',
    editJob: 'Edit job',
    runAgain: 'Run again',
    deliveryLabels: {
      local: 'This desktop',
      telegram: 'Telegram',
      discord: 'Discord',
      slack: 'Slack',
      email: 'Email'
    },
    scheduleLabels: {
      daily: 'Daily',
      weekdays: 'Weekdays',
      weekly: 'Weekly',
      monthly: 'Monthly',
      hourly: 'Hourly',
      'every-15-minutes': 'Every 15 minutes',
      custom: 'Custom'
    },
    scheduleHints: {
      daily: 'Every day at 9:00 AM',
      weekdays: 'Monday through Friday at 9:00 AM',
      weekly: 'Every Monday at 9:00 AM',
      monthly: 'The first day of each month at 9:00 AM',
      hourly: 'At the top of every hour',
      'every-15-minutes': 'Every 15 minutes',
      custom: 'Cron syntax or natural language'
    },
    days: {
      '0': 'Sunday',
      '1': 'Monday',
      '2': 'Tuesday',
      '3': 'Wednesday',
      '4': 'Thursday',
      '5': 'Friday',
      '6': 'Saturday',
      '7': 'Sunday'
    },
    dayFallback: value => `day ${value}`,
    everyDayAt: time => `Every day at ${time}`,
    weekdaysAt: time => `Weekdays at ${time}`,
    everyDayOfWeekAt: (day, time) => `Every ${day} at ${time}`,
    monthlyOnDayAt: (dayOfMonth, time) => `Monthly on day ${dayOfMonth} at ${time}`,
    topOfHour: 'At the top of every hour',
    everyHourAt: minute => `Every hour at :${minute}`,
    newCron: 'New cron',
    emptyDescNew:
      'Schedule a prompt to run on a cron expression. Hermes will run it and deliver results to the destination you pick.',
    emptyDescSearch: 'Try a broader search query.',
    emptyTitleNew: 'No scheduled jobs yet',
    emptyTitleSearch: 'No matches',
    last: 'Last:',
    next: 'Next:',
    // Replaces `next` when the stored next_run_at is already past the scheduler grace (#114309).
    overdueSince: 'Overdue since:',
    noRuns: 'No runs yet',
    // Queued trigger feedback in Run History: the backend accepted the trigger but has not materialized the run session yet (#70826).
    queuedRun: 'Queued run',
    manage: 'Manage',
    showRuns: 'Show runs',
    hideRuns: 'Hide runs',
    runHistory: 'Run history',
    actionsTitle: 'Cron job actions',
    resume: 'Resume cron',
    pause: 'Pause cron',
    resumeTitle: 'Resume',
    pauseTitle: 'Pause',
    triggerNow: 'Trigger now',
    edit: 'Edit cron',
    deleteTitle: 'Delete cron job?',
    deleteDescPrefix: 'This will remove ',
    deleteDescSuffix: ' permanently. It will stop firing immediately.',
    deleting: 'Deleting...',
    resumed: 'Cron resumed',
    paused: 'Cron paused',
    triggered: 'Cron triggered',
    deleted: 'Cron deleted',
    created: 'Cron created',
    updated: 'Cron updated',
    failedLoad: 'Failed to load cron jobs',
    failedUpdate: 'Failed to update cron job',
    failedTrigger: 'Failed to trigger cron job',
    failedDelete: 'Failed to delete cron job',
    failedSave: 'Failed to save cron job',
    editTitle: 'Edit cron job',
    createTitle: 'New cron job',
    editDesc: 'Update the schedule, prompt, or delivery target. Changes apply on next run.',
    createDesc: 'Schedule a prompt to run automatically. Use cron syntax or a natural phrase like "every 15 minutes".',
    nameLabel: 'Name',
    namePlaceholder: 'Morning briefing',
    promptLabel: 'Prompt',
    scriptLabel: 'Script',
    scriptBadge: 'script',
    promptPlaceholder: 'Summarize my unread Slack threads and email me the top 5...',
    frequencyLabel: 'Frequency',
    deliverLabel: 'Deliver to',
    deliverNeedsHomeChannel: 'set a home channel first',
    modelLabel: 'Model',
    modelDefault: 'Default (global model)',
    customScheduleLabel: 'Custom schedule',
    customPlaceholder: '0 9 * * * or weekdays at 9am',
    customHint: 'Cron expression, or phrases like "every hour" or "weekdays at 9am".',
    optional: 'Optional',
    promptRequired: 'Prompt is required.',
    promptScheduleRequired: 'Prompt and schedule are required.',
    scheduleRequired: 'Schedule is required.',
    scriptOnlyEditHint: 'Script-only job (no AI prompt). Job id:',
    saveChanges: 'Save changes',
    createAction: 'Create cron',
    tabs: {
      jobs: 'Jobs',
      blueprints: 'Blueprints'
    },
    blueprints: {
      tab: 'Blueprints',
      startFrom: 'Start from',
      custom: 'Custom',
      subtitle: 'Ready-made automations',
      dialogDesc: 'Fill in the details and schedule it.',
      scheduleIt: 'Schedule it',
      scheduling: 'Scheduling...',
      scheduled: 'Blueprint scheduled',
      loading: 'Loading blueprints...',
      failedLoad: 'Failed to load blueprints',
      emptyTitle: 'No blueprints available',
      emptyDesc: 'No automation blueprints are available on this backend.'
    }
  },

  artifacts: {
    search: 'Search artifacts...',
    refresh: 'Refresh artifacts',
    refreshing: 'Refreshing artifacts',
    indexing: 'Indexing recent session artifacts',
    tabAll: 'All',
    tabImages: 'Images',
    tabFiles: 'Files',
    tabLinks: 'Links',
    noArtifactsTitle: 'No artifacts found',
    noArtifactsDesc: 'Generated images and file outputs will appear here as sessions produce them.',
    failedLoad: 'Artifacts failed to load',
    openFailed: 'Open failed',
    itemsImage: 'images',
    itemsLink: 'links',
    itemsFile: 'files',
    itemsGeneric: 'items',
    zero: '0',
    rangeOf: (start, end, total) => `${start}-${end} of ${total}`,
    goToPage: (itemLabel, page) => `Go to ${itemLabel} page ${page}`,
    colTitleLink: 'Link title',
    colTitleFile: 'Name',
    colTitleDefault: 'Title / name',
    colLocationLink: 'URL',
    colLocationFile: 'Path',
    colLocationDefault: 'Location',
    colSession: 'Session',
    kindImage: 'image',
    kindFile: 'file',
    kindLink: 'link',
    chat: 'Chat',
    copyUrl: 'Copy URL',
    copyPath: 'Copy path'
  },

  artifactCard: {
    kind: { code: 'Code', html: 'Interactive page', svg: 'Graphic' },
    generating: lines => `Generating… ${lines} lines`,
    versionBadge: count => `${count} versions`,
    open: 'Open'
  },

  artifactPreview: {
    versionOf: (current, total) => `v${current} of ${total}`,
    olderVersion: 'Older version',
    newerVersion: 'Newer version',
    latest: 'Latest',
    copyContent: 'Copy content',
    download: 'Download',
    openInBrowser: 'Open in browser',
    openInBrowserFailed: 'Could not open in browser',
    missingTitle: 'Artifact unavailable',
    missingBody: 'This artifact is no longer in the local registry.'
  },

  sidebar: {
    filter: {
      grouping: 'Grouping',
      ordering: 'Ordering',
      show: 'Show',
      filters: 'Filters',
      status: 'Status',
      pullRequest: 'Pull request',
      profile: 'Profile',
      project: 'Project',
      archived: 'Archived',
      resetToDefaults: 'Reset to defaults',
      expandAll: 'Expand all',
      collapseAll: 'Collapse all',
      inboxStyle: 'Inbox style',
      updated: 'Updated',
      created: 'Created',
      tokens: 'Tokens',
      cost: 'Cost',
      manual: 'Manual',
      preview: 'Preview',
      pr: 'PR',
      needsInput: 'Needs input',
      working: 'Working',
      unread: 'Unread',
      draft: 'Draft',
      idle: 'Idle',
      open: 'Open',
      merged: 'Merged',
      closed: 'Closed',
      noPR: 'No PR'
    },
    gatewayGroups: {
      grouping: 'Gateway & profile',
      rename: 'Rename group',
      aliasLabel: 'Display name',
      aliasHint: 'Display name only; gateway and profile names stay unchanged.',
      resetName: 'Reset name',
      moveUp: 'Move up',
      moveDown: 'Move down',
      reorder: 'Reorder group',
      actions: 'Group actions'
    },
    profileRail: 'Profile rail',
    nav: {
      'new-session': 'New session',
      capabilities: 'Capabilities',
      messaging: 'Messaging',
      artifacts: 'Artifacts',
      cron: 'Scheduled jobs'
    },
    searchAria: 'Search sessions',
    searchPlaceholder: 'Search sessions…',
    clearSearch: 'Clear search',
    noMatch: query => `No sessions match “${query}”.`,
    results: 'Results',
    pinned: 'Pinned',
    sessions: 'Sessions',
    terminal: 'Terminal',
    files: 'Files',
    review: 'Review',
    logs: 'Logs',
    cronJobs: 'Cron jobs',
    groupAriaGrouped: 'Show sessions as a single list',
    groupAriaUngrouped: 'Group sessions by workspace',
    showProjects: 'Show projects',
    showSessions: 'Show sessions',
    groupTitleGrouped: 'Ungroup sessions',
    groupTitleUngrouped: 'Group by workspace',
    allPinned: 'Everything here is pinned. Unpin a chat to show it in recents.',
    shiftClickHint: 'Shift-click a chat to pin',
    noWorkspace: 'No workspace',
    projectEmpty: 'No sessions yet',
    projectLoadFailed: 'Could not load sessions',
    noSessions: 'No sessions yet',
    storageCorrupt: {
      title: 'Session database is damaged',
      body: (profiles: string) =>
        `Hermes can't read all of the session history for ${profiles}. Chats missing from this list were not deleted; the file they are stored in is damaged.`,
      action: 'Quit Hermes on this profile, then inspect the file without changing it, or restore a snapshot:',
      guide: 'Recovery guide'
    },
    noFilterMatches: 'No sessions match these filters',
    projects: enProjects,
    newSessionIn: label => `New session in ${label}`,
    showMoreIn: (count, label) => `Show ${count} more in ${label}`,
    loading: 'Loading…',
    loadMore: 'Load more',
    loadCount: step => `Load ${step} more`,
    messageCount: count => `${count} ${count === 1 ? 'message' : 'messages'}`,
    toolCallCount: count => `${count} ${count === 1 ? 'tool call' : 'tool calls'}`,
    row: {
      pin: 'Pin',
      unpin: 'Unpin',
      markUnread: 'Mark as unread',
      markRead: 'Mark as read',
      unreadFailed: 'Could not update unread state',
      copyId: 'Copy ID',
      export: 'Export',
      branchFrom: 'Branch',
      rename: 'Rename…',
      archive: 'Archive',
      unarchive: 'Unarchive',
      newWindow: 'New window',
      openInTerminal: 'Open in terminal',
      hideTabBar: 'Hide tab bar',
      openInNewTab: 'Open in new tab',
      openInSplit: 'Open in split',
      copyIdFailed: 'Could not copy session ID',
      sessionActions: 'Session actions',
      sessionRunning: 'Session running',
      needsInput: 'Needs your input',
      waitingForAnswer: 'Waiting for your answer',
      finishedUnread: 'Finished — unread',
      backgroundRunning: 'Background task running',
      draftSession: 'Draft — nothing sent yet',
      handoffOrigin: platform => `Handed off from ${platform}`,
      ownedByProfile: profile => `Profile: ${profile}`,
      renamed: 'Renamed',
      renameFailed: 'Rename failed',
      renameTitle: 'Rename session',
      renameDesc: 'Leave empty to clear.',
      untitledPlaceholder: 'Untitled session',
      deleteTitle: 'Delete session?',
      deleteDesc: title => `This will permanently delete “${title}”. This cannot be undone.`,
      deleting: 'Deleting…',
      deleted: 'Session deleted',
      untitledChat: id => `Chat ${id}`,
      messageCount: count => `${count} ${count === 1 ? 'message' : 'messages'}`,
      todoProgress: 'Tasks completed',
      ageNow: 'now',
      ageDay: 'd',
      ageHour: 'h',
      ageMin: 'm'
    },
    dateDivider: {
      today: 'Earlier today',
      yesterday: 'Yesterday',
      thisWeek: 'Earlier this week',
      lastWeek: 'Last week',
      thisMonth: 'Earlier this month'
    },
    statusDivider: {
      working: 'Working',
      done: 'Done'
    },
    markAllRead: 'Mark all as read'
  },

  composer: {
    message: 'Message',
    wakingProfile: profile => `Waking up ${profile}…`,
    placeholderStarting: 'Starting Hermes...',
    placeholderReconnecting: 'Reconnecting to Hermes…',
    placeholderFollowUp: 'Send follow-up',
    newSessionPlaceholders: [
      'What are we building?',
      'Give Hermes a task',
      "What's on your mind?",
      'Describe what you need',
      'What should we tackle?',
      'Ask anything',
      'Start with a goal'
    ],
    followUpPlaceholders: [
      'Send a follow-up',
      'Add more context',
      'Refine the request',
      "What's next?",
      'Keep it going',
      'Push it further',
      'Adjust or continue'
    ],
    startVoice: 'Start voice conversation',
    openDirective: 'Open',
    queueMessage: 'Queue message',
    steer: 'Steer the current run',
    redirect: 'Redirect the current run',
    stop: 'Stop',
    send: 'Send',
    speaking: 'Speaking',
    transcribing: 'Transcribing',
    thinking: 'Thinking',
    muted: 'Muted',
    listening: 'Listening',
    muteMic: 'Mute microphone',
    unmuteMic: 'Unmute microphone',
    stopListening: 'Stop listening and send',
    stopShort: 'Stop',
    endConversation: 'End voice conversation',
    endShort: 'End',
    stopDictation: 'Stop dictation',
    transcribingDictation: 'Transcribing dictation',
    voiceControls: 'Voice',
    voiceEngine: 'Voice chat engine',
    voiceEngineChained: 'Speech-to-text + Hermes voice',
    voiceEngineLive: 'GPT-Live (full-duplex, delegates to Hermes)',
    voiceEngineLiveNeedsKey: 'Needs an OpenAI API key',
    voiceEngineChangeFailed: 'Could not change the voice chat engine',
    voiceEngineChainedShort: 'speech-to-text',
    voiceEngineLiveShort: 'GPT-Live',
    voiceDictation: 'Voice dictation',
    speakReplies: 'Read replies aloud',
    stopSpeakingReplies: 'Stop reading replies aloud',
    wakeWord: phrase => `Wake word "${phrase}"`,
    wakeWordListening: phrase => `Wake word: "${phrase}" — listening`,
    wakeWordOff: phrase => `Wake word: "${phrase}" — off`,
    wakeWordPausedVoice: phrase => `Wake word: "${phrase}" — paused during voice chat`,
    lookupLoading: 'Looking up…',
    lookupNoMatches: 'No matches.',
    lookupTry: 'Try',
    lookupOr: 'or',
    commonCommands: 'Common commands',
    hotkeys: 'Hotkeys',
    helpFooter: 'opens the full panel · backspace dismisses',
    commandDescs: {
      '/help': 'Show desktop slash commands',
      '/clear': 'start a new session',
      '/resume': 'Resume a saved session',
      '/details': 'control transcript detail level',
      '/copy': 'copy selection or last assistant message',
      '/quit': 'exit hermes',
      '/start': 'Acknowledge platform start pings without a reply',
      '/new': 'Start a new desktop chat',
      '/topic': 'Enable or inspect Telegram DM topic sessions',
      '/save': 'Save the current transcript to JSON',
      '/retry': 'Retry the last message (resend to agent)',
      '/prompt': 'Compose your next prompt in $EDITOR (markdown), then send it',
      '/undo': 'Back up N user turns and re-prompt (default 1)',
      '/title': 'Rename the current session',
      '/handoff': 'Hand off this session to a messaging platform',
      '/branch': 'Branch the latest message into a new chat',
      '/worktree': 'Show, list, create, or prune isolated git worktrees',
      '/compress': 'Compress this conversation context',
      '/rollback': 'List or restore filesystem checkpoints (restores keep your hand-edits; --all overrides)',
      '/export': 'Export a profile (config, skills, theme) to a shareable archive',
      '/import': 'Import a shared profile archive as a new profile',
      '/stop': 'Stop the active turn and background processes',
      '/pause': "Pause new work globally (emergency stop); '/pause off' resumes",
      '/bg': 'Run a prompt in a separate background session',
      '/btw': 'Ask a side question about this conversation without interrupting it',
      '/agents': 'Show active agents and running tasks',
      '/journey': 'Open the memory graph — skills + memories over time',
      '/queue': 'Queue a prompt for the next turn, or list/edit/rm/move/clear queued prompts',
      '/steer': 'Inject a message after the next tool call without interrupting',
      '/goal': 'Set a standing goal Hermes works on across turns until achieved',
      '/heartbeat': 'Set a recurring prompt that re-enters this session when idle',
      '/refine': 'Review this conversation now and save lessons to memory/skills',
      '/review': 'Spawn an independent subagent to review the work just discussed (PR, code, docs)',
      '/loop': 'Re-run a prompt on a recurring interval in this session',
      '/plan': 'Write a markdown implementation plan to .hermes/plans/ without executing anything',
      '/moa': 'Run one prompt through the default Mixture of Agents preset, then restore your model',
      '/subgoal': 'Add or manage extra criteria on the active goal',
      '/status': 'Show current session status',
      '/egress': 'Show Docker egress proxy status',
      '/context':
        'Show detailed context window view with usage gauge, category breakdown, compression stats, and throughput',
      '/whoami': 'Show your slash command access (admin / user)',
      '/profile': 'Switch the active Hermes profile',
      '/codex-runtime': 'Toggle codex app-server runtime for OpenAI/Codex models',
      '/personality': 'Set a predefined personality',
      '/battery': 'Toggle a color-coded battery indicator in the status bar',
      '/timestamps': 'Toggle [HH:MM] timestamps on messages and /history',
      '/diff': 'Show git changes in the working directory',
      '/focus': 'Toggle focus view — show only your prompt and the final response',
      '/yolo': 'Toggle YOLO — auto-approve dangerous commands',
      '/approvals': 'Show or set the persistent dangerous-command approval mode',
      '/reasoning': 'Reasoning effort or display [<level> [--global]|show|hide|full|clamp]',
      '/skin': 'Switch desktop theme or cycle to the next one',
      '/wake': 'Control the desktop wake-word listener [on|off|status]',
      '/tools': 'Manage tools: /tools [list|disable|enable] [name...]',
      '/memory': 'Review pending memory writes / toggle the approval gate',
      '/bundles': 'List skill bundles (aliases /<name> for multiple skills)',
      '/pet': 'Toggle or adopt a petdex mascot (/pet, /pet list, /pet boba)',
      '/hatch': 'Generate a new pet (opens the pet generator)',
      '/learn': 'Learn a reusable skill from anything you describe (dirs, URLs, this chat, notes)',
      '/init': 'Generate or update AGENTS.md project instructions from a repo scan',
      '/suggestions': 'Review suggested automations (accept/dismiss)',
      '/blueprint': 'Set up an automation from a blueprint template',
      '/browser': 'Manage the agent browser [connect|disconnect|status]',
      '/palette': 'Open the fuzzy command palette (also Ctrl+P)',
      '/usage': 'Show token usage and rate limits; `reset` redeems a banked Codex limit reset',
      '/subscription': 'View your Nous plan and change it in the browser',
      '/topup': 'Show your Nous balance and manage billing on the portal',
      '/platform': 'Pause, resume, or list a failing gateway platform',
      '/version': 'Show Hermes Agent version',
      '/debug': 'Upload debug report (system info + logs) and get shareable links',
      '/model': 'Switch the model for this session'
    },
    hotkeyDescs: {
      'composer.mention': 'reference files, folders, urls, git',
      'composer.slash': 'slash command palette',
      'composer.help': 'this quick help (delete to dismiss)',
      'composer.sendNewline': 'send · Shift+Enter for newline',
      'composer.sendQueued': 'send next queued turn',
      'keybinds.openPanel': 'all keyboard shortcuts',
      'composer.cancel': 'close popover · cancel run',
      'composer.history': 'cycle popover / history'
    },
    attachUrlTitle: 'Attach a URL',
    attachUrlDesc: 'Hermes will fetch the page and include it as context for this turn.',
    urlPlaceholder: 'https://example.com/post',
    urlHintPre: 'Include the full URL, e.g. ',
    attach: 'Attach',
    queued: count => `${count} Queued`,
    queuedPaused: count => `${count} Queued — paused`,
    attachmentOnly: 'Attachment-only turn',
    emptyTurn: 'Empty turn',
    hiddenQueued: 'Setup note',
    attachments: count => `${count} attachment${count === 1 ? '' : 's'}`,
    editingInComposer: 'Editing in composer',
    editingQueuedInComposer: 'Editing queued turn in composer',
    restoredDraftNotice: 'Restored your unsent message',
    restoredDraftUndo: 'Undo',
    queueEdit: 'Edit',
    queueExpand: 'Expand',
    queueCollapse: 'Collapse',
    queueSendNext: 'Next',
    queueSteer: 'Steer — redirect the live turn now',
    queueSend: 'Send',
    queueDelete: 'Delete',
    queueLostNote: 'Turn lost during restart',
    restoreImageDraft: 'Restore image draft',
    queueCancelFailed: "Couldn't remove the queued turn",
    queueLostDiscard: 'Discard',
    queueLostDiscardTip:
      'The gateway restarted mid-turn and cannot finish this one. Discard it so the queued turns behind it run.',
    queueResume: 'Resume',
    queueResumeTip: 'Paused by Stop — resume sending the queued turns',
    queueStuckTitle: 'Queued message not sent',
    queueStuckBody: 'A queued turn kept failing to send. It is still in the queue — try sending it again.',
    queueDroppedTitle: 'Queued prompt dropped',
    queueDroppedBody:
      'This background queue entry was dropped because its session could not be resumed after repeated attempts. Nothing else in the queue was affected.',
    terminalSelectionMissingTitle: 'Terminal selection unavailable',
    terminalSelectionMissingBody:
      'Re-select the terminal lines (Ctrl/Cmd+L) before sending — this chip has no original text.',
    queuedTerminalSelectionExpiredBody:
      'This queued terminal selection is no longer available. Re-select the lines (Ctrl/Cmd+L) and queue the message again.',
    previewUnavailable: 'Preview unavailable',
    previewLabel: label => `Preview ${label}`,
    couldNotPreview: label => `Could not preview ${label}`,
    removeAttachment: label => `Remove ${label}`,
    dictating: 'Dictating',
    preparingAudio: 'Preparing audio',
    speakingResponse: 'Speaking response',
    readingAloud: 'Reading aloud',
    themeSuggestions: 'Desktop theme suggestions',
    noMatchingThemes: 'No matching themes.',
    themeTryPre: 'Try ',
    themeTryPost: '.',
    attachLabel: 'Attach',
    files: 'Files…',
    folder: 'Folder…',
    images: 'Images…',
    pasteImage: 'Paste image',
    url: 'URL…',
    promptSnippets: 'Prompt snippets…',
    tipPre: 'Tip: type ',
    tipPost: ' to reference files inline.',
    snippetsTitle: 'Prompt snippets',
    snippetsDesc: 'Pick a starter prompt to drop into the composer.',
    dropFiles: 'Drop files to attach',
    dropSession: 'Drop to link this chat',
    snippets: {
      codeReview: {
        label: 'Code review',
        description: 'Audit the current change for regressions, dropped edge cases, and missing tests.',
        text: 'Please review this for bugs, regressions, and missing tests.'
      },
      implementationPlan: {
        label: 'Implementation plan',
        description: 'Outline an approach before touching code so the diff stays focused.',
        text: 'Please make a concise implementation plan before changing code.'
      },
      explainThis: {
        label: 'Explain this',
        description: 'Walk through how the selected code works and link to the key files.',
        text: 'Please explain how this works and point me to the key files.'
      }
    }
  },

  statusStack: {
    hideStack: 'Hide status stack',
    showStack: 'Show status stack',
    agents: 'Agents',
    background: count => `${count} Background`,
    goalActive: 'Goal active',
    goalBlocked: 'Goal blocked',
    goalDone: 'Goal done',
    goalPaused: 'Goal paused',
    goalWaiting: 'Goal waiting',
    subagents: count => `${count} Subagent${count === 1 ? '' : 's'}`,
    todos: (done, total) => `Tasks ${done}/${total}`,
    previousTodos: (done, total) => `Previous tasks ${done}/${total}`,
    running: 'Running',
    stop: 'Stop',
    dismiss: 'Dismiss',
    exit: code => `exit ${code}`,
    control: {
      goalActiveTurns: (turn, maxTurns) => `Turn ${turn}/${maxTurns}`,
      goalDoneTurns: turns => `${turns} turn${turns === 1 ? '' : 's'}`,
      goalTurn: turn => `Turn ${turn}`,
      goalActions: 'Goal actions',
      viewDetails: 'View details',
      addCriterion: 'Add criterion',
      addCriterionDialogTitle: 'Add criterion',
      addCriterionPlaceholder: 'Enter criterion text...',
      criterionLabel: 'Criterion',
      pauseGoal: 'Pause goal',
      resumeGoal: 'Resume goal',
      resumeNow: 'Resume now',
      clearGoal: 'Clear goal',
      clearGoalConfirmTitle: 'Clear goal?',
      clearGoalConfirmBody: 'Are you sure you want to clear the active goal? This cannot be undone.',
      copyCriterion: index => `Copy criterion ${index}`,
      removeCriterion: index => `Remove criterion ${index}`,
      removeCriterionConfirmTitle: index => `Remove criterion ${index}?`,
      removeCriterionConfirmBody: index => `Are you sure you want to remove criterion ${index}?`,
      clearCriteria: 'Clear all criteria',
      clearCriteriaConfirmTitle: 'Clear all criteria?',
      clearCriteriaConfirmBody: 'Are you sure you want to remove all criteria from this goal?',
      criteriaHeader: count => `Criteria · ${count}`,
      noCriteria: 'No criteria',
      goalDetailsTitle: 'Goal details',
      objectiveLabel: 'Objective',
      contractOutcome: 'Outcome',
      contractVerification: 'Verification',
      contractConstraints: 'Constraints',
      contractBoundaries: 'Boundaries',
      contractStopWhen: 'Stop when',
      waitBarrierTitle: 'Wait condition',
      waitUntil: target => `Waiting until ${target}`,
      waitSession: target => `Waiting on session ${target}`,
      waitPid: pid => `Waiting on process ${pid}`,
      qualityGatesTitle: 'Quality gates',
      gateCommand: 'Command',
      gateAttempts: (attempts, max) => `${attempts}/${max} attempts`,
      gateTimeout: seconds => `${seconds}s timeout`,
      gateLastExit: code => (code === null ? 'Pending' : `Exit code: ${code}`),
      loopActive: 'Loop active',
      loopPaused: 'Loop paused',
      loopDeferred: 'Loop deferred',
      loopFinished: 'Loop finished',
      loopRuns: runs => `${runs} run${runs === 1 ? '' : 's'}`,
      loopRunCount: (current, total) => `Run ${current}/${total}`,
      loopNext: time => `next ${time}`,
      loopEverySeconds: seconds => `every ${seconds}s`,
      loopEveryMinutes: minutes => `every ${minutes}m`,
      loopEveryHours: hours => `every ${hours}h`,
      loopSelfPaced: 'self-paced',
      loopActions: 'Loop actions',
      pauseLoop: 'Pause loop',
      resumeLoop: 'Resume loop',
      stopLoop: 'Stop loop',
      stopLoopConfirmTitle: 'Stop loop?',
      stopLoopConfirmBody: 'Are you sure you want to stop this loop?',
      dismissLoop: 'Dismiss loop',
      loopPromptLabel: 'Prompt',
      loopCadenceLabel: 'Cadence',
      loopUntilLabel: 'Until condition',
      loopDeferredNotice: 'An active goal currently controls the session.',
      loopAwaitingResponse: 'Awaiting response',
      heartbeatActive: 'Heartbeat active',
      heartbeatPaused: 'Heartbeat paused',
      heartbeatEveryMinutes: minutes => `every ${minutes}m`,
      heartbeatEveryHours: hours => `every ${hours}h`,
      heartbeatEverySeconds: seconds => `every ${seconds}s`,
      heartbeatNext: time => `next ${time}`,
      dueWaitingForIdle: 'due — waiting for idle',
      heartbeatActions: 'Heartbeat actions',
      pauseHeartbeat: 'Pause heartbeat',
      resumeHeartbeat: 'Resume heartbeat',
      clearHeartbeat: 'Clear heartbeat',
      clearHeartbeatConfirmTitle: 'Clear heartbeat?',
      clearHeartbeatConfirmBody: 'Are you sure you want to clear this heartbeat?',
      heartbeatFiredCount: count => `Fired ${count} time${count === 1 ? '' : 's'}`,
      actionFailed: msg => `Action failed: ${msg}`,
      actionSucceeded: 'Action succeeded',
      copySuccess: 'Criterion copied to clipboard',
      copyFailure: 'Failed to copy criterion to clipboard',
      continuationFailed: 'Failed to submit goal continuation',
      continuationQueued: 'Goal resumed — continuation queued until the current turn finishes',
      continuationBusy: 'Goal resumed — session busy, stop the current reply first (Stop button or Esc) to continue',
      controlUnavailable: msg => `Session controls unavailable: ${msg}`,
      dismissError: 'Dismiss error',
      add: 'Add'
    },
    coding: {
      title: 'Working tree',
      noBranch: 'No branch',
      detached: 'detached',
      clean: 'Clean',
      changed: count => `${count} changed`,
      ahead: count => `${count} ahead`,
      behind: count => `${count} behind`,
      review: 'Review',
      close: 'Close',
      openChanges: 'Open changes',
      openFile: 'Open file',
      stage: 'Stage',
      unstage: 'Unstage',
      stageAll: 'Stage all',
      viewAsTree: 'View as tree',
      viewAsList: 'View as list',
      revert: 'Revert',
      revertAll: 'Revert all',
      revertConfirm: 'Discard changes to this file and restore it to the committed state? This cannot be undone.',
      revertAllConfirm: 'Discard every change and restore files to the committed state? This cannot be undone.',
      staged: 'Staged',
      noChanges: 'No changes',
      notRepo: 'Not a git repository',
      noDiff: 'No diff to show',
      scopeUncommitted: 'Uncommitted',
      scopeBranch: 'Branch',
      scopeLastTurn: 'Last turn',
      readOnlyScope: 'Read-only view — stage, revert, and commit apply to Uncommitted',
      commit: 'Commit',
      commitAndPush: 'Commit & Push',
      commitPlaceholder: shortcut => `Message (${shortcut} to commit)`,
      generateCommitMessage: 'Generate commit message',
      stopGenerating: 'Stop generating',
      createPr: 'Create PR',
      openPr: 'Open PR',
      ghMissing: 'Install the GitHub CLI (gh) and sign in to open PRs',
      agentShip: 'Ask Hermes to open PR',
      agentShipUnavailable: "The chat that owns these changes isn't on screen.",
      agentShipPrompt:
        'Review the current changes, commit them with a clear conventional-commit message, push the branch, and open a pull request.',
      newBranch: 'New branch',
      branchOffFrom: base => `New branch from ${base}`,
      switchTo: branch => `Switch to ${branch}`,
      switchFailed: branch => `Could not switch to ${branch}`,
      worktrees: 'Worktrees'
    }
  },

  updates: {
    discontinuedTitle: 'This build of Hermes is no longer supported',
    discontinuedBody:
      'This build of Hermes is no longer supported and may break — uninstall it. Your data stays on disk.',
    channels: { stable: 'Stable', canary: 'Canary' },
    bundleSwapPending: 'Restart to finish the update',
    bundleSwapPendingDesc:
      'The updated app is already installed — Hermes only needs to restart to load it. Chats and settings are untouched.',
    bundleSwapPendingAction: 'Restart Hermes',
    stages: {
      idle: 'Getting ready…',
      prepare: 'Getting ready…',
      fetch: 'Downloading…',
      pull: 'Almost there…',
      pydeps: 'Finishing up…',
      update: 'Updating Hermes…',
      rebuild: 'Rebuilding the desktop app…',
      restart: 'Restarting Hermes…',
      done: 'Update complete',
      manual: 'Update from your terminal',
      guiSkew: 'Update the desktop app',
      error: 'Update paused'
    },
    checking: 'Looking for updates…',
    checkFailedTitle: 'Couldn’t check for updates',
    tryAgain: 'Try again',
    notAvailableTitle: 'Update not available',
    unsupportedMessage: 'This version of Hermes can’t update itself from inside the app.',
    connectionRetry:
      "Hermes couldn't reach the update server. Check your internet connection and try again. If you use a remote Hermes, make sure it is online.",
    gitUnusable: 'Hermes could not run Git on this computer, so it could not check for updates.',
    connectionSettings: 'Connection settings',
    openDownloadPage: 'Open download page',
    latestBody: 'You’re running the latest version.',
    latestBodyBackend: 'The backend is running the latest version.',
    allSetTitle: 'You’re all set',
    availableTitle: 'New update available',
    availableBody: 'A new version of Hermes is ready to install.',
    availableTitleBackend: 'Backend update available',
    availableBodyBackend: 'A newer version of the connected Hermes backend is ready to install.',
    availableBodyNoChangelog: 'A newer version is ready. Release notes aren’t available for this install type.',
    availableBodyAppInstaller:
      'A new version of Hermes is ready. Hermes will close, Windows will finish the update, and Hermes will reopen on its own.',
    updateNow: 'Update now',
    maybeLater: 'Maybe later',
    moreChanges: count => `+ ${count} more change${count === 1 ? '' : 's'} included.`,
    copyFullLog: 'Copy full changelog',
    manualTitle: 'Update from your terminal',
    manualUnavailableTitle: "Can't update from here",
    manualBody: 'You installed Hermes from the command line, so updates run there too. Paste this into your terminal:',
    manualBodyBackend: 'The Hermes backend is managed outside this app. Run this on the server that hosts it:',
    manualPickedUp: 'Hermes will pick up the new version next time you launch it.',
    manualPickedUpBackend: 'The backend picks up the new version after the update completes.',
    guiSkewTitle: 'Update the desktop app',
    guiSkewBody:
      'The backend was updated, but this desktop app package wasn’t changed. Update or reinstall the Hermes desktop app (your AppImage / .deb / .rpm) to match.',
    copy: 'Copy',
    copied: 'Copied',
    done: 'Done',
    applyingBody:
      'The Hermes updater takes over in its own window and reopens Hermes automatically when it’s done. Please don’t reopen Hermes yourself while it’s updating.',
    applyingBodyBackend:
      'The remote backend is applying the update and will restart. Hermes reconnects automatically when it’s back.',
    applyingClose: 'This window will close while the update runs, then Hermes reopens on its own.',
    applyingBodyAppInstaller:
      'Hermes will close and Windows will finish the update. Hermes will reopen when it’s done — you don’t need to do anything.',
    applyingCloseAppInstaller: 'This window will close, Windows finishes the update, and Hermes reopens on its own.',
    checkUnknownTitleAppInstaller: 'Couldn’t check for updates',
    checkUnknownBodyAppInstaller:
      'Windows couldn’t check for updates right now. Updates also install automatically when you restart Hermes.',
    errorTitle: 'Update didn’t finish',
    errorBody: 'No worries — nothing was lost. You can try again now.',
    blockerTitle: 'Close local previews to update Hermes?',
    blockerBody:
      'Hermes needs to stop these local previews before updating. This will not modify or delete your files.',
    foreignBlockerTitle: 'Close other processes to update Hermes',
    foreignBlockerBody:
      'Hermes can’t safely close these processes automatically. Close the app, terminal, or service that owns each one, then try the update again.',
    mixedBlockerBody:
      'Hermes can close the local previews listed below. Other processes must be closed manually before the update can continue.',
    closePreviewsAndUpdate: 'Close previews and update',
    closePreviewsAndCheckAgain: 'Close previews and check again',
    localPreview: 'Local preview',
    portLabel: port => `Port ${port}`,
    pidLabel: pid => `PID ${pid}`,
    technicalDetails: 'Technical details',
    notNow: 'Not now',
    clientAlsoBehindTitle: 'Desktop app is behind',
    clientAlsoBehindMessage:
      'The backend is up to date, but this desktop app is still on an older version. Update it to pick up the latest fixes.',
    clientAlsoBehindAction: 'Update desktop app',
    everythingDispatched: 'Update dispatched',
    everythingSkipped: 'Skipped',
    everythingRowFailed: 'Update failed',
    everythingFanoutFailedTitle: 'Couldn’t update other instances',
    changeLogNew: "What's new",
    changeLogFixed: 'Fixed',
    changeLogFaster: 'Faster',
    changeLogImproved: 'Improved',
    changeLogOther: 'Other improvements',
    changeLogFallbackLabel: 'In this update',
    changeLogFallbackItem: 'Improvements and fixes',
    applyStatus: {
      preparing: 'Updating backend…',
      pulling: 'Backend updating…',
      restarting: 'Backend restarting to load the update…',
      notAvailable: 'Update not available for this backend.',
      failed: 'Backend update failed.',
      noReturn: 'Backend didn’t come back online. The update may not have completed — check the backend host.',
      owed: steps => `Backend updated, but still owed: ${steps}. Re-run \`hermes update\` to finish them.`
    },
    appName: 'Hermes', // Update-status overlay + version-details (mechanism-aware update UI).
    version: (value: string) => `Version ${value}`,
    versionUnavailable: 'Version unavailable',
    checkNow: 'Check now',
    seeWhatsNew: "See what's new",
    releaseNotes: 'Release notes',
    onLatest: "You're on the latest version.",
    installing: 'An update is currently installing.',
    cantReach: "We couldn't reach the update server.",
    tapCheck: 'Tap "Check now" to look for updates.',
    updateReady: count => `A new update is ready (${count} change${count === 1 ? '' : 's'} included).`,
    updateReadyUnknown: 'A new update is ready.',
    availableBodyRelease: tag => `Version ${tag} is ready to install.`,
    lastChecked: age => `Last checked ${age}`,
    never: 'never',
    justNow: 'just now',
    minAgo: count => `${count} min ago`,
    hoursAgo: count => `${count}h ago`,
    daysAgo: count => `${count}d ago`,
    justNowSuffix: ' · just now',
    bundleOutOfSync: 'App build out of date',
    bundleOutOfSyncDesc:
      'The Hermes runtime was updated, but the desktop app itself is still an older build. Update it to pick up the latest fixes.',
    bundleOutOfSyncAction: 'Get the installer',
    checkingShort: 'Checking…',
    releaseAvailable: tag => `Version ${tag} is available.`,
    versionDetailsTitle: 'Version details',
    versionDetailsBody: 'This install is managed outside the app. Update it the same way you installed it.',
    versionDetailsVersion: 'Version',
    versionDetailsClient: 'This device',
    versionDetailsBackend: 'Connected backend',
    versionDetailsCommit: 'Commit',
    versionDetailsBuildOrigin: 'Build Origin',
    versionDetailsDistribution: 'Distribution',
    versionDetailsDistributionDesktop: 'Desktop app',
    versionDetailsDistributionDesktopMsix: 'Desktop app (MSIX)',
    versionDetailsDistributionDesktopInstaller: 'Desktop app (installer)',
    versionDetailsDistributionSourceInstaller: 'Source (install script)',
    versionDetailsDistributionSourceInstallerDesktop: 'Source (install script) + hermes desktop',
    versionDetailsDistributionSource: 'Source',
    versionDetailsDistributionSourceDesktop: 'Source + hermes desktop',
    versionDetailsDistributionStore: 'Microsoft Store',
    versionDetailsRuntime: 'Runtime',
    versionDetailsRuntimeEmbedded: 'Embedded runtime',
    versionDetailsRuntimeExternal: 'External (uses the machine runtime)',
    versionDetailsInstallId: 'Install ID',
    versionDetailsUncommittedChanges: 'uncommitted changes'
  },

  install: {
    stageStates: {
      pending: 'Pending',
      running: 'Installing',
      succeeded: 'Done',
      skipped: 'Skipped',
      failed: 'Failed'
    },
    oneTimeTitle: 'Hermes needs a one-time install',
    unsupportedDesc: platform =>
      `Automated first-launch install isn’t available on ${platform} yet. Open Terminal and run the command below, then relaunch this app. Subsequent launches will skip this step.`,
    installCommand: 'Install command',
    copyCommand: 'Copy command',
    viewDocs: 'View install docs',
    installTo: 'Will install to',
    retryAfterRun: 'I’ve run it -- retry',
    setupChoiceTitle: 'Set up Hermes Desktop',
    setupChoiceDesc:
      'Connect this app to a Hermes gateway you already run, or install Hermes locally on this computer.',
    setupChoiceDescLocal: 'Install Hermes on this computer, or connect to a Hermes gateway you already run.',
    connectExistingTitle: 'Connect to existing Hermes',
    connectExistingShort: 'Connect existing',
    connectExistingDesc: 'Use a remote backend with a session token or browser sign-in. No local install will start.',
    installLocalTitle: 'Install Hermes locally',
    installLocalDesc: 'Download Hermes, create its Python environment, and run the backend on this computer.',
    useLocalTitle: 'Use Hermes on this computer',
    useLocalDesc: 'A Hermes runtime is already installed here — start it with one click. Nothing downloads.',
    bundledLocalDesc: 'Use the Hermes runtime included with this app — the bundled backend is the local install.',
    localStartUnavailable: 'Local installation could not start. Restart Hermes Desktop and try again.',
    remoteSetupTitle: 'Connect to existing Hermes',
    remoteSetupDesc: 'Enter your gateway URL. Hermes Desktop will detect whether it needs a token or browser sign-in.',
    remoteUrlTitle: 'Gateway URL',
    remoteUrlDesc: 'Use the base URL of the Hermes gateway, including https:// when remote.',
    remoteUrlPlaceholder: 'https://gateway.example.com/hermes',
    probing: 'Detecting gateway authentication...',
    probeError:
      "Hermes can't reach that address. Check the URL and that the other computer is running Hermes — sign-in options appear once it answers.",
    probeErrorDetails: 'Details',
    identityProvider: 'your identity provider',
    authTitle: 'Authentication',
    authNeedsOauth: provider => `Sign in with ${provider} before testing this gateway.`,
    authSignedIn: 'Browser sign-in completed.',
    connected: 'Connected',
    signIn: 'Sign in',
    signInWith: provider => `Sign in with ${provider}`,
    enterUrlFirst: 'Enter a gateway URL first.',
    signInIncomplete: 'The sign-in window closed before authentication completed.',
    tokenTitle: 'Session token',
    tokenDesc: 'Paste the session token from the remote gateway .env file.',
    pasteSessionToken: 'Paste session token',
    incompleteSignInTest: 'Sign in before testing this OAuth-gated gateway.',
    incompleteTokenTest: 'Enter a session token before testing this gateway.',
    testConnection: 'Test connection',
    testSucceeded: (baseUrl, version) => `Connected to ${baseUrl}${version ? ` (${version})` : ''}.`,
    applyRemote: 'Apply and reconnect',
    backToSetup: 'Back',
    failedTitle: 'Installation failed',
    settingUpTitle: 'Setting up Hermes Agent',
    finishingTitle: 'Finishing up',
    failedDesc:
      'One of the setup steps did not finish. This can happen when another copy of Hermes is running, the internet connection dropped, or antivirus blocked the installer. Close other Hermes windows, then choose Reload and retry. If it fails again, open the logs and send them to support.',
    activeDesc:
      'This is a one-time setup. The Hermes installer is downloading dependencies and configuring your machine. Subsequent launches will skip this step.',
    progress: (completed, total) => `${completed} of ${total} steps complete`,
    currentStage: stage => ` -- now: ${stage}`,
    fetchingManifest: 'Fetching installer manifest...',
    error: 'Error',
    hideOutput: 'Hide installer output',
    showOutput: 'Show installer output',
    lines: count => `${count} line${count === 1 ? '' : 's'}`,
    noOutput: 'No output yet.',
    cancelling: 'Cancelling...',
    cancelInstall: 'Cancel install',
    transcriptSaved: 'Full transcript saved to',
    copiedOutput: 'Copied!',
    copyOutput: 'Copy output',
    reloadRetry: 'Reload and retry',
    openLogs: 'Open logs'
  },

  onboarding: enOnboarding,

  freeTier: {
    providerRowTitle: 'Nous · free tier',
    providerRowPitch: 'Sign in with a Nous account to unlock more models and tools.',
    readyTitle: 'Hermes is ready.',
    readyCaption: 'Free · connectors included',
    begin: 'Begin',
    signInInstead: 'Sign in with a Nous account instead',
    otherProviders: 'Other providers',
    stripTitle: 'Free Nous inference and connectors are now available.',
    stripBody: 'Open the model picker to try them, or sign in with a Nous account.',
    openModelPicker: 'Open model picker',
    dismiss: 'Dismiss',
    providerName: 'Nous',
    statusLabel: model => `Nous · ${model}`,
    signIn: 'Sign in',
    signInHeading: 'Sign in with a Nous account to unlock more models and tools.',
    settingUp: 'Setting up free inference…',
    finishInBrowser: 'Finish in your browser',
    doNotShare: 'Do not share it.',
    openPageAgain: 'Open page again',
    waiting: 'Waiting for sign-in…',
    finishingHeading: 'Finishing sign-in…',
    finishingBody: 'Approved in the browser. Collecting your account tokens.',
    signedInAsLabel: 'Signed in as',
    signedIn: 'Signed in.',
    completedBody: 'Your account now carries inference and tools.',
    reconnect: 'Reconnect',
    openConnectors: 'Open Connectors',
    defaultModel: 'Default model',
    change: 'Change',
    done: 'Done',
    notNow: 'Not now',
    tryAgain: 'Try again',
    didNotComplete: "Sign-in didn't finish",
    timedOutHeading: 'That sign-in link has expired',
    timedOutBody: "Start again whenever you're ready. You're still on the free Nous service.",
    errorBody: "Sign-in didn't finish. Try again whenever you're ready.",
    busyHeading: 'Almost there',
    busyBody: wait =>
      `Hermes couldn't finish signing you in because the Nous service is busy. Try again in ${wait}. Your session is still here in the meantime.`,
    unreachableBody:
      "Hermes couldn't reach the Nous service to finish signing you in. Check your internet connection and try again. Your session is still here.",
    alreadySignedInHeading: 'Already signed in.',
    alreadySignedInBody: 'This Hermes is already signed in to a Nous account.',
    offer: {
      heading: 'Keep going with Hermes',
      body: "You're on the free allowance. If you keep using Hermes, you'll start running into limits. Sign in with a free Nous account for a bigger allowance.",
      signIn: 'Sign in',
      notNow: 'Not now'
    },
    setupFailed: {
      gateClosed:
        "This version of Hermes can't start without a Nous account. Sign in or create one, it's free and only takes a minute.",
      paused:
        'Using Hermes without signing in is paused for a moment. Hermes will keep checking. Signing in is free and gets you going right now.',
      rateLimited: wait =>
        `Lots of people are getting started right now, so Hermes will try again in ${wait}. Signing in is free and skips the wait.`,
      unreachable:
        "Hermes couldn't reach the Nous service. Check your internet connection, then tap Try again. Or connect another provider for now.",
      serverError: 'The Nous service had a hiccup. Tap Try again in a moment, or connect another provider for now.',
      powRequired:
        "The Nous server asked for a proof of work, but that isn't implemented in your Agent yet. Sign in or create a free Nous account to continue.",
      locked: "This session can't continue without signing in. Sign in or create a free Nous account to keep going.",
      generic:
        "Hermes couldn't set up free access without signing in. Signing in is free, or connect another provider.",
      signInBelow: 'Signing in is free. Pick Nous below.',
      tryAgain: 'Try again',
      retrying: 'Trying again…'
    }
  },

  modelPicker: {
    title: 'Switch model',
    current: 'current:',
    unknown: '(unknown)',
    search: 'Filter providers and models...',
    noModels: 'No models found.',
    addProvider: 'Add provider',
    loadFailed: 'Could not load models',
    loadingIntoMemory: 'Loading into memory',
    downloading: 'Downloading',
    localDownloadsHeading: 'Local',
    noAuthenticatedProviders: 'No authenticated providers.',
    pro: 'Pro',
    proNeedsSubscription: 'Pro models need a paid Nous subscription.',
    free: 'Free',
    freeTier: 'Free tier',
    priceTitle: 'Input / Output price per million tokens',
    wasPrice: 'was',
    customModel: 'Custom model',
    addCustomModelAction: 'Add custom model…',
    customModelPlaceholder: 'Type a model id, e.g. openai/gpt-5',
    today: 'Today',
    week: 'Week',
    month: 'Month',
    topTier: 'Large models (monthly)',
    included: 'Every model below is included',
    pausedRenewal: 'paused: renewal unpaid',
    pausedOther: 'paused',
    includedUsedUp: 'Included usage used up',
    limitReached: name => `${name.charAt(0).toUpperCase()}${name.slice(1)} limit reached`,
    limitNames: { day: 'daily', month: 'monthly', top_tier: 'monthly large-model', week: 'weekly' },
    limitThenCredits: 'paid models now use your credits (pay as you go)',
    limitThenCreditsLarge: 'Large models now use your credits (pay as you go)',
    limitThenWait: 'only Free models until then',
    limitThenWaitLarge: 'Large models paused until then',
    percentUsed: percent => `${percent} used`,
    resetsIn: duration => `resets in ${duration}`,
    usageLevels: { free: 'Free', top_tier: 'Large' },
    sectionRecommended: 'Recommended',
    sectionOther: 'Other models',
    largeFootnote: 'Large models also use your monthly large-model limit.'
  },

  modelVisibility: {
    title: 'Models',
    search: 'Search models',
    noAuthenticatedProviders: 'No authenticated providers.',
    addProvider: 'Add provider…',
    addCustomModel: 'Add custom model',
    removeCustomModel: 'Remove custom model',
    resetToDefaults: 'Reset to defaults',
    resetConfirm: 'Reset model visibility to defaults?',
    resetDescription:
      'Your shown and hidden model choices are cleared and every provider’s default list comes back. Custom models you added are kept and shown.',
    resetAction: 'Reset'
  },

  shell: {
    windowControls: 'Window controls',
    paneControls: 'Pane controls',
    appControls: 'App controls',
    modelMenu: enModelMenu,
    modelOptions: {
      noOptions: 'No options for this model',
      options: 'Options',
      thinking: 'Thinking',
      fast: 'Fast',
      ultrafast: 'Ultrafast',
      useStandardSpeed: 'Use standard speed',
      effort: 'Effort',
      minimal: 'Minimal',
      low: 'Low',
      medium: 'Medium',
      high: 'High',
      xhigh: 'Extra High',
      max: 'Max',
      ultra: 'Ultra',
      sendsOnRoute: (level: string) => `sends ${level} on this route`,
      updateFailed: 'Model option update failed',
      fastFailed: 'Fast mode update failed'
    },
    gatewayMenu: {
      gateway: 'Gateway',
      connected: 'Connected',
      connecting: 'Connecting',
      offline: 'Offline',
      inferenceReady: 'Inference ready',
      inferenceNotReady: 'Inference not ready',
      checkingInference: 'Checking inference',
      disconnected: 'Disconnected',
      reconnectGateway: 'Reconnect gateway',
      openSystem: 'Open system panel',
      connection: label => `Connection: ${label}`,
      recentActivity: 'Recent activity',
      viewAllLogs: 'View all logs →',
      messagingPlatforms: 'Messaging platforms'
    },
    approvalMode: {
      title: 'Approval mode',
      ariaLabel: mode => `Approval mode: ${mode}`,
      manual: 'Manual',
      manualDescription: 'Ask before actions that require approval',
      smart: 'Smart',
      smartDescription: 'Automatically assess actions and ask when needed',
      off: 'Off',
      offDescription: 'Run without approval prompts'
    },
    statusbar: {
      unknown: 'unknown',
      restart: 'restart',
      update: 'update',
      updateInProgress: 'Update in progress',
      commitsBehind: (count, branch) => `${count} commit${count === 1 ? '' : 's'} behind ${branch}`,
      releaseAvailable: (tag: string) => `Version ${tag} is available.`,
      desktopVersion: version => `Hermes Desktop v${version}`,
      backendVersion: version => `Backend v${version}`,
      clientLabel: version => `client v${version}`,
      connectionSsh: host => `SSH: ${host}`,
      connectionRemote: host => `Remote: ${host}`,
      connectionCloud: host => `Cloud: ${host}`,
      connectionCloudTooltip: host => `Hermes Cloud · ${host}`,
      connectionSshTooltip: host => `SSH · ${host}`,
      connectionRemoteTooltip: host => `Remote · ${host}`,
      backendLabel: version => `backend v${version}`,
      commit: sha => `commit ${sha}`,
      branch: branch => `branch ${branch}`,
      closeCommandCenter: 'Close Command Center',
      openCommandCenter: 'Open Command Center',
      showTerminal: 'Show terminal',
      hideTerminal: 'Hide terminal',
      gateway: 'Gateway',
      backend: 'Backend',
      messagingStopped: 'messaging stopped',
      messagingDegraded: name => `${name} down`,
      gatewayReady: 'ready',
      gatewayNeedsSetup: 'needs setup',
      gatewayUnavailable: 'inference unavailable',
      gatewayChecking: 'checking',
      gatewayConnecting: 'connecting',
      gatewayOffline: 'offline',
      gatewayRestarting: 'restarting…',
      gatewayTitle: 'Gateway',
      customizeTitle: 'Show in status bar',
      hideStatusbar: 'Hide status bar',
      resetStatusbar: 'Reset to defaults',
      toggleApprovalMode: 'Approvals',
      toggleBackendVersion: 'Backend version',
      toggleCacheHitRate: 'Cache hit rate',
      toggleCommandCenter: 'Command Center',
      toggleContextUsage: 'Context meter',
      toggleRunningTimer: 'Turn timer',
      toggleSessionTimer: 'Session timer',
      toggleTerminal: 'Terminal',
      toggleTokensPerSecond: 'Tokens per second',
      toggleVersion: 'Version & updates',
      toggleFreeTier: 'Free tier',
      toggleWorkspace: 'Workspace',
      cacheHitRateTitle: 'Prompt cache hit rate this session — cached tokens cost less, so higher is cheaper',
      tokensPerSecondTitle: 'Output tokens per second, averaged over the last 10 model calls',
      togglePlanUsage: 'Plan usage',
      planUsageTitle: (used, resetsIn) =>
        `${used} of your plan's usage used${resetsIn ? ` · resets in ${resetsIn}` : ''} · open Billing`,
      agents: 'Agents',
      closeAgents: 'Close agents',
      openAgents: 'Open agents',
      subagents: count => `${count} subagent${count === 1 ? '' : 's'}`,
      failed: count => `${count} failed`,
      running: count => `${count} running`,
      cron: 'Cron',
      openCron: 'Open cron jobs',
      webhooks: 'Webhooks',
      openWebhooks: 'Open webhooks',
      starmap: 'Memory Graph',
      openStarmap: 'Open memory graph',
      turnRunning: 'Running',
      contextUsage: 'Context usage',
      compressions: count => `Compressions: ${count}`,
      systemResources: {
        title: 'System Resources',
        loading: 'Resources…',
        gpuUtilization: 'GPU utilization',
        gpuMemory: 'GPU memory',
        ram: 'RAM',
        unifiedNote: 'Unified memory — the GPU and system share this pool.',
        toggle: 'System resources'
      },
      contextUsagePanel: {
        categories: {
          conversation: 'Conversation',
          mcp: 'MCP',
          memory: 'Memory',
          rules: 'Rules',
          skills: 'Skills',
          subagent_definitions: 'Subagent definitions',
          system_prompt: 'System prompt',
          tool_definitions: 'Tool definitions'
        },
        empty: 'No context data yet',
        loading: 'Loading breakdown…',
        percentFull: percent => `${percent}% Full`,
        title: 'Context Usage',
        tokenSummary: (used, max) => `${used} / ${max} Tokens`
      },
      focusedSince: 'Focused for',
      focusedSinceTitle: 'Time since this chat was focused — not how long a turn has been running',
      yoloOn: 'YOLO on — auto-approving dangerous commands. Shift+click toggles globally.',
      yoloOff: 'YOLO off. Shift+click toggles globally.',
      modelNone: 'none',
      noModel: 'no model',
      switchModel: 'Switch model',
      openModelPicker: 'Open model picker',
      modelPinned: 'pinned by you; new chats use this instead of the Settings default',
      modelTitle: (provider, model) => `Model · ${provider}: ${model}`,
      providerModelTitle: (provider, model) => `${provider} · ${model}`
    }
  },

  rightSidebar: {
    terminalReadOnly: 'Read-only output',
    terminalReadOnlyHelp:
      'To answer prompts, stop the background command and run it in a new terminal. The new terminal opens a separate shell; it does not connect to this process.',
    terminalOpenInteractive: 'Open new terminal',
    aria: 'Right sidebar',
    panelsAria: 'Right sidebar panels',
    files: 'File system',
    terminal: 'Terminal',
    noFolderSelected: 'No folder selected',
    changeCwdTitle: 'Change working directory',
    remotePickerTitle: 'Choose remote folder',
    remotePickerDescription: 'Browse folders on the connected backend.',
    remotePickerSelect: 'Select folder',
    remotePickerNewFolder: 'New folder',
    remotePickerFolderName: 'Folder name',
    remotePickerCreateFolder: 'Create folder',
    remotePickerInvalidFolderName: 'Enter a single folder name, without slashes.',
    remotePickerCreateFolderFailed: error => `Could not create the folder (${error}).`,
    folderTip: cwd => cwd,
    openFolder: 'Open folder',
    refreshTree: 'Refresh tree',
    collapseAll: 'Collapse all folders',
    showIgnored: 'Show gitignored files',
    hideIgnored: 'Hide gitignored files',
    previewUnavailable: 'Preview unavailable',
    couldNotPreview: path => `Could not preview ${path}`,
    noProjectTitle: 'No project',
    noProjectBody: 'Open a project to browse its files and review changes.',
    noProjectOpen: 'No project open',
    noDiffs: 'No diffs',
    unreadableTitle: 'Unreadable',
    unreadableBody: error => `Could not read this folder (${error}).`,
    emptyTitle: 'Empty',
    emptyBody: 'This folder is empty.',
    treeErrorTitle: 'Tree error',
    treeErrorBody: 'The file tree hit an error rendering this folder.',
    tryAgain: 'Try again',
    loadingTree: 'Loading file tree',
    loadingFiles: 'Loading files',
    terminalHide: 'Hide terminal',
    terminalsAria: 'Terminals',
    terminalNew: 'New terminal',
    terminalCloseOthers: 'Close others',
    terminalCloseAll: 'Close all',
    terminalNewOn: 'New terminal on…',
    terminalGatewayRemoved: 'Removed gateway',
    terminalGatewayRemovedBody:
      'The gateway this terminal ran on was removed, so it can\'t reopen. Close this tab.',
    terminalGatewayNoShellBody:
      'This gateway has no shell access, so this terminal can\'t reopen. Close this tab.',
    terminalDisconnectedBody:
      'Terminal disconnected. Press Enter to start a new shell; scrollback is preserved.',
    terminalDropUploadFailed: name => `Could not upload ${name}`,
    terminalDropTooLargeTitle: 'Too large to upload',
    terminalDropTooLarge: (names, limit) => `Each file can be up to ${limit}. Not uploaded: ${names}`,
    terminalDropControlTitle: 'Not typed into the terminal',
    terminalDropControl: paths => `These names hold control characters the shell would act on as keys: ${paths}`,
    terminalDropUnquotable: (shell, paths) => `No safe way to type these names in ${shell}: ${paths}`,
    addToChat: 'Add to chat'
  },

  preview: {
    tab: 'Preview',
    pin: 'Pin to workspace',
    unpin: 'Unpin from workspace',
    closePane: 'Close preview pane',
    loading: 'Loading preview',
    unavailable: 'Preview unavailable',
    missingTarget: 'That path does not exist on this computer',
    missingTitle: 'File no longer exists',
    missingBody: label =>
      `${label} was deleted, moved, or its temporary location was cleared. This tab will not be restored on the next launch.`,
    opening: 'Opening...',
    hide: 'Hide',
    openPreview: 'Open preview',
    openInBrowser: 'Open in browser',
    openInExternal: 'Open in external',
    popIn: 'Pop in',
    popOut: 'Pop out',
    linkHint: '⌘/Ctrl-click for preview pane',
    sourceLineTitle: 'Click to select · shift-click to extend · drag to composer',
    source: 'SOURCE',
    renderedPreview: 'PREVIEW',
    diff: 'DIFF',
    unknownSize: 'unknown size',
    binaryTitle: 'This looks like a binary file',
    binaryBody: label => `Previewing ${label} may show unreadable text.`,
    largeTitle: 'This file is large',
    largeBody: (label, size) => `${label} is ${size}. Hermes will only show the first 512 KB.`,
    previewAnyway: 'Preview anyway',
    truncated: 'Showing first 512 KB.',
    noInlineTitle: 'No inline preview',
    noInlineBody: mimeType => `${mimeType || 'This file type'} can still be attached as context.`,
    edit: 'Edit',
    editing: 'Editing',
    unsavedChanges: 'Unsaved changes',
    saveFailed: message => `Couldn't save: ${message}`,
    saveScopeChanged: 'Switch back to the original connection and profile to save this draft.',
    diskChangedTitle: 'File changed on disk',
    diskChangedBody:
      'This file changed since you opened it. Overwrite it with your version, or discard your edits and reload?',
    overwrite: 'Overwrite',
    discardReload: 'Discard & reload',
    console: {
      deselect: 'Deselect entry',
      select: 'Select entry',
      copyFailed: 'Could not copy console output',
      copyEntry: 'Copy this entry',
      sendEntry: 'Send this entry to chat',
      messages: count => `${count} console messages`,
      resize: 'Resize preview console',
      title: 'Preview Console',
      selected: count => `${count} selected`,
      sendToChat: 'Send to chat',
      copySelected: 'Copy selected to clipboard',
      copyAll: 'Copy all to clipboard',
      copy: 'Copy',
      clear: 'Clear',
      empty: 'No console messages yet.',
      promptHeader: 'Preview console:',
      sentTitle: 'Sent to chat',
      sentMessage: count => `${count} log entr${count === 1 ? 'y' : 'ies'} added to composer`
    },
    web: enPreviewWeb
  },

  interfaceMode: {
    title: 'Interface mode',
    hint: 'Changes what is shown, not what Hermes can do.',
    sessionNote: 'Set by Simple mode. A change here lasts for this session; switch to Advanced to make it yours.',
    simple: {
      label: 'Simple',
      description: 'For talking to Hermes. Sidebar and chat; no terminal, file or diff panes.'
    },
    advanced: {
      label: 'Advanced',
      description: 'For developers. Terminal, files, diffs, statusbar and layouts, as you set them.'
    }
  },

  zones: {
    showTabStrip: 'Show tabs',
    hideTabStrip: 'Hide tabs',
    showStripTab: title => `Show ${title}`,
    hideStripTab: title => `Hide ${title}`,
    zoneMenuLabel: title => `Zone options for ${title}`,
    lastTabKeptTitle: 'Last tab stays',
    lastTabKeptBody: 'This zone needs at least one visible tab. Show another tab first, or collapse the whole sidebar.',
    toggleStripTab: title => `Toggle ${title} tab`,
    minimize: 'Minimize',
    restore: 'Restore',
    closeRunningTitle: 'Close running tab?',
    closeRunningBody:
      'This chat is still working (or waiting on your input). Closing the tab hides it — the session keeps its progress and can be reopened from the sidebar.',
    closeRunningConfirm: 'Close tab',
    reload: 'Reload',
    closeOthers: 'Close others',
    closeToRight: 'Close to the right',
    closeAll: 'Close all',
    newSessionTab: 'New session tab',
    newTab: 'New tab',
    pluginDisabled: pluginId => `Plugin "${pluginId}" disabled`,
    pluginDisabledBody: 'Re-enable it in Capabilities → Plugins to bring the pane back.',
    missingPane: paneId => `missing pane: ${paneId}`,
    editTitle: 'Layouts',
    editHint: 'Pick a layout, or drag panes between zones.',
    reset: 'Reset',
    templates: 'Templates',
    custom: 'Custom',
    newGridLayout: 'New grid layout',
    saveCurrentAs: 'Save current arrangement as a template',
    nameLayoutPlaceholder: 'Name this layout…',
    deletePreset: name => `Delete ${name}`,
    zoneEditorTitle: 'Zone editor',
    editorHintPre: 'click to split · ',
    editorHintPost: ' flips the line · drag across zones to merge · drag shared edges to resize',
    templateColumns: 'Columns',
    templateRows: 'Rows',
    templateGrid: 'Grid',
    templatePriority: 'Priority',
    zoneTag: index => `zone ${index}`,
    mergeZones: count => `Merge ${count} zones`,
    customZoneName: count => `Custom ${count}-zone`,
    layoutNamePlaceholder: fallback => `Layout name (${fallback})`,
    saveApply: 'Save & apply',
    notExpressible: 'this arrangement interlocks (pinwheel) — not expressible as nested splits yet',
    zoneCount: count => `${count} zones`,
    tabCount: count => `${count} tab${count === 1 ? '' : 's'}`,
    tabActions: title => `Actions for ${title}`
  },

  contextMenu: {
    link: {
      openInApp: 'Open in in-app browser',
      openExternal: 'Open in external browser',
      copyUrl: 'Copy URL',
      copyResolvedUrl: 'Copy resolved URL'
    },
    image: {
      copyImage: 'Copy image',
      copyImageAddress: 'Copy image address',
      saveImageAs: 'Save image as…'
    },
    edit: {
      cut: 'Cut',
      paste: 'Paste',
      selectAll: 'Select all',
      addToDictionary: 'Add to dictionary'
    },
    page: {
      copyPageUrl: 'Copy page URL',
      inspectElement: 'Inspect element'
    }
  },

  assistant: {
    thread: {
      loadingSession: 'Loading session',
      showEarlier: 'Show earlier messages',
      loadingResponse: 'Hermes is loading a response',
      loadingLocalModel: model => `Loading ${model} into memory`,
      processingPrompt: 'Processing prompt',
      resumeWhenBackgroundDone: count =>
        count === 1
          ? 'Will resume when the background task finishes'
          : `Will resume when ${count} background tasks finish`,
      thinking: 'Thinking',
      thought: 'Thought',
      thoughtBriefly: 'Thought briefly',
      thoughtFor: duration => `Thought for ${duration}`,
      turnDuration: duration => `This turn took ${duration}`,
      today: time => `Today, ${time}`,
      yesterday: time => `Yesterday, ${time}`,
      copy: 'Copy',
      refresh: 'Refresh',
      moreActions: 'More actions',
      branchNewChat: 'Branch in new chat',
      react: 'React',
      dismissError: 'Dismiss error',
      responseStopped: 'Response stopped',
      ...enErrorLayers,
      errorCodes: enErrorCodes,
      errorAuthKinds: {
        api_key: {
          title: provider => `${provider} rejected your API key`,
          body: () => 'The saved key is invalid or was revoked. Update it, then send your message again.'
        },
        oauth: {
          title: provider => `Sign in to ${provider} again`
        }
      },
      errorDetails: 'View error details',
      errorHideDetails: 'Hide error details',
      errorDetailsCopy: 'Copy details',
      errorCopyRaw: 'Copy error',
      errorContinue: 'Continue',
      errorOpenProviderSettings: provider => `Open ${provider} settings`,
      errorOpenSetupGuide: 'Open setup guide',
      errorSetupGuideLink: 'Setup guide',
      errorOpenModelSettings: 'Open model settings',
      errorStartNewChatLink: 'Start a new chat',
      errorChooseModelLink: 'Choose another model',
      errorRetryAtResetShort: time => `Retry at ${time}`,
      errorRateLimitResetBody: (provider, time) => `You've hit ${provider}'s rate limit. It resets at ${time}.`,
      errorGenericProvider: 'The AI service',
      errorToastTitle: "Hermes couldn't finish the reply",
      errorRetry: 'Retry',
      errorRetryScheduled: (time, wait) => `Retrying at ${time} — in ${wait}`,
      errorRetryScheduledCancel: 'Cancel',
      errorStartNewSession: 'Start new session',
      errorSwitchProvider: 'Switch provider',
      errorChooseModel: 'Choose a model',
      errorSwitchToModel: (model, note) => (note ? `Switch to ${model} (${note})` : `Switch to ${model}`),
      errorSwitchModelFailed: 'Could not switch model',
      errorUseCredits: 'Turn on Keep going on credits',
      errorUseCreditsFailed: 'Could not turn on Keep going on credits',
      errorAddCredits: 'Add credits',
      errorOpenBillingSettings: 'Open billing settings',
      errorCompressConversation: 'Compress conversation',
      errorCompressFailed: 'Could not compress the conversation',
      errorOpenHermesFolder: 'Open Hermes folder',
      errorOpenHermesFolderFailed: 'Could not open the Hermes folder',
      errorUpdateApiKey: 'Update API key',
      errorSignInAgain: provider => `Sign in to ${provider} again`,
      errorSignInFreeTier: 'Sign in with a Nous account',
      errorOauthExpired: provider => `Your ${provider} sign-in expired or was revoked. Sign in again to keep chatting.`,
      errorOpenLogs: 'Open logs',
      errorOpenLogsFailed: 'Could not open the logs folder',
      errorOpenDesktopLogs: 'Open Desktop logs',
      errorSendDiagnostics: 'Send diagnostics',
      filesChanged: count => (count === 1 ? '1 file changed' : `${count} files changed`),
      reviewChanges: 'Review',
      readAloudFailed: 'Read aloud failed',
      preparingAudio: 'Preparing audio...',
      stopReading: 'Stop reading',
      readAloud: 'Read aloud',
      copyFullResponse: 'Copy full response',
      readAloudFullResponseHint: 'Shift-click: read the full response',
      editMessage: 'Edit message',
      expandMessage: 'Expand message',
      scrollToBottom: 'Scroll to bottom',
      stop: 'Stop',
      restorePrevious: 'Restore previous checkpoint',
      restoreCheckpoint: 'Restore checkpoint',
      restoreFromHere: 'Restore checkpoint — rerun from this prompt',
      restoreTitle: 'Restore to this checkpoint?',
      restoreBody:
        'Everything after this prompt is removed from the conversation, and the prompt runs again from here.',
      restoreConfirm: 'Restore & rerun',
      restoreNext: 'Restore next checkpoint',
      goForward: 'Go forward',
      sendEdited: 'Send edited message',
      attachingFile: 'Attaching…'
    },
    approval: {
      gatewayDisconnected:
        'Hermes is offline right now. The command is still waiting for your answer (until the approval timeout). Reconnect, then send it again.',
      sendFailed: 'Could not send your answer',
      reconnect: 'Reconnect',
      timedOutSystemLine:
        'Approval timed out — the command was not run. Ask Hermes to try again, or raise the limit in Settings → Safety → Approval timeout.',
      openSafetySettings: 'Open Safety settings',
      run: 'Run',
      command: 'Command',
      commandDetails: 'Command details',
      moreOptions: 'More approval options',
      allowSession: 'Allow this session',
      alwaysAllowMenu: 'Always allow…',
      jumpToApproval: 'Approval needed',
      reject: 'Reject',
      alwaysTitle: 'Always allow this command?',
      alwaysDescription: pattern =>
        `This adds the “${pattern}” pattern to your permanent allowlist (~/.hermes/config.yaml). Hermes won’t ask again for commands like this — in this session or any future one.`,
      alwaysAllow: 'Always allow'
    },
    clarify: enClarify,
    themePicker: enThemePicker,
    catalogInstall: enCatalogInstall,
    mcpSetup: {
      installTitle: 'Add MCP servers',
      enableTitle: 'Enable MCP servers',
      authorizeTitle: 'Authorize MCP servers',
      installAction: 'Install',
      enableAction: 'Enable',
      authorizeAction: 'Authorize',
      installed: server => `Installed ${server}`,
      enabled: server => `Enabled ${server}`,
      authorized: server => `Authorized ${server}`,
      failed: server => `Setup failed for ${server}`,
      toolCount: count => (count === 1 ? '1 tool' : `${count} tools`),
      envRequired: 'Fill in the required credentials first',
      sendFailed: 'Could not send MCP setup response',
      reloadFailed: 'Server saved, but reloading MCP tools failed — they load next session',
      gatewayDisconnected: 'Hermes is offline right now. Reconnect, then send it again.'
    },
    tool: {
      copyCode: 'Copy code',
      renderingImage: 'Rendering image',
      copyOutput: 'Copy output',
      copyCommand: 'Copy command',
      copyContent: 'Copy content',
      copyUrl: 'Copy URL',
      copyResults: 'Copy results',
      copyQuery: 'Copy query',
      copyFile: 'Copy file',
      copyPath: 'Copy path',
      failedCalls: (count: number) => `${count} tool call${count === 1 ? '' : 's'} failed`,
      skillActivity: {
        loading: 'Loading skill',
        loaded: 'Loaded skill',
        loadFailed: 'Failed to load skill',
        readingResource: 'Reading skill resource',
        readResource: 'Read skill resource',
        resourceFailed: 'Failed to read skill resource',
        listing: 'Listing skills',
        listed: 'Listed skills',
        listFailed: 'Failed to list skills',
        unavailable: 'Skill result unavailable'
      },
      outputAlt: 'Tool output',
      rawResponse: 'Raw response',
      copyActivity: 'Copy activity',
      recoveredOne: 'Recovered after 1 failed step',
      recoveredMany: count => `Recovered after ${count} failed steps`,
      failedOne: '1 step failed',
      failedMany: count => `${count} steps failed`,
      statusRunning: 'Running',
      statusError: 'Error',
      statusRecovered: 'Recovered',
      statusDone: 'Done',
      resultUnavailable: 'Result unavailable',
      resultInterrupted: 'Interrupted',
      memoryWriteNoted: 'Memory write noted',
      actions: {
        read: 'Read',
        reading: 'Reading',
        opened: 'Opened',
        opening: 'Opening',
        failedToOpen: 'Failed to open',
        searched: 'Searched',
        searching: 'Searching',
        ran: 'Ran',
        running: 'Running',
        ranCode: 'Ran code',
        runningCode: 'Scripting'
      },
      prefixes: {
        browser: 'Browser',
        web: 'Web'
      },
      titleTemplates: {
        actionCommand: (action, command) => `${action} ${command}`,
        actionQuoted: (action, value) => `${action} “${value}”`,
        actionTarget: (action, target) => `${action} ${target}`,
        prefixedDone: (prefix, action) => `${prefix} ${action}`,
        runningPrefixedTool: (prefix, action) => `Running ${prefix.toLowerCase()} ${action.toLowerCase()}`,
        runningTool: action => `Running ${action.toLowerCase()}`
      },
      titles: {
        browser_click: { done: 'Clicked page element', pending: 'Clicking page element', pendingAction: 'Clicking' },
        browser_fill: { done: 'Filled form field', pending: 'Filling form field', pendingAction: 'Filling' },
        browser_navigate: { done: 'Opened page', pending: 'Opening page', pendingAction: 'Opening' },
        browser_snapshot: {
          done: 'Captured page snapshot',
          pending: 'Capturing page snapshot',
          pendingAction: 'Capturing'
        },
        browser_take_screenshot: {
          done: 'Captured screenshot',
          pending: 'Capturing screenshot',
          pendingAction: 'Capturing'
        },
        browser_type: { done: 'Typed on page', pending: 'Typing on page', pendingAction: 'Typing' },
        clarify: { done: 'Asked a question', pending: 'Asking a question', pendingAction: 'Asking' },
        cronjob: { done: 'Cron job', pending: 'Scheduling cron job', pendingAction: 'Scheduling' },
        edit_file: { done: 'Edited file', pending: 'Editing file', pendingAction: 'Editing' },
        execute_code: { done: 'Ran code', pending: 'Scripting', pendingAction: 'Scripting' },
        image_generate: { done: 'Generated image', pending: 'Generating image', pendingAction: 'Generating' },
        list_files: { done: 'Listed files', pending: 'Listing files', pendingAction: 'Listing' },
        memory: { done: 'Saved to memory', pending: 'Saving to memory', pendingAction: 'Saving' },
        patch: { done: 'Patched file', pending: 'Patching file', pendingAction: 'Patching' },
        read_file: { done: 'Read file', pending: 'Reading file', pendingAction: 'Reading' },
        search_files: { done: 'Searched files', pending: 'Searching files', pendingAction: 'Searching' },
        session_search_recall: {
          done: 'Searched session history',
          pending: 'Searching session history',
          pendingAction: 'Searching'
        },
        terminal: { done: 'Ran command', pending: 'Running command', pendingAction: 'Running' },
        todo: { done: 'Updated todos', pending: 'Updating todos', pendingAction: 'Updating' },
        vision_analyze: { done: 'Analyzed image', pending: 'Analyzing image', pendingAction: 'Analyzing' },
        web_extract: { done: 'Read webpage', pending: 'Reading webpage', pendingAction: 'Reading' },
        web_search: { done: 'Searched web', pending: 'Searching web', pendingAction: 'Searching' },
        write_file: { done: 'Edited file', pending: 'Editing file', pendingAction: 'Editing' }
      }
    }
  },

  prompts: {
    gatewayDisconnected: 'Hermes is offline right now. Reconnect, then send it again.',
    reconnect: 'Reconnect',
    sudoSendFailed: 'Could not send sudo password',
    secretSendFailed: 'Could not send secret',
    sudoTitle: 'Administrator password',
    sudoDesc:
      'Review the command before entering your sudo password. Your password is sent to the agent running it and cached for this session.',
    sudoCommandUnavailable:
      'This agent did not provide the command. Cancel if you cannot verify it in the conversation.',
    sudoInstallDesc:
      'Hermes needs your sudo password to install the Bot Screen packages (TigerVNC + Xfce) on the gateway host. It is sent only to that host.',
    sudoPlaceholder: 'sudo password',
    secretTitle: 'Secret required',
    secretDesc: 'Hermes needs a credential to continue.',
    secretPlaceholder: 'secret value',
    vaultUnlockSendFailed: 'Could not send master password',
    vaultUnlockTitle: name => `Unlock ${name}`,
    vaultUnlockDesc: name =>
      `The agent wants to sign into a site with a login saved in ${name}. Enter your master password to unlock it for this session — it goes straight to ${name} on this machine and is never stored or shown to the agent.`,
    vaultUnlockPlaceholder: 'Master password',
    vaultUnlockKeepLocked: 'Keep locked',
    vaultUnlockConfirm: 'Unlock',
    vaultSaveSendFailed: 'Could not save the login',
    vaultSaveTitle: site => `Save your ${site} login?`,
    vaultSaveDesc: origin =>
      `Hermes reached a sign-in page at ${origin} and has no login for it. Enter it once here; it is encrypted on this machine and filled into the page without the model ever seeing the password.`,
    vaultSaveIdentifierLabel: 'Email or username',
    vaultSaveIdentifierPlaceholder: '[email protected]',
    vaultSavePasswordPlaceholder: 'Password',
    vaultSaveFootnote: 'Manage saved logins in Settings → Passwords & Logins.',
    vaultSaveDecline: "Don't save",
    vaultSaveConfirm: 'Save & sign in',
    vaultCodeSendFailed: 'Could not send the code',
    vaultCodeTitle: site => `Verification code for ${site}`,
    vaultCodeDesc: site =>
      `${site} is asking for a one-time code (text message, email or authenticator app). Enter it here and Hermes types it into the page; the model never sees it.`,
    vaultCodeLabel: 'Code',
    vaultCodeFootnote:
      'Tip: save the authenticator key with this login in Settings → Passwords & Logins and Hermes enters codes for you.',
    vaultCodeSkip: 'Skip',
    vaultCodeConfirm: 'Enter code'
  },

  desktop: {
    audioReadFailed: 'Could not read recorded audio',
    sessionUnavailable: 'Session unavailable',
    createSessionFailed: 'Could not create a new session',
    promptFailed: 'Prompt failed',
    providerCredentialRequired: 'Add a provider credential before sending your first message.',
    emptySlashCommand: 'empty slash command',
    slashCommandIgnoredTitle: 'Command not sent',
    slashCommandIgnoredBody:
      'Slash commands cannot be combined with attachments. Remove the attachment or send the command separately.',
    desktopCommands: 'Desktop commands',
    skillCommandsAvailable: count => `${count} skill commands available.`,
    warningLine: message => `warning: ${message}`,
    yoloArmed: 'YOLO armed for this chat',
    yoloOff: 'YOLO off',
    yoloSystem: active => `YOLO ${active ? 'on' : 'off'} for this session`,
    yoloTitle: 'YOLO',
    yoloToggleFailed: 'Could not toggle YOLO',
    profileStatus: current =>
      `Profile: ${current}. Use /profile <name> or the "New session" picker to start a chat in another profile.`,
    unknownProfile: 'Unknown profile',
    noProfileNamed: (target, available) => `No profile named "${target}". Available: ${available}`,
    newChatsProfile: name => `New chats will use profile ${name}.`,
    setProfileFailed: 'Failed to set profile',
    sttDisabled: 'Speech-to-text is disabled in settings.',
    stopFailed: 'Stop failed',
    regenerateFailed: 'Regenerate failed',
    editFailed: 'Edit failed',
    editTurnUnavailable: 'This turn is no longer in server history (it may have been compressed away).',
    resumeFailed: 'Resume failed',
    readOnlyTranscriptTitle: 'Opened read-only',
    readOnlyTranscriptBody:
      'No connected backend claims this older chat yet, so it opened as a read-only transcript. Its history is intact; sending is disabled until a backend claims it.',
    readOnlyTranscriptSendBlocked: 'This chat is open as a read-only transcript — sending is disabled.',
    resumeStrandedTitle: "Couldn't load this session",
    resumeStrandedBody:
      'The connection to this session failed and automatic retries gave up. Check that the gateway is running, then try again.',
    poolSlotTimeoutBody:
      "Too many bots are running at once for this computer's limit. Raise the limit in Settings → Advanced, or wait for one to finish and retry.",
    poolSlotTimeoutOpenSettings: 'Open Advanced Settings',
    resumeRetry: 'Retry',
    nothingToBranch: 'Nothing to branch',
    branchNeedsChat: 'Start or resume a chat before branching.',
    sessionBusy: 'Session busy',
    branchStopCurrent: 'Stop the current turn before branching this chat.',
    branchNoText: 'This message has no text to branch from.',
    branchTitle: n => `Draft: Branch #${n}`,
    branchFailed: 'Branch failed',
    deleteFailed: 'Delete failed',
    archived: 'Archived',
    archiveFailed: 'Archive failed',
    restored: 'Restored',
    unarchiveFailed: 'Unarchive failed',
    cwdChangeFailed: 'Working directory change failed',
    cwdStagedTitle: 'Working directory staged',
    cwdStagedMessage: 'Restart the desktop backend to apply cwd changes to this active session.',
    modelSwitchConfirmBody: 'This model switch needs confirmation.',
    modelSwitchConfirmLabel: 'Switch anyway',
    modelSwitchConfirmTitle: (model: string) => `Switch to ${model}?`,
    modelSwitchConfirmTitleFallback: 'Switch models?',
    modelSwitchFailed: 'Model switch failed',
    modelSwitchKeepLabel: 'Keep current model',
    modelSwitchStaleNotice: 'Selection changed — the model switch was not applied.',
    hydrationSyncing: (profile: string) => `Syncing ${profile}\u2026`,
    sessionExported: 'Session exported',
    sessionExportFailed: 'Could not export session',
    imageSaved: 'Image saved',
    downloadStarted: 'Download started',
    restartToUseSaveImage: 'Restart Hermes Desktop to use Save Image.',
    restartToSaveImages: 'Restart Hermes Desktop to save images',
    imageDownloadFailed: 'Image download failed',
    openImage: 'Open image',
    downloadImage: 'Download image',
    savingImage: 'Saving image',
    zoomIn: 'Zoom in',
    zoomOut: 'Zoom out',
    resetZoom: 'Reset zoom',
    imagePreviewFailed: 'Image preview failed',
    imageAttach: 'Image attach',
    imageWriteFailed: 'Failed to write image to disk.',
    imageAttachFailed: 'Image attach failed',
    attachFailed: 'Attach failed',
    pastedContent: 'Pasted content',
    pasteAttachFailed: 'Could not attach pasted text',
    attachImages: 'Attach images',
    clipboard: 'Clipboard',
    noClipboardImage: 'No image found in clipboard',
    clipboardPasteFailed: 'Clipboard paste failed',
    dropFiles: 'Drop files',
    dropFilesMore: (count: number) => `and ${count} more`,
    handoff: {
      pickPlatform: 'Choose a destination',
      success: platform => `Handed off to ${platform}. Resume here anytime.`,
      systemNote: platform => `↻ Handed off to ${platform} — resume here anytime.`,
      failed: error => `Handoff failed: ${error}`,
      timedOut:
        "Hermes couldn't reach your messaging connection. Start it from Settings → Messaging, then try the handoff again.",
      startMessaging: 'Start messaging'
    }
  },

  tips: {
    close: "Don't show this tip again",
    items: {
      'new-session': {
        title: 'Start fresh',
        text: 'A new chat gets its own context, terminal and working directory.'
      },
      skills: {
        title: 'Teach it once',
        text: 'Skills are folders of instructions Hermes loads when the work calls for them.'
      },
      messaging: {
        title: 'Hermes away from your desk',
        text: 'Connect Telegram, Discord, Slack and more — same agent, same memory.'
      },
      artifacts: {
        title: 'Everything Hermes made',
        text: 'Images, files and links from every session, indexed in one place.'
      },
      cron: {
        title: 'Work that runs itself',
        text: 'Schedule a prompt hourly, nightly, or on a cron expression.'
      },
      'command-palette': {
        title: 'One box for everything',
        text: 'Sessions, settings, skills and commands all answer to the palette.'
      },
      profiles: {
        title: 'Profiles are separate',
        text: 'Each one is its own Hermes — own keys, own memory, own sessions.'
      },
      'composer-mentions': {
        title: 'Attach and command',
        text: 'Type @ to bring a file into the conversation, / to run a command.'
      },
      'local-runtime-update': {
        title: 'A local engine update is available',
        text: 'Update the engine that runs your local models. Active local requests may be interrupted.',
        action: 'Update now'
      },
      'right-pane': {
        title: 'The working pane',
        text: 'Files, terminal, review and the in-app browser share the right side.'
      }
    }
  },

  errors: {
    genericFailure: 'Something went wrong',
    boundaryTitle: 'Something broke in the interface',
    boundaryDesc: 'The view hit an unexpected error. Your chats and settings are safe.',
    boundaryDetails: 'Details',
    sendDiagnostics: 'Send diagnostics',
    reloadWindow: 'Reload window',
    openLogs: 'Open logs'
  },

  ui: {
    search: {
      clear: 'Clear search'
    },
    logs: {
      bottom: 'Bottom of log',
      search: 'Search logs…',
      top: 'Top of log'
    },
    pagination: {
      label: 'pagination',
      previous: 'Prev',
      previousAria: 'Go to previous page',
      next: 'Next',
      nextAria: 'Go to next page'
    },
    sidebar: {
      title: 'Sidebar',
      description: 'Displays the mobile sidebar.',
      toggle: open => `${open ? 'Show' : 'Hide'} sidebar`
    }
  }
}