Skip to content

Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins

162 KB
Raw Blame
export const en = {
  worktree: {
    menu: { group: "Git" },
    newIsolatedSession: "New isolated session",
    uncommittedNotIncluded: "Uncommitted changes in the project are not included in the isolated session.",
    reveal: "Show worktree folder",
    deleteLoss: "Unmerged work will be lost",
    badge: {
      isolated: "Isolated",
      conflict: "Conflict",
      missing: "Folder missing",
      setupFailed: "Setup failed",
      title: "Runs in its own git worktree on {{branch}}",
      behind: "↓{{count}}",
      behindTitle: "The project has {{count}} new commit(s). Use \"Sync from project\" to bring them into this session.",
    },
    merge: {
      menu: "Merge into project…",
      title: "Merge into project",
      description: "Lands the commits of {{branch}} on {{ownerBranch}} in the project.",
      commits: "Commits: {{count}}",
      files: "Changed files: {{count}}",
      uncommittedFile: "not committed yet",
      uncommittedNote: "Uncommitted changes are committed on the session branch first.",
      resolving: "The session has a conflict resolution in progress; it is finished when you merge.",
      confirm: "Merge",
      merging: "Merging…",
      success: "Merged into {{branch}}",
      nothing: "There is nothing to merge.",
      conflict: "These files conflict with the project. Resolve them in the session, then merge again:",
    },
    sync: {
      menu: "Sync from project",
      menuBehind: "Sync from project ({{count}} new)",
      upToDate: "The session already has the project's latest code.",
      resolveFirst: "Resolve the conflict in the session first, then merge or sync again.",
      success: "Brought {{count}} new project commit(s) into the session.",
      conflict: "These files conflict with the project. Resolve them in the session: {{files}}",
    },
    setupCommand: {
      menu: "Setup command…",
      title: "Worktree setup command",
      description: "Runs in every new isolated worktree of this project, for example to install dependencies. A failure is shown but does not stop the session.",
      label: "Command",
      hint: "Variables: PI_PROJECT_ROOT, PI_WORKTREE_ROOT, PI_PORT. Ignored files listed in .worktreeinclude are copied first.",
      placeholder: "pnpm install",
      saved: "Setup command saved",
    },
    setupLog: {
      menu: "Setup log",
      title: "Worktree setup log",
      running: "The setup command is running.",
      ok: "The setup command finished.",
      failed: "The setup command failed.",
      none: "No setup command ran.",
    },
    errors: {
      notGit: "This project is not a git repository.",
      noCommits: "The repository has no commits yet. Make a first commit to use isolated sessions.",
      detachedHead: "The project is not on a branch. Check out a branch first.",
      gitMissing: "Git was not found. Install Git to use isolated sessions.",
      gitTooOld: "Isolated sessions need Git 2.29 or newer.",
      branchNamespaceTaken: "A branch named pi-desktop exists. Rename it to use isolated sessions.",
      busy: "The session is still running. Wait for it to finish.",
      changedSincePreview: "The session or the project branch changed after the preview. Review the updated changes.",
      ownerBranchChanged: "The project is no longer on the branch this session started from. Switch back to merge.",
      sessionBranchChanged: "The session's worktree is no longer on its own branch. Switch it back to merge or sync.",
      projectDirty: "Uncommitted project changes would be overwritten. Commit or stash them, then merge again.",
      missing: "The isolated worktree folder no longer exists. Delete this session.",
      commitFailed: "Git could not commit the session's changes.",
      moveUnsupported: "An isolated session cannot move to another project.",
      mergeFailed: "Git could not combine the project's changes with the session, for example because a file is in the way. The session was left unchanged.",
      pathExists: "A worktree or branch with this name already exists. Try again or delete the leftover.",
      notReady: "The isolated worktree is still being prepared. Try again in a moment.",
      notIsolated: "This session has no isolated worktree.",
      gitFailed: "A git command failed. Check the repository and try again.",
      gitTimeout: "Git did not respond in time. Try again.",
      remoteUnsupported: "Isolated sessions are not available for remote projects.",
    },
  },
  app: {
    shellName: "PI-Desktop",
    tagline: "Local AI coding partner",
    starting: "Starting PI-Desktop…",
    loadingView: "Loading view…",
    uiCrashed: "Something went wrong with the interface",
  },
  startup: {
    slowTitle: "Still starting…",
    slowBody: "PI-Desktop is taking longer than usual to reach your local service. It may still finish on its own — you can wait, or collect the logs first.",
    stalledTitle: "PI-Desktop couldn't finish starting",
    stalledBody: "This window never received your chats and settings, so there is nothing to show yet. Nothing was deleted — your data is still on disk.",
    retrying: "Trying again…",
    copyDiagnostics: "Copy diagnostics",
    diagnosticsCopied: "Diagnostics copied",
    diagnosticsFailed: "Couldn't copy diagnostics",
  },
  /** Verbs and states that mean the same thing wherever they appear. */
  common: {
    close: "Close",
    cancel: "Cancel",
    save: "Save",
    saving: "Saving…",
    loading: "Loading…",
  },
  window: {
    minimize: "Minimize",
    maximize: "Maximize",
    restore: "Restore",
    close: "Close",
  },
  tray: {
    running: "Running",
    unread: "Unread",
    pinned: "Pinned",
    viewMore: "View more…",
    open: "Open PI-Desktop",
    quit: "Quit PI-Desktop",
    askTitle: "Keep PI-Desktop running in the background?",
    askBody:
      "When you close the window, PI-Desktop can keep running in the system tray so nothing is lost. You can change this any time in Settings.",
    closeToTray: "Close to tray",
    confirmQuitTitle: "Quit PI-Desktop?",
    confirmQuitBody:
      "Are you sure you want to quit? All running sessions will be stopped and unsaved changes may be lost.",
    confirmQuit: "Quit",
  },
  /**
   * Native consent dialog for a file access a plugin's manifest did not
   * declare. Lives here rather than in the renderer because the dialog is a
   * main-process `showMessageBox` — it has to block the plugin's call.
   */
  pluginDesktopConsent: {
    message: "{name} wants to run {operation}",
    arguments: "Arguments: {args}",
    detail:
      "This is a dangerous desktop operation. The plugin acknowledged the risk; whether it runs is up to you. Deny if you did not expect it.",
    allowOnce: "Allow once",
    allowSession: "Allow until quit",
    deny: "Deny",
  },
  pluginFsConsent: {
    read: "{name} wants to read a file outside what it declared",
    write: "{name} wants to write a file outside what it declared",
    delete: "{name} wants to delete a file outside what it declared",
    rate: "{name} is deleting a lot of files at once",
    rateDetail:
      "It has passed {limit} deletions in a minute. This is what a runaway loop looks like; the next one is {path}.",
    detail: "{path}\n\nGranting this is up to you. Deletions go to the trash and can be restored.",
    allowOnce: "Allow once",
    allowSession: "Allow until quit",
    deny: "Deny",
  },
  pluginLauncher: {
    title: "Open a plugin",
    placeholder: "Search plugins by name or pinyin",
    loading: "Loading plugins…",
    empty: "No plugins with panels are ready to open.",
    noResults: "No matching plugins",
    openHint: "Enter to open",
    navigateHint: "↑↓ to choose",
    dismissHint: "Esc to dismiss",
    results: "Results",
    matches: "Matches",
    recent: "Recently used",
    pinned: "Pinned",
    expandRecent: "Show all {count} →",
    collapse: "Collapse",
    overflow: "{count} more — keep typing to narrow it down",
    overflowHint: "Too many matches to show at once",
    scanningApps: "Looking for installed applications…",
    showAllPlugins: "All plugins →",
    allPlugins: "All plugins",
    typePlugin: "Plugin",
    typeApp: "App",
    pinsFull: "All {{limit}} pin slots are taken",
    openPluginMarket: "Browse the plugin market",
    pin: "Pin to panel",
    unpin: "Unpin",
  },
  menu: {
    file: "File",
    edit: "Edit",
    view: "View",
    window: "Window",
    help: "Help",
    newTask: "New Task",
    openProject: "Open Project…",
    settings: "Settings…",
    toggleWindow: "Show/Hide Window",
    refreshMarket: "Refresh marketplace",
    search: "Search…",
    toggleSidebar: "Sidebar",
    actualSize: "Actual Size",
    zoomIn: "Zoom In",
    zoomOut: "Zoom Out",
    toggleFullScreen: "Toggle Full Screen",
    toggleDevTools: "Developer Tools",
    appHelp: "PI-Desktop Help",
    openLogs: "Open Logs",
    checkForUpdates: "Check for Updates…",
  },
  updates: {
    title: "Updates",
    desc: "Updates are downloaded from GitHub Releases.",
    preferenceTitle: "Update behavior",
    preferenceDesc: "Automatic mode downloads and installs updates; Manual mode checks and reminds you once per new version.",
    automatic: "Automatic",
    manual: "Manual",
    automaticUnsupported: "Automatic installation isn't supported by this package.",
    automaticPortableWarning: "Automatic updates can replace an extracted portable copy with the installed version.",
    preferenceSaveFailed: "Couldn't save the update preference.",
    check: "Check for updates",
    checking: "Checking for updates…",
    upToDate: "You're on the latest version.",
    available: "Version {{version}} is available.",
    downloading: "Downloading update… {{percent}}%",
    downloaded: "Version {{version}} is ready to install.",
    restart: "Restart to update",
    viewRelease: "View release",
    whatsNew: "What's new",
    releaseNotes: "Release notes",
    closeReleaseNotes: "Close release notes",
    releaseCount: "{{count}} releases",
    versionLabel: "Version {{version}}",
    currentBadge: "Current",
    availableBadge: "Available update",
    manualHint: "Download the new version from the releases page.",
    error: "Couldn't check for updates: {{message}}",
    dismiss: "Dismiss",
    devDisabled: "Updates are disabled in development builds.",
    cardDesc: "Keep PI-Desktop up to date for the latest fixes and features.",
    backgroundLabel: "Downloading in the background",
    backgroundHint: "You'll be prompted to restart once the download finishes; you can keep using the app meanwhile.",
    retry: "Retry",
  },
  nav: {
    "pinnedSessions": "Pinned",
    primary: "Primary navigation",
    pluginMarket: "Plugin marketplace",
    home: "Home",
    newTask: "New task",
    newProject: "New project",
    projects: "Projects",
    remoteProjects: "Remote",
    plugins: "Extensions",
    settings: "Settings",
    checkForUpdates: "Check for updates",
    buildUnknown: "Version unknown",
    search: "Search",
    actionWithShortcut: "{{action}} ({{shortcut}})",
    temporarySessions: "Temporary chats",
    newTemporarySession: "New temporary chat",
    noProjectSessions: "No chats in this project yet",
    noTemporarySessions: "No temporary chats yet",
    recentSessions: "Recent",
    noRecentSessions: "No recent sessions yet",
    newChat: "New chat",
    conversation: "Conversation",
    toggleSidebar: "Toggle sidebar",
    backToScheduled: "Scheduled",
    backToScheduledAction: "Back to Scheduled",
    backToScheduledTask: "Back to Scheduled · {{title}}",
    toggleWorkPanel: "Toggle side panel",
    sessions: "Sessions",
    collapseSidebar: "Collapse sidebar",
    expandSidebar: "Expand sidebar",
    resizeSidebar: "Resize sidebar",
    sidebarWidth: "Sidebar width: {{width}} pixels",
    resizeChatWidth: "Resize conversation width",
    chatWidth: "Conversation width: {{width}} pixels",
    sessionActions: "Session actions",
    renameTask: "Rename task",
    sessionRunning: "Working",
    sessionSelected: "Selected",
    sessionCompleted: "Done",
    sessionFailed: "Needs attention",
    projectRunningCount: "{{count}} running in this project",
    projectWaitingCount: "{{count}} waiting for approval",
    sortSessions: "Sort projects and chats",
    sortRecent: "Recently updated",
    sortOldest: "Oldest first",
    sortName: "Name",
    sortCreated: "Created date",
    sessionMoved: "Moved to {{name}}",
    moveToProject: "Move to project",
    sessionMovedToTemporary: "Moved out of the project",
    moveRunningSessionBlocked: "Stop the running session before moving it.",
deleteRunningSessionBlocked: "Stop the running session before deleting it.",
    moveSessionUnavailable: "This session cannot move to that project.",
    dropFolderToAddProject: "Drop a folder to add it as a project.",
    dismissFolderDrop: "Dismiss",
    showArchived: "Show archived",
    hideArchived: "Hide archived",
    pinTask: "Pin",
    unpinTask: "Unpin",
    archiveTask: "Archive",
    restoreTask: "Restore",
    createBranch: "Branch from here",
    branchTitle: "{{title}} (branch)",
    deleteTask: "Delete",
    deleteTaskConfirm: "Delete?",
    batchArchive: "Archive {{count}} sessions",
    batchDelete: "Delete {{count}} sessions",
    batchDeleteConfirm: "Delete {{count}} sessions?",
    copyConversationId: "Copy conversation ID",
    copySessionLink: "Copy conversation link",
    copySessionPath: "Copy session path",
    openSessionPath: "Open session path",
    timeGroupYesterday: "Yesterday",
    timeGroupThisWeek: "Previous 7 days",
    timeGroupOlder14d: "Previous 14 days",
    timeGroupArchived: "Older",
    loadMoreCount: "Load {{count}} more…",
    hoverCardSpace: "Workspace",
    hoverCardUpdatedAt: "Updated {{when}}",
    hoverCardTemporarySpace: "Temporary",
    hoverCardBranchAria: "Branch {{name}}",
    dangerZone: "Danger zone",
    batchSelectionHint: "{{count}} sessions selected",
    viewOptions: "View",
  },
  sessionCollaboration: {
    statusIdle: "Idle",
    statusQueued: "Queued",
    statusRunning: "Working",
    statusPermission: "Permission required",
    statusCompleted: "Completed",
    statusFailed: "Failed",
    statusCancelled: "Cancelled",
    statusInterrupted: "Interrupted",
    sessionTask: "Session task",
    loading: "Checking status…",
    unavailable: "Status unavailable",
    createdBy: "Created by",
    currentTask: "Current task",
    receivedFrom: "From {{name}}",
    sentTo: "To {{name}}",
    recentMessages: "Recent messages",
    failure: "Failure",
    result: "Result",
    createdSessions: "Created sessions",
    openSession: "Open session: {{name}}",
    sessionDetails: "Session details: {{name}}",
    taskMessage: "Session task",
    completionMessage: "Completion report",
    agentMessage: "Agent message",
    openSource: "Open source session: {{name}}",
    statusUnknown: "Unknown",
    referenceUnavailable: "Session unavailable",
    sessionMissing: "That session no longer exists",
  },
  chat: {
    promptRetractionFailed: "Could not safely restore the draft. Your conversation has been preserved.",
    tableActions: "Table actions",
    markdownPlainTextFallback: "Large response shown as plain text to keep the conversation responsive.",
    largeTextPageControls: "Large output pages",
    largeTextPage: "Part {{current}} of {{total}}",
    largeTextPreviousPage: "Previous part",
    largeTextNextPage: "Next part",
    copyTableMarkdown: "Copy table as Markdown",
    exportTableCsv: "Download table as CSV",
    tablePreview: "Expand table",
    closeTablePreview: "Close table preview",
    tableCopied: "Table copied",
    tableCopyFailed: "Could not copy the table",
    tableExportFailed: "Could not download the table",
    imagePreview: {
      title: "Image preview",
      download: "Download image",
      previous: "Previous image",
      next: "Next image",
      fit: "Fit",
      error: "Could not load this image",
      retry: "Try again",
      position: "{{current}} of {{total}}",
    },
    emptyTitle: "What can I help you build?",
    emptyTitleInProject: "What can we build in {{project}}?",
    emptyTitleTemporary: "What would you like to explore temporarily?",
    emptyTitleTemporaryScoped: "What would you like to explore {{scope}}?",
    temporaryScope: "temporarily",
    placeholder: "Ask PI-Desktop to help with anything",
    placeholderHome: "Ask anything",
    placeholderHint: "Type / for commands · @ for files",
    placeholderHomeHint: "Type / for commands · @ for files",
    placeholderShortcut: "Shift+Enter for newline · Use Send to submit",
    suggestionHint: "Tab to accept · Esc to ignore",
    suggestionPosition: "{{current}} of {{total}}",
    suggestionPrevious: "Previous suggestion",
    suggestionNext: "Next suggestion",
    addFiles: "Add files",
    filesAttached: "Added {{count}} item(s) to the draft",
    fileLineReferenceLimit: "Add up to {{count}} file line references per message.",
    filesPasted: "Saved {{count}} pasted file(s) to the session scratch folder",
    largeTextPasted: "Saved large pasted text as @{{name}}",
    slashMenu: "Commands",
    slashGroupTemplates: "Prompt templates",
    slashGroupApp: "App commands",
    slashGroupPlugins: "Plugin commands",
    slashGroupExtensions: "Extension commands",
    slashGroupMcp: "MCP",
    slashGroupSkills: "Skills",
    slashEmpty: "No matching commands",
    slashCommandSourceUnavailable: "Command list unavailable, so nothing was sent. Try again.",
    sessionTranscriptEmpty: "This session's history could not be read. Reopen the session to try again.",
    fileMenu: "File references",
    mentionGroupAgents: "Agents",
    mentionGroupFiles: "Files",
    removeFileReference: "Remove file reference {{name}}",
    directoryReference: "Folder",
    directoryPasteUnavailable: "The copied folder's full path is unavailable. Drag the folder into the composer instead.",
    removePluginMark: "Remove {{name}}",
    pluginTriggerMenu: "Plugin suggestions",
    messageAttachments: "Attachments in this message",
    fileEmpty: "No matching files",
    fileNoWorkspace: "Open a project to reference files",
    fileTruncated: "Showing the first 8000 matching files",
    acHint: "↑↓ select · Enter confirm · Esc close",
    send: "Send",
    todo: {
      progress: "{{completed}}/{{total}} completed",
      current: "{{completed}}/{{total}} · Current: {{content}}",
      completed: "{{completed}}/{{total}} completed",
      updated: "Checklist updated",
      updating: "Updating checklist",
      expand: "Expand checklist",
      collapse: "Collapse checklist",
      status: {
        pending: "Pending",
        in_progress: "In progress",
        completed: "Completed",
        cancelled: "Cancelled",
      },
    },
    queuedPrompts: "Queued messages",
    queuedPromptEmpty: "Queued message",
    removeQueuedPrompt: "Remove queued message",
    sendNow: "Send now",
    sendNowPending: "Waiting to send",
    queuedPromptStopFailed: "Could not stop the current task. This message is still queued and can be canceled.",
    queuedPromptAlreadyStarted: "This message has already started. Use Stop to stop the running task.",
    moveQueuedPromptUp: "Move up",
    moveQueuedPromptDown: "Move down",
    editQueuedPrompt: "Edit",
    editQueuedPromptBusy: "Clear the input before editing this queued message",
    sendWhileRunning: "Send follow-up · {{shortcut}} to steer",
    steeringUnavailable: "This turn can no longer accept steering. Your draft was kept.",
    nativeSessionBusy: "This native Pi session is still replying. Stop it or wait for the reply to finish before sending.",
    stopGenerating: "Stop generating",
    running: "Working…",
    loadingSession: "Loading conversation…",
    pasteInProgress: "Still saving the pasted content. Try again in a moment.",
    loadingEarlierMessages: "Loading earlier messages…",
    loadLaterMessages: "Load later messages",
    showEarlierMessages: "Show earlier messages",
    copy: "Copy",
    copied: "Copied",
    copyFailed: "Couldn't copy to the clipboard",
    messageMenu: "Message actions",
    conversationMenu: "Conversation actions",
    selectMessageText: "Select message text",
    copyConversation: "Copy conversation",
    copyLastAnswer: "Copy last answer",
    radialMenuOpenBrowser: "Open browser",
    radialMenuOpenWorkPanel: "Open work panel",
    radialMenuCloseWorkPanel: "Close work panel",
    radialMenuOpenProjectFolder: "Open project folder",
    sessionReference: "Conversation",
    sessionReferenceOpen: "Open conversation {{title}}",
    selectConversationText: "Select conversation text",
    scrollToTop: "Scroll to top",
    speakerYou: "You",
    speakerAssistant: "Assistant",
    copyDiagramSource: "Copy diagram source",
    copyDiagramSvg: "Copy diagram as SVG",
    exportDiagramSvg: "Export diagram as SVG",
    diagramSvgCopied: "SVG copied",
    diagramSvgExportFailed: "Couldn't export diagram as SVG",
    showDiagram: "Show diagram",
    showDiagramSource: "Show diagram source",
    mermaidDiagram: "Mermaid diagram",
    diagramRendering: "Rendering diagram",
    diagramUnavailable: "This diagram could not be rendered. Showing source instead.",
    diagramTooLarge: "This diagram is too large to render safely. Showing source instead.",
    responseError: "Couldn't finish this reply",
    responseFailed: "The assistant couldn't complete this reply.",
    outputTruncated: "This reply was truncated because the model reached its output token limit. The content may be incomplete.",
    showErrorDetails: "Show details",
    hideErrorDetails: "Hide details",
    dismissError: "Dismiss error message",
    copyErrorDetails: "Copy details",
    entryExtraExpand: "Show full block",
    entryExtraCollapse: "Collapse block",
    actionSlotMore: "More actions",
    errorProvider: "AI provider",
    errorModel: "Model",
    servedByModel: "Requested {{requested}}; served by {{served}}",
    previewFile: "Preview in the side panel",
    fileRefMissing: "No file matches {{name}}",
    fileRefRestricted: "{{name}} is outside the locations this app can access",
    fileRefLookupFailed: "Could not check this file reference.",
    fileManagerUnavailable: "The File Manager is unavailable. The file was opened in the built-in viewer.",
    openWith: "Open with",
    openWithFileManager: "File Manager",
    openWithBuiltInBrowser: "Built-in browser",
    openWithDefaultBrowser: "Default browser",
    fileManagerOpenFailed: "Could not open the file in File Manager.",
    builtInBrowserUnavailable: "The built-in browser is unavailable.",
    defaultBrowserOpenFailed: "Could not open the file in the default browser.",
    revealFileInFolder: "Show in folder",
    fileRevealFailed: "Could not show the file in its folder.",
    copyFullPath: "Copy full path",
    copyRelativePath: "Copy relative path",
    relativePathUnavailable: "That file is outside the project, so it has no relative path",
    previewUrl: "Open in the side browser",
    openFile: "Open with default application",
    retry: "Regenerate",
    forkResponse: "Branch from this reply",
    editMessage: "Edit and resend",
    cancelEdit: "Cancel",
    retryEdit: "Retry",
    retryingEdit: "Retrying…",
    deleteMessage: "Delete message",
    revisions: "Response versions",
    revisionPrev: "Previous version",
    revisionNext: "Next version",
    revisionPager: "{{current}} / {{total}}",
    usageContextLabel: "Context",
    usageContextLeft: "{{count}} tokens left",
    usageContextSpent: "{{count}} tokens used",
    usageContextTokens: "{{used}} / {{window}} tokens",
    usageContextWindow: "Context window",
    usageContextAria: "{{percent}}% context {{state}}, {{count}} tokens",
    usageContextAriaRemaining: "remaining",
    usageContextAriaUsed: "used",
    usageTurnTotal: "This turn",
    usageTurnAria: "This turn: {{speed}}, {{count}} tokens. Show breakdown.",
    usageTotal: "Total",
    usageCost: "Cost",
    usageCostTurn: "Turn cost",
    usageCostSession: "Session total",
    usageCostEstimated: "≈{{amount}}",
    usageCostLowerBound: "≥{{amount}}",
    usageCostUnknown: "—",
    usageCostSubscription: "Subscription",
    usageCostReportedHelp: "Billed amount reported by the provider.",
    usageCostEstimatedHelp: "Estimated from the model's list prices.",
    usageCostLowerBoundHelp: "At least this much: requests without a price are not counted ({{count}}).",
    usageCostUnknownHelp: "This model has no price information.",
    usageCostSubscriptionHelp: "Covered by your subscription, not billed per request.",
    usageCostSubscriptionEquivalentHelp: "Covered by your subscription, not billed per request. About {{amount}} at API prices.",
    usageCostPlusSubscriptionHelp: "Subscription usage is extra, about {{amount}} at API prices.",
    usageCostSessionError: "Session cost could not be loaded.",
    usageThroughputLabel: "Generation speed",
    usageThroughput: "{{count}} tokens/s",
    usageThroughputEstimated: "≈ {{count}} tokens/s",
    usageThroughputUnavailable: "—",
    usageSessionTime: "Total session time",
    usageNetworkRequest: "Network request",
    usageNetworkRequestHelp: "Time from sending a model request to its first response event; includes network and provider-side waiting. Older messages without separate timing are not included.",
    usageModelResponse: "Model response time",
    usageModelResponseHelp: "Time spent streaming both thinking and reply content. Older messages may include request wait.",
    usageToolCalls: "Tool call time",
    usageToolCallsHelp: "Top-level tool execution time; overlapping calls count once.",
    usageTimingUnavailable: "Unavailable",
    usageProviderUsage: "Provider usage",
    usageInput: "Input",
    usageOutput: "Output",
    usageCacheRead: "Cache read",
    usageCacheRate: "Cache hit rate",
    usageCacheWrite: "Cache write",
    usageReasoning: "Reasoning",
    usageTools: "Tool context",
    usageToolsSummary: "{{count}} tool types · {{calls}} calls · ~{{tokens}} tokens",
    usageNoTools: "No tool calls in this turn",
    usageCompaction: "Compacted {{times}}× · summary",
    compactionRow: "Context compacted · #{{times}}",
    compactionRowSummary: "summary ≈{{tokens}} tokens",
    compactionRowNoSummary: "no summary generated",
    compactionRowSummaryFailed: "summary generation failed · recent context retained",
    scrollToBottom: "Jump to latest",
    minimap: "Conversation outline",
    resultNeedsAttention: "This task needs attention",
    resultFailedBody: "The turn stopped before it was complete. Your work is still here.",
    resultContinue: "Continue",
    continueUnfinishedTaskPrompt: "Continue the user's unfinished task.",
    continueCurrentTaskPrompt: "Continue the current task",
    resultSteps_one: "1 step",
    resultSteps_other: "{{count}} steps",
    reviewChangeShow: "Show {{status}} changes for {{path}} ({{additions}} additions, {{deletions}} deletions)",
    reviewChangeHide: "Hide {{status}} changes for {{path}} ({{additions}} additions, {{deletions}} deletions)",
    reviewChangeCounts: "{{additions}} additions, {{deletions}} deletions",
    turnChangesTitle: "Changes this turn",
    turnChangesLabel: "Files changed this turn",
    turnChangesDirs_one: "1 dir",
    turnChangesDirs_other: "{{count}} dirs",
    turnChangesMore_one: "+1 more",
    turnChangesMore_other: "+{{count}} more",
    turnChangesViewAll_one: "View all {{count}} files in Review",
    turnChangesViewAll_other: "View all {{count}} files in Review",
    turnChangesOpen: "Open {{status}} changes for {{path}} in Review ({{additions}} additions, {{deletions}} deletions)",
    toolFailed: "Failed",
    toolDenied: "Denied",
    toolCompleted: "Done",
    toolCall: "Tool",
    toolInput: "Input",
    toolOutput: "Output",
    toolBlockContent: "File content",
    toolBlockWritten: "Written content",
    toolBlockCommand: "Command",
    toolBlockStdout: "Output",
    toolBlockStderr: "Errors",
    toolBlockDiff: "Changes",
    toolBlockFiles: "Files",
    toolBlockMatches: "Matches",
    toolBlockDetails: "Details",
    toolBlockNotice: "Note",
    toolBlockError: "Error",
    toolBlockMore: "{{count}} more hidden",
    toolChipExit: "exit {{count}}",
    toolChipMatches_one: "1 match",
    toolChipMatches_other: "{{count}} matches",
    toolChipFiles_one: "1 file",
    toolChipFiles_other: "{{count}} files",
    toolChipReplacements_one: "1 replacement",
    toolChipReplacements_other: "{{count}} replacements",
    toolChipTruncated: "truncated",
    toolChipScratch: "scratch",
    toolChipLines: "{{range}}",
    toolChipSize: "{{size}}",
    toolRead: "Read",
    toolListed: "Listed",
    toolSearched: "Searched",
    toolWrote: "Wrote",
    toolEdited: "Edited",
    toolRan: "Ran",
    toolFetched: "Fetched",
    toolDelegated: "Delegated",
    toolUsed: "Used",
    toolReading: "Reading",
    toolListing: "Listing",
    toolSearching: "Searching",
    toolWriting: "Writing",
    toolEditing: "Editing",
    toolRunning: "Running",
    toolFetching: "Fetching",
    toolDelegating: "Delegating",
    toolUsing: "Using",
    subagentAgent: "Subagent",
    subagentWaited: "Waited for subagents",
    subagentListed: "Checked subagents",
    subagentStopped: "Stopped subagents",
    subagentWaiting: "Waiting for subagents",
    subagentListing: "Checking subagents",
    subagentStopping: "Stopping subagents",
    subagentWork: "What {{agent}} did",
    subagentWorkUnnamed: "What the subagent did",
    subagentProcess: "Activity",
    subagentUnnamed: "Unnamed subagent",
    stopSubagent: "Stop",
    stopAllSubagentsShort: "Stop all",
    stopSubagentNamed: "Stop {{name}}",
    stopAllSubagents: "Stop all subagents",
    stoppingSubagents: "Stopping…",
    subagentCoordinator: "Main agent",
    subagentCoordinating_one: "Coordinating {{count}} delegated task",
    subagentCoordinating_other: "Coordinating {{count}} delegated tasks",
    subagentTopology: "Delegated tasks",
    subagentsWorking_one: "Subagent working",
    subagentsWorking_other: "Subagents working",
    subagentsFinished_one: "Subagent completed",
    subagentsFinished_other: "Subagents completed",
    subagentsFinishedWithIssues_one: "Subagent finished with issues",
    subagentsFinishedWithIssues_other: "Subagents finished with issues",
    subagentsFinishedWithWarnings_one: "Subagent finished with warnings",
    subagentsFinishedWithWarnings_other: "Subagents finished with warnings",
    subagentCount_one: "{{count}} subagent",
    subagentCount_other: "{{count}} subagents",
    subagentFinishedCount: "{{finished}}/{{total}} finished",
    presenceTurns: "Turns: {{n}}", presenceRecord: "View record", presenceCurrent: "Current", presenceResult: "Result",
    subagentCreating: "Starting subagent…",
    subagentStatus: {
      running: "Running",
      completed: "Completed",
      timed_out: "Timed out",
      aborted: "Stopped",
      stopped: "Stopped by request",
      failed: "Failed",
      denied: "Denied",
    },
    processingFor: "Processing · {{time}}",
    processedFor: "Processed for {{time}}",
    thinkingFor: "Thinking · {{time}}",
    thoughtFor: "Thought for {{time}}",
    processRunning: "Running",
    processRunningFor: "Running · {{time}}",
    processCompleted: "Finished",
    processCompletedFor: "Finished in {{time}}",
    processStopped: "Stopped",
    processStoppedFor: "Stopped after {{time}}",
    processUnsettled: "Outcome unknown",
    processFailed: "Failed",
    processFailedFor: "Failed after {{time}}",
    waitingForModel: "Waiting for model",
    startingTurn: "Starting…",
    waitingForToolStop: "Waiting for the current operation to finish…",
    preparingNextRequest: "Preparing next request…",
    compactingContext: "Compacting context…",
    recoveringTurn: "Recovering empty response…",
    retryingModel: "Retrying in {{delaySeconds}}s · attempt {{attempt}}/{{maxAttempts}}",
    waitingForSubagentNamed: "Waiting for {{name}}",
    waitingForSubagents_one: "Waiting for {{count}} subagent",
    waitingForSubagents_other: "Waiting for {{count}} subagents",
    processingSteps: "{{count}} step",
    processingSteps_other: "{{count}} steps",
    processTools: "{{count}} tool",
    processTools_other: "{{count}} tools",
    activityCommands: "{{count}} command",
    activityCommands_other: "{{count}} commands",
    activitySearches: "{{count}} search",
    activitySearches_other: "{{count}} searches",
    activityTools: "{{count}} tool action",
    activityTools_other: "{{count}} tool actions",
    activityThinking: "{{count}} thinking step",
    activityThinking_other: "{{count}} thinking steps",
    activityBucket: {
      thinking: "reasoning",
      search: "search",
      read: "read files",
      list: "list files",
      write: "write files",
      edit: "edit files",
      run: "run commands",
      fetch: "fetch web",
      fork: "fork tasks",
      delegate: "use subagents",
      use: "call tools",
      todo: "update todos",
    },
    activityJoin: {
      two: "{{a}} and {{b}}",
      three: "{{a}}, {{b}} and {{c}}",
      threeMore: "{{a}}, {{b}}, {{c}} and more",
    },
    activityOps: "{{count}} operation",
    activityOps_other: "{{count}} operations",
    activityThinkingSteps: "{{count}} step",
    activityThinkingSteps_other: "{{count}} steps",
    collapseTurnProcess: "Collapse the whole turn's process",
    collapseProcess: "Collapse process",
    collapseActivityGroup: "Collapse activity group",
    collapseToolOutput: "Collapse tool output",
    collapseDetails: "Collapse details",
    subagentTaskExpand: "Show more",
    subagentTaskCollapse: "Show less",
    tool: "Tool",
    userMessage: "User message",
    assistantMessage: "Assistant message",
    genUi: {
      expand: "Expand visualization",
      close: "Close visualization",
      unavailable: "Visualization unavailable: {{title}}",
      unavailableOutside: "The file is outside this session's visualization directory.",
      unavailableRemote: "Remote sessions cannot show inline visualizations.",
      unavailableNotFound: "The visualization file was not found.",
      unavailableTooLarge: "The visualization file is too large to display.",
      unavailableNotFragment: "The file is a full HTML document, not a fragment.",
      unavailableRuntime: "The visualization runtime is unavailable.",
      loadPrompt: "Load visualization",
      scriptError: "This visualization's script failed, so part of it may be missing.",
      frameTitle: "Visualization: {{title}}",
    },
    model: "Model",
    recentModels: "Recently used",
    modelSources: "Model sources",
    reasoningShort: "Reasoning",
    manageModels: "Manage models",
    searchModels: "Search models",
    noModelResults: "No matching models",
    modelBadgeReasoning: "reasoning",
    modelBadgeVision: "vision",
    permissionMode: "Permission mode",
    reasoningLevel: "Reasoning level",
    fastModeBadge: "Fast",
    fastModeOn: "Fast mode on for this session. Replies come faster and use more of your plan's usage limits.",
    fastModeOnUsage: "Fast mode on for this session. This model is billed per token at the priority tier's higher price.",
    fastModeOff: "Fast mode off for this session.",
    fastModeUnsupported: "Fast mode needs a model on the OpenAI Responses API or a ChatGPT subscription.",
    fastModeNotAllowed: "Fast mode is not configured for this model. Turn it on in Settings → Models → Advanced.",
    fastModeRemote: "Remote sessions use the Host's model configuration, so Fast mode is not available.",
    permissionInherit: "Default",
    permissionAsk: "Ask every time",
    permissionAcceptEdits: "Accept edits",
    permissionAuto: "Auto",
    modePlan: "Plan",
    modeGoal: "Goal",
    modeAgent: "Agent",
    thinking: "Thinking",
    webSearching: "Searching the web",
    webSearch: "Web search",
    webOpenPage: "Open page",
    webFindInPage: "Find in page",
    webSearchSources: "{{count}} source",
    webSearchSources_other: "{{count}} sources",
    webSearchFailed: "Web search failed",
    webSearchMore: "+{{count}} more source",
    webSearchMore_other: "+{{count}} more sources",
    thinkingShow: "Show thinking",
    thinkingHide: "Hide thinking",
    untitledTask: "New task",
  },
  session: {
    renameTitle: "Rename task",
    renameAction: "Rename task {{title}}",
    renameDescription: "Give this task a name you can recognize later.",
    renameLabel: "Task name",
    renameHint: "Use up to 80 characters.",
    renameCancel: "Cancel",
    renameSave: "Save",
    renameSaving: "Saving…",
  },
  backgroundTasks: {
    continuationpending: "Continue when finished",
    continuationReady: "Waiting to resume",
    continuationstarted: "Continuation started",
    continuationconsumed: "Result received",
    continuationcancelled: "Continuation cancelled",
    continuationfailed: "Continuation failed",
    cancelContinuation: "Cancel continuation",

    running: "Running",
    exited: "Exited",
    failed: "Failed",
    stopped: "Stopped",
    title: "Background commands",
    loadFailed: "Could not refresh background commands. Retrying...",
    outputFailed: "Could not read this command's output.",
    stopFailed: "Could not stop this command. Try again.",
    output: "Output",
    stop: "Stop",
    stopping: "Stopping…",
    dismiss: "Dismiss",
    headerCount: "{{count}} background tasks",
    removeFailed: "Could not remove this task.",
  },
  taskDock: {
    title: "Todo and background tasks",
    tabTodo: "Todo",
    tabTasks: "Background tasks",
    runningCount: "{{count}} running",
    expand: "Expand {{label}}",
    collapse: "Collapse {{label}}",
  },
  planHistory: {
    pending: "Awaiting approval",
    approved: "Approved",
    rejected: "Rejected",
    expired: "Expired",
    interrupted: "Interrupted",
    unknown: "Status unavailable",
    superseded: "Superseded",
  },
  plan: {
    planning: "Planning",
    approvalRegion: "Plan approval",
    readyAnnouncement: "Plan ready. The plan is open in the Work Panel.",
    revisionPrompt: "What would you like to change?",
    sendRevision: "Send revision request",
    chooseApprovalMode: "Choose approval mode",
    ask: "Ask",
    acceptEdits: "Accept edits",
    auto: "Auto",
    approveAsk: "Approve (Ask)",
    approveAcceptEdits: "Approve (Accept edits)",
    approveAuto: "Approve (Auto)",
    approving: "Approving…",
    autoWarning: "Auto runs Bash without asking and may change files.",
    reject: "Reject",
    untitled: "Untitled plan",
    openArtifact: "Open plan",
    openArtifactLabel: "Open plan artifact {{path}}",
  },
  goal: {
    planning: "Defining goal",
    approvalRegion: "Goal approval",
    readyAnnouncement: "Goal contract ready. It is open in the Work Panel.",
    chooseApprovalMode: "Choose approval mode",
    ask: "Ask",
    acceptEdits: "Accept edits",
    auto: "Auto",
    approveAsk: "Approve (Ask)",
    approveAcceptEdits: "Approve (Accept edits)",
    approveAuto: "Approve (Auto)",
    approving: "Approving…",
    autoWarning: "Auto runs Bash without asking and may change files.",
    reject: "Reject",
    untitled: "Untitled goal",
    openArtifact: "Open goal",
    openArtifactLabel: "Open goal artifact {{path}}",
  },
  modes: {
    picker: {
      custom: "Your modes",
      unavailable: "Unavailable",
    },
    run: {
      region: "Mode run",
      stage: "Stage",
      states: {
        running: "Running",
        waitingApproval: "Waiting for approval",
        blocked: "Blocked after retries",
        waitingInput: "Waiting for your input",
        error: "Error",
        paused: "Paused",
        budgetExhausted: "Budget exhausted",
      },
      rounds: "Rounds {{completed}}/{{max}}",
      elapsed: "Elapsed {{duration}}",
      lastError: "Last error: {{message}}",
      pause: "Pause",
      resume: "Resume",
      stop: "Stop",
      stopConfirm: "Stop this run? The chat returns to its previous mode.",
      stopConfirmAction: "Stop run",
      edit: "Edit",
      remove: "Remove",
      removeConfirm: "Remove this run? The current turn finishes in the previous mode, and no further turns start.",
      removeConfirmAction: "Remove run",
      editRegion: "Edit run",
      objective: "Objective",
      maxTurns: "Max turns",
      maxTokens: "Max tokens",
      unlimited: "Unlimited",
      save: "Save",
      editHint: "Changes apply from the next turn.",
      cancel: "Cancel",
      approve: "Approve",
      reject: "Reject",
    },
    errors: {
      runActive: "A mode run is active in this chat. Stop it before switching to another staged mode.",
      notFound: "This mode is not available. Check it in Settings → Modes.",
      definitionInvalid: "The mode definition has errors:",
      idInvalid: "Mode ids use lowercase letters, digits, and dashes, and start with a letter.",
      revisionConflict: "The run changed in the meantime. Check its current state and try again.",
      notAwaitingApproval: "This run is no longer waiting for approval.",
      remoteUnsupported: "Staged modes are not available in remote workspaces yet.",
      invalidEdit: "Check the objective and the budget: turns 1–10000, tokens at least 1000, or empty for unlimited.",
      runClosed: "This run has already ended.",
    },
    settings: {
      title: "Modes",
      subtitle: "Built-in and custom modes, and the definitions behind them.",
      listTitle: "All modes",
      directory: "Definitions folder",
      newMode: "New mode",
      newModeId: "Mode id",
      create: "Create",
      cancel: "Cancel",
      idInvalid: "Lowercase letters, digits, and dashes; starts with a letter; up to 40 characters.",
      idReserved: "That id belongs to a built-in mode.",
      idTaken: "A mode with this id already exists.",
      duplicate: "Duplicate",
      delete: "Delete",
      deleteConfirm: "Click again to delete",
      deleted: "Mode deleted",
      save: "Save",
      saving: "Saving…",
      saved: "Mode saved",
      source: "Definition source",
      builtinHint: "Saving writes your version to ~/.pi/modes/{{id}}/mode.md, which replaces the built-in. Restore default deletes that file.",
      customized: "Customized",
      restore: "Restore default",
      restoreConfirm: "Click again to restore",
      restored: "Default restored",
      builtin: "Built-in",
      user: "Custom",
      staged: "Staged",
      reserved: "Reserved id",
      reservedHint: "This file claims a built-in mode id outside that mode's folder, so it is not loaded. Rename it, or edit the built-in in its own folder.",
      unavailable: "Unavailable",
      validating: "Checking…",
      valid: "No problems found",
      errors: "Errors",
      warnings: "Warnings",
      empty: "Select a mode to see its definition.",
      discardConfirm: "Discard unsaved changes to this mode?",
      templateDescription: "What this mode is for",
      templatePrompt: "Describe how the assistant should work in this mode.",
      tabMode: "Mode",
      tabSubagents: "Subagents",
      tabSkills: "Skills",
      includeGlobalSubagents: "Include global subagents",
      modeMap: "Configuration",
      promptTitle: "Prompt",
      rolesTitle: "Private roles",
      rolesEmpty: "No private roles yet",
      addRole: "Add role",
      removeRole: "Remove role",
      roleInheritsModel: "Session model",
      rolePinnedModel: "Pinned model",
      roleBodyPlaceholder: "What to do, what to report back, and any limits.",
      skillsTitle: "Skills",
      skillsDirectory: "Skills folder",
      openSkillsDirectory: "Open folder",
      skillsEmpty: "No skills found",
      duplicated: "Copied to {{id}}",
      referencesFixed: "A saved mode keeps the documents its configuration names. Revert the file names, or create a new mode instead.",
    },
  },
  onboarding: {
    title: "Get started",
    addProvider: "Add an AI provider",
    saveKey: "Save your API key",
    openProject: "Open a project folder",
    firstPrompt: "Send your first message",
    loadPlugin: "Load a development plugin (optional)",
    dismiss: "Dismiss",
  },
  startupGuide: {
    progress: "Step {{current}} of {{total}}",
    skip: "Skip",
    next: "Next",
    later: "Set up later",
    finish: "Done",
    model: {
      title: "Set up your first model",
      description: "Connect an AI provider so PI can start working: add a provider below, then save its API key or sign in.",
      ready: "Model ready",
      pending: "No usable model yet",
    },
    launcher: {
      title: "Call up plugins with one shortcut",
      description: "Press this shortcut any time to open the plugin launcher.",
      unbound: "No shortcut assigned",
      pointAnywhere: "Works even while PI-Desktop is in the background.",
      pointPlugins: "Search and run your installed plugins in one place.",
      tryIt: "Try it now",
      customize: "Change shortcut",
      pressPrompt: "Press the shortcut to try it",
      pressed: "Plugin launcher opened",
      previewSearch: "Search plugins",
    },
  },
  announcement: {
    title: "What's new",
    close: "Close",
    gotIt: "Got it",
  },
  settings: {
    startupGuide: "Startup guide",
    startupGuideDesc: "Replay the model setup and plugin launcher shortcut tips.",
    openStartupGuide: "Open guide",
    storage: {
      unavailableHint: "The storage directory is currently unavailable. Reconnect the drive before starting; the app will not create empty data or switch to another directory.",
      browserSource: "Browser data source",
      progressTitle: "Preparing your storage",
      progressHint: "Keep this window open while your data is processed.",
      failedTitle: "Storage operation failed",
      failedHint: "Your existing data remains safe. Continue using the current location and retry from Settings.",
      continueOriginal: "Continue with current location",
      recoveryTitle: "Storage folder missing",
      recoveryMessage: "The configured data folder is missing. Choose a recovery option before PI-Desktop starts.",
      recoveryCreateDefault: "Create a new default folder",
      recoverySelectExisting: "Use an existing PI-Desktop storage location",
      recoveryQuit: "Quit",
      recoveryPickerTitle: "Select an existing PI-Desktop storage location",
      recoveryInvalid: "That folder does not contain an existing PI-Desktop data profile. Select a storage root with data/pi.sqlite or the data folder with pi.sqlite.",
      recoveryPickAgain: "Choose another folder",
      stages: {
        scanning: "Scanning files",
        copying: "Copying data",
        verifying: "Verifying data",
        relocating: "Updating stored paths",
        cleaning: "Cleaning cache",
        complete: "Complete",
        failed: "Failed",
      },
      title: "Storage",
      dataPath: "Data location",
      scope: "Includes app-owned chats, attachments, settings, credentials, plugins, skills, models and browser data. Project source folders stay where they are.",
      choose: "Change location…",
      cache: "Reclaimable cache",
      cacheScope: "Only regenerable caches are removed. Chats, attachments, scratch files, settings, credentials, plugin data and downloaded models are preserved.",
      clearCache: "Clear cache…",
      backup: "Previous data backups",
      backupHint: "Original data stays in these directories after migration and continues to use disk space. Remove it only after verifying your new location. This requires a restart. Absolute paths in plugin-owned configuration are not rewritten automatically. Before removing backups, verify that your plugins and historical attachments work in the new location.",
      removeBackup: "Remove backups…",
      environmentManaged: "Storage is controlled by an environment variable. Change that configuration to manage its location.",
      pending: "Migration to {{path}} is scheduled for the next restart.",
      lastError: "The previous storage operation failed; your active location was not changed. You can retry. {{error}}",
      retry: "Retry",
      migrateTitle: "Move existing data",
      cacheTitle: "Clear regenerable cache",
      backupTitle: "Remove previous backups",
      source: "Current location",
      destination: "New location",
      migrateHint: "Choose an empty, writable folder. The app will restart, copy and verify existing data, and show progress in a migration window. The original data remains as a backup.",
      migrateRestart: "Migrate and restart",
      cacheHint: "Clear approximately {{size}} of regenerable cache and restart. Chats, attachments, scratch files, settings, credentials, plugin data and models are preserved.",
      cacheRestart: "Clear and restart",
      backupRestart: "Remove and restart",
      restarting: "Restarting…",
      operationError: "Could not start the storage operation. {{error}}",
    },
    power: "Power",
    sidebar: "Sidebar",
    sidebarRunningIndicators: "Show running activity on projects",
    sidebarRunningIndicatorsDesc: "Mark projects that have work in progress in the sidebar, including when the project is collapsed. Turning this off hides both markers below.",
    sidebarRunningBadge: "Count badge",
    sidebarRunningRail: "Activity rail",
    sidebarSessionTime: "Session time",
    sidebarModules: "Sidebar modules",
    sidebarModule: {
      newTask: "New task",
      scheduled: "Scheduled",
      pluginMarket: "Plugin marketplace",
      pinnedSessions: "Pinned sessions",
      sessions: "Recent",
      sessionSort: "Sort button",
      newSession: "New session button",
      projects: "Projects",
      newProject: "New project button",
      projectNewTask: "Project new-task button",
      buildVersion: "Version",
    },
    keepAwakeWhileRunning: "Keep computer awake",
    keepAwakeWhileRunningDesc: "Prevent idle system sleep while PI-Desktop is running. The display may turn off; manual sleep and closing the lid still work.",
    imageModel: "Image generation model",
    imageModelUnset: "Not configured",
    imageModelUnavailable: "Currently unavailable",
    imageModelNoneAvailable: "No image generation model available. Use “$t(settings.setImageModel)” in a provider's model settings.",
    imageModelSaveFailed: "Could not save the image model.",
    clearImageModel: "Clear",
    setImageModel: "Set as image model",
    imageModelChatExclusionHint: "Marked models that also support conversation stay usable for chat and subagents; a pure image-generation endpoint leaves chat and default-model menus after saving. This is image generation, not image input. Only mark models your endpoint can generate images with.",
    imageModelSelected: "Selected image model",
    generatedImage: "Generated image {{index}}",
    downloadGeneratedImage: "Download",
    revealGeneratedImage: "Show in folder",
    imageRevealFailed: "Could not show the image in its folder.",
    imagePreviewUnavailable: "Preview unavailable; open file",
    imageGenerationFailed: "Image {{index}} did not complete.",
    imageModelSetupHint: "Configure an image model in Settings → Models before generating images.",
    configureImageModel: "Configure image model",


sklm: {
      browse: "Market",
      back: "My skills",
      title: "Skill Market",
      subtitle:
        "Preview the full document before saving.",
      searchPlaceholder: "Search skills",
      categoryAll: "All",
      "category.workflow": "Workflow",
      "category.writing": "Writing",
      "category.coding": "Coding",
      "category.data": "Data",
      "category.docs": "Docs",
      install: "Install",
      installed: "Installed",
      installSuccess: "Installed {{name}}",
      verified: "Verified",
      remoteBadge: "Source",
      preview: "Preview",
      willInstall: "Will be saved as",
      notes: "Notes: ",
      sheetNote: "Installing only writes a markdown document; nothing is executed.",
      empty: "No skills match",
      manageSources: "Sources",
      sourcesHint: "Query several catalog sources at once. Add a GitHub skill repo or a static JSON catalog.",
      addSource: "Add source",
      namePlaceholder: "Source name",
      urlHint: "https://…/catalog.json",
      documentTooLarge: "This skill is larger than the 128 KB document limit after attaching resources.",
      sourceUnsafe:
        "Source URL must be an http or https address, and not a cloud metadata address. For plain http on your own machine or LAN, turn on \"Relaxed network mode\" in Network settings.",
      pageInfo: "Page {{page}} of {{pages}} · {{total}} skills",
      pagePrev: "Previous page",
      pageNext: "Next page",
      pageJump: "Go",
      remoteLoading: "Loading the catalog source…",
      remoteError: "Catalog source unreachable — showing built-in picks",
      previewError: "Could not load this skill's document — nothing was installed.",
      previewPolicyError: "The app's own address check blocked this document — nothing was installed.",
      proxyHint: "That check resolves the host locally, while the download itself would use your proxy. If you use a proxy or VPN, check Settings → System → Network.",
      failureDetail: "Details: ",
      retryPreview: "Retry",
      retryCatalog: "Retry",
      remoteErrorPolicy: "Catalog sources were blocked by the app's address check — showing built-in picks",
      remoteErrorUnresolved:
        "The local resolver could not answer for the catalog sources — showing built-in picks",
      previewResolveError:
        "The app's address check could not resolve this host — nothing was installed.",
      dnsHint:
        "That check resolves the host locally, while the download itself would use your proxy. If you use a proxy, a VPN, or a custom DNS setup, check Settings → System → Network.",
      failureSourceHost: "{{name}} ({{host}})",
      remoteErrorFakeIp:
        "Your proxy answered the catalog sources with fake-IP addresses — showing built-in picks",
      previewFakeIpError:
        "Your proxy resolved this host to a fake-IP address, so the app's address check refused it — nothing was installed.",
      fakeIpHint:
        "Your proxy answered {{host}} with {{address}} — a reserved benchmark range that proxies use as a fake-IP placeholder, not the source's real address. Switch the proxy to system-proxy mode, or check Settings → System → Network.",
      fakeIpHintPlain:
        "A local proxy resolved this host to a fake-IP placeholder in a reserved range, not to the source's real address. Switch the proxy to system-proxy mode, or check Settings → System → Network.",
      remoteErrorQuery: "Could not query the skill market — showing built-in picks",
      remotePartial: "Some catalog sources are unavailable ({{names}})",
      remoteStaleSnapshot: "Showing the results from your last successful load ({{time}})",
    },
    title: "Settings",
    providers: "AI providers",
    models: "Models",
    permissions: "Permissions",
    appearance: "Appearance",
    about: "Info",
    addProvider: "Add provider",
    apiKey: "API key",
    baseUrl: "Base URL",
    baseUrlInvalid: "Enter a valid http:// or https:// URL.",
    save: "Save",
    testConnection: "Test connection",
    noSecret: "No API key yet",
    pluginProviderBadge: "Plugin",
    pluginProviderBy: "Provided by {{plugin}}",
    pluginProviderManaged:
      "This provider comes from the plugin \"{{plugin}}\", which supplies its endpoint and models. Enable or disable it on the Plugins page.",
    pluginProviderKey: "API key",
    pluginProviderKeyHint:
      "Stored in PI-Desktop and used by the runtime. The plugin never receives it.",
    pluginProviderKeyRemove: "Remove key",
    pluginProviderKeySaved: "API key saved",
    pluginProviderKeyRemoved: "API key removed",
    delete: "Delete",
    theme: "Theme",
    mode: "Default mode",
    groupPreferences: "Preferences",
    groupAgent: "Agent",
    groupWorkspace: "Workspace",
    groupSystem: "System",
    groupExtensions: "Extensions",
    nav: {
      appearance: "Appearance",
      chat: "Conversation",
      behavior: "Behavior",
      system: "System",
      shortcuts: "Shortcuts",
      instructions: "Instructions",
      models: "Models",
      skills: "Skills",
      mcp: "MCP",
      subagents: "Subagents",
      modes: "Modes",
      projects: "Projects",
      sync: "Cloud sync",
      remoteHosts: "Remote hosts",
      info: "Info",
      voice: "Voice",
    },
    conversation: "Conversation",
    agentBehavior: "Agent behavior",
    system: "System",
    interface: "Interface",
    startup: "Startup",
    chatDisplay: "Display",
    chatDisplayCaption: "Presentation only — nothing here changes what the model does.",
    chatInput: "Input & links",
    sessionDefaults: "Session defaults",
    sessionDefaultsCaption: "What every new conversation starts with.",
    execution: "Execution",
    appearanceSubtitle: "Theme, language, type, and the chrome around your conversations.",
    conversationSubtitle: "How a transcript is shown, and how the composer takes what you type.",
    agentBehaviorSubtitle: "What a new conversation starts with, and what the agent may do while it runs.",
    systemSubtitle: "Network, storage, power, and this installation's window behavior.",
    shortcutsSubtitle: "Rebind any action, or leave it unbound.",
    aboutSubtitle: "Versions, updates, and where to look when something breaks.",
    shortcuts: "Shortcuts",
    instructions: "Instructions",
    instructionsGlobal: "Global instructions",
    instructionsGlobalDesc: "Applied before project instructions.",
    instructionsPath: "Instruction file path",
    instructionsSave: "Save instructions",
    configuration: "Model configuration",
    keyboard: "Keyboard shortcuts",
    shortcutResetAll: "Restore defaults",
    shortcutRecording: "Press keys…",
    shortcutChange: "Change shortcut for {{action}}",
    shortcutReset: "Restore default shortcut for {{action}}",
    shortcutRequiresModifier: "Use a modifier key or F1–F12.",
    shortcutReserved: "Reserved by the operating system or editor.",
    shortcutConflict: "Already assigned to {{action}}.",
    shortcutSaveFailed: "Could not save the shortcut.",
    shortcutUnbound: "Unbound",
    shortcutDisable: "Disable shortcut for {{action}}",
    voice: "Voice",
    voiceEnable: "Enable voice input",
    voiceMicrophone: "Microphone",
    voiceSystemDefault: "System Default",
    voiceLanguages: "Languages",
    voiceChineseVariant: "Chinese variant",
    voiceSimplified: "Simplified",
    voiceTraditionalTaiwan: "Traditional (Taiwan)",
    voiceTraditionalHK: "Traditional (Hong Kong)",
    voiceModel: "Transcription model",
    voiceModelDownload: "Download",
    voiceModelDelete: "Delete",
    voiceModelDownloaded: "Downloaded",
    voiceModelDownloading: "Downloading…",
    voiceModelNotDownloaded: "Not downloaded",
    voiceModelSize: "{{size}}",
    voiceShortcut: "Shortcut",
    voiceLocalModels: "Local models",
    voiceNoModelSelected: "No model selected",
    voiceSelectModel: "Select a model to get started",
    voiceMicDenied: "Microphone access denied",
    voiceMicDeniedDesc: "Grant microphone access in System Settings.",
    voiceMicUnavailable: "Microphone unavailable",
    voiceOpenSystemSettings: "Open System Settings",
    voiceRecording: "Listening…",
    voiceTranscribing: "Transcribing…",
    voiceCancel: "Cancel",
    shortcutGroup: {
      navigation: "Navigation",
      agent: "Agent",
      window: "Window",
    },
    shortcutAction: {
      navigateBack: "Go back",
      navigateForward: "Go forward",
      newTask: "New task",
      openProject: "Open project",
      openSettings: "Open settings",
      openSearch: "Search",
      openCommandPalette: "Command palette",
      openPluginLauncher: "Plugin launcher",
      toggleSidebar: "Toggle sidebar",
      openWorkPanel: "Toggle side panel",
      abort: "Stop active task",
      toggleWindow: "Show or hide the window",
      resetZoom: "Reset zoom",
      zoomIn: "Zoom in",
      zoomOut: "Zoom out",
      toggleFullScreen: "Toggle full screen",
      voiceToggle: "Toggle Live Voice",
      voiceCancel: "Cancel Live Voice setup",
    },
    skills: "Skills",
    skillsGlobalPath: "Global skills path",
    builtinSkills: "Built-in skills",
    builtin: "Built-in",
    skillsProjectPath: "Project skills path",
    mcp: "MCP servers",
    mcpGlobalPath: "Global MCP path",
    mcpProjectPath: "Project MCP path",
    subagents: "Subagents",
    subagentsGlobalPath: "Global subagents path",
    subagentsOnlyGlobal: "Subagents are global-only. Project definitions are not supported.",
    capabilityCount: "{{count}} capabilities",
    globalLevel: "Global",
    globalScopeDescription: "Available in every project",
    projectLevel: "Project",
    projectScopeDescription: "Only available in the selected project",
    globalOnly: "Global only",
    noProjects: "No recent projects",
    selectProject: "Select project",
    selectProjectFirst: "Select a project first",
    loadingCapabilities: "Loading capabilities…",
    noCapabilityDescription: "No description",
    toggleCapability: "Toggle {{name}}",
    capabilityOverrideOff: "Disabled for this project",
    capabilityOverrideOn: "Enabled for this project",
    capabilityOverrideResetItem: "Reset to the global default",
    capabilityOverrideReset: "Restored {{name}} to the global default",
    capabilityEnabled: "Enabled {{name}}",
    capabilityDisabled: "Disabled {{name}}",
    importSkill: "Import",
    importSkillFile: "Import file",
    importSkillDir: "Import folder",
    importSkillFromTools: "Scan other tools",
    importMcpFromTools: "Scan other tools",
    importAgentSkillsTitle: "Scan skills from other tools",
    importAgentSkillsDesc:
      "Find skill folders that Claude, Codex and other agents keep on this machine, then import the ones you want into the selected level.",
    importAgentMcpTitle: "Scan MCP servers from other tools",
    importAgentMcpDesc:
      "Find MCP configuration from Claude Desktop, Cursor, Codex, Claude Code and opencode on this machine, then add the ones you want to this MCP list.",
    importAgentScanNone: "Nothing to import was found on this machine.",
    importAgentScanFoundSkills: "Found {{count}} skills",
    importAgentScanFoundSkills_one: "Found 1 skill",
    importAgentScanFoundSkills_other: "Found {{count}} skills",
    importAgentScanFoundMcp: "Found {{count}} MCP servers",
    importAgentScanFoundMcp_one: "Found 1 MCP server",
    importAgentScanFoundMcp_other: "Found {{count}} MCP servers",
    importAgentScanMode: "Import mode",
    importAgentScanModeCopy: "Copy",
    importAgentScanModeLink: "Symlink",
    importAgentScanModeHint:
      "Copy places a private replica; symlink follows external edits on the next scan but breaks if the source is renamed or removed. Skills only.",
    importAgentScanResult:
      "Import done: {{imported}} imported, {{skipped}} skipped, {{failed}} failed",
    importAgentScanShapeFile: "File",
    importAgentScanShapeDir: "Folder",
    importAgentScanSourceClaudeDesktop: "Claude Desktop",
    importAgentScanSourceClaudeCode: "Claude Code",
    importAgentScanSourceClaudeUser: "Claude global",
    importAgentScanSourceClaudeProject: "Claude project",
    importAgentScanSourceCursorGlobal: "Cursor global",
    importAgentScanSourceCursorProject: "Cursor project",
    importAgentScanSourceCodex: "Codex",
    importAgentScanSourceOpenCode: "opencode",
    importAgentScanSourceChatgpt: "ChatGPT desktop",
    importAgentScanSourcePiUser: "PI global (already imported)",
    importAgentScanSourcePiProject: "PI project (already imported)",
    importAgentScanSourceUnavailable: "Not installed here, or the path did not match.",
    importAgentScanTransportStdio: "Local process",
    importAgentScanTransportHttp: "HTTP",
    imported: "Imported",
    skillImported: "Imported {{name}}",
    skillBatchImported: "Imported {{count}} skill folders",
    skillBatchFailed: "Failed to import {{count}} folders. First: {{first}}",
    skillsEmpty: "No skills in this folder",
    subagentsEmpty: "No subagents of your own yet",
    addMcp: "Add",
    newSkill: "New",
    editMcp: "Edit",
    editMcpOf: "Edit {{name}}",
    mcpAdded: "Added {{name}}",
    mcpSaved: "Saved {{name}}",
    mcpDuplicate: "An MCP server with this ID or name already exists at this level.",
    mcpProjectSubtitle: "Active only in {{project}}.",
    mcpEmpty: "No MCP servers in this folder",
    mcpMarket: {
      browse: "Market",
      back: "My servers",
      title: "MCP Market",
      subtitle:
        "The exact command is shown before anything is saved.",
      searchPlaceholder: "Search servers",
      categoryAll: "All",
      "category.devtools": "Dev tools",
      "category.web": "Web",
      "category.docs": "Docs",
      "category.data": "Data",
      "category.productivity": "Productivity",
      install: "Install",
      installed: "Installed",
      installSuccess: "Installed {{name}}",
      verified: "Verified",
      prerequisites: "Prerequisites: ",
      notes: "Notes: ",
      willRun: "Will be saved as",
      requiredValues: "Required values",
      optionalHint: "optional",
      sheetNote: "Nothing runs until the server connects for the first time.",
      remoteBadge: "Registry",
      remoteLoading: "Loading the official registry…",
      remoteError: "Registry unreachable — showing built-in picks",
      remotePartial: "Some market sources are unavailable ({{names}})",
      retry: "Retry",
      remoteStaleSnapshot: "Showing the results from your last successful load ({{time}})",
      manageSources: "Sources",
      sourcesHint: "Query several market sources at once. Registry sources speak the official MCP registry protocol; catalog sources are static JSON files in the market schema.",
      addSource: "Add source",
      kindRegistry: "Registry API",
      kindCatalog: "Catalog JSON",
      namePlaceholder: "Source name",
      urlHint: "https://… (registry endpoint or catalog JSON)",
      officialSource: "Official registry",
      sourceUnsafe:
        "Source URL must be an http or https address, and not a cloud metadata address. For plain http on your own machine or LAN, turn on \"Relaxed network mode\" in Network settings.",
      pageInfo: "Page {{page}} of {{pages}} · {{total}} servers",
      pagePrev: "Previous page",
      pageNext: "Next page",
      loadMore: "Load more",
      pageJump: "Go",
      empty: "No servers match",
    },
    transport: "Transport",
    transportStdio: "stdio",
    transportHttp: "http",
    scope: "Scope",
    scopeHint: "Choose the active scope.",
    globalScope: "Global · active in every project",
    globalScopeHint: "This server is active in every project.",
    projectScope: "{{project}} · active only here",
    projectScopeHint: "This server is active only in the selected project.",
    currentProject: "Current project",
    enableCapability: "Enable capability",
    capabilityFilterLabel: "Filter by level",
    capabilityFilterAll: "All",
    capabilityFilterGlobal: "Global",
    capabilityFilterProject: "Project",
    clearSearch: "Clear search",
    capabilityNoMatches: "No matching capabilities",
    capabilityRefreshing: "Refreshing…",
    capabilityDeleted: "Deleted {{name}}",
    capabilityRemoveConfirm: "Click again to delete",
    capabilityCreateInGlobal: "Create in global",
    capabilityCreateInProject: "Create in project",
    capabilityImportToGlobal: "Import into global",
    capabilityImportToProject: "Import into project",
    capabilityMoveToGlobal: "Move to Global",
    capabilityMoveToProject: "Move into {{project}}",
    capabilityMoved: "Moved {{name}} to {{target}}",
    capabilityMovedRenamed: "Moved {{name}} to {{target}} as {{newName}}",
    skillCreated: "Created {{name}}",
    skillSaved: "Saved {{name}}",
    subagentCreated: "Created {{name}}",
    subagentSaved: "Saved {{name}}",
    projectArchive: "Project archive",
    remoteHosts: {
      title: "Remote hosts",
      listError: "Failed to load hosts",
      loading: "Loading…",
      empty: "No hosts",
      statusOnline: "Online",
      statusOffline: "Offline",
      statusConnecting: "Connecting…",
      statusReconnecting: "Reconnecting…",
      statusActionRequired: "Action required",
      remove: "Remove",
      removing: "Removing…",
      removed: "{{label}} removed.",
      removeFailed: "Failed to remove: {{message}}",
      addTitle: "Add",
      addSsh: "SSH",
      addPair: "Pair",
      pair: "Pair",
      pairing: "Pairing…",
      pairSucceeded: "{{label}} paired.",
      pairFailed: "Pairing failed: {{message}}",
      fieldLabel: "Label",
      fieldLabelPlaceholder: "Home Linux",
      fieldUrl: "URL",
      fieldUrlPlaceholder: "ws://127.0.0.1:9443/racp",
      fieldPairingToken: "Token",
      fieldPairingTokenPlaceholder: "ppt1.…",
      sshHost: "Host",
      sshHostPlaceholder: "build-box.local",
      sshUser: "User",
      sshPort: "Port",
      sshIdentityFile: "Identity file",
      sshIdentityFileChoose: "Choose file",
      sshIdentityFilePlaceholder: "No file selected",
      sshIdentityFileClear: "Clear",
      sshIdentityFileError: "Could not access the selected file path.",
      sshAuthMode: "Auth",
      sshAuthKey: "Key",
      sshAuthPassword: "Password",
      sshPassword: "Password",
      sshPasswordPlaceholder: "Password",
      sshShowPassword: "Show password",
      sshHidePassword: "Hide password",
      sshAction: "Install",
      sshRunning: "Installing…",
      sshSucceeded: "{{label}} installed.",
      sshFailed: "Install failed: {{message}}",
      transportSsh: "SSH",
      experimental: "Experimental",
    },
    configSync: {
      title: "Cloud sync",
      experimental: "Experimental",
      connectionTitle: "Connection settings",
      connectionDescription: "Sync app settings across devices or back them up to your private S3 storage. Chats and project files stay local.",
      advancedTitle: "Advanced settings",
      maintenanceTitle: "Security and connection",
      errorTitle: "Sync needs attention",
      errorDetails: "Technical details",
      backupPasswordOptional: "Leave this blank to keep the current vault password.",
      passwordTooShort: "The backup password must be at least 8 characters.",
      previewPending: "Pending activation: {{count}}",
      previewConflicts: "Conflicts: {{count}}",
      errors: {
        auth: "Check the S3 access key, secret key, session token, region, and device clock.",
        permission: "Allow reading, conditional writing, and probe-object deletion in the selected bucket prefix.",
        notFound: "Check the S3 endpoint, region, bucket, and object prefix.",
        conflict: "Another device updated this backup. Sync again to merge, then review anything waiting for approval.",
        quota: "The remote storage is full. Free space or raise the quota, then retry.",
        rateLimit: "The server is rate limiting requests. Retry the sync in a moment.",
        server: "The S3 service is temporarily unavailable.",
        network: "Check the network, address, and certificate, then retry.",
        redirect: "Use the direct regional S3 endpoint; redirects are not followed.",
        unsupported: "This S3 service must support reliable conditional writes. No compatibility fallback is available.",
        locked: "Enter the backup password to unlock sync.",
        invalid: "Check the S3 connection fields and required credentials.",
        password: "Use the backup password for this vault, not the S3 secret key.",
        limit: "The backup is larger than the supported size. Sync fewer categories and retry.",
        unknown: "Sync did not finish. Check the connection and retry. Open the technical details if it keeps failing.",
      },
      endpoint: "S3 endpoint",
      endpointPlaceholder: "https://s3.example.com",
      region: "Region",
      bucket: "Private bucket",
      prefix: "Object prefix",
      accessKeyId: "Access key ID",
      secretAccessKey: "Secret access key",
      secretSavedHint: "Leave blank to reuse the locally saved key for this exact connection.",
      sessionToken: "Session token (optional)",
      sessionTokenHint: "Blank keeps the saved token unless you enter a new secret key. Supply a new token together with temporary credentials.",
      clearSessionToken: "Clear the saved session token",
      addressing: "Bucket addressing",
      addressingHint: "Use the service endpoint, not a public download URL or a URL containing the bucket path.",
      pathStyle: "Path style",
      virtualHosted: "Virtual hosted",
      mode: "Operation mode",
      modeHint: "Backup only uploads this device. Two-way sync merges and applies changes across devices. Each mode has separate history.",
      modeSync: "Two-way sync",
      modeBackup: "Backup only",
      automaticSync: "Run automatically",
      backupNow: "Back up now",
      deviceLabel: "Device label",
      defaultDevice: "This device",
      backupPassword: "Backup password",
      backupPasswordUnlock: "Vault password",
      backupPasswordHint: "Use at least 8 characters. This password encrypts the vault and never leaves this device.",
      currentBackupPassword: "Current vault password",
      newBackupPassword: "New vault password",
      changePasswordTitle: "Change vault password",
      changePasswordDescription: "Rewrap the vault key without exposing data. Previously unlocked devices retain access; this does not revoke them.",
      changePassword: "Change password",
      passwordChanged: "Vault password changed.",
      showPassword: "Show password",
      hidePassword: "Hide password",
      test: "Test server",
      testSuccess: "The server supports the required conditional writes.",
      testUnsupported:
        "The server did not prove reliable conditional writes; sync is not enabled.",
      enable: "Enable backup / sync",
      save: "Save and run",
      configured: "Cloud sync configuration saved.",
      syncNow: "Sync now",
      progressTitle: "Syncing…",
      progress: {
        phase: {
          capture: "Collecting local changes",
          download: "Downloading remote changes",
          merge: "Merging changes",
          upload: "Uploading changes",
          apply: "Applying changes",
        },
        objects: "{{done}} / {{total}}",
        bytes: "{{done}} / {{total}}",
      },
      statusTitle: "Sync status",
      statusLabel: "Current state",
      lastSuccess: "Last successful run: {{date}}",
      lastError: "Latest error",
      unlockTitle: "Unlock vault",
      unlockDescription: "Unlock the local vault before reading or publishing data.",
      unlock: "Unlock",
      pauseTitle: "Pause this device",
      pauseDescription: "Keep local data and stop automatic remote activity.",
      categoriesTitle: "Portable configuration",
      categoriesDescription:
        "All supported configuration is selected by default. Credentials and memory require an explicit opt-in.",
      categoryApplication: "Application preferences",
      categoryProviders: "User-owned providers and models",
      categoryMcp: "MCP definitions",
      categorySkills: "Skills",
      categorySubagents: "Subagents",
      categoryInstructions: "Instructions and prompt templates",
      categoryPlugins: "Plugin installation intent",
      categoryAutomation: "Automation definitions",
      categoryMemory: "Project memory",
      categoryCredentials: "Portable credentials",
      credentialsWarning:
        "Secrets are encrypted in the vault, but a new device still requires local approval and secure storage.",
      approvalsTitle: "Awaiting local activation",
      approvalsDescription:
        "Imported executable or security-sensitive configuration is staged until you approve it on this device.",
      approve: "Approve",
      reject: "Reject",
      mapFolder: "Map folder",
      approvalReason: {
        newDevice: "New device",
        securityChange: "Security-sensitive change",
        dependency: "Secret or dependency required",
        mapping: "Local folder mapping required",
        conflict: "Conflict needs review",
      },
      previewTitle: "Setup preview",
      previewSupported: "Supported items: {{count}}",
      previewExcluded: "Excluded items: {{count}}",
      previewSecrets: "Secret-bearing items: {{count}}",
      previewMapping: "Mapping required: {{count}}",
      mappingsTitle: "Project mappings",
      mappingsDescription: "Local folders stay device-specific and are never uploaded.",
      mappingUnavailable: "Folder unavailable",
      historyTitle: "History and restore",
      historyDescription: "Shows the latest 30 revisions for this mode. Encrypted objects are retained indefinitely; cloud storage is not automatically cleaned up.",
      restoreBackupConfirm: "Restore this backup on this device only? A local recovery point will be saved. Remote history will not change, and sensitive changes still require approval.",
      refreshHistory: "Refresh history",
      currentRevision: "Current revision",
      historyItems: "items",
      historyEmpty: "No remote revisions are available yet.",
      historyLocked: "Unlock the vault to read revision history.",
      restore: "Restore",
      restoreConfirm: "Restore and publish this revision to other devices? A local recovery point will be saved. Publication is immediate; sensitive changes require approval on each device.",
      restoreStarted: "Restore staged. Review any pending local approvals.",
      disconnectTitle: "Disconnect",
      disconnectDescription:
        "Preserve local data and leave the remote vault untouched.",
      disconnectConfirm:
        "Disconnect this device? Local data stays here and remote data will not be deleted.",
      disconnect: "Disconnect",
      status: {
        notConfigured: "Not configured",
        locked: "Locked",
        upToDate: "Up to date",
        localChangesPending: "Local changes pending",
        syncing: "Syncing",
        offline: "Offline",
        unsupportedServer: "Unsupported server",
        conflict: "Conflict",
        awaitingActivation: "Awaiting activation",
        paused: "Paused",
        error: "Needs attention",
      },
    },
    importTitle: "Import from other tools",
    importScan: "Scan",
    importScanning: "Scanning…",
    importFound: "Sessions found: {{count}}",
    importFound_one: "1 session found",
    importFound_other: "{{count}} sessions found",
    importNone: "No importable sessions found on this machine.",

    importSelectAll: "Select all",
    importSelected: "Import selected ({{count}})",
    importing: "Importing…",
    importMessages: "{{count}} messages",
    importMessages_one: "1 message",
    importMessages_other: "{{count}} messages",
    importMessagesUnknown: "—",
    importNoProject: "No project",
    importSelectedCount: "{{count}} selected",
    importGroupBy: "Group by",
    importGroupByPath: "Project path",
    importGroupBySource: "Source",
    importSelectGroup: "Select all sessions in {{name}}",
    importResult: "Import finished: {{imported}} imported, {{skipped}} skipped, {{failed}} failed",
    importSourceClaudeCode: "Claude Code",
    importSourceOpenCode: "OpenCode",
    importSourceCodex: "Codex",
    importSourcePi: "Pi",
    importSourceCcSwitch: "CC Switch",
    importModelsTitle: "Model configuration",
    importModelsScanDesc:
      "Find local provider and model settings. Stored API keys are copied; subscription logins are not.",
    importModelsFound: "Providers found: {{count}}",
    importModelsFound_one: "1 provider found",
    importModelsFound_other: "{{count}} providers found",
    importModelsNone: "No importable model configuration found on this machine.",
    importModelsCount: "{{count}} models",
    importModelsCount_one: "1 model",
    importModelsCount_other: "{{count}} models",
    importModelsHasKey: "API key",
    importModelsNoKey: "No API key",
    importModelsSelectAll: "Select all providers",
    importModelsSelectGroup: "Select all providers in {{name}}",
    backToApp: "Back to app",
    marketProviderTitle: "Extension marketplace",
    marketProvider: "Marketplace source",
    marketProviderOfficial: "Official channel",
    marketProviderGithub: "GitHub backup",
    marketProviderMirror: "CNB backup",
    marketProviderCustom: "Custom",
    marketCustomUrl: "Catalog URL",
    marketCustomUrlDesc:
      "Full URL of a catalog.json. Package paths inside it resolve against this address.",
    marketCustomUrlPlaceholder: "https://example.com/catalog.json",
    search: "Search settings",
    searchPlaceholder: "Search settings…",
    noResults: "No matching settings",
    enterToSend: "Enter to send",
    enterToSendDesc: "Off: press ⌘/Ctrl+Enter to send.",
    backgroundJobContinuation: "Continue after background jobs",
    backgroundJobContinuationDesc: "Allow the assistant to resume a local conversation after requested tests or builds finish, using the existing permission mode. Off by default. Turning this off cancels pending continuations, not their processes.",
    codemode: "Codemode scripts",
    codemodeDesc: "Let the assistant run short JavaScript in an isolated sandbox to batch, chain, or filter tool and model calls, so only the final result enters the conversation. Each nested call still uses your permission mode and approvals. Off by default.",
    infiniteProviderRetry: "Retry until success",
    infiniteProviderRetryDesc: "Keep retrying network and transient provider failures until the request succeeds. You can still stop the turn; API usage may continue while enabled.",
    smoothStreaming: "Smooth streaming",
    smoothStreamingDesc: "Release streamed text character by character for a typewriter effect. Automatically disabled when the system prefers reduced motion.",
    subagentStyle: "Subagent style",
    subagentStyleDesc: "Show subagent cards in the transcript, or track active subagents above the input and keep expandable tool rows in the transcript.",
    subagentStyleTranscript: "In transcript",
    subagentStyleBar: "Composer bar",
    inlineVisualizations: "Inline visualizations",
    inlineVisualizationsDesc: "Show the interactive HTML cards the agent writes into the session's visualization directory. Off by default: the prompt advertises no visualization directory, the visualize skill is withheld, and existing reference lines stay hidden.",
    preventScreenSleep: "Prevent screen sleep",
    preventScreenSleepDesc: "Keep the display awake while the app is running. Uses system power management APIs on all platforms.",
    scheduledTasks: "Scheduled tasks",
    scheduledTasksDesc: "Turning this off hides scheduled tasks and stops new runs. Existing tasks and history are kept.",
    windowTranslucency: "Translucent window",
    windowTranslucencyDesc: "Keep the macOS window translucent over the desktop blur, which is the default. It costs more GPU while the window is visible; turn it off for an opaque window with the lowest idle load. A change applies after a restart.",
    windowTranslucencyRestart: "Restart to apply",
    startupAnimation: "Startup animation",
    startupAnimationDesc: "Play your own video while the app starts, instead of the brand splash. Drop one video into the startup folder; it fills the window, so keep the subject centred. Press Escape to skip it. Takes effect on the next launch.",
    startupAnimationNone: "No video found",
    startupAnimationFolder: "Open startup folder",
    startupAnimationSkipWhenReady: "End early when ready",
    startupAnimationSkipWhenReadyDesc: "Cut the animation short as soon as the app has finished starting, instead of letting it play to the last frame.",
    linkOpenTarget: "Link open destination",
    linkOpenTargetWorkpanel: "Work panel browser",
    linkOpenTargetExternal: "Default OS browser",
    thinkingDisplayMode: "Thinking display mode",
    thinkingDisplayModeDesc: "Detailed shows progress in an expandable process with nested tool groups and reasoning. Compact starts the process collapsed and hides reasoning.",
    thinkingDisplayDetailed: "Detailed",
    thinkingDisplayCompact: "Compact",
    showThinking: "Show thinking",
    showThinkingDesc: "Show the model's reasoning. Turning this off keeps the live thinking indicator visible and hides completed reasoning rows and summaries.",
    autoCollapseThinking: "Fold finished thinking",
    autoCollapseThinkingDesc: "Only reasoning that is still being generated stays open. Turn this off to keep every reasoning row open.",
    autoCollapseSettledGroups: "Fold finished groups",
    autoCollapseSettledGroupsDesc: "Finished activity groups fold when the turn moves on, without waiting for the turn to end. Turn this off to keep them open.",
    transcriptDisplayMode: "Transcript display",
    transcriptDisplayModeDesc: "Choose how the assistant process is grouped in the transcript.",
    radialMenu: "Radial context menu",
    radialMenuDesc: "Right-click the empty space below the conversation to open a menu with four directions instead of a list.",
    radialMenuEnable: "Enable on the transcript background",
    radialMenuEnableDesc: "Replaces only the vertical menu that opens in empty space. Menus on messages, links, and file references stay unchanged.",
    radialMenuUp: "Up direction",
    radialMenuRight: "Right direction",
    radialMenuDown: "Down direction",
    radialMenuLeft: "Left direction",
    radialMenuActionNone: "Leave empty",
    transcriptDisplayModeFlat: "Flat",
    transcriptDisplayModeCommandFirst: "Commands first",
    transcriptDisplayModeFullyFolded: "Fully folded",
    keepCommandsExpanded: "Don't collapse commands",
    keepCommandsExpandedDesc: "Keep shell calls on their own rows instead of folding them into the surrounding tool group.",
    contextUsageDisplay: "Context usage readout",
    contextUsageDisplayRemaining: "Remaining",
    contextUsageDisplayUsed: "Used",
    linkContextMenuOpenExternal: "Open in default browser",
    linkContextMenuOpenWorkpanel: "Open in work panel",
    linkContextMenuCopy: "Copy link address",
    linkCopied: "Link copied to clipboard",
    linkCopyFailed: "Couldn't copy link address",
    largePasteThreshold: "Large paste threshold",
    largePasteThresholdDesc:
      "Text-only pastes longer than this many characters become a temporary session file.",
    largePasteThresholdSaveError: "Couldn't save the paste threshold.",
    modeDesc: "Mode for new sessions.",
    modeAgent: "Agent",
    modePlan: "Plan",
    modeGoal: "Goal",
    themeDesc: "Follow system, light, or dark.",
    themeSystem: "System",
    themeLight: "Light",
    themeDark: "Dark",
    themeFromPlugin: "Provided by the {{plugin}} plugin.",
    themeSearchPlaceholder: "Search themes…",
    permissionMode: "Permission mode",
    permissionModeDesc: "How tool actions are approved by default. Auto runs commands without asking and may change files. You can still change this per session.",
    permissionModeAsk: "Ask every time",
    permissionModeAcceptEdits: "Auto-accept edits",
    permissionModeAuto: "Full auto",
    closeBehaviorTitle: "Close behavior",
    closeBehaviorDesc:
      "What happens when you close the main window. macOS always keeps the app in the Dock.",
    closeBehaviorTray: "Close to tray",
    closeBehaviorQuit: "Quit app",
    closeBehaviorSaveError: "Couldn't save the close behavior.",
    network: "Network",
    proxy: "Proxy",
    proxyDesc:
      "HTTP, HTTPS, and SOCKS5 for model calls, marketplace, updates, and the in-app browser.",
    proxySystem: "System",
    proxyDirect: "Direct",
    proxyCustom: "Custom",
    proxyUrl: "Proxy URL",
    proxyUrlPlaceholder: "socks5://127.0.0.1:1080",
    proxyBypass: "Bypass",
    proxyBypassDesc: "Hosts that skip the proxy.",
    networkRelaxedMode: "Relaxed network mode",
    networkRelaxedModeDesc:
      "Endpoints you enter yourself are reachable — a model service, MCP server, market source, or git remote on this machine or your LAN. Plain HTTP is allowed, and a transparent proxy's fake-IP answers are tolerated.",
    networkRelaxedModeStrictDesc:
      "Only public HTTPS endpoints stay reachable: a LAN address or a plaintext connection is refused, and a proxy's fake-IP answers are rejected.",
    networkInsecureNoticeTitle: "Plain HTTP to your own network",
    networkInsecureNoticeBody:
      "You are reaching an address you entered yourself, on this machine or your LAN, over unencrypted HTTP. Anyone on the same network segment may be able to read the credentials in that traffic. Switch to Strict in Network settings to refuse those connections.",
    proxyInvalid: "Enter an http, https, or socks5 URL with a host.",
    proxySaveError: "Couldn't save the proxy.",
    proxyTest: "Test",
    proxyTesting: "Testing…",
    proxyTestOk: "Connected",
    proxyTestFail: "Couldn't connect: {{message}}",
    defaultsTitle: "Defaults",
    defaultModel: "Default model",
    defaultModelNone: "No AI provider ready",
    defaultModelSearch: "Filter models",
    commandShell: "Command shell",
    commandShellLoading: "Loading shells…",
    commandShellLoadError: "Command shells unavailable",
    commandShellNoChoices: "No command shells available",
    commandShellUnavailable: "Unavailable",
    commandShellNoEffective: "No shell is available to run commands.",
    commandShellDefault: "Effective: {{shell}} (default)",
    commandShellFallback: "Configured shell unavailable; using {{shell}}.",
    commandShellSaveError: "Couldn't save the command shell.",
    editProvider: "Edit",
    "copyProvider": "Copy configuration",
    "copyProviderTitle": "Copy AI service",
    "copyProviderName": "{{name}} (copy)",
    "copyProviderHint": "Creates an independent service. API keys, account logins and custom headers are not copied. Your default model stays unchanged.",
    editProviderTitle: "Edit AI provider",
    apiKeyKeepHint: "Leave blank to keep the saved key.",
    apiKeyOptionalHint: "Optional. Leave blank to send requests without an API key.",
    clearApiKey: "Clear saved API key",
    apiStyle: "API format",
    apiStyleChatCompletions: "OpenAI Chat Completions",
    apiStyleOpenCodeGo: "OpenCode Go",
    service: "Service",
    searchService: "Filter services",
    noServiceMatches: "No matching services.",
    useCustomEndpoint: "Use a custom endpoint",
    chooserSubscriptions: "Sign in with a subscription",
    chooserApiKeys: "Connect with an API key",
    chooserClassifiers: "Classifiers",
    customEndpointDesc: "Any OpenAI- or Anthropic-compatible URL",
    connectionReady_one: "Connected · {{count}} model found",
    connectionReady_other: "Connected · {{count}} models found",
    connectionCatalog_one: "{{count}} known model for this service",
    connectionCatalog_other: "{{count}} known models for this service",
    connectionNoModelList_one: "This service doesn't list models · {{count}} known model",
    connectionNoModelList_other: "This service doesn't list models · {{count}} known models",
    changeService: "Change",
    changeServiceTitle: "Change service",
    modelReasoningTag: "Reasoning",
    modelsAutoPicked: "Picked from the recommended models. Adjust them in Manage models.",
    presetOpenai: "OpenAI",
    presetAnthropic: "Anthropic",
    presetGoogle: "Google Gemini",
    presetOpenrouter: "OpenRouter",
    presetGroq: "Groq",
    presetXai: "xAI",
    presetMistral: "Mistral",
    presetTogether: "Together AI",
    presetFireworks: "Fireworks",
    presetDeepseek: "DeepSeek",
    apiStyleAutoDetected: "Auto detected: {{format}}",
    endpointFormatGuidance: "This request URL suggests {{format}}. Apply the matching format and base address; this is not a connection or search capability test.",
    applyEndpointFormat: "Apply suggested format",
    presetAlibabaCn: "Qwen (DashScope)",
    presetMoonshotCn: "Moonshot / Kimi",
    presetZhipuApi: "Zhipu AI",
    presetZhipuCodingPlan: "Zhipu AI Coding Plan",
    presetZaiApi: "Z.AI",
    presetZaiCodingPlan: "Z.AI Coding Plan",
    presetSiliconflowCn: "SiliconFlow",
    presetVolcengine: "Volcengine Ark",
    presetMinimaxCn: "MiniMax",
    presetMinimaxCnOpenai: "MiniMax (OpenAI)",
    presetStepfunPlan: "StepFun Plan",
    presetKimiCoding: "Kimi For Coding",
    presetAntLing: "Ant Ling",
    presetBaseten: "Baseten",
    presetCerebras: "Cerebras",
    presetHuggingface: "Hugging Face",
    presetNvidia: "NVIDIA",
    presetOpenCodeZen: "OpenCode Zen",
    presetMeta: "Meta",
    presetMinimaxIntl: "MiniMax (International)",
    presetMoonshotIntl: "Moonshot AI (International)",
    presetVercelGateway: "Vercel AI Gateway",
    presetAlibabaTokenPlan: "Qwen Token Plan",
    presetAlibabaTokenPlanCn: "Qwen Token Plan (China)",
    presetXiaomiTokenPlanCn: "Xiaomi Token Plan (China)",
    presetXiaomiTokenPlanAms: "Xiaomi Token Plan (Europe)",
    presetXiaomiTokenPlanSgp: "Xiaomi Token Plan (Singapore)",
    presetXiaomi: "Xiaomi",
    apiStyleResponses: "OpenAI Responses",
    apiStyleAnthropic: "Anthropic Messages",
    apiStyleGoogle: "Google Generative AI",
    apiStyleCodexResponses: "OpenAI Codex (ChatGPT)",
    apiStyleLegacyAccount: "This saved format requires a vendor account. It stays unchanged unless you choose another format.",
    apiStyleChooseCustom: "This format requires a vendor account. Choose a supported API format to save this service.",
    apiStylePiMessages: "Pi Messages (Radius)",
    close: "Close",
    vendorAccounts: "Vendor accounts",
    vendorNoAccounts: "No vendor account is signed in yet.",
    vendorSignInTo: "Sign in to {{vendor}}",
    vendorConnected: "Connected",
    vendorDisconnected: "Needs sign-in",
    vendorDisconnectedDesc:
      "This account has no usable credential left. Remove it and add the account again.",
    vendorSubscription: "Subscription",
    vendorSignedInGeneric: "Signed in",
    vendorAccountNumber: "account {{number}}",
    vendorExistingAccounts: "{{count}} existing",
    vendorSignedIn: "Signed in to {{vendor}}",
    vendorSignedInAs: "Signed in as {{account}}",
    editVendorAccount: "Edit account",
    vendorAccountUpdated: "Vendor account updated",
    vendorRemoveAccount: "Remove account",
    vendorAccountRemoved: "{{vendor}} account removed",
    vendorSignOut: "Sign out",
    vendorSignedOut: "Signed out of {{vendor}}",
    pluginOauthFailed: "The plugin could not complete provider sign-in.",
    vendorLoginStarting: "Starting sign-in…",
    vendorBrowserOpened:
      "Finish signing in in your browser, then come back to this window.",
    vendorBrowserFailed:
      "Your browser didn't open — copy the link and open it yourself.",
    vendorCopyLink: "Copy link",
    vendorOpenAgain: "Open again",
    vendorDeviceCodeHint: "Enter this code on the vendor's page:",
    vendorCopyCode: "Copy code",
    vendorSubmit: "Continue",
    advanced: "Advanced",
    advancedSettings: "Advanced settings",
    headers: "Headers",
    headerName: "Name",
    headerValue: "Value",
    addHeader: "Add header",
    addCommonHeader: "Add common header",
    copyHeadersJson: "Copy headers as JSON",
    headersJsonCopied: "Headers JSON copied",
    importHeadersJson: "Import JSON",
    headersImportError: "Use a JSON object with header names and string values.",
    headersFullwidthFolded: "Fullwidth characters are saved as half-width.",
    headersValueNotLatin1: "Header values must be Latin-1: Chinese text, emoji and the like cannot travel in an HTTP header.",
    changeDefaultModel: "Change",
    presetCustomEndpoint: "Custom endpoint",
    customModelHint: "Add an ID the catalog does not publish yet.",
    noModelsChosen: "No models chosen yet. Pick one from the list.",
    providerModelCount: "{{count}} models",
    providerDisabledBadge: "Disabled",
    catalogSourceRemote: "models.dev",
    catalogSourceBundled: "bundled snapshot",
    catalogSourceEmpty: "unavailable",
    catalogStatusLine: "Catalog: {{source}} · {{models}} models · updated {{fetchedAt}}",
    catalogStatusUnknown: "Model catalog status unavailable",
    jevTitle: "Jev structured classifier",
    jevDescription: "Configure TypeSafe Jev, a structured classifier that can answer choice, score, and boolean questions for the Agent.",
    jevEnable: "Enable Jev for Agent",
    jevEnableDescription: "Expose Jev as an on-demand tool in Agent mode. It is unavailable in Plan and Goal modes.",
    jevPrivacyNotice: "When the Agent calls JevClassify, the state and questions passed to it are sent directly to TypeSafe. Do not include secrets or personal information.",
    jevApiKey: "TypeSafe API key",
    jevApiKeyPlaceholder: "Paste TypeSafe API key",
    jevKeyConfigured: "API key saved securely",
    jevKeyMissing: "API key not configured",
    jevKeyStatusChecking: "Checking API key…",
    jevKeyStatusUnavailable: "Could not check API key status",
    jevConfigureKey: "Add key",
    jevReplaceKey: "Replace key",
    jevRemoveKey: "Remove key",
    jevTestAndSave: "Check and save",
    jevCheckingKey: "Checking key…",
    jevKeyRequired: "Enter a TypeSafe API key first.",
    jevKeyCheckFailed: "TypeSafe did not accept this key.",
    jevServiceAdded: "TypeSafe key saved; Jev is on",
    jevAddEnableNote: "Check and save asks TypeSafe whether the key works, then turns Jev on for Agent mode.",
    jevKeyRemoved: "Jev API key removed",
    catalogNeverFetched: "never",
    serviceModels: "Models from this service",
    accountModels: "Models for this account",
    modelsNoneFromService: "This service returned no models. Add a model ID below.",
    modelsFromCatalogNote: "This service published no model list, so models.dev is shown instead.",
    modelsFallbackNote: "Only the configured model is available for this service.",
    modelsLoading: "Loading models…",
    refreshModelCatalog: "Refresh model catalog",
    refreshingModelCatalog: "Refreshing catalog…",
    modelCatalogUpdated: "Model catalog updated",
    modelCatalogUpdateFailed: "Could not update the model catalog",
    modelsFetchHint: "Model list unavailable. Add an ID manually.",
    modelsFetchFailed: "Couldn't load models.",
    modelsFetchFailedStatus: "Request failed ({{status}}).",
    modelsFetchNotFound: "This address has no model list.",
    providerUnavailable: "The selected provider is no longer available.",
    modelsFetchInvalidResponse: "The service did not return a model list.",
    modelsEmptyHint: "Enter a base URL to load models.",
    noModelMatches: "No matching models.",
    customModel: "Custom",
    addCustomModel: "Add custom model",
    customModelPlaceholder: "Enter a model ID, e.g. my-model-v2",
    customModelRequired: "Enter a model ID first",
    modelAlreadyAdded: "Model already added",
    modelConfigurations: "Model settings",
    removeModel: "Remove model",
    reorderModel: "Reorder {{name}}. Drag or use the Up and Down arrow keys.",
    reorderProvider: "Reorder {{name}}. Drag or use the Up and Down arrow keys.",
    serviceRowLabel: "{{name}}. Press Enter to edit; drag or use the Up and Down arrow keys to reorder.",
    serviceRowActions: "Actions for {{name}}",
    providerOrderFailed: "Could not save provider order: {{error}}",
    modelAlias: "Alias",
    modelAliasHint: "Shown wherever the model is named. The id stays the request identity.",
    modelAliasPlaceholder: "e.g. fast",
    contextWindow: "Context window",
    maxOutput: "Max output",
    supportedThinkingLevels: "Thinking levels",
    defaultThinkingLevel: "Default thinking level",
    reasoningEffortParameter: "Reasoning effort parameter",
    reasoningEffortParameterHint: "Chat Completions only. Send reasoning_effort if your gateway supports it. Auto keeps provider compatibility defaults.",
    reasoningEffortAuto: "Auto",
    reasoningEffortSend: "Send",
    reasoningEffortOmit: "Do not send",
    thinkingProtocol: "Thinking protocol",
    thinkingProtocolLegacy: "Standard",
    thinkingProtocolAdaptive: "Adaptive",
    modelCapabilities: "Capabilities",
    imageInput: "Images",
    documentInput: "PDF",
    thinkingManualOverrideHint: "Not in catalog; enable if supported.",
    contextWindowCatalogHint: "Follows models.dev; editing pins your value.",
    availableForSubagents: "Available for AI delegation",
    availableForSubagentsHint: "Allow AI to use this model when delegating tasks to subagents",
    nativeWebSearch: "Native web search",
    nativeWebSearchHint: "Attach the provider-hosted web search tool to requests for this model. Requires an endpoint that supports it; billed by the provider per search.",
    nativeWebSearchUnsupported: "This app has not integrated native search for this connection. Website search or another API may still be available.",
    fastModeAllowed: "Fast mode",
    fastModeAllowedSubscriptionHint: "Let /fast request OpenAI's priority tier for this model. Replies come faster and use more of your ChatGPT plan's usage limits.",
    fastModeAllowedUsageHint: "Let /fast request OpenAI's priority tier (service_tier) for this model. OpenAI bills the tier at a higher per-token price; a relay may ignore the field or bill it differently.",
    fastModeAllowedUnsupported: "Fast mode needs the OpenAI Responses API or a ChatGPT subscription.",
    allowEmptyThinkingSignature: "Allow unsigned thinking replay",
    allowEmptyThinkingSignatureHint: "Send thinking blocks without a signature back to Anthropic Messages endpoints that support unsigned reasoning.",
    allowEmptyThinkingSignatureDefaultHint: "Uses the endpoint's published or adapter default.",
    searchModelId: "Search model ID…",
    searchChosenModels: "Search added models…",
    noChosenModelMatches: "No matching added models.",
    selectAllVisibleModels: "Select all",
    deselectAllVisibleModels: "Deselect all",
    fetchModelList: "Fetch list",
    providerUpdated: "AI provider updated",
    providerEnabled: "AI provider enabled",
    providerDisabled: "AI provider disabled",
    enabledToggle: "Enabled",
    deleteConfirm: "Delete?",
    noDefaultProvider: "No default",
    addProviderTitle: "Add AI provider",
    cancel: "Cancel",
    noProvidersDesc: "Add an AI provider to start.",
    testing: "Testing…",
    testOk: "Connection looks good",
    testFailed: "Connection test failed",
    testFailedStatus: "Connection test failed ({{status}})",
    name: "Name",
    providerSaved: "AI provider saved",
    saving: "Saving…",
    saveProvider: "Save provider",
    noProviders: "No AI providers yet",
    noModel: "No model",
    default: "default",
    makeDefault: "Make default",
    defaultUpdated: "Default AI provider updated",
    providerRemoved: "AI provider removed",
    application: "Application",
    aboutVersion: "Version {{version}}",
    logs: "Logs",
    openLogs: "Open logs",
    feedback: "Report a problem",
    feedbackDesc: "Opens GitHub with your version filled in.",
    openFeedback: "Open GitHub",
    developer: "Developer",
    developerMode: "Developer mode",
    developerModeDesc: "Enable developer tools and F12.",
    devTools: "Developer tools",
    openDevTools: "Open console",
    devToolsDisabledHint: "Turn on developer mode first.",
    language: "Language",
    languageAuto: "Match system",
    languageAutoDesc: "Currently {{state}}",
    languageSearchPlaceholder: "Search languages…",
    font: "Font",
    fontSystemDefault: "System default",
    fontSystem: "System",
    fontCustom: "Saved",
    fontSearchPlaceholder: "Search fonts…",
    fontLoadError: "System fonts unavailable",
    fontSize: "Font size",
    fontSizeDesc: "Pick a cup size. Window zoom is unchanged.",
    fontSizeSmall: "Tall",
    fontSizeDefault: "Grande",
    fontSizeLarge: "Venti",
    fontSizeXl: "Trenta",
    fontSizeScale: "Text size scale",
    fontSizePercent: "{{value}}%",
  },
  project: {
    open: "Open project",
    openFolder: "Open folder",
    copyName: "Copy project name",
    copyPath: "Copy project path",
    none: "No project",
    clear: "Clear project",
    title: "Projects",
    add: "Add project",
    createTitle: "Create project",
    createNameLabel: "Project name",
    createFoldersLabel: "Workspace",
    createComputer: "This computer",
    createSourceLabel: "Source",
    createSourceGit: "Git repository",
    createRepositoryLabel: "Repository URL",
    createChooseLocation: "Choose folder",
    createLocationHint: "Where the clone is saved",
    createPrimary: "Primary",
    createRemoveFolder: "Remove folder",
    createAddFolder: "Add folder",
    createCancel: "Cancel",
    createAction: "Create project",
    createSaving: "Creating…",
    createFolderRequired: "Add at least one folder.",
    active: "Active",
    switchProject: "Switch project",
    noProject: "Temporary chat",
    noProjectHint: "Temporary chat outside any project",
    clone: "Clone git project",
    cloneUrlPlaceholder: "https://github.com/org/repo.git",
    cloneUrlHint: "Paste a repository URL, then pick a folder.",
    cloneDestHint: "Clones as {{name}} inside the folder you pick",
    cloneAction: "Clone",
    cloning: "Cloning…",
    close: "Close",
    pin: "Pin project",
    unpin: "Unpin project",
    searchPlaceholder: "Search projects",
    clearSearch: "Clear search",
    resultCount_one: "{{count}} of {{total}} project",
    resultCount_other: "{{count}} of {{total}} projects",
    groupPinned: "Pinned",
    groupProjects: "All projects",
    groupArchived: "Archived",
    sortBy: "Sort projects",
    sortRecent: "Recent",
    sortName: "Name",
    openTag: "Open",
    pinnedTag: "Pinned",
    archivedTag: "Archived",
    updatedNever: "—",
    newTask: "New task in this project",
    sessions: "Sessions",
    sessionsCount_one: "{{count}} session",
    sessionsCount_other: "{{count}} sessions",
    noSessions: "No sessions in this project",
    showMoreSessions: "Show {{count}} more",
    showFewerSessions: "Show fewer sessions",
    selectProject: "Select {{name}}",
    inspectorEmptyTitle: "Select a project",
    inspectorEmptyBody: "Pick one to manage folders, chats, and archive.",
    openActions: "Open actions for {{name}}",
    reorder: "Reorder {{name}}",
    editTitle: "Edit project",
    editDescription: "A removed folder with chats becomes its own project, and those chats stay available.",
    editAction: "Save changes",
    editSaving: "Saving…",
    editCancel: "Cancel",
    editPrimaryLocked: "The Primary folder cannot be removed",
    editSetPrimary: "Set as Primary folder",
    editInstructions: "Project instructions",
    instructionsSaved: "Project instructions saved",
    editMemory: "Project memory",
    memorySaved: "Project memory saved",
    memoryDescription: "Keep durable context for this project across chats.",
    memoryAdd: "Add memory",
    memoryCount_one: "{{count}} memory",
    memoryCount_other: "{{count}} memories",
    memoryEmpty: "No memories yet",
    memoryEntryTitle: "Memory title",
    memoryEntryContent: "What should this project remember?",
    memoryRemove: "Remove memory",
    memoryHint: "Used in chats in this project. Keep it concise and factual.",
    memorySave: "Save memory",
    memorySaving: "Saving…",
    noSearchResults: "No projects match your search",
    noSearchResultsBody: "Try another name or path.",
    edit: "Edit project",
    archive: "Archive project",
    restore: "Restore project",
    delete: "Delete project",
    deleteMenuConfirm: "Delete?",
    deleteTitle: "Delete project",
    deleteDescription: "This permanently removes {{name}} and cannot be undone.",
    deleteSessions_one: "{{count}} saved session and its transcripts is deleted permanently.",
    deleteSessions_other: "{{count}} saved sessions and their transcripts are deleted permanently.",
    deleteFolderKept: "The folder on disk is not deleted.",
    deleteRunningBlocked: "Stop this project's running tasks before deleting it.",
    deleteRunning_one: "{{count}} session in this project is still running. Deleting the project stops it.",
    deleteRunning_other: "{{count}} sessions in this project are still running. Deleting the project stops them.",
    deleteRunningConfirm: "Stop tasks and delete",
    deleteConfirm: "Delete project",
    deleteCancel: "Cancel",
    deleting: "Deleting…",
    deleted: "Deleted {{name}}",
    openAndNewTask: "Open project and create task",
    droppedFolder: "Folder dropped",
    openAsProject: "Open as project",
    referenceFolder: "Reference folder",
    foldersLabel: "Project folders",
    notFound: "Project not found",
    noProjects: "No projects yet",
  },
  scheduled: {
    description: "Run recurring agent tasks while PI-Desktop is open.",
    edit: "Edit task",
    hourlyHint: "Runs every hour, starting one hour after saving or enabling. Restarting the app starts a new interval.",
    morning: "Morning",
    afternoon: "Afternoon",
    evening: "Evening",
    night: "Night",
    customTime: "Custom · {{time}}",
    exactTimeHint: "Ask AI to change the exact time.",
    weekdaysHint: "Select any days to repeat.",
    selectDay: "Select at least one day.",
    legacyHint: "Edit and save a schedule to enable automatic runs.",
    time: "Time",
    weekday: "Day of the week",
    localTimeHint: "Uses this computer’s local timezone. Keep PI-Desktop running; missed runs are skipped.",
    projectHint: "The current project is saved with this schedule. Runs use the default model.",
    autoPermissionHint: "Auto can run restricted actions without asking. Use it only for tasks you trust.",
    unavailableModel: "{{provider}} / {{model}} (unavailable)",
    save: "Save task",
    cancel: "Cancel",
    runs: "Run history",
    retry: "Retry",
    nextRun: "Next run",
    noNextRun: "No automatic run scheduled",
    pause: "Pause",
    resume: "Resume",
    deleteConfirm: "Delete \"{{title}}\" and its run history?",
    historyHint: "Session runs, newest first. Session ended does not mean the task succeeded. Review the transcript and task evidence to verify the result.",
    runContent: "Run content",
    runContentLoading: "Loading transcript…",
    runContentError: "This run's transcript could not be read.",
    runContentUnavailable: "This run stored no transcript.",
    transcriptTruncated: "Earlier messages are hidden. Open the conversation to read the full transcript.",
    roleSystem: "System",
    instructionShow: "Show full instruction",
    instructionHide: "Collapse instruction",
    detailProject: "Project",
    detailPermission: "Permission",
    detailModel: "Model",
    sessionMode: "Conversation",
    sessionModePerRun: "New conversation per run",
    sessionModeReuse: "Reuse one conversation",
    sessionModeHint: "Every run writes into the same conversation, so the task keeps one continuous record.",
    neverRun: "Not run yet",
    selectTask: "Select a task to see its runs.",
    emptyRuns: "No runs yet",
    statusRunning: "Session running / awaiting input",
    statusCompleted: "Session ended",
    statusAborted: "Session interrupted",
    statusError: "Session error",
    openResult: "Open conversation",
    runError: "The execution session could not finish. Open the conversation for details.",
    title: "Scheduled",
    emptyTitle: "No scheduled tasks",
    create: "Create task",
    prompt: "Instruction",
    promptPlaceholder: "e.g. Summarize git status and open issues every morning",
    cadence: "Cadence",
    cadenceManual: "Manual",
    cadenceHourly: "Hourly",
    cadenceDaily: "Daily",
    cadenceWeekly: "Weekly",
    interval: "Interval",
    intervalEvery: "Every {{value}}",
    intervalMinutes_one: "{{count}} minute",
    intervalMinutes_other: "{{count}} minutes",
    intervalHours_one: "{{count}} hour",
    intervalHours_other: "{{count}} hours",
    intervalUnitMinutes: "Minutes",
    intervalUnitHours: "Hours",
    intervalHint: "Runs once per interval, starting one interval after saving or enabling. Restarting the app starts a new interval.",
    enabled: "Enabled",
    disabled: "Disabled",
    runNow: "Run now",
    delete: "Delete",
    lastRun: "Last run",
    never: "Never",
    tasks: "Tasks",
  },
  permission: {
    title: "Permission needed",
    allowPrompt: "Allow <highlight>{{tool}}</highlight> to run?",
    allowOnce: "Allow once",
    allowSession: "Allow for this chat",
    deny: "Deny",
    risk: {
      high: "High risk",
      medium: "Medium risk",
      low: "Low risk",
    },
    workspace: "Project: {{workspace}}",
    temporarySession: "Temporary chat",
    fromSubagent: "Asked by the {{agent}} subagent",
    queued_one: "{{count}} more request is waiting",
    queued_other: "{{count}} more requests are waiting",
  },
  askTool: {
    title: "A few questions",
    historyTitle: "Questions and answers",
    answerLabel: "Answer",
    skipped: "Skipped",
    progress: "Question {{current}} of {{total}}",
    questionNumber: "Question {{number}}",
    indicatorLabel: "Question status",
    customOption: "Enter another answer",
    customPlaceholder: "Type your answer",
    next: "Next",
    submit: "Submit answers",
    skip: "Skip",
    decline: "Decline all",
    queued: "{{count}} more prompt is waiting",
    status: {
      answered: "Question {{number}} answered",
      unanswered: "Question {{number}} not answered",
      skipped: "Question {{number}} skipped",
    },
  },
  /**
   * Host-owned window menu of a floating plugin widget (`ui.shape: "widget"`).
   * A widget has no control capsule, so its context menu carries these.
   */
  pluginPanelWidget: {
    alwaysOnTop: "Always on top",
    minimize: "Minimize",
    close: "Close widget",
  },
  panel: {
    title: "Work panel",
    subagent: "Subagent",
    subagentTask: "Task",
    subagentTaskEmpty: "No task description.",
    subagentReadOnly: "Subagents are driven by the main agent — input is unavailable.",
    subagentEmpty: "Subagent details are no longer available.",
    resize: "Resize work panel",
    maximize: "Expand work panel",
    restore: "Restore work panel",
    toolsAndPanels: "Tools & panels",
    tabsLabel: "Side panel tabs",
    new: {
      title: "New",
      open: "New",
    },
    closeTab: "Close {{name}}",
    closeOtherTabs: "Close other tabs",
    closeAllTabs: "Close all tabs",
    tabs: {
      review: "Review",
      browser: "Browser",
      file: "Files",
      plugin: "Plugin view",
      subagent: "Subagent",
    },
    pluginView: {
      failed: "This view could not be loaded. Reload the plugin and try again.",
    },
    empty: {
    },
    review: {
      filesChanged_one: "1 file changed",
      filesChanged_other: "{{count}} files changed",
      changes_one: "1 recorded change",
      changes_other: "{{count}} recorded changes",
      noChanges: "No recorded changes in this conversation",
      binary: "Binary file",
      tooLarge: "Diff is too large to show here",
      noLineDetails: "Line details are unavailable for this change",
      rollback: "Rollback this change",
      rollingBack: "Rolling back…",
      rolledBack: "Rolled back",
      historyTitle: "Conversation round",
      unknownTotals: "Line counts unknown",
      recordedTotals: "Recorded additions/deletions across this round’s operations, not a net diff",
      loadingHistory: "Loading review history…",
      historyError: "Could not load review history. Retry.",
      retryHistory: "Retry",
      moreHistory: "Older rounds",
      contextError: "Could not load context. Showing the recorded 3-line diff.",
      oldLine: "Old line {{line}}",
      newLine: "New line {{line}}",
      changeRecord: "Change {{index}} of {{count}}",
      contextUnavailable: {
        legacy: "This historical snapshot has no extended context. Showing its recorded diff.",
        binary: "Binary content has no text context.",
        tooLarge: "Context exceeds the safe preview budget. Showing its recorded diff.",
      },
      previousRound: "Last round",
      historyMode: "History",
      reviewScope: "Review scope",
      reviewSettings: "Review settings",
      wordWrap: "Word wrap",
      contextDisplay: "Context lines",
      fileActions: "File actions",
      openInternal: "Open internally",
      openExternal: "Open externally",
      openFolder: "Open folder",
      openError: "Could not open this file. It may be unavailable or outside the allowed workspace.",
      contextLineOption: "{{count}} lines",
      rollbackUnavailable: "Rollback unavailable",
      rollbackConflict: "The file changed after this message; rollback was skipped.",
      rollbackError: "Couldn't roll back this change.",
      status: {
        added: "Added",
        modified: "Modified",
        deleted: "Deleted",
        renamed: "Renamed",
        untracked: "New",
      },
    },
    browser: {
    },
    files: {
      noWorkspace: "Open a project to browse files",
      noWorkspaceHint: "Browsing is limited to the open project.",
      empty: "This folder is empty",
      loading: "Loading…",
      error: "Couldn't read this location",
      back: "Back to files",
      reveal: "Reveal in Finder",
      binary: "Binary file — preview unavailable",
      tooLarge: "File is too large to preview",
      openFailed: "Could not open the file with its default application.",
    },
  },
  palette: {
  },
  search: {
    placeholder: "Search titles and messages…",
    metadataMatch: "Title / project",
    messageMatches: "Messages: {{count}}",
    user: "You",
    assistant: "Assistant",
    loading: "Searching…",
    failed: "Search failed. Try again.",
    loadMore: "Load more results",
    retry: "Retry",
    empty: "No matching chats",
    pages: "Pages",
    commands: "Commands",
    today: "Today",
    yesterday: "Yesterday",
    previous7Days: "Previous 7 days",
    previous30Days: "Previous 30 days",
    earlier: "Earlier",
    archived: "Archived",
  },
  plugins: {
    title: "Extensions",
    loadDev: "Load local plugin",
    loadDevDone: "Local plugin loaded",
    importExtension: "Import pi extension",
    importExtensionDone: "Imported as plugin {{id}}",
    importExtensionDepsFailed: "Imported as plugin {{id}}, but installing dependencies failed: {{error}}",
    npmMissingTitle: "npm or Node.js unavailable",
    npmMissingBody: "Installing this plugin's dependencies requires npm and Node.js. Choose npm from a trusted Node.js installation; your choice will be remembered for future imports. If Node.js is not installed, install it first, then choose npm.",
    npmChoose: "Choose npm",
    npmPickerTitle: "Choose the npm executable",
    npmInvalidTitle: "Cannot use this npm executable",
    npmInvalidBody: "The selected executable is invalid or Node.js is unavailable. Choose npm in the same directory as node, or cancel.",
    npmSaveFailedTitle: "Could not save npm choice",
    npmSaveFailedBody: "Your npm choice could not be saved. The current import will still use it, but you may need to choose it again for future imports.",
    agentExtension: {
      title: "Agent extension",
importConfirm: "Imported extensions run inside the agent process with the same access as the agent's own tools. Declared skills can add instructions to the agent, and declared dependencies are installed with npm (install scripts disabled). Continue?",
      diagnostics: "Diagnostics",
      commandNeedsSession: "Start a chat first to run an extension command.",
      state: {
        enabled: "Enabled, loads on next prompt",
        loaded: "Loaded",
        error: "Error",
      },
      kinds: {
        load_error: "Failed to load",
        factory_error: "Failed during setup",
        unsupported_api: "Unsupported API",
        stub_symbol: "Terminal-only symbol",
        rejected_registration: "Rejected registration",
        handler_error: "Handler error",
        handler_timeout: "Handler timed out",
      },
      prompt: {
        source: "Asked by trusted extension {{label}}",
        placeholder: "Type a value",
        yes: "Yes",
        no: "No",
        ok: "OK",
      },
    },
    reload: "Reload plugin",
    reloadDone: "Plugin reloaded",
    installPackage: "Install package",
    installPackageDone: "Plugin package installed",
    newFromTemplate: "New plugin from template",
    newFromTemplateTitle: "Start a plugin",
    newFromTemplateCreate: "Choose folder…",
    newFromTemplateCreating: "Creating…",
    newFromTemplateDone: "{{name}} created and loaded",
    newFromTemplateOpened: "{{name}} created, loaded, and opened for development",
    templateName: {
      "panel-basic": "Panel",
      "agent-tool-basic": "Agent tool",
      "skill-pack": "Skill pack",
      "full-demo": "Everything",
    },
    templateBody: {
      "panel-basic": "A command that opens a plugin panel. The smallest useful plugin.",
      "agent-tool-basic": "Registers a tool the agent can call, with a JSON schema for its arguments.",
      "skill-pack": "Markdown skills injected into the agent's system prompt when relevant.",
      "full-demo": "Panel, command, agent tool, skill and settings together — a tour of every contribution point.",
    },
    enable: "Enable",
    disable: "Disable",
    uninstall: "Uninstall",
    empty: "No plugins installed",
    overview: "Plugin overview",
    statInstalled: "Installed",
    statEnabled: "Enabled",
    statUpdates: "Updates",
    statHighRisk: "High-risk access",
    moreActions: "More actions",
    tabInstalled: "Installed",
    tabMarket: "Marketplace",
    browseMarket: "Browse marketplace",
    checkUpdates: "Check for updates",
    applyAutoUpdates: "Apply automatic updates",
    updatesFound: "{{count}} update(s) available",
    updatesReady: "{{count}} update(s) ready",
    autoUpdatesApplied: "Applied {{count}} automatic update(s)",
    groupAttention: "Needs attention",
    groupUpdates: "Updates available",
    groupActive: "Active",
    groupDisabled: "Turned off",
    tagLocal: "Local",
    tagBundled: "Bundled",
    rowActions: "Actions for {{name}}",
    details: "Details",
    capabilitiesTitle: "Capabilities",
    servicesTitle: "Services",
    searchInstalled: "Search installed plugins",
    clearSearch: "Clear search",
    resultCount: "{{count}} of {{total}}",
    noMatches: "No plugins matched",
    marketSearchPlaceholder: "Search plugins",
    refreshMarket: "Refresh marketplace",
    marketRefreshed: "Marketplace updated ({{count}} plugins)",
    marketSource: "Source: {{url}}",
    marketLoading: "Loading marketplace…",
    marketEmpty: "No plugins matched your search",
    publisher: "Publisher {{id}}",
    browseTotal: "{{count}} plugins",
    sortLabel: "Sort",
    sortRecommended: "Recommended",
    sortPopular: "Popular",
    sortUpdated: "Newest",
    sortName: "Name",
    sourceLocal: "Saved catalog",
    sourceLocalHint: "The plugin center is unavailable, so the catalog saved on this device is shown.",
    loadMore: "Load more",
    loadingMore: "Loading…",
    loadMoreRetry: "Retry loading",
    loadedCount: "{{count}} of {{total}} loaded",
    categories: "Categories",
    categoryAll: "All",
    verified: "Verified",
    downloads: "{{count}} installs",
    install: "Install",
    installing: "Installing…",
    installed: "Installed {{name}}",
    installedLabel: "Installed",
    installedVersion: "Installed v{{version}}",
    updateNow: "Update",
    updateTo: "Update to v{{version}}",
    updating: "Updating…",
    updated: "Updated {{name}} to v{{version}}",
    updateAvailable: "v{{version}} available",
    updatedOn: "Updated {{date}}",
    packagePending: "Not published yet",
    packagePendingHint:
      "The publisher listed v{{version}} but has not uploaded its package, so it cannot be installed yet.",
    withdrawn: "Withdrawn",
    withdrawnHint: "v{{version}} was withdrawn and can no longer be installed.",
    withdrawnReason: "Reason: {{reason}}",
    installedWithdrawn: "The version you have installed was withdrawn",
    sourceTitle: "Source",
    sourceCommit: "Commit",
    sourceBuiltBy: "Built by",
    trustVerified: "Verified publisher",
    trustCommunity: "Community plugin",
    trustUnknown: "Unverified source",
    openPanel: "Open panel",
    openSettings: "Plugin settings",
    closeSettings: "Close plugin settings",
    settingsTitle: "{{name}} settings",
    settingsHint: "Configure the fields declared by this plugin. Changes are stored privately for this plugin.",
    settingsPluginScope: "Plugin shortcut · current app window only",
    settingsSave: "Save settings",
    settingsReset: "Reset",
    settingsShortcutChange: "Change shortcut for {{name}}",
    settingsShortcutRecording: "Press a shortcut…",
    settingsShortcutInvalid: "Use a modifier plus a key, or an F-key. This shortcut is reserved.",
    settingsShortcutConflict: "Each plugin shortcut must be unique and cannot replace an app shortcut.",
    settingsInvalidJson: "{{name}} must contain valid JSON.",
    enableAutoUpdate: "Enable auto-update",
    disableAutoUpdate: "Disable auto-update",
    enableAutoUpdateOnInstall: "Enable automatic updates for this plugin",
    riskHigh: "High risk",
    riskMedium: "Medium risk",
    riskLow: "Low risk",
    newPermission: "New",
    noPermissions: "No permissions requested",
    permsMore: "+{{count}} more",
    permissionsTitle: "Permissions",
    permissionReview: "Permission review",
    devReviewTitle: "Load {{name}}?",
    devReviewNewTitle: "{{name}} now requests more access",
    devReviewBody: "This development plugin comes from a folder on this machine. Review what it can do — nothing is loaded until you accept.",
    devReviewAccept: "Load plugin",
    devReviewLoading: "Loading…",
    permissionReviewTitle: "Install {{name}}?",
    permissionReviewBody: "Review what this plugin can do. Higher-risk permissions stay blocked until you accept them.",
    acceptInstall: "Accept and install",
    cancel: "Cancel",
    viewDetailsOf: "View details for {{name}}",
    detailTitle: "Plugin details",
    closeDetail: "Close details",
    detailLoading: "Loading plugin details…",
    detailFailed: "Couldn't load plugin details",
    aboutTitle: "About",
    repository: "Repository",
    homepage: "Homepage",
    safetyNotes: "Safety notes",
    versions: "Versions",
    readme: "Readme",
    readmeEmpty: "This plugin didn't include a readme.",
    installVersion: "Install v{{version}}",
    installingVersion: "Installing version v{{version}}",
    installDialogTitle: "Installing {{name}}",
    installPhase: {
      resolve: "Resolving the download address",
      download: "Downloading",
      verify: "Verifying the package",
      install: "Installing",
      enable: "Enabling",
    },
    installMirror: "Mirror {{index}}/{{total}} · {{source}}",
    installMirrorUnknown: "Unknown mirror",
    installProgressLabel: "Install progress",
    installReceived: "{{received}} of {{total}}",
    installReceivedUnknown: "{{received}} received",
    installSpeed: "{{rate}}/s",
    installCancel: "Cancel download",
    installCancelling: "Cancelling…",
    installSuccess: "{{name}} installed",
    installFailed: "Couldn't install {{name}}",
    installTriedTitle: "Mirrors tried ({{count}})",
    installRetry: "Retry",
    installClose: "Close",
    installCopyDetails: "Copy details",
    installCopied: "Install details copied",
    installCopyFailed: "Couldn't copy the install details",
    contributeGuide: "How to contribute",
    reviews: {
      ratingChip: "{{avg}} ({{count}})",
      ratingSummaryAria_one: "Rated {{avg}} out of 5 from 1 rating",
      ratingSummaryAria_other: "Rated {{avg}} out of 5 from {{count}} ratings",
      summaryTitle: "Ratings & reviews",
      count_one: "1 rating",
      count_other: "{{count}} ratings",
      empty: "No reviews yet.",
      unavailable: "Ratings aren't available from this source.",
      loading: "Loading reviews…",
      loadFailed: "Couldn't load reviews.",
      retry: "Retry",
      loadMore: "Load more reviews",
      close: "Close reviews",
      title: "{{name}} reviews",
      viewAll: "See all reviews",
      composeHint: "Reviews are written on the plugin center.",
      composeCta: "Write a review on the plugin center",
      reviewVersion: "User-reported version v{{version}}",
      edited: "edited",
      helpfulCount_one: "1 person found this helpful",
      helpfulCount_other: "{{count}} people found this helpful",
      reviewRatingAria: "Rated {{rating}} out of 5",
      distributionAria: "{{label}}: {{count}}",
      filterLabel: "Filter by sentiment",
      sentimentAll: "All",
      sentimentPositive: "Positive",
      sentimentNeutral: "Neutral",
      sentimentNegative: "Negative",
      sortLabel: "Sort reviews",
      sortNewest: "Newest",
      sortHelpful: "Most helpful",
      listAria: "Reviews",
    },
    capabilities: {
      panel: "Panel",
      views: "Work panel views",
      commands: "Commands",
      tools: "Agent tools",
      agentExtension: "Agent extension",
      rendererUi: "Chat UI extension",
      composerTransform: "Composer actions",
      skills: "Skills",
      themes: "Theme",
      mcp: "MCP server",
      services: "Background service",
      bus: "Plugin messages",
    },
    serviceState: {
      starting: "Starting",
      running: "Running",
      stopped: "Stopped",
      failed: "Failed",
    },
    serviceRestarts: "restarted {{count}}x",
    fileAccessTitle: "Files",
    fsMode: { read: "Read", write: "Write", delete: "Delete" },
    /** Shown in place of globs when the reach is a directory the user picks. */
    fsRootPicked: "a folder you choose",
    fsOwnFiles: "files it created",
    fsAsksEachTime: "asks you each time",
    legacyFsDowngraded:
      "This plugin declares file permissions from before scopes existed, so its reach has been reduced. Update it to restore full function.",
    permissions: {
      "ui.panel": "Show a plugin panel",
      "ui.microphone": "Use the microphone",
      "clipboard.read": "Read the clipboard and its history",
      "clipboard.write": "Write to the clipboard",
      notify: "Show in-app and native notifications",
      "fs.read": "Read files",
      "fs.write": "Edit files",
      "fs.delete": "Delete files",
      // Kept for plugins installed before scopes existed; the host reduces what
      // these are worth, and `legacyFsDowngraded` explains it in the row.
      "fs.read.workspace": "Read project files (legacy)",
      "fs.write.workspace": "Edit project files (legacy)",
      "fs.delete.workspace": "Delete project files (legacy)",
      "agent.tool.register": "Add tools for the agent",
      "agent.prompt.inject": "Adjust agent instructions",
      "agent.modelContext": "Contribute text to model requests",
      "agent.complete": "Run a one-shot completion with your models",
      "composer.transform": "Transform text in the Composer",
      "composer.suggest": "Offer a suggestion in the Composer",
      "agent.extension": "Run code inside the agent",
      "renderer.extension": "Draw UI in chat slots",
      "provider.register": "Add providers to the model list",
      "provider.oauth": "Sign in to a provider with OAuth",
      "desktop.control": "Control the desktop",
      "models.list": "List authenticated models",
      "session.read": "Read the current conversation sent to the model",
      "net.fetch": "Use the network",
      "shell.openExternal": "Open external links",
      "ui.theme": "Provide a theme",
      "ui.window.appearance": "Customize window appearance",
      "mcp.server.local": "Run a local MCP server",
      "mcp.server.remote": "Reach a remote MCP server",
      "background.service": "Keep a background service running",
      "audio.capture.background": "Use the microphone in the background",
      "audio.playback.background": "Play audio in the background",
      "speech.adapter.register": "Register a speech adapter",
      "keyboard.globalShortcut": "Register system-wide shortcuts",
      "net.websocket": "Open real-time connections",
      "net.anyHost": "Access any network address",
      "bus.publish": "Send messages to other plugins",
      "bus.subscribe": "Receive messages from other plugins",
      "browser.cdp": "Control the work-panel browser",
      "usage.read": "Read usage statistics",
      "session.autoTitle": "Read first-turn title context and update automatic titles",
      "session.observe": "Observe session turn and message activity",
      "session.read.all": "Read any conversation, including yours",
      "session.update.all": "Rewrite any conversation, including its messages",
      "session.delete.all": "Delete any conversation, including yours",
    },
    permissionHelp: {
      "ui.panel": "Lets the plugin show its own panel inside the app.",
      "ui.microphone":
        "Lets the isolated panel request microphone audio. It does not grant camera access.",
      "clipboard.read":
        "May read whatever is currently on your clipboard and retained clipboard history.",
      "clipboard.write": "May replace whatever is currently on your clipboard.",
      notify: "Can show in-app Toasts and best-effort native notifications.",
      "fs.read":
        "Read-only access, limited to the paths the plugin declares. Credentials and repository internals are never included.",
      "fs.write":
        "Can create or change files, limited to the paths the plugin declares. Anything else asks you first.",
      "fs.delete":
        "Can delete files it declares or wrote itself. Deletions go to the trash, and anything else asks you first.",
      "fs.read.workspace": "Read-only access inside the current project.",
      "fs.write.workspace":
        "Declared before file scopes existed, so it can no longer write anywhere until the plugin is updated.",
      "fs.delete.workspace":
        "Declared before file scopes existed, so it can now only delete files it wrote itself.",
      "agent.tool.register": "Lets the AI call extra tools provided by this plugin.",
      "agent.prompt.inject": "Can change instructions sent to the AI agent.",
      "agent.modelContext": "Can supply additional reference text to the model during a turn. Does not grant transcript access or control over tool approvals.",
      "agent.complete":
        "Can spend your model quota on a one-shot completion. The plugin never receives your API keys.",
      "composer.transform":
        "Lets this plugin transform text you explicitly select in the Composer. It receives the draft and selected model key, but no conversation history or attachments.",
      "composer.suggest":
        "Lets this plugin show one dismissible line in the Composer's placeholder while the draft is empty. The line enters the draft only when you press Tab, can never be sent by the plugin, and disappears as soon as you type.",
      "agent.extension": "Runs ExtensionAPI modules inside the agent process with the same access as the agent's own tools. Enable only code you trust.",
      "renderer.extension":
        "Loads this plugin's renderer module into the app window to draw UI slot components (message action bars, entry extras, tool cards, code-block renderers, composer controls). The module runs in the same document as PI-Desktop. Enable only code you trust.",
      "provider.register":
        "Adds the providers this plugin defines to Settings' provider list. The plugin supplies the endpoint and models; your API key stays in PI-Desktop.",
      "provider.oauth":
        "Lets this plugin run OAuth login and refresh for its declared provider. PI-Desktop encrypts the tokens, but the trusted callback can read them. Host-mediated network access still requires net.fetch and declared domains; plugin entry code is not an OS sandbox, so grant this only to code you trust.",
      "desktop.control":
        "Lets the plugin invoke the reviewed PI-Desktop control catalog. Destructive operations still require confirm=true; the MCP bearer token is never exposed.",
      "models.list": "Can see which models you have signed in for. It does not receive keys.",
      "session.read":
        "Can read the conversation the current tool call is operating on, including tool results.",
      "net.fetch": "Can make outbound network requests.",
      "shell.openExternal": "Can open links in your default browser.",
      "ui.theme": "Adds a theme you can pick in Settings; only styling, no data.",
      "ui.window.appearance": "Matches the native window background and Windows corner radius to this plugin's theme. Styling only, no data.",
      "mcp.server.local": "Starts a program on this computer to serve extra agent tools.",
      "mcp.server.remote":
        "Sends tool calls to a remote MCP endpoint the plugin declared. The endpoint may use unencrypted HTTP.",
      "background.service": "Keeps a worker running while the plugin is enabled.",
      "audio.capture.background": "Captures the microphone while the plugin runs in the background, with no panel open.",
      "audio.playback.background": "Plays audio the plugin streams, even when no panel is open.",
      "speech.adapter.register": "Can add a transcription or speech protocol that uses your existing provider keys. The plugin never sees the key.",
      "keyboard.globalShortcut": "Registers system-wide keyboard shortcuts that trigger this plugin's own commands while PI-Desktop is not focused.",
      "net.websocket": "Opens real-time two-way connections to the hostnames the plugin declared.",
      "net.anyHost": "Can reach any server over HTTP(S) or WebSocket(S), including user-entered self-hosted addresses. Cloud metadata endpoints stay blocked.",
      "bus.publish": "Can send messages on the topics it declared.",
      "bus.subscribe": "Can receive messages on the topics it declared.",
      "browser.cdp":
        "Can navigate the work-panel browser, read the page, run JavaScript, and send allowlisted Chrome DevTools commands. Cookie and storage methods are blocked.",
      "usage.read":
        "Lists completed-turn usage facts (paginated token counters and session titles). No message content is included.",
      "session.observe": "Receives identifiers when a session turn starts or a user submission is saved within the plugin's project scope. Does not receive message contents.",
      "session.autoTitle":
        "Can read only the first prompt and reply for eligible sessions, then replace an automatic title if it has not been manually changed. It cannot read the full transcript.",
      "session.read.all":
        "Can list every session and read its title, project, model, and full message history, including the conversations you created yourself. It cannot change anything.",
      "session.update.all":
        "Can rename any session and append, replace, or remove its messages. It rewrites the stored transcript, so a conversation can change without you sending a message.",
      "session.delete.all":
        "Can move any session to the trash or delete it permanently, together with its transcript files. Rate-limited, but otherwise unrestricted.",
    },
  },
  /**
   * MCP servers and skills the user owns directly, plus the activation scope
   * shared with plugins. Separate namespace from `plugins` because none of these
   * require a plugin.
   */
  extensions: {

    scope: {
      title: "Where it applies",
      sheetHint: "Choose where it is active.",
      ariaLabel: "Where {{name}} applies",
      off: "Off",
      projects: "Projects",
      global: "Everywhere",
      offHint: "Turned off; nothing is loaded.",
      projectsHint: "Only in the projects you pick.",
      globalHint: "In every project, and in chats with no project.",
      pickProjects: "Pick projects",
      projectCount: "{{count}} projects",
      projectCount_one: "1 project",
      projectCount_other: "{{count}} projects",
      pickerTitle: "Projects for {{name}}",
      searchProjects: "Search projects",
      noProjects: "No projects yet",
      noProjectsWarning: "Pick at least one project, or it stays inactive.",
      currentProject: "open now",
      subdirectoryNote: "Subfolders of a selected project count too.",
    },
    mcp: {
      addTitle: "Add an MCP server",
      editTitle: "Edit MCP server",
      sheetSubtitle: "Run a local command or call an HTTP endpoint.",
      searchPlaceholder: "Search servers",
      remove: "Remove",
      rowActions: "Actions for {{name}}",
      test: "Test connection",
      testing: "Connecting…",
      testAfterSave: "Save first, then test the connection.",
      testReady: "Connected · {{count}} tools",
      testReady_one: "Connected · 1 tool",
      testReady_other: "Connected · {{count}} tools",
      testConnecting: "Connecting…",
      testFailed: "Couldn't connect",
      authorize: "Authorize",
      reauthorize: "Re-authorize",
      authorizing: "Authorizing…",
      authRequired: "Authorization required",
      authReady: "Authorized · {{count}} tools",
      authReady_one: "Authorized · 1 tool",
      authReady_other: "Authorized · {{count}} tools",
      authFailed: "Authorization failed",
      authDcrUnavailable:
        "This MCP server does not support Dynamic Client Registration. Ask the server operator for a client ID, or use a server that supports DCR.",
      oauthBadge: "OAuth",
      transport: "How it connects",
      transportStdio: "Local program",
      transportHttp: "HTTP endpoint",
      toolCount: "{{count}} tools",
      toolCount_one: "1 tool",
      toolCount_other: "{{count}} tools",
      state: {
        idle: "Not connected yet",
        connecting: "Connecting…",
        ready: "Connected",
        failed: "Failed",
      },
      label: "Name",
      labelPlaceholder: "Context7",
      id: "Identifier",
      idHint: "Prefixes its tool names; can't change later.",
      command: "Command",
      commandHint: "An executable on your PATH, or an absolute path.",
      commandHintNpx: "Uses Node.js from PATH, fnm, nvm, or Volta. Official Node installs work the same way.",
      commandHintUvx: "Uses uv from PATH or the default uv install location.",
      launcherCustom: "Custom",
      commandPath: "Executable",
      commandPlaceholder: "npx or an absolute path",
      args: "Arguments",
      argsHint: "One line, as printed in the README. Quotes are respected.",
      env: "Environment variables",
      envHint: "Passed only to this server. Values are hidden while you type.",
      addEnv: "Add variable",
      url: "Endpoint URL",
      urlHint: "Use an http or https URL. HTTP is unencrypted, so use it only on a trusted network.",
      insecureHttpWarning:
        "This HTTP connection is not encrypted. Credentials and tool calls may be intercepted.",
      headers: "Headers",
      headersHint: "Sent with every request to this endpoint.",
      addHeader: "Add header",
      valuePlaceholder: "Value",
      removeRow: "Remove row",
      description: "Description",
      descriptionPlaceholder: "Up-to-date library documentation",
      thisServer: "this server",
      errorId: "An identifier is required.",
      errorIdShape: "Use letters, digits, - and _, starting with a letter.",
      errorCommand: "A command is required.",
      errorCommandDots: "The command can't contain '..'.",
      errorUrl: "A URL is required.",
      errorUrlShape: "That isn't a valid URL.",
      errorUrlScheme: "Use an http or https URL.",
      timeout: "Connection timeout",
      timeoutHint: "Timeout in seconds for connecting and discovering tools (default: 10s, max: 600s).",
      timeoutPlaceholder: "10",
      errorTimeoutRange: "Timeout must be between 1 and 600 seconds.",
    },
    skills: {
      add: "New skill",
      addTitle: "New skill",
      editTitle: "Edit skill",
      sheetSubtitle: "The agent reads the description first, and opens the document only when it looks relevant.",
      sheetNote: "Saved as a markdown file you can edit outside the app.",
      searchPlaceholder: "Search skills",
      edit: "Edit",
      remove: "Delete",
      reveal: "Show in folder",
      rowActions: "Actions for {{name}}",
      name: "Name",
      nameHint: "A short, plain name.",
      namePlaceholder: "Release notes",
      slugHint: "The agent refers to it as {{id}}.",
      description: "When to use it",
      descriptionHint: "The only part the agent sees before opening the skill. Say when it applies, not what it contains.",
      descriptionPlaceholder: "Use when drafting release notes or a changelog entry.",
      body: "Document",
      bodyHint: "Markdown. Keep it to what the agent would otherwise get wrong.",
      bytes: "{{used}} / {{max}} KB",
      errorName: "A name is required.",
      errorSlug: "Add at least one letter or digit to the name.",
      errorDescription: "A description is required — without it the agent never opens the skill.",
      errorBody: "The document is empty.",
      errorTooBig: "The document is over the size limit.",
    },
    subagents: {
      fallbackModels: "Fallback models",
      fallbackModelsHint: "Try in order after model retries fail. Completed tool results are kept; Stop cancels the whole task.",
      fallbackAdd: "Add fallback model",
      fallbackMoveUp: "Move {{model}} up",
      fallbackMoveDown: "Move {{model}} down",
      fallbackRemove: "Remove {{model}}",
      title: "Subagents",
      add: "New subagent",
      addTitle: "New subagent",
      editTitle: "Edit subagent",
      sheetSubtitle: "The agent reads the description to decide when to delegate, then runs the delegate with only the tools you grant.",
      presetLabel: "Start from template",
      presetHint: "Pick a starter and edit from there.",
      presetExplorerName: "Explorer",
      presetExplorerDesc: "Search the codebase and answer where or how questions.",
      presetReviewerName: "Code reviewer",
      presetReviewerDesc: "A second look for correctness, edge cases, and missing tests.",
      presetTestRunnerName: "Test runner",
      presetTestRunnerDesc: "Run a test or build command and report what failed.",
      presetFixerName: "Fixer",
      presetFixerDesc: "Implement a multi-file change from a spec.",
      presetUiDesignerName: "UI designer",
      presetUiDesignerDesc: "Design and implement an interface from a brief, verified in the browser preview.",
      presetBlank: "Start blank",
      presetBlankDesc: "Default tools. Write your own instructions.",
      presetApply: "Apply",
      modelPickHint: "Optional. Only models that are reachable in your Settings show up here.",
      modelPickEmpty: "No configured model is available yet. Add one in Models.",
      modelPickEmptyAction: "Open Models",
      modelSearch: "Filter models",
      modelNoMatches: "No matching models.",
      modelPickGroup: "{{provider}} models",
      sheetNote: "Saved as a markdown file you can edit outside the app.",
      empty: "No subagents of your own yet",
      searchPlaceholder: "Search subagents",
      edit: "Edit",
      remove: "Delete",
      reveal: "Show in folder",
      copy: "Copy as mine",
      rowActions: "Actions for {{name}}",
      handle: "Task({{name}})",
      shadowedByProject: "Project file wins",
      notHere: "Not active here",
      tooBigTag: "Too large",
      thinkingMeta: "thinking: {{level}}",
      providedTitle: "Built-in and project",
      sourceBuiltin: "Built-in",
      sourceProject: "Project",
      name: "Name",
      nameHint: "Lowercase letters, digits and dashes — the agent types it verbatim.",
      namePlaceholder: "doc-reviewer",
      slugHint: "The agent delegates to it as {{id}}.",
      description: "When to delegate to it",
      descriptionHint: "The only part the agent sees before delegating. Say when it applies, not how it works.",
      descriptionPlaceholder: "Use when a change needs a second read for correctness bugs.",
      tools: "Tools it may use",
      toolsInherit: "Inherit parent tools",
      toolsInheritHint:
        "Adds Skill, MCP, and plugin tools the parent can call. Task, mode switches, Ask, ToolSearch, and new_context stay with the parent.",
      toolsHint: "Opt-in inherit, or grant tools here. Mutating tools still need an explicit grant or inherit.",
      mutatingHint: "This delegate can change files on its own.",
      model: "Model",
      modelHint: "Optional. Choose a configured model, or leave empty to use the session's.",
      modelInherit: "Same as the session",
      thinking: "Reasoning",
      thinkingHint: "Optional, and capped by what the model supports.",
      thinkingInherit: "Same as the session",
      thinkingOmit: "Do not send",
      maxTokens: "Output limit",
      maxTokensHint: "Caps one response from the delegate. 1–{{max}}, or leave empty to follow the model.",
      maxTokensDefault: "Model default",
      body: "Instructions",
      bodyHint: "Markdown, used as the delegate's whole system prompt. Write it as instructions to the delegate.",
      bytes: "{{used}} / {{max}} KB",
      thisSubagent: "this subagent",
      errorName: "A name is required.",
      errorSlug: "The name needs at least one letter or digit.",
      errorDescription: "A description is required — without it the agent never delegates.",
      errorTools: "Grant at least one tool, or inherit the parent set.",
      errorModel: "Write the model as provider/model, e.g. anthropic/claude-haiku-4-5.",
      errorMaxTokens: "The output limit must be a whole number within the allowed range.",
      errorBody: "The instructions are empty.",
      errorTooBig: "The instructions are over the size limit.",
    },
  },
  status: {
    ready: "Ready",
    degraded: "Limited",
    hostOk: "Connected",
    hostDown: "Disconnected",
    restarting: "Reconnecting…",
    restored: "Connection restored",
    fatal: "Can't reach the local service",
    unsupportedGlibc:
      "This Linux build needs glibc 2.35 or newer (Ubuntu 22.04, Debian 12, Fedora 36+).",
    dbSchemaTooNew:
      "This PI-Desktop is older than your local data (data schema {{found}}, this build supports {{supported}}). Install the newer PI-Desktop that last opened this data, or a later version.",
    archMismatch:
      "This is the {{buildArch}} build running on a {{machineArch}} machine, so it runs through translation and is slower. Install the {{machineArch}} build instead.",
    dismissArchMismatch: "Dismiss",
    archNames: {
      darwin: { x64: "Intel", arm64: "Apple Silicon" },
      win32: { x64: "x64", arm64: "ARM64" },
      linux: { x64: "x64", arm64: "ARM64" },
    },
    openLogs: "Open logs",
  },
  toast: {
    dismiss: "Dismiss notification",
  },
  contextCompaction: {
    completed: "Conversation context compacted",
    retrying: "Context compacted; retrying the model request",
    recovered:
      "Context summary failed; recent context was retained and the task is continuing",
    failed: "Context compaction failed",
    longThreadWarning:
      "Context compacted. Long threads lose earlier detail with each compaction — start a new session for unrelated work.",
  },
  notifications: {
    title: "Notifications",
    open: "Open notifications",
    openUnread: "Open notifications, {{count}} unread",
    all: "All",
    unread: "Unread",
    markAllRead: "Mark all as read",
    clearAll: "Clear all",
    emptyTitle: "No notifications",
    emptyBody: "Finished and failed chats will show up here.",
    emptyUnreadTitle: "You're all caught up",
    emptyUnreadBody: "There are no unread notifications.",
    completedTitle: "{{sessionTitle}} finished",
    completedBody: "The chat finished successfully.",
    failedTitle: "{{sessionTitle}} needs attention",
    failedBody: "The chat didn't finish successfully.",
    failedBodyWithCode: "The chat stopped with error {{code}}.",
    askTitle: "A question needs your answer",
    askBody: "{{question}}",
    askBodyFallback: "The task requires your response to proceed.",
    permissionTitle: "{{sessionTitle}} needs tool approval",
    permissionBody: "Permission required to run {{toolName}}.",
    planApprovalTitle: "{{sessionTitle}} plan awaiting approval",
    planApprovalBody: "A proposed plan is ready for your review.",
    actionFailed: "Couldn't update notifications.",
    justNow: "Just now",
  },
  computerUse: {
    title: "Computer use",
    description:
      "Let the agent read and operate the applications on your computer. It is off until you enable it, and Stop ends a run at any time.",
    enable: "Enable computer use",
    enableDesc:
      "Enabling it lets the agent start operating your computer on its own, without asking which window. It does not ask for a system permission yet.",
    scopeNote:
      "The agent works in one window at a time and may switch windows itself. It can never target PI-Desktop's own windows, a password field, or a credential app, and Stop ends the run.",
    platform: "This platform",
    platformUnsupported: "No backend on this platform",
    platformUnknown: "Checking this platform…",
    requestPermission: "Request Accessibility permission",
    requestingPermission: "Requesting Accessibility…",
    permissionPending: "Enable Accessibility for PI-Desktop in System Settings, then return here to refresh the status.",
    backendPermissionMissing: "PI-Desktop is authorized, but its native-control backend is not. Check the installed app’s signature and backend permissions; computer control remains blocked.",
    permissionRequestFailed: "Could not request Accessibility or open System Settings. Try again. ({{code}})",
    permission: {
      granted: "Accessibility granted",
      denied: "Accessibility denied",
      "not-requested": "Accessibility not requested",
      unsupported: "Accessibility unsupported",
    },
    model: "Computer-use model",
    modelDesc: "The model that reads the window and performs the steps. The conversation model is never used for this.",
    modelMissing: "Pick a model before the agent can operate your computer.",
    chooseModel: "Choose a model",
    capture: "What the model sees",
    captureDesc: "Screenshots of the window being operated may be saved in the conversation.",
    captureA11yOnly: "Accessibility only",
    captureWithPixels: "Accessibility and screenshots",
    stepsLeft: "{{count}} steps left",
    stop: "Stop",
  },
  liveVoice: {
    title: "Live voice",
    prepareCall: "Prepare Live voice",
    details: "Call details",
    callActionFailed: "Couldn't update the call. Try again or end it.",
    workNotConnected: "This call isn't connected to a work session.",
    workOptions: "Connect a work session",
    noWorkTarget: "No session selected. Say list sessions and choose one by name.",
    workStatusTitle: "Selected work session and activity",
    sessionSource: { desktop: "Desktop", "pi-native": "Native Pi", remote: "Remote host" },
    allowWork: "Allow work requests",
    noWorkSession: "Choose or create a local work session.",
    playbackBlocked: "Sound is paused",
    playbackFailed: "Couldn't resume sound. Try again.",
    mediaReleaseUnconfirmed: "Microphone release could not be confirmed. Restart the app before another call.",
    transcript: "Transcript",
    transcriptEmpty: "No transcript yet",
    description: "Talk directly with a configured real-time voice provider. Live voice is off until you enable it.",
    enable: "Enable Live voice",
    enableDetail: "Microphone audio goes to the selected provider. Calls start muted with the current Composer session as the default work target; you can switch sessions by voice. Existing permissions and approval UI remain in effect.",
    providersLoadFailed: "Couldn't load provider accounts. Try again; your saved bindings have not changed.",
    noCompatibleProviders: "No compatible account is configured. Add or sign in to a provider in Model configuration.",
    authRequired: "Sign in again or update the selected provider's credentials in Model configuration.",
    accessDenied: "This account cannot access Live voice. Check the provider's real-time voice availability and your account permissions.",
    protocolUnsupported: "The selected provider does not support this Live voice model or protocol.",
    bindingStatus: "Provider status",
    ready: "Ready",
    provider: "Provider account",
    chooseProvider: "Choose a provider account",
    providerUnavailable: "Selected provider is unavailable",
    providerDisabled: "disabled",
    credentialsMissing: "credentials missing",
    model: "Model ID",
    voice: "Voice",
    profile: "Protocol profile",
    profiles: { "realtime-ga": "OpenAI Realtime GA", "realtime-compat-v1": "Realtime compat v1" },
    useForNextCall: "Use for the next call",
    bindingLocked: "Call in progress",
    bindingLockedDetail: "End the call to apply changes to this provider binding.",
    saveFailed: "Couldn't save Live voice settings.",
    adapters: {
      "codex-live": { title: "Codex account", description: "Uses the selected Codex account and its existing sign-in." },
      "gemini-live": { title: "Gemini Live", description: "Uses a Google Generative AI provider with an API key." },
      "openai-realtime": { title: "OpenAI Realtime compatible", description: "Uses an API-key provider with an explicit Realtime protocol profile." },
    },
    readiness: {
      disabled: "Provider disabled",
      "missing-provider": "Provider unavailable",
      "missing-credentials": "Credentials missing",
      "wrong-auth-kind": "Unsupported authentication",
      "unsupported-adapter": "Unsupported adapter",
      "invalid-settings": "Invalid settings",
    },
    openPanel: "Open Live voice controls",
    openWorkSetup: "Choose a session for a Live work call",
    connectWorkSession: "Connect to {{label}}",
    untitledWorkSession: "Untitled session",
    boundWorkSession: "Bound to work session: {{label}}",
    workSessionNoContext: "Recent chat history is not shared with this call.",
    selectWorkSession: "Work session for the next call",
    shareContext: "Share limited recent conversation context",
    contextShared: "Limited recent conversation context was shared for this call.",
    contextNotShared: "Recent conversation history was not shared for this call.",
    createWorkSession: "Create a new work session",
    viewWorkSession: "View work session",
    decisionTitle: "Waiting for your decision",
    decisionAsk: "The work session asked: {{question}}",
    decisionMoreQuestions: "and {{count}} more",
    decisionPermission: "{{toolName}} is waiting for your permission",
    decisionPlan: "A plan is waiting for approval: {{title}}",
    decisionWaiting: "The work session is waiting for your answer or approval in the desktop.",
    decisionHint: "Live voice cannot answer or approve this; the session's own card does.",
    decisionOpen: "Open the session to handle it",
    viewingDifferentSession: "Currently viewing: {{label}}",
    unknownSession: "another session",
    sessionOpenFailed: "Couldn't open the bound work session.",
    sessionCreateFailed: "Couldn't create a work session.",
    openSelectedSession: "Open selected session",
    createInProject: "Create a session in {{label}}",
    duplicateSessionLabel: "choose one",
    unknownProject: "this project",
    feedbackStatus: {
      pending: "Voice update is waiting for a quiet moment",
      sent: "Voice update sent",
      "context-only": "Voice update was added to context without a spoken announcement",
      undelivered: "Voice update could not be sent; see the Live panel",
    },
    stopWork: "Stop this task",
    cancelQueued: "Cancel queued work",
    stopRequested: "Task stop requested.",
    staleStop: "This task already changed; no other task was stopped.",
    queueCanceled: "Queued work was canceled.",
    queueCancelStale: "This queue item was already delivered or could not be canceled.",
    workActionFailed: "Couldn't update this work item.",
    workStatus: {
      received: "Received; confirming request",
      reviewing: "Confirming request",
      dispatching: "Sending to the work session",
      accepted: "Accepted",
      rejected: "Not accepted",
      unknown: "Acceptance not confirmed",
      withdrawn: "Request withdrawn",
      "not-started": "No work started",
      queued: "Queued",
      running: "In progress",
      "waiting-permission": "Waiting for permission in the desktop",
      "waiting-input": "Waiting for your input in the desktop",
      completed: "Completed",
      failed: "Failed",
      interrupted: "Interrupted",
      canceled: "Canceled",
    },
    workFailure: {
      "classifier-invalid": "Request could not be confirmed",
      "classifier-timeout": "Request check timed out",
      "caller-withdrawn": "Request withdrawn before Host admission",
      "receipt-undelivered": "Request receipt was not delivered",
      "scope-changed": "Workspace changed before admission",
      "host-rejected": "Host rejected the request",
      "dispatch-unknown": "Host acceptance is still unknown",
    },
    resultStatus: {
      pending: "Task ended; syncing its result",
      unavailable: "Final result unavailable",
    },
    start: "Start Live voice",
    end: "End call",
    mute: "Mute microphone",
    unmute: "Unmute microphone",
    resumePlayback: "Resume sound",
    errorGeneric: "Live voice stopped. Check the provider and try again.",
    microphoneDenied: "Allow microphone access in your browser and system settings, then try again.",
    microphoneUnavailable: "No usable microphone was found. Check the selected device and its connection.",
    microphoneBusy: "The microphone is in use by another recording. Stop it before starting Live voice.",
    userSpeaking: "Listening",
    assistantSpeaking: "Speaking",
    muted: "Microphone muted",
    noProvider: "Choose a supported provider in Settings → Voice.",
    enableInSettings: "Enable Live voice in Settings → Voice.",
    phase: {
      idle: "Off",
      preparing: "Preparing",
      "acquiring-mic": "Waiting for microphone",
      negotiating: "Negotiating",
      connecting: "Connecting…",
      connected: "Connected",
      reconnecting: "Reconnecting",
      closing: "Ending…",
      ended: "Ended",
      failed: "Stopped",
    },
  },
  errors: {
    COMPOSER_MCP_UNAVAILABLE: "The selected MCP server is disconnected or unavailable in this project. Reconnect it and select it again.",
    COMPOSER_MCP_REQUEST_REQUIRED: "Add task text or an attachment after selecting an MCP server or tool.",
    HOST_UNAVAILABLE: "The local service is unavailable",
    MODEL_NOT_CONFIGURED: "This model isn't set up, or the AI provider doesn't offer it.",
    TOOL_DENIED: "Permission was denied for this action",
    PROVIDER_SECRET_MISSING: "Add an API key for this AI provider before using it.",
    PROTOCOL_MISMATCH: "App components are out of sync. Reinstall or rebuild the app.",
    PROVIDER_UNAUTHORIZED: "The API key was rejected. Check it in Settings.",
    PROVIDER_RATE_LIMITED: "The AI provider is rate-limiting requests. Wait a moment and try again.",
    PROVIDER_ERROR: "The AI provider returned an error.",
    NETWORK_ERROR: "Can't reach the AI provider. Check your network or base URL.",
    providerCertificate: "The AI service certificate could not be verified. Check the certificate, system clock, and trusted roots used by your security software or proxy. Restart the app after updating trust settings.",
    NETWORK_POLICY_BLOCKED: "The app's address check blocked this request. Behind a proxy or VPN, check Settings → System → Network.",
    TIMEOUT: "The request to the AI provider timed out.",
    STREAM_FAILED: "The reply was interrupted.",
    TOOL_CALL_NOT_EXECUTED: "The model wrote a tool call as text. That call was not executed.",
    EMPTY_MODEL_RESPONSE:
      "The model finished its turn without saying anything, twice in a row. Try again, or rephrase your request.",
    MUTATION_RETRY_BUDGET_EXHAUSTED:
      "The same edit failed three times, so this turn stopped instead of retrying blind. Ask again to continue.",
    CONTEXT_TOO_LARGE: "This chat is still too long after context recovery. Shorten your message or start a new chat.",
    CONTEXT_COMPACTION_FAILED: "Couldn't compact this conversation's model context.",
    SUBAGENT_CONTEXT_OVERFLOW:
      "A subagent's task grew past its model's context limit. Narrow the task, give the subagent a model with a larger context window, or have it read less at once.",
    AGENT_BUSY: "This chat is already working. Wait for it to finish, or stop it first.",
    TURN_ABORTED: "Stopped.",
    AGENT_SIDECAR_CRASHED: "The AI runtime crashed while working on this. The turn was stopped; try again.",
    AGENT_SIDECAR_OOM: "This conversation outgrew the AI runtime's memory. Start a new chat or reduce what the agent is working with, then try again.",
    workspaceActivationFailed: "Unable to activate project workspace",
    sessionNotFound: "Session not found",
    noActiveSession: "No active session",
    sessionTitleEmpty: "Session title must not be empty",
    projectNameLength: "Project name must be between 1 and 80 characters",
    planApprovalUnavailable: "Plan approval is no longer available",
    action: {
      openSettings: "Open settings",
      retry: "Try again",
      continue: "Continue",
      dismiss: "Dismiss",
    },
  },
  rendererCrash: {
    title: "PI-Desktop could not start",
    body: "The interface kept crashing on startup, so automatic retries were stopped. The log folder has the details; if this keeps happening, please share the logs with us.",
    openLogs: "Open log folder",
  },
} as const;

type DeepStringify<T> = {
  [K in keyof T]: T[K] extends string ? string : DeepStringify<T[K]>;
};

export type EnglishCatalog = DeepStringify<typeof en>;
export default en;