Skip to content

Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, and a self-maintaining Wiki.

469 KB
Raw Blame
export default {
  modelCatalog: {
    "title": "Model catalog",
    "description": "The model catalog defines which models are offered when adding a model, along with defaults such as context window and reasoning support. Changes here apply to all workspaces immediately.",
    "howItWorks": "How settings are resolved",
    "layers": {
      "builtin": "Built-in catalog: the default model list shipped with each release.",
      "deployment": "Deployment file: models.json on the server, which overrides the built-in catalog.",
      "console": "Administrator changes: edits made on this page, which take precedence over both.",
      "explicit": "Values a workspace sets in model settings always win; catalog changes never rewrite saved models.",
    },
    "add": "Add model",
    "more": "More",
    "jsonEditor": "Edit JSON",
    "history": "Version history",
    "import": "Import JSON",
    "export": "Export changes",
    "search": "Search model ID or name",
    "allProviders": "All providers",
    "allTypes": "All types",
    "onlyModified": "Modified only",
    "summary": "{count} models · version {version}",
    "columns": {
      "model": "Model",
      "provider": "Provider",
      "type": "Type",
      "tokens": "Context / output",
      "capabilities": "Capabilities",
      "source": "Source",
    },
    "capability": {
      "reasoning": "Reasoning",
      "image": "Image",
      "audio": "Audio",
      "video": "Video",
    },
    "source": {
      "builtin": "Built-in",
      "deployment": "Deployment",
      "console": "Admin change",
    },
    "rule": "Pattern",
    "ruleTip": "Matches a family of models by name and supplies defaults. Patterns are not offered in the model picker.",
    "hidden": "Hidden",
    "edit": "Edit",
    "view": "View",
    "empty": "No matching models",
    "editDescription": "{provider} · {type}",
    "ruleNotice": "This pattern supplies defaults to models whose names match it. To change it, use More → Edit JSON.",
    "fieldsSection": "Defaults",
    "nameDesc": "Name shown in the model picker.",
    "dimension": "Vector dimension",
    "dimensionDesc": "Prefilled when this embedding model is added; must match what the model actually returns.",
    "inputDesc": "Input types the model accepts. Models with image input can be used as vision models.",
    "thinkingLevels": "Thinking levels",
    "thinkingLevelsDesc": "Reasoning intensities offered in chat. Without Off, the model always thinks.",
    "levelsNeedReasoning": "Turn on Reasoning to set levels.",
    "levelsUnsupported": "This provider's API does not support graded thinking.",
    "textOnly": "Text only",
    "noLevels": "None",
    "sourceLink": "Provider docs",
    "customHint": "An administrator added this model on this page; all of its values come from here.",
    "fieldsHint": "Values a workspace sets in model settings still take precedence. Clear a field to restore its default.",
    "context": "Context window",
    "contextDesc": "Maximum tokens the model can process at once.",
    "output": "Max output",
    "outputDesc": "Maximum tokens generated in one response.",
    "reasoning": "Reasoning",
    "reasoningDesc": "Whether the model can output its reasoning.",
    "hide": "Hide from picker",
    "hideDesc": "Hidden models are no longer offered when adding a model. Existing models are unaffected.",
    "inputModes": "Input modalities",
    "inherited": "Default: {value}",
    "notSet": "Not set",
    "optional": "Optional",
    "yes": "Yes",
    "no": "No",
    "modified": "Modified",
    "layersSection": "Values by layer",
    "layerField": "Setting",
    "layerBuiltin": "Built-in",
    "layerDeployment": "Deployment",
    "layerEffective": "Effective",
    "save": "Save and apply",
    "restore": "Restore defaults",
    "restoreConfirm": "Remove all administrator changes for this model and apply immediately?",
    "restored": "Restored. Other instances sync within about 5 seconds.",
    "remove": "Delete model",
    "removeConfirm": "Delete this administrator-added model from the catalog and apply immediately?",
    "removed": "Deleted. Other instances sync within about 5 seconds.",
    "published": "Applied. Other instances sync within about 5 seconds.",
    "conflict": "Another administrator updated the catalog. The page has been refreshed; please try again.",
    "loadFailed": "Failed to load the model catalog",
    "deploymentError": "Failed to load the deployment models.json; only the built-in catalog is in use: {error}",
    "syncError": "Failed to sync the latest version; this page may not show the configuration in effect: {error}",
    "addDescription": "Add a model the catalog does not list yet. It can then be selected directly in model settings.",
    "modelId": "Model ID",
    "modelIdPlaceholder": "The model name used by the provider API, e.g. gpt-5-mini",
    "displayName": "Display name",
    "required": "Select a provider and enter a model ID",
    "exists": "This model is already in the catalog; edit it instead",
    "jsonDescription": "Edit all administrator changes as models.json. Useful for bulk changes or migration.",
    "jsonHint": "Include only the fields you want to change; remove a field to restore its default. Manage credentials, headers and environment references in model settings or deployment files. Icons must be inline SVG. Maximum 1 MiB.",
    "jsonClear": "Clear all changes",
    "jsonCheck": "Check changes",
    "jsonPublish": "Publish {count} changes",
    "jsonUnchanged": "Matches the configuration in effect; nothing to publish.",
    "changesTitle": "Changes to apply",
    "change": {
      "added": "Added",
      "removed": "Removed",
      "updated": "Changed",
      "provider": "Provider",
    },
    "publishHint": "Takes effect on this instance immediately; other instances sync within about 5 seconds.",
    "invalid": "Enter a models.json document containing a providers object.",
    "tooLarge": "The file must not exceed 1 MiB.",
    "historyDescription": "The last 20 versions are kept. Restoring a version applies it immediately.",
    "historyVersion": "Version {version}",
    "historyCurrent": "Current",
    "historyRestore": "Restore",
    "historyRestoreConfirm": "Restore version {version} and apply it to all workspaces immediately?",
    "historyEmpty": "No earlier versions",
    "historyModels": "{count} models changed",
    "historyNoOverrides": "No administrator changes",
  },
  automation: {
    conversationNotice: "This conversation is run by an automation. Manual messages are unavailable; handle pending requests above.",
    title: 'Automations',
    description: 'Have the WeKnora assistant run tasks on a schedule as you. You are notified of results and pending approvals.',
    add: 'New automation',
    addHint: 'Or ask the WeKnora assistant to set one up',
    paused: 'Paused',
    scheduleEnded: 'Ended',
    scheduleEndedHint: 'This one-time schedule has ended. Run it now, or edit the run time before resuming.',
    nextRunAt: 'Next {time}',
    runConfirm: 'Run "{name}" now? This starts an extra run without changing its schedule.',
    deleteBody: 'Stops any run in progress and deletes the runs, conversations and standing approvals of "{name}". This cannot be undone.',
    fields: {
      name: 'Name',
      instruction: 'Task',
      schedule: 'Schedule',
      timezone: 'Timezone',
      accessLevel: 'Access',
      sessionMode: 'Conversation',
      carryLastResult: 'Include the last successful result',
      overlapPolicy: 'If the last run is still going',
      misfirePolicy: 'Missed runs',
      approvalTimeout: 'Approval wait',
      maxDuration: 'Max run time',
      notifyOnSuccess: 'Notify on success',
      nextRun: 'Next run',
      enabled: 'Enabled',
    },
    editor: {
      model: "Run model",
      modelHelp: 'Use the assistant’s default model or choose one for this task. Delegated agents use their own models. Changes apply to future runs.',
      modelDefault: 'Use assistant default',
      createTitle: 'New automation',
      editTitle: 'Edit automation',
      namePlaceholder: 'e.g. Daily knowledge base digest',
      instructionPlaceholder: 'Say what to do, which sources to use and how to present the result',
      variablesHint: 'Variables:',
      unattendedHint: 'Nobody is watching a run, so the assistant cannot ask you questions. Actions that need approval pause it and notify you.',
      nameDesc: 'Shown in the list and in notifications so you can tell it apart',
      frequency: 'Repeats',
      weekdays: 'Days',
      dayOfMonthDesc: 'In months without this day, it runs on the last day',
      runAt: 'Run at',
      cron: 'Cron expression',
      timeOfDay: 'Time',
      timezoneDesc: 'Runs by the clock in this time zone, daylight saving included',
      previewEmpty: 'Once the time is set, the next few runs show up here',
      carryDesc: 'Starts each new conversation with the last successful result, for incremental summaries',
      misfireDesc: 'What to do with runs missed while the service was down',
      maxDurationDesc: 'A run still going after this long is stopped',
      navGroups: {
        task: 'Task',
        run: 'Running',
      },
      sections: {
        basic: {
          title: 'Basics',
          desc: 'The WeKnora assistant runs each task. To delegate work, name the agents and their assignments in the task.',
        },
        schedule: {
          title: 'Schedule',
          desc: 'When the task runs. Runs are at least 5 minutes apart.',
        },
        execution: {
          title: 'Execution',
          desc: 'What a run may change, which conversation it uses, and what happens on overlap or missed runs.',
        },
        notify: {
          title: 'Approvals and notifications',
          desc: 'Results and actions waiting for approval appear in the notifications at the top right.',
        },
      },
      sessionModeDesc: {
        per_run: 'Each run starts a new conversation',
        persistent: 'All runs share one conversation, so the assistant sees earlier ones',
      },
      errors: {
        name: 'Enter a name',
        instruction: 'Describe the task to run',
        schedule: 'Set a valid schedule',
      },
      approvalTimeoutHelp: 'A run still waiting after this fails',
      notifyHint: 'Failures, pending approvals and automatic pauses always notify you',
      access: {
        read_only: 'Only reads; changes nothing.',
        confirm: 'Each change pauses the run for your approval. Recurring ones can be allowed for good in the details.',
        auto_write: 'Reversible changes run directly; deletions and similar still pause for approval.',
      },
    },
    schedule: {
      kinds: {
        daily: 'Daily',
        weekdays: 'Weekdays',
        weekly: 'Weekly',
        monthly: 'Monthly',
        hourly: 'Hourly',
        once: 'Once',
        custom: 'Custom cron',
      },
      atMinute: 'Minute past the hour',
      dayOfMonth: 'Day of month',
      pickTime: 'Pick a time',
      customHint: 'Five fields: minute hour day month weekday. 0 9 * * 1-5 is 9:00 on weekdays. At least 5 minutes apart.',
      nextRuns: 'Next:',
      invalid: 'Invalid schedule',
      describe: {
        hourly: 'Every hour at :{minute}',
        daily: 'Every day at {time}',
        weekdays: 'Weekdays at {time}',
        weekly: 'Every {days} at {time}',
        monthly: 'Monthly on day {day} at {time}',
        once: 'Once at {at}',
        custom: 'cron: {expr}',
        everyMinutes: 'Every {n} minutes',
        everyHours: 'Every {n} hours',
      },
    },
    sessionMode: {
      per_run: 'New conversation each run',
      persistent: 'One ongoing conversation',
    },
    overlap: {
      skip: 'Skip this run',
      queue: 'Queue it until the last one ends',
    },
    misfire: {
      skip: 'Skip them',
      run_once: 'Run once on recovery',
    },
    units: {
      hours: 'hours',
      minutes: 'minutes',
    },
    status: {
      queued: 'Queued',
      running: 'Running',
      awaiting_approval: 'Awaiting approval',
      succeeded: 'Succeeded',
      failed: 'Failed',
      cancelled: 'Stopped',
      skipped: 'Skipped',
      needs_attention: 'Needs attention',
      paused: 'Paused',
    },
    runTrigger: {
      schedule: 'Scheduled',
      manual: 'Manual',
      misfire: 'Catch-up',
    },
    actions: {
      runNow: 'Run now',
      pause: 'Pause',
      resume: 'Resume',
      review: 'Review',
      openConversation: 'Open conversation',
      stop: 'Stop',
    },
    detail: {
      pausedBecause: 'Paused: {reason}',
      runs: 'Runs',
      noRuns: 'No runs yet',
      stopping: 'Stopping',
      grants: 'Standing approvals',
      task: 'Task',
      durationSeconds: '{n}s',
      durationMinutes: '{n} min',
    },
    grants: {
      intro: 'Later runs make these calls without asking. Each covers specific resources and lapses when the agent or your workspace role changes. Tools that always need approval never appear here.',
      active: 'Allowed',
      none: 'Nothing allowed yet',
      lapsed: 'The setup changed, so this no longer applies',
      revoke: 'Revoke',
      candidates: 'Asked for approval in past runs',
      noCandidates: 'Nothing to allow yet',
      allow: 'Always allow',
      allowTitle: 'Allow in future runs',
      allowBody: 'Later runs will do "{label}" without pausing for approval.',
      allowDestructiveBody: '"{label}" deletes or overwrites data and cannot be undone. Once allowed, later runs do it without asking.',
    },
    risk: {
      write: 'Change',
      destructive: 'Delete/overwrite',
    },
    messages: {
      queued: 'Run started',
      notFound: 'The automation no longer exists',
    },
  },
  notifications: {
    pending: "Needs attention",
    history: "Notification history",
    clearRead: "Clear read",
    clearReadConfirm: "Clear read notifications? Run records, conversations, and pending actions will be kept.",
    handle: "Open",
    review: "Review",
    unreadCount: "{count} unread",
    unread: "Unread",
    newItems: "New notifications — refresh",
    loadError: "Could not load notifications",
    awaitingApproval: "Waiting for your approval",
    awaitingAuthorization: "Waiting for authorization",
    awaitingReply: "Waiting for your reply",

    title: 'Notifications',
    markAllRead: 'Mark all read',
    pendingInvitations: '{count} pending invitations',
    empty: 'No notifications',
    kinds: {
      automation_succeeded: 'Automation finished',
      automation_failed: 'Automation failed',
      automation_awaiting_approval: 'Automation needs approval',
      automation_paused: 'Automation paused',
    },
  },
  toolbox: {
    "title": "Toolbox",
    "description": "Manage skills, external tools, and browser connections for your agents.",
    "unavailable": "No tools are available in the current workspace."
  },
  localBrowser: {
    pipOpen: "Pop out preview",
    pipReturn: "Return to conversation",
    pipFailed: "Could not open the floating window. Please try again.",

    captureScreenshot: "Capture screenshot",
    navigationIncomplete: "Navigation did not reach the requested loading phase. Check the current page.",
    noEntries: "No entries returned.",
    stopping: "Ending task…",
    elapsedSeconds: "{seconds} s",

    searchInstructionsTitle: "Browser search instructions",
    searchInstructionsDescription: "Set your preferred search engine and search URL.",
    searchInstructionsHint: "Applies to your next request. Leave empty to use the default.",
    searchInstructionsReset: "Restore default",
    searchInstructionsSaved: "Saved",

    "sourceHint": "Use the local browser to look up and interact with pages this turn, alongside web search, knowledge bases and other tools.",
    "pressKey": "Press key",
    "hoverPage": "Hover over element",
    "scrollPage": "Scroll page",
    "focusElement": "Focus element",
    "blurElement": "Remove focus",
    "selectOption": "Select option",
    "closeTab": "Close tab",
    "runScript": "Run page script",
    "readConsole": "Read console",
    "readNetwork": "Inspect network requests",
    "resizeWindow": "Resize window",
    "emulateDevice": "Emulate device",
    "actionPending": "Operating browser…",
    "actionRecorded": "Browser action recorded",
    "untitledTab": "Untitled tab",
    "contentTruncated": "Only part of the page content is shown.",
    "controlScope": "Controls this conversation’s browser only",
    "pauseHint": "Interrupt the browser action and keep the pages for resuming. The conversation continues.",
    "stopHint": "Close tabs created by this task and return borrowed tabs. Keep the browser open and paired.",
    "openPage": "Open page",
    "switchPage": "Switch page",
    "readPage": "Read page",
    "listTabs": "List tabs",
    "clickPage": "Click element",
    "fillPage": "Fill content",
    "waitPage": "Wait for page",
    "openTab": "Create task tab",
    "switchTab": "Switch task tab",
    "authorizeTab": "Request tab permission",
    "returnTab": "Return tab",
    "needHelp": "Needs your input",
    "browserAction": "Browser action",
    "actionFailed": "Incomplete",
    "actionCompleted": "Action completed",
    "commandBusy": "The previous browser command is still running. Wait before continuing.",
    "invalidArguments": "Browser tool arguments are invalid or incomplete. The agent must correct them before proceeding.",
    "commandInterrupted": "The browser action was interrupted. Check the page before resuming from the preview.",
    "actionFailedHint": "The browser action did not finish. Check the page and try again.",
    "previewStale": "Preview has not updated",
    "previewIdle": "Last preview retained",
    "previewLive": "Preview syncing",
    "previewLoading": "Fetching preview",
    "borrowHint": "Switch to the page being borrowed and choose Allow or Deny in the BrowserSkill confirmation. Approval continues automatically. Continue operation only resumes a paused task; it does not approve borrowing.",
    "helpHint": "Open the browser from the preview, complete the requested step, then confirm completion in the browser help overlay.",

    "settingsTitle": "Browser connection",
    "settingsDescription": "Pair BrowserSkill with your local Chrome or Edge to operate real web pages from conversations.",
    "openSettings": "Open browser settings",
    "settingsHint": "Connect BrowserSkill in Toolbox to use your local browser here.",
    "unavailable": "Local browsing is not enabled on this server. Contact your administrator.",

    "source": "Browser source",
    "sandbox": "Sandbox browser",
    "local": "Local browser",
    "paused": "Paused",
    "connected": "Connected",
    "disconnected": "Disconnected",
    "resume": "Resume browser",
    "pause": "Pause browser",
    "start": "Start task",
    "stop": "End browser task",
    "resumeShort": "Resume",
    "pauseShort": "Pause",
    "stopShort": "End",
    "pairHint": "Open Connection settings → Remote connection in the extension, paste the pairing link, and confirm the server. The link is valid for 5 minutes and can be used once.",
    "copyPairing": "Copy pairing link",
    "copied": "Copied",
    "windowHint": "Tasks run in a separate browser Agent Window. Borrowing existing tabs requires your permission.",
    "preview": "Local browser task preview",
    "waiting": "Waiting for a task page",
    "startHint": "A browser request creates a separate Agent Window.",
    "revoke": "Revoke device access",
    "revokeConfirm": "You will need to pair again before using the local browser.",
    "failed": "Operation failed. Please retry.",
    "productDescription": "An open-source Chrome and Edge extension that lets agents open pages, read content, and take actions in your browser.",
    "offline": "Offline",
    "notPaired": "Not paired",
    "lastSeen": "Last connected",
    "readyHint": "Ready. Return to the conversation and describe your browser task.",
    "capabilitiesTitle": "Your agent can",
    "sidebarStatus": "Show connection status in the sidebar",
    "reconnectHint": "Authorization is saved. Keep your browser and BrowserSkill open to reconnect automatically.",
    "replaceDevice": "Change browser",
    "installExtension": "Install BrowserSkill",
    "storeInstall": "Chrome Web Store",
    "edgeStoreInstall": "Edge Add-ons",
    "extensionMinVersion": "Requires BrowserSkill v{version} or later. Works with Chrome and Edge.",
    "extensionOutdated": "Extension v{current} is out of date. Update to v{version} or later.",
    "manualInstall": "Install manually (alternative)",
    "storeInstallHint": "Install BrowserSkill from the Chrome Web Store or Edge Add-ons, then return here to pair.",
    "installHint": "If the store is unavailable or its version is incompatible, download the matching package and install it manually.",
    "downloadExtension": "Download matching package",
    "officialExtension": "Official extension (Chrome Web Store)",
    "installGuide": "How do I install the downloaded package?",
    "pairGuide": "How do I use the pairing link?",
    "pairBrowser": "Connect this browser",
    "packageUnavailable": "Ask your administrator for the matching extension package; a download is not configured yet.",
    "manualCopy": "Select and copy the link below. It expires in 5 minutes and can be used once.",
    "pairingReady": "Link copied. Paste it in the extension within 5 minutes. Single use only.",
    "copyAgain": "Copy again",
    "usageTitle": "How to use",
    "usageStep1Title": "Install the extension",
    "usageStep1Text": "Unzip the downloaded ZIP, enter chrome://extensions (edge://extensions in Edge) in the address bar, enable Developer mode, choose Load unpacked, and select the extracted extension folder.",
    "usageStep2Title": "Pair this browser",
    "usageStep2Text": "Copy the pairing link into Connection settings → Remote connection in the extension and confirm the server. Pair once for all conversations in this space.",
    "usageStep3Title": "Describe the task in chat",
    "usageStep3Text": "Turn on Local browser in the conversation input bar before sending a web task. Pairing does not enable this option automatically. Tasks run in a separate Agent Window.",
    "usageStep4Title": "Preview, locate, and resume",
    "usageStep4Text": "A small preview appears in the conversation. Click it to find the task tab. Interrupted tasks stay paused after reconnect — resume them from the preview. Existing tabs require your permission.",
    "running": "Running",
    "locateWindow": "Show browser",
    "reconnectShort": "Waiting to reconnect",
},
  artifactLibrary: {
    title: 'Artifacts',
    subtitle: 'Files your agents generated across all of your conversations',
    typeFilter: 'Filter by type',
    searchPlaceholder: 'Search filenames',
    categories: {
      all: 'All',
      document: 'Documents',
      spreadsheet: 'Spreadsheets',
      presentation: 'Presentations',
      image: 'Images',
      web: 'Web pages',
      data: 'Data'
    },
    groups: {
      today: 'Today',
      yesterday: 'Yesterday',
      last7Days: 'Last 7 days',
      last30Days: 'Last 30 days',
      earlier: 'Earlier'
    },
    total: '{count} files',
    versions: '{count} versions',
    preview: 'Preview',
    delete: 'Delete',
    deleteTitle: 'Delete this file?',
    deleteConfirm: '“{name}” and its stored contents will be permanently deleted. This cannot be undone.',
    deleteConfirmVersions: 'All {count} versions of “{name}” and their stored contents will be permanently deleted. This cannot be undone.',
    deleted: 'File deleted',
    deleteFailed: 'Delete failed, please retry.',
    download: 'Download',
    downloadFailed: 'Download failed. Please try again later.',
    openSession: 'Open conversation',
    untitledSession: 'Untitled conversation',
    loadMore: 'Load more',
    loadFailed: 'Could not load artifacts',
    retry: 'Retry',
    clearFilters: 'Clear filters',
    empty: {
      title: 'No artifacts yet',
      description: 'Ask an agent to produce a report, spreadsheet or slide deck and the files will show up here'
    },
    noMatches: {
      title: 'No matching files',
      description: 'Try a different keyword or file type'
    }
  },
  resourceSort: {
    title: 'Sort',
    updatedTime: 'Updated time',
    updatedTimeDescription: 'Default option.',
    createdTime: 'Created time',
    createdTimeDescription: 'View the newest or earliest created items',
    name: 'Name',
    nameDescription: 'Quickly find an item when you know its name',
    recentlyUpdated: 'Recently updated',
    earliestUpdated: 'Earliest updated',
    recentlyCreated: 'Recently created',
    earliestCreated: 'Earliest created',
    nameAscending: 'A–Z',
    nameDescending: 'Z–A',
  },
  menu: {
    sessionInProgress: 'Conversation in progress',
    sessionUnread: 'New reply',
    knowledgeBase: 'Knowledge Base',
    agents: 'Agents',
    automations: 'Automations',
    artifacts: 'Artifacts',
    organizations: 'Shared Spaces',
    newChat: 'New Chat',
    settings: 'System Settings',
    logout: 'Logout',
    clearMessages: 'Clear Messages',
    clearMessagesSuccess: 'Messages cleared',
    clearMessagesFailed: 'Failed to clear messages, please try again later',
    renameSession: 'Rename',
    renameSessionSuccess: 'Title updated',
    renameSessionFailed: 'Failed to update title, please try again later',
    batchManage: 'Batch Manage',
    newSession: 'New Chat',
    pin: 'Pin',
    unpin: 'Unpin',
    pinFailed: 'Failed to pin, please try again later',
    unpinFailed: 'Failed to unpin, please try again later',
    search: 'Search',
    collapseSidebar: 'Collapse Sidebar',
    expandSidebar: 'Expand Sidebar',
    logoutSuccess: 'Logged out successfully',
    myChats: 'My chats',
    apiChats: 'API sessions',
    noSessions: 'No conversations yet'
  },
  chatHeader: {
    grants: {
      menu: 'Allowed actions',
      description: 'Actions allowed for this conversation without asking again. Revoke one to be asked next time.',
      empty: 'No allowed actions yet',
      revoke: 'Revoke',
      revoked: 'Revoked',
      revokeFailed: 'Failed to revoke',
      loadFailed: 'Failed to load',
    },
    automationTask: 'Automation',
    automationOpen: 'Open automation "{name}"',
    moreActions: 'More conversation actions',
    toggleSandboxPanel: 'Sandbox terminal',
    copySessionId: 'Copy Session ID',
    copyLink: 'Copy Conversation Link',
    copyMarkdown: 'Copy as Markdown',
    openNewWindow: 'Open in New Window',
    deleteSession: 'Delete Conversation',
    renamePlaceholder: 'Enter a conversation title',
    unpinSuccess: 'Conversation unpinned',
    temporaryWorkspace: 'Temporary workspace',
    sessionIdCopied: 'Session ID copied',
    linkCopied: 'Conversation link copied',
    copyFailed: 'Copy failed. Check your browser clipboard permission.',
    markdownCopied: 'Full conversation copied as Markdown',
    markdownCopyFailed: 'Failed to copy Markdown. Please try again.',
    clearConfirmTitle: 'Clear Conversation Messages',
    clearConfirmBody: 'Clear all messages in this conversation? The conversation will remain, but this cannot be undone.',
    deleteConfirmTitle: 'Delete Conversation',
    deleteConfirmBody: 'Delete this conversation? This cannot be undone.',
    deleteSuccess: 'Conversation deleted',
    markdown: {
      sessionId: 'Session ID',
      exportedAt: 'Exported at',
      user: 'User',
      assistant: 'Assistant',
      attachments: 'Attachments',
      references: 'References'
    }
  },
  newUserGuide: {
    stepOf: '{current} / {total}',
    skip: 'Skip',
    prev: 'Back',
    next: 'Next',
    done: 'Done',
    reopen: 'Product tour',
    steps: {
      welcome: {
        title: 'Welcome to WeKnora',
        desc: 'A few quick steps to get you familiar with knowledge bases, chat and agents. Click "Next" to begin.'
      },
      knowledge: {
        title: 'Create your knowledge base',
        desc: 'Everything starts here: upload documents, web pages or FAQs and WeKnora parses and indexes them automatically. Click here to open knowledge bases.'
      },
      chat: {
        title: 'Start an AI chat',
        desc: 'Ask questions grounded in your knowledge base and get accurate answers with cited sources. Click here to start a new chat.'
      },
      agents: {
        title: 'Build dedicated agents',
        desc: 'Combine knowledge bases, prompts and tools into reusable agents that capture your expertise.'
      },
      settings: {
        title: 'Account & settings',
        desc: 'Open this to manage your account, members and system settings. You can reopen this tour from the help button next to your name at the top of this menu.'
      },
      models: {
        title: 'Configure your models',
        desc: 'A key step: add chat, embedding and other models in Model Management so knowledge bases and chat can work. Click "Add model" to get started.'
      },
      done: {
        title: 'You are all set',
        desc: 'You now know the essentials — start building your knowledge assistant! Revisit this tour anytime from the help button next to your name in this menu.'
      }
    }
  },
  contextualGuide: {
    stepOf: '{current} / {total}',
    skip: 'Skip',
    prev: 'Back',
    next: 'Next',
    done: 'Got it',
    interactHint: 'Click the highlighted area to continue',
    kbList: {
      steps: {
        create: {
          title: 'Create your first knowledge base',
          desc: 'Knowledge bases hold documents and FAQs. Click the highlighted "New knowledge base" button below and we will walk you through the form.'
        }
      }
    },
    tenantModels: {
      needChatModelFirst: 'Add a chat model (KnowledgeQA) before creating an agent.',
      steps: {
        intro: {
          title: 'Configure models first',
          desc: 'A document knowledge base needs at least one chat model (summaries and Q&A) and one Embedding model (vector search). Add them in system settings.'
        },
        addModel: {
          title: 'Add models',
          desc: 'Click "Add model" and configure KnowledgeQA (chat) and Embedding types. Lite users can pull local models via Ollama.'
        },
        done: {
          title: 'Then continue',
          desc: 'After saving models, close settings and click "New knowledge base". The wizard will walk you through type, indexing, and model binding.'
        }
      },
      stepsAgent: {
        intro: {
          title: 'Configure a chat model first',
          desc: 'Creating an agent requires at least one KnowledgeQA model. Add it in system settings (Embedding is only required for knowledge bases).'
        },
        addModel: {
          title: 'Add a chat model',
          desc: 'Click "Add model" and configure a KnowledgeQA type.'
        },
        done: {
          title: 'Then create an agent',
          desc: 'After saving, close settings and click "Create agent". The wizard covers mode, knowledge bases, and attachment upload options.'
        }
      }
    },
    kbCreate: {
      steps: {
        type: {
          title: 'Choose a type',
          desc: 'Document bases are for PDFs, Word files, and similar uploads. FAQ bases are for question–answer pairs. The type cannot be changed later.'
        },
        name: {
          title: 'Enter a name',
          desc: 'Pick a clear name such as "Product manual" or "Support FAQ". Description is optional.'
        },
        indexing: {
          title: 'Indexing capabilities',
          desc: 'Vector and keyword search are on by default. You can also enable Wiki or knowledge-graph indexing. Keep at least one search mode enabled.'
        },
        navModels: {
          title: 'Model setup (required)',
          desc: 'Every knowledge base needs a chat model; retrieval also requires an Embedding model. Open "Model configuration" on the left.'
        },
        llm: {
          title: 'Chat / summary model',
          desc: 'Used for summaries and answers. If the list is empty, use the dropdown to open settings and add a model.'
        },
        embedding: {
          title: 'Embedding model',
          desc: 'Turns text into vectors for semantic search. Works with vector/keyword indexing above.'
        },
        parser: {
          title: 'Parser engine (optional)',
          desc: 'How PDFs and Office files are parsed. Defaults work for most cases; adjust if you need OCR or special layouts.'
        },
        chunking: {
          title: 'Chunking (optional)',
          desc: 'How documents are split for retrieval. Default chunk sizes are tuned for RAG and rarely need changes.'
        },
        storage: {
          title: 'Storage (optional)',
          desc: 'Where raw files are stored (local or object storage). The workspace default is usually fine.'
        },
        navMultimodal: {
          title: 'Multimodal / images (optional)',
          desc: 'Enable this if documents contain charts, scans, or image-heavy content that needs vision understanding.'
        },
        multimodalToggle: {
          title: 'Enable multimodal parsing',
          desc: 'When on, image-bearing uploads are processed with a vision-language model for better retrieval.'
        },
        multimodalVllm: {
          title: 'Choose a VLM model',
          desc: 'Multimodal requires a VLM. Add one in system settings if the list is empty.'
        },
        faq: {
          title: 'FAQ indexing',
          desc: 'Choose how Q&A pairs are indexed. You can add FAQ entries after creation.'
        },
        submit: {
          title: 'Create the knowledge base',
          desc: 'Click Got it to finish the guide without creating a knowledge base. When ready, enter a name, confirm the type and models, then click Create.'
        }
      }
    },
    agentList: {
      steps: {
        create: {
          title: 'Create your agent',
          desc: 'Agents combine models, knowledge bases, tools, and prompts into reusable assistants. Click the highlighted "Create agent" button.'
        }
      }
    },
    agentCreate: {
      steps: {
        mode: {
          title: 'Choose run mode',
          desc: '"Quick answer" for straightforward Q&A; "Smart reasoning" uses tools and multi-step thinking for complex tasks.'
        },
        agentType: {
          title: 'Choose an agent type',
          desc: 'Presets fill in the system prompt, recommended tools, and knowledge scope (e.g. Wiki builder, data analysis). Switch by scenario—name and description update accordingly.'
        },
        name: {
          title: 'Name and description',
          desc: 'Pick a recognizable name. Smart-reasoning mode may pre-fill a default you can edit.'
        },
        navModel: {
          title: 'Bind a chat model',
          desc: 'Every agent needs a KnowledgeQA model as its reasoning engine.'
        },
        model: {
          title: 'Select model',
          desc: 'Choose from configured chat models, or add one in system settings first.'
        },
        navKnowledge: {
          title: 'Link knowledge bases',
          desc: 'Control which knowledge the agent can retrieve. Default is all knowledge bases.'
        },
        knowledge: {
          title: 'Knowledge scope',
          desc: '"All" for general assistants; "Selected" for a domain; "None" relies on the model alone or web search.'
        },
        navWebsearch: {
          title: 'Web search (optional)',
          desc: 'Allow the agent to call external search for up-to-date information.'
        },
        navMultimodal: {
          title: 'Attachment upload (optional)',
          desc: 'Lets users send images, documents, and audio in chat; image understanding requires a VLM in system settings.'
        },
        multimodal: {
          title: 'Enable attachment upload',
          desc: 'Configure image and audio upload plus attachment parse rules; select a VLM below when image upload is enabled.'
        },
        navTools: {
          title: 'Tools & MCP (optional)',
          desc: 'In smart-reasoning mode, enable built-in tools and MCP services for search, code, and more.'
        },
        submit: {
          title: 'Save the agent',
          desc: 'Click the highlighted confirm button to finish. You can then select this agent in chat.'
        }
      }
    },
    kbDetail: {
      steps: {
        intro: {
          title: 'This knowledge base is empty',
          desc: 'Add your first item so you can search and chat over it. You can also drag and drop supported file types.'
        },
        upload: {
          title: 'Add documents',
          desc: 'Use this menu to upload files or folders, import a URL, or create content online.'
        },
        done: {
          title: 'Ready after parsing',
          desc: 'Once documents are indexed, mention this knowledge base in chat with {\'@\'} to get answers with citations.'
        }
      }
    },
    chat: {
      steps: {
        kb: {
          title: 'Choose knowledge scope',
          desc: 'Click {\'@\'} to pick one or more knowledge bases or files. Answers use only the selection; otherwise the current agent settings apply.'
        },
        input: {
          title: 'Type your question',
          desc: 'Describe what you want to know, or click a suggested question above to get started quickly.'
        },
        send: {
          title: 'Send to start chatting',
          desc: 'Sending creates a new session. The AI answers using your knowledge base and shows cited passages.'
        },
        done: {
          title: 'You are ready to explore',
          desc: 'Try a question related to your uploaded documents and see grounded answers with references.'
        }
      }
    }
  },
  batchManage: {
    selectAll: 'Select All',
    cancel: 'Cancel',
    delete: 'Delete Conversations',
    deleteConfirmTitle: 'Delete Conversations',
    deleteConfirmBody: 'Are you sure you want to delete the selected {count} conversation(s)? This action cannot be undone.',
    deleteAllConfirmBody: 'Are you sure you want to delete all conversations? This action cannot be undone.',
    deleteSuccess: 'Deleted successfully',
    deleteFailed: 'Delete failed, please try again later'
  },
  listSpaceSidebar: {
    all: 'All',
    workspace: 'Workspace',
    spaces: 'Shared with me',
    favorites: 'Starred',
    recents: 'Recent'
  },
  resourceOrigin: {
    mine: 'Mine',
    mineTooltip: 'Created by you',
    tenant: 'Workspace',
    tenantTooltip: 'Created by another member of this workspace',
    tenantTooltipWithCreator: 'Created by {creator}',
    space: 'Space',
    spaceTooltip: 'Shared via space "{space}"',
    spaceTooltipWithTenant: 'Shared via space "{space}" · from {tenant}',
    shared: 'External',
    sharedTooltip: 'Accessed from an external workspace via a shared space'
  },
  knowledgeBase: {
    tagAddAction: 'Add tags',
    documentCount: '{count} document | {count} documents',
    filters: 'Filters',
    clearFilters: 'Clear filters',

    title: 'Knowledge Base',
    fileContent: 'File Content',
    accessInfo: {
      myRole: 'My role',
      roleOwner: 'Owner',
      permissionOwner: 'Edit, manage settings, delete knowledge base',
      permissionAdmin: 'Edit, manage sharing',
      permissionEditor: 'Edit documents and tags',
      permissionViewer: 'View and search only',
      fromOrg: 'From space',
      sharedAt: 'Shared at',
      lastUpdated: 'Last updated'
    },
    infoCard: {
      tooltip: 'View knowledge base info',
      title: 'Knowledge Base Info',
      basic: 'Basic',
      access: 'Access',
      binding: 'Storage Binding',
      capabilities: 'Capabilities',
      stats: 'Statistics',
      type: 'Type',
      createdAt: 'Created at',
      source: 'Source',
      sharedTo: 'Shared to',
      enabled: 'Enabled',
      vectorStore: 'Vector store',
      fileStorage: 'File storage',
      documentCount: 'Documents',
      faqCount: 'FAQs',
      supportedFileTypes: 'Accepted formats',
      chunking: 'Chunking',
      parentShort: 'parent',
      childShort: 'child'
    },
    name: 'Name',
    description: 'Description',
    settings: 'Settings',
    sort: {
      title: 'Sort',
      updatedTime: 'Updated time',
      updatedTimeDescription: 'Sort by the latest change made to each file.',
      createdTime: 'Upload/created time',
      createdTimeDescription: 'Default. Review the newest additions or the earliest accumulated material.',
      fileName: 'File name',
      fileNameDescription: 'Quickly find a file whose name you already know.',
      recentlyUpdated: 'Recently updated',
      earliestUpdated: 'Earliest updated',
      newestCreated: 'Newest uploaded',
      earliestCreated: 'Earliest uploaded',
      nameAscending: 'A–Z',
      nameDescending: 'Z–A',
    },
    tagUpdateSuccess: 'Tag updated successfully',
    tagEditDialogHeading: 'Edit tags',
    folderTree: {
      totalDocuments: '{count} documents total',
      countHint: '{direct} documents in this folder; {total} including subfolders',
      filteredCount: '{count} matching documents',
      title: 'Folders',
      folderSection: 'Folders',
      documentSection: 'Documents',
      rootRow: 'Root',
      rootRowTip: 'Knowledge base root; documents not in a subfolder live here',
      folderCardCount: '{count} document | {count} documents',
      searchingSubtree: '(including sub-folders)',
      emptyFolder: 'This folder has no documents yet',
      emptyFolderWithSubfolders: 'This folder has no documents of its own, but {count} in sub-folders',
      folderContentsCount: '{documents} documents / {folders} folder | {documents} documents / {folders} folders',
      emptySearch: 'No matching documents',
      collapse: 'Collapse folders',
      expand: 'Expand folders',
      collapseFolder: 'Collapse this folder',
      expandFolder: 'Expand this folder',
      rename: 'Rename',
      renamePlaceholder: 'Folder name',
      renameSuccess: 'Folder renamed',
      renameFailed: 'Could not rename the folder',
      renameInvalid: 'A folder cannot be moved inside itself',
    },
    moveToFolder: {
      action: 'Move to folder',
      newFolder: 'New sub-folder',
      newFolderPlaceholder: 'New folder name',
      newFolderCreate: 'Create',
      newFolderAddRoot: 'New sub-folder under root',
      newFolderAddUnder: 'New sub-folder under “{folder}”',
      newFolderHint: 'Press Enter to create and move',
      newFolderHintRoot: 'Will be created under root',
      newFolderHintUnder: 'Will be created under “{folder}”',
      success: 'Moved {count} documents',
      failed: 'Could not move the documents',
      duplicate: 'That folder already exists',
    },
    tagFilterTitle: 'Filter by tag',
    tagFilterPlaceholder: 'Tags',
    tagFilterMulti: '{count} tags',
    tagManageTitle: 'Manage tags',
    tagManageDescription: 'Create, rename, or delete knowledge base tags',
    tagManageLink: 'Manage tags…',
    tagManageListSection: 'Tags',
    tagManageDocCount: '{count} documents',
    tagManageFaqCount: '{count} FAQ entries',
    tagPickerSelected: 'Selected',
    tagPickerUnselected: 'Not selected',
    tagSelectedCount: '{count} selected',
    tagPickerSearch: "Search or create a tag",
    tagPickerInUse: "This tag is in use. Remove its document associations before deleting it.",
    tagPickerDeleteConfirm: "Delete tag “{name}”?",
    untagged: 'Untagged',
    tagCreateAction: 'Create tag',
    tagSearchPlaceholder: 'Type to filter tags',
    tagNamePlaceholder: 'Enter tag name',
    tagNameRequired: 'Please provide a tag name',
    tagCreateSuccess: 'Tag created',
    tagEditSuccess: 'Tag updated',
    tagDeleteDescDoc: 'Delete tag "{name}"? All documents under this tag will also be deleted.',
    tagDeleteSuccess: 'Tag deleted',
    tagEditAction: 'Rename',
    tagDeleteAction: 'Delete',
    tagEmptyResult: 'No matching tags',
    tagLabel: 'Tag',
    tagPlaceholder: 'Select tags',
    noTags: 'No tags',
    videosFilteredNoVLM: 'Skipped {count} video file(s) (video upload is not supported)',
    unsupportedTypesHint: 'Some document types ({types}) have no available parser engine and cannot be processed',
    goToParserSettings: 'Configure',
    importURL: 'Import from URL',
    addDocument: 'Add Document',
    importURLTitle: 'Import from URL',
    urlRequired: 'Please enter a URL',
    invalidURL: 'Please enter a valid URL',
    urlImportSuccess: 'URL imported successfully!',
    urlImportFailed: 'URL import failed!',
    urlExists: 'This URL already exists',
    urlLabel: 'URL Address',
    urlPlaceholder: 'Enter webpage URL, e.g., https://example.com',
    urlTip: 'Supports importing various webpage contents. The system will automatically extract and parse text content from the webpage',
    typeURL: 'URL',
    typeManual: 'Manual',
    typeFile: 'File',
    channelLabel: 'Source Channel',
    channelWeb: 'Web',
    channelApi: 'API',
    channelBrowserExtension: 'Browser Extension',
    channelWechat: 'WeChat',
    channelWecom: 'WeCom',
    channelFeishu: 'Feishu',
    channelFeishuDrive: 'Feishu Drive',
    channelLarkDrive: 'Lark Drive',
    channelDingtalk: 'DingTalk',
    channelSlack: 'Slack',
    channelIm: 'IM Channel',
    channelNotion: 'Notion',
    channelConfluence: 'Confluence',
    channelYuque: 'Yuque',
    channelGitLab: 'GitLab',
    channelSeafile: 'Seafile',
    channelIma: 'Tencent IMA',
    channelUpload: 'Upload',
    channelManual: 'Manual',
    channelUrl: 'Web',
    channelUnknown: 'Unknown',
    urlSource: 'Source URL',
    webContent: 'Web Content',
    documentContent: 'Document Content',
    importTime: 'Import Time',
    createTime: 'Create Time',
    createdAt: 'Created',
    updatedAt: 'Updated',
    clickToViewFull: 'Click card to view full text and chunks',
    characters: 'chars',
    segment: 'Segment',
    chunkCount: 'Total {count} segments',
    viewChunks: 'View Chunks',
    viewMerged: 'Full Text',
    generatedQuestions: 'Retrieval questions',
    viewParentContext: 'View Parent Context',
    parentContextLoadFailed: 'Failed to load parent context',
    confirmDeleteQuestion: 'Are you sure you want to delete this question? The corresponding vector index will also be removed.',
    legacyQuestionCannotDelete: 'Legacy format questions cannot be deleted. Please regenerate questions.',
    customMetadata: 'Custom metadata',
    metadataCapabilityHint: 'Used for document summaries and as document-level context after retrieval; it is not indexed and does not affect retrieval ranking',
    noCustomMetadata: 'No custom metadata',
    addMetadataField: 'Add metadata field',
    metadataKeyPlaceholder: 'Field name',
    metadataValuePlaceholder: 'Field value',
    metadataTypeText: 'Text',
    metadataTypeNumber: 'Number',
    metadataTypeBoolean: 'Boolean',
    metadataTypeNull: 'Null',
    metadataKeyRequired: 'Metadata field name is required',
    metadataKeyDuplicate: 'Duplicate metadata field: {key}',
    metadataNumberRequired: 'Metadata field {key} must be a valid number',
    regenerateSummary: 'Regenerate summary',
    generateSummary: 'Generate summary',
    noDocumentSummary: 'No document summary',
    summaryRefreshed: 'Summary refreshed',
    summaryRefreshQueued: 'Summary refresh queued; it will update automatically when ready',
    indexFailed: 'Index sync failed',
    chunkSavedIndexFailed: 'Content saved, but index sync failed. Use Retry index.',
    chunkEditConflict: 'This chunk was modified by someone else. The list was refreshed; please try again.',
    retryIndex: 'Retry index',
    indexRetrySuccess: 'Index synchronized',
    chunkHistory: 'Chunk edit history',
    currentVersion: 'Current version',
    noChunkHistory: 'No edit history',
    compareRevisionWithCurrent: 'Content changes from v{revision} to current v{current}',
    diffAddedInCurrent: 'Added in current',
    diffRemovedFromCurrent: 'Removed from current',
    noContentChanges: 'No content changes; this revision only changed status',
    revertRevision: 'Revert revision',
    revertRevisionConfirm: 'Revert to v{revision}? A new revision will be created.',
    chunkReverted: 'Chunk reverted',
    chunkContentRequired: 'Chunk content is required',
    disableChunk: 'Disable',
    enableChunk: 'Enable',
    enabledStatus: 'Enabled',
    disabledStatus: 'Disabled',
    editChunkContent: 'Edit chunk content',
    addGeneratedQuestion: 'Add retrieval question',
    regenerateQuestions: 'Regenerate questions',
    questionsRegenerated: 'Retrieval questions refreshed',
    staleGeneratedQuestions: 'Generated from an earlier version; regenerate if needed',
    noGeneratedQuestions: 'No retrieval questions',
    notInitialized: 'Knowledge base is not initialized. Please configure models in settings before uploading files',
    missingStorageEngine: 'This knowledge base has no storage engine selected. Please configure a storage engine in settings before uploading content.',
    missingStorageEngineUpload: 'Please configure a storage engine before uploading content',
    goToStorageSettings: 'Go to Settings',
    getInfoFailed: 'Failed to get knowledge base information, file upload is not possible',
    missingId: 'Knowledge base ID is missing',
    deleteFailed: 'Delete failed. Please try again later!',
    uploadTime: 'Upload Time',
    newSession: 'New Chat',
    editDocument: 'Edit Document',
    rebuildDocument: 'Rebuild Document',
    rebuildConfirm: 'Rebuild document "{fileName}"? This will clear existing chunks and parse it again.',
    rebuildSubmitted: 'Rebuild task submitted',
    rebuildFailed: 'Rebuild failed. Please try again later',
    rebuildInProgress: 'This document is currently being parsed. Please try again later',
    cancelParse: 'Stop parsing',
    cancelParseConfirmBody: 'Stop parsing "{title}"? Already-written chunks are kept and can be re-parsed later via "Rebuild"; pending optimization tasks (summary / Q&A / knowledge graph) will be dropped immediately.',
    cancelParseSubmitted: 'Parsing stopped',
    cancelParseFailed: 'Failed to stop, please try again later',
    draft: 'Draft',
    draftTip: 'Temporarily saved and not included in retrieval',
    untitledDocument: 'Untitled Document',
    deleteDocument: 'Delete Document',
    moveDocument: 'Move to...',
    moveToKnowledgeBase: 'Move to Knowledge Base',
    moveNoTargets: 'No compatible knowledge bases found (same type and embedding model required)',
    moveModeReuseVectors: 'Reuse Vectors (Fast)',
    moveModeReuseVectorsDesc: 'Directly move chunks and vector indices. Use when chunking config is the same.',
    moveModeReparse: 'Re-parse',
    moveModeReparseDesc: 'Re-parse documents using the target knowledge base\'s chunking config.',
    moveConfirm: 'Confirm Move',
    moveConfirmTitle: 'Confirm move settings',
    moveStarted: 'Move task submitted',
    moveFailed: 'Move failed',
    moveCompleted: 'Move completed',
    moveCompletedWithErrors: 'Move completed: {success} succeeded, {failed} failed',
    parsingFailed: 'Parsing failed',
    parsingInProgress: 'Parsing...',
    generatingSummary: 'Generating summary...',
    documentSummary: 'Summary',
    detailSectionMeta: 'Basic info',
    confirmDeleteDocument: 'Confirm deletion of document "{fileName}", recovery will be impossible after deletion',
    confirmDelete: 'Confirm Delete',
    viewModeGrid: 'Grid view',
    viewModeList: 'List view',
    viewModeToggle: 'Toggle view',
    columnName: 'Name',
    columnTag: 'Tag',
    columnSize: 'Size',
    columnSource: 'Source',
    columnStatus: 'Status',
    columnUpdatedAt: 'Updated',
    columnActions: 'Actions',
    selectAll: 'Select all',
    selectedCount: '{count} selected',
    clearSelection: 'Deselect all',
    batchDelete: 'Delete selected',
    batchDownload: 'Download selected',
    batchDownloading: 'Preparing download…',
    batchDownloadHint: 'Download a ZIP of up to 200 documents and 512 MiB of original content per batch. Select all includes loaded documents only; web pages without original files are skipped. The ZIP keeps knowledge-base folders.',
    batchDownloadStarted: 'ZIP saving started. Extract it, then upload the files and folders.',
    batchDownloadFailed: 'Batch download failed. Please try again.',
    batchDownloadSkipped: 'Skipped {count} documents that have no original file.',
    batchDownloadNoFiles: 'None of the selected documents have an original file to download.',
    batchDownloadTooLarge: 'Selected files total more than 512 MiB. Choose fewer documents and try again.',
    selectLoaded: 'Select loaded',
    confirmBatchDeleteDocument: 'Delete {count} selected documents? This action cannot be undone.',
    deleteSubmitted: 'Delete request submitted. Waiting for completion.',
    assistantDeleted: 'The assistant deleted this knowledge base.',
    deletePending: 'Deletion is still pending. Refresh later to check the result.',
    deleteTaskFailed: 'Deletion failed. Check the document error details and try again.',
    deleteStatusUnavailable: 'Could not confirm the deletion result. Refresh later to check the document status.',
    batchDeleteSuccess: 'Deleted {count} documents',
    batchDeleteFailed: 'Batch delete failed',
    batchTag: 'Batch Tag',
    batchTagDialogHeading: 'Batch Tag',
    batchTagSubtitle: 'Set tags for {count} selected documents (will replace existing tags)',
    batchTagSuccess: 'Tags applied to {count} documents',
    batchTagFailed: 'Batch tag failed',
    confirmBatchReparseDocument: 'Rebuild {count} selected documents? Existing content will be cleared and each document will be re-parsed.',
    confirmBatchReparse: 'Confirm and reparse',
    batchReparseSuccess: 'Submitted {count} rebuild tasks',
    batchReparseFailed: 'Batch rebuild failed',
    batchReparseSkippedInFlight: 'Skipped {count} document(s) still being parsed',
    statusCompleted: 'Completed',
    statusProcessing: 'Processing',
    statusFinalizing: 'Optimizing',
    statusStalled: 'May be stuck',
    stalledHint: 'No progress for {minutes} minutes; it may be stuck. Open the trace to see where it stopped, or stop parsing and rebuild the document.',
    statusQueued: 'Queued',
    queuedHint: 'No progress for {minutes} minutes, but its tasks are still waiting in the queue, usually because of a backlog. It will continue on its own.',
    statusFailed: 'Failed',
    statusCancelled: 'Cancelled',
    statusDraft: 'Draft',
    noDescription: 'No description',
    emptyKnowledgeDragDrop: 'Knowledge is empty, drag and drop to upload',
    pdfDocFormat: 'pdf, doc format files, max {size}MB',
    textMarkdownFormat: 'text, markdown format files, max {size}MB',
    dragFileNotText: 'Please drag files instead of text or links',
    searchPlaceholder: 'Search knowledge bases...',
    docSearchPlaceholder: 'Search document names...',
    fileTypeFilter: 'File Type',
    allFileTypes: 'All Types',
    allTags: 'All Tags',
    parseStatusFilter: 'Status',
    allParseStatuses: 'All Statuses',
    parseStatusPending: 'Pending',
    parseStatusProcessing: 'Processing',
    parseStatusCompleted: 'Completed',
    parseStatusFinalizing: 'Optimizing',
    parseStatusFailed: 'Failed',
    parseStatusCancelled: 'Cancelled',
    parseStatusDraft: 'Draft',
    sourceFilter: 'Source',
    allSources: 'All Sources',
    sourceApi: 'API',
    sourceBrowserExtension: 'Browser Extension',
    sourceUpload: 'Upload',
    sourceUrl: 'URL Import',
    sourceManual: 'Manual',
    updatedTimeFrom: 'From',
    updatedTimeTo: 'To',
    noMatch: 'No matching knowledge base found',
    noKnowledge: 'No knowledge bases available',
    loadingFailed: 'Failed to load knowledge bases',
    operationNotSupportedForType: 'This operation is not supported for the current knowledge base type',
    allFilesSkippedNoEngine: 'All selected files were skipped due to no available parser engine',
    filesSkippedNoEngine: '{count} file(s) skipped due to no available parser engine',
    deleteSuccess: 'Knowledge deleted successfully!',
    chunkLoadFailed: 'Failed to load chunks'
  },
  uploadConfirm: {
    imageEmbeddingModel: "Image indexing embedding model",
    imageIndexInherited: "Image indexing uses the embedding model assigned to this knowledge base. Change it in knowledge base settings.",
    imageVectorIndex: "Image vector indexing for this import",
    imageVectorIndexHint: "Generate image vectors for this upload or reparse without changing knowledge base defaults. Retrieval still follows the knowledge base image vector search setting.",
    imageVectorRequiresIndex: "Enable vector indexing in knowledge base settings first.",
    documentSummary: "Document summary",
    documentSummaryDescription: "Choose whether to automatically summarize documents in this import.",
    generateSummary: "Generate document summaries",
    generateSummaryHint: "Enabled by default. Disable to skip summaries while parsing, indexing, and other configured steps continue.",

    title: 'Confirm Upload',
    parseConfig: 'Parse settings',
    configNav: 'Parse settings navigation',
    navParserDefault: 'Default',
    navParserCustomized: 'Customized',
    moreOptions: 'More processing options',
    summaryParentChildShort: 'Parent-child',
    summaryParserForceScanned: 'Scanned mode',
    summaryQuestionCountValue: '{count}',
    summaryGraphTagsValue: '{count}',
    navChunkingSummary: 'Chunk {size}',
    statusOn: 'On',
    statusOff: 'Off',
    notSet: 'Not set',
    summaryNoTags: 'Not set',
    summaryTagsCount: '{count} tags',
    confirm: 'Upload and parse',
    cancel: 'Cancel',
    tabTags: 'Document tags',
    tagsDescription: 'Select one or more tags for every document in this import batch',
    tagsPlaceholder: 'Select tags (multiple allowed)',
    tagsEmpty: 'This knowledge base has no tags. You can create them in tag management after upload.',
    tagsLoadFailed: 'Failed to load tags. You can set them later from the document list.',
    noItems: 'Add at least one file or URL',
    urlItemLabel: 'URL',
    urlAdded: 'URL added',
    urlDuplicate: 'This URL is already in the list',
    statusNeedsSetup: 'Needs setup',
    multimodalSetupHint: 'Images detected. Enable multimodal and select a model.',
    asrSetupHint: 'Audio detected. Enable speech recognition and select a model.',
    vlmModelRequired: 'Configure a multimodal model',
    asrModelRequired: 'Configure a speech recognition model',
    vlmModelSelectRequired: 'Multimodal is enabled. Please select a VLM model.',
    asrModelSelectRequired: 'Speech recognition is enabled. Please select an ASR model.',
    pdfForceScanned: {
      label: 'Force scanned PDF parsing',
      description: 'Useful for web-print, scanned, or image-heavy PDFs. Every page will be rendered as an image and processed via OCR/VLM. May increase processing time and model costs.'
    },
    continueAdd: 'Add more',
    destinationLabel: 'Upload location',
    destinationChange: 'Change upload location',
    destinationToRoot: 'Use root',
    folderUploadTitle: 'Folder “{name}”',
    folderUploadHint: '{count} files; the local folder structure will be kept',
    filesAdded: 'Added {count} file(s)',
    filesAllDuplicate: 'Selected files are already in the list',
    titleManual: 'Confirm online publish',
    confirmManual: 'Publish and parse',
    titleReparse: 'Confirm reparse',
    confirmReparse: 'Confirm and reparse',
    reparseSource: 'Document to reparse',
    reparseHint: 'Reuses the last parse settings; adjust them here',
    manualCharCount: '{count} characters'
  },
  knowledgeStages: {
    title: 'Processing pipeline',
    root: 'Knowledge processing',
    processConfig: {
      title: 'Parse config for this run',
      kbDefault: 'Using knowledge base defaults',
      graph: 'Knowledge graph'
    },
    attempt: 'Attempt {n}',
    retry: 'Retry parsing',
    notRun: 'Not run',
    stageFailed: '{stage} failed',
    copyError: 'Copy error details',
    stat: {
      duration: 'Duration',
      attempt: 'Attempt',
      tasks: 'Background tasks',
      tasksValue: '{running} running · {failed} failed · {completed} done'
    },
    refresh: 'Refresh now',
    copy: 'Copy',
    copyDetails: 'Copy details',
    copied: 'Copied to clipboard',
    close: 'Close',
    live: 'LIVE',
    liveTooltip: 'Parsing in progress — auto-refreshes every 2s',
    autoRefreshOn: 'Auto-refreshing',
    fetchFailedShort: 'fetch failed',
    viewTrace: 'View trace',
    expandBranch: 'Expand children',
    collapseBranch: 'Collapse children',
    rowSelectHint: 'Click to view details; use the arrow to expand or collapse children',
    resizeDrawer: 'Drag to resize panel width',
    justNow: 'just now',
    secondsAgo: '{n}s ago',
    minutesAgo: '{n}m ago',
    noActivity: 'No parsing activity yet',
    totalDuration: 'Total: {d}',
    stall: {
      title: 'No progress for {minutes} minutes; this may be stuck',
      hint: 'You can keep waiting, or stop parsing and rebuild the document. If it still makes no progress, it will be marked as failed automatically.',
      hintAtStage: 'It stopped at the {stage} stage. You can keep waiting, or stop parsing and rebuild the document. If it still makes no progress, it will be marked as failed automatically.',
      queuedTitle: 'No progress for {minutes} minutes; still waiting in the queue',
      queuedHint: 'Tasks for this document are still queued, usually because of a backlog. It will continue on its own; no action is usually needed.'
    },
    head: {
      lastProgress: 'Last progress',
      stagesDone: 'Main stages',
      stagesProgress: 'Current stage',
      attempt: 'Attempt',
      updated: 'Updated'
    },
    tab: {
      overview: 'Overview',
      raw: 'Raw JSON'
    },
    detail: {
      started: 'Started',
      finished: 'Finished',
      duration: 'Duration',
      offset: 'Offset',
      timing: 'Timing',
      identity: 'Identity',
      stageBreakdown: 'Stage breakdown',
      stageOrder: 'Stage order',
      childCount: 'Child spans',
      kind: 'Kind',
      status: 'Status',
      name: 'Name',
      input: 'Input',
      output: 'Output',
      metadata: 'Metadata',
      traceMetadata: 'Trace metadata',
      metadataHint: 'Auxiliary fields for observability (e.g. Langfuse trace ID). Stage/subspan payloads live under Input and Output.',
      metadataEmpty: 'This span has no metadata. Use Input/Output for stage payloads; trace-level fields appear in Overview when Langfuse is connected.',
      error: 'Error',
      empty: 'No data',
      inProgress: 'In progress',
      elapsed: 'Elapsed',
      placeholderHint: 'This stage has no detailed span record; only the inferred state is shown.',
      showJson: 'Expand JSON',
      hideJson: 'Collapse JSON',
      includingChildren: 'incl. children'
    },
    stage: {
      docreader: 'Document parsing',
      chunking: 'Chunking',
      embedding: 'Vectorization',
      multimodal: 'Multimodal recognition',
      postprocess: 'Post-processing'
    },
    status: {
      pending: 'Pending',
      running: 'Running',
      finalizing: 'Finalizing',
      done: 'Done',
      failed: 'Failed',
      skipped: 'Skipped',
      cancelled: 'Cancelled'
    },
    errorCode: {
      DOCREADER_UNAVAILABLE: "Document parsing service unavailable",
      DOCREADER_UNAVAILABLE_SUGGESTION: "Cannot connect to DocReader, or the connection was interrupted. Check service health, restart loops, and network access. Retry after recovery; uploading the file again is unnecessary.",
      DOCREADER_TIMEOUT: "Document parsing timed out",
      DOCREADER_TIMEOUT_SUGGESTION: "Check DocReader health and load before retrying. Split large files if needed.",
      DOCREADER_PARSE_FAILED: "Document parsing failed",
      DOCREADER_PARSE_FAILED_SUGGESTION: "Check the file format and ask an administrator to inspect the DocReader logs for this attempt.",
      TASK_STALLED: 'Stopped after no progress',
      TASK_STALLED_SUGGESTION: 'Processing made no progress past the time limit and had no task left in the queue, so it was marked as failed. Click Retry; if this keeps happening, check the service this stage depends on (document parsing, model, or vector store).',
      UNKNOWN_SUGGESTION: 'Check the application logs for details.'
    }
  },
  agent: {
    taskLabel: 'Task:',
    think: 'Thinking',
    copy: 'Copy',
    addToKnowledgeBase: 'Add to Knowledge Base',
    artifactDrawer: {
      buttonTitle: 'View files generated in this reply',
      title: 'Generated files',
      empty: 'No downloadable files were generated this turn.',
      preview: 'Preview',
      previewBack: 'Back to list',
      collecting: 'Saving generated files…',
      delete: 'Delete',
      deleteTitle: 'Delete this file?',
      deleteConfirm: '“{name}” and its stored contents will be permanently deleted. This cannot be undone.',
      deleted: 'File deleted',
      deleteFailed: 'Delete failed, please retry.',
      download: 'Download',
      downloadFailed: 'Download failed, please retry.',
      inlinePreviewHint: 'Click to preview',
      inlineMissing: 'File unavailable',
      inlineDeleted: 'File deleted',
    },
    updatePlan: 'Update Plan',
    webSearchFound: 'Found <strong>{count}</strong> web search result(s)',
    toolFallback: 'Tool',
    stepsCompleted: 'Completed <strong>{steps}</strong> step(s)',
    reasoningRounds: '<strong>{rounds}</strong> reasoning round(s)',
    earlierSteps: '{count} earlier steps',
    viewReasoning: 'View reasoning',
    toolCalls: '<strong>{tools}</strong> tool call(s)',
    durationSuffix: '<strong>{duration}</strong>',
    stepSummarySeparator: ' · ',
    contextCompacted: 'Compacted context',
    contextCompactedSummary: '{before} → {after} tokens',
    contextCompactedDegraded: 'Summary unavailable, raw transcript kept',
    title: 'Agents',
    subtitle: 'Configure and manage your agents to customize conversation behavior and capabilities',
    createAgent: 'Create Agent',
    builtin: 'Built-in',
    disabled: 'Disabled',
    disable: 'Disable',
    enable: 'Enable',
    noDescription: 'No description',
    selectAgent: 'Select Agent',
    noAgents: 'No agents',
    manageAgents: 'Manage',
    builtinAgents: 'Built-in Agents',
    customAgents: 'Custom Agents',
    capabilities: {
      kbCount: '{count} knowledge base(s) specified',
      kbAll: 'Access to all knowledge bases',
      mcpEnabled: 'MCP services enabled',
      multiTurn: 'Multi-turn conversation'
    },
    type: {
      normal: 'Quick Answer',
      agent: 'Smart Reasoning'
    },
    mode: {
      normal: 'Quick Answer',
      agent: 'Smart Reasoning'
    },
    features: {
      webSearch: 'Web Search Enabled',
      knowledgeBase: 'Knowledge Base Linked',
      mcp: 'MCP Services Enabled',
      multiTurn: 'Multi-turn Conversation'
    },
    tabs: {
      sharedToMe: 'Shared to Me'
    },
    sections: {
      builtin: 'Built-in',
      mine: 'Created by me',
      tenantOthers: 'Workspace · Other members',
      tenantReadonly: 'Workspace · View only',
      sharedByMe: 'Shared by me',
      sharedEditable: 'Shared with me · Can edit',
      sharedReadonly: 'Shared with me · View only'
    },
    empty: {
      title: 'No Custom Agents',
      description: 'Click the button in the top right to create your first agent',
      sharedTitle: 'No shared agents yet',
      sharedDescription: 'You can join a space or ask others to share agents with you',
      favoritesTitle: 'No favorites yet',
      favoritesDescription: 'Star an agent from its card to add it here',
      recentsTitle: 'Nothing here yet',
      recentsDescription: 'Agents you recently used will show up here'
    },
    detail: {
      title: 'Agent Details',
      useInChat: 'Use in Chat'
    },
    shareScope: {
      title: 'Share Scope',
      desc: 'Space members have read-only access to this agent and will use it according to your current configuration; your changes to the agent will sync to shared spaces. To allow space members to edit knowledge base content, share the knowledge base to the space.',
      skillSecretsWarning: 'This agent uses skills. When space members use it, the skills run in this workspace\'s sandbox with the environment variables admins configured for them (such as API keys), and members can have the agent reveal those values. Share it only if that is acceptable.',
      knowledgeBase: 'Knowledge bases',
      chatModel: 'Chat model',
      rerankModel: 'Rerank model',
      webSearch: 'Web search',
      mcp: 'MCP services',
      kbAll: 'All knowledge bases',
      kbSelected: '{count} selected',
      kbNone: 'None',
      modelConfigured: 'Configured',
      modelNotSet: 'Not set',
      enabled: 'On',
      disabled: 'Off',
      mcpAll: 'All services',
      mcpSelected: '{count} selected',
      mcpNone: 'None'
    },
    delete: {
      confirmTitle: 'Delete Agent',
      confirmMessage: 'Are you sure you want to delete agent "{name}"? This action cannot be undone.',
      confirmButton: 'Confirm Delete'
    },
    messages: {
      created: 'Agent created successfully',
      updated: 'Agent updated successfully',
      deleted: 'Agent deleted',
      deleteFailed: 'Delete failed',
      saveFailed: 'Save failed',
      copied: 'Agent copied successfully',
      copyFailed: 'Copy failed',
      disabled: 'Agent disabled',
      enabled: 'Agent enabled'
    },
    editor: {
      assistantChanged: 'The assistant changed this agent. Reopen it to see the latest settings.',
      assistantDeleted: 'The assistant deleted this agent.',
      reasoningEffortUnsupported: 'The selected model cannot think; every option except "Off" is ignored.',
      reasoningEffortAlwaysOn: 'The selected model always reasons and cannot be switched off; only the effort level can be changed.',
      createTitle: 'Create Agent',
      editTitle: 'Edit Agent',
      buttons: {
        create: 'Create Agent',
        saveAndClose: 'Save and Close',
      },
      postCreateHint: {
        title: 'Created successfully',
        footer: 'Keep adjusting settings, configure sharing and publishing, then click "Save and Close".',
        integrationDesc: 'Go to Integrations to configure IM, web embed, and other publishing channels',
      },
      basicInfo: 'Basic Info',
      basicInfoDesc: 'Configure agent name, description, and run mode',
      promptsConfig: 'Prompts',
      promptsConfigDesc: 'Configure system, context, intent, rewrite, and fallback prompts',
      modelConfig: 'Model Config',
      modelConfigDesc: 'Configure chat model, auxiliary models (ReRank), and generation parameters',
      toolsConfig: 'Tools',
      toolsConfigDesc: 'Configure tools available to the Agent',
      knowledgeConfig: 'Knowledge Base',
      knowledgeConfigDesc: 'Configure knowledge base scope and FAQ strategy for the agent',
      webSearchConfig: 'Web Search',
      webSearchConfigDesc: 'Configure web search capabilities for the agent',
      agentId: 'Agent ID',
      agentIdDesc: 'Use this ID to target the agent in API integrations',
      name: 'Name',
      namePlaceholder: 'Enter agent name',
      nameRequired: 'Agent name is required',
      systemPromptRequired: 'System prompt is required',
      modelRequired: 'Please select a model',
      queryMissingInRewrite: 'Rewrite user prompt must contain {\'{{\'}query{\'}}\'} placeholder',
      queryMissingInFallback: 'Fallback prompt must contain {\'{{\'}query{\'}}\'} placeholder',
      description: 'Description',
      descriptionPlaceholder: 'Enter agent description',
      normalDesc: 'Quick response, direct answers',
      agentDesc: 'Multi-step thinking, deep analysis for complex questions',
      model: 'Model',
      modelPlaceholder: 'Select Model',
      systemPrompt: 'System Prompt',
      systemPromptPlaceholder: 'Custom system prompt to define agent behavior and role (use {\'{{\'}web_search_status{\'}}\'} placeholder for dynamic web search behavior)',
      contextTemplateRequired: 'Context template is required',
      temperature: 'Temperature',
      thinking: 'Thinking Mode',
      citationEnabled: 'Show Source Citations',
      citationEnabledDesc: 'Show knowledge-base and web sources in final answers; retrieval and grounding still work when disabled',
      mode: 'Running Mode',
      webSearch: 'Web Search',
      webSearchProvider: 'Search Engine',
      webSearchProviderPlaceholder: 'Use default search engine',
      webSearchMaxResults: 'Max Search Results',
      webFetchEnabled: 'Auto-Fetch Page Content',
      webFetchTopN: 'Pages to Fetch',
      knowledgeBases: 'Knowledge Bases',
      allKnowledgeBases: 'All Knowledge Bases',
      selectedKnowledgeBases: 'Selected Knowledge Bases',
      noKnowledgeBase: 'No Knowledge Base',
      selectKnowledgeBases: 'Select Knowledge Bases',
      selectKnowledgeBasesDesc: 'Select knowledge bases to associate (including collaborative ones)',
      myKnowledgeBases: 'My Knowledge Bases',
      sharedKnowledgeBases: 'Collaborative Knowledge Bases',
      retrieveKBOnlyWhenMentioned: 'Retrieve Only When Mentioned',
      retrieveKBOnlyWhenMentionedDesc: 'Off: auto-retrieve configured KBs; On: retrieve only when user {\'@\'} mentions',
      rerankModel: 'ReRank Model',
      rerankModelDesc: 'Used to rerank knowledge base retrieval results for better accuracy',
      rerankModelPlaceholder: 'Select ReRank Model',
      rerankModelOptionalHint: 'No RAG knowledge base in current scope, so this is optional. If a RAG knowledge base is added later, the workspace default rerank model will be used as a fallback. Configuring it explicitly is still recommended.',
      maxIterations: 'Max Iterations',
      maxIterationsLimit: 'Limit',
      maxIterationsUnlimited: 'Unlimited',
      allowedTools: 'Allowed Tools',
      multiTurn: 'Multi-turn Conversation',
      historyTurns: 'History Turns',
      retainRetrievalHistory: 'Keep retrieval results',
      memoryEnabled: 'Long-term Memory',
      retrievalStrategy: 'Retrieval Strategy',
      embeddingTopK: 'Embedding Top K',
      keywordThreshold: 'Keyword Threshold',
      vectorThreshold: 'Vector Threshold',
      rerankTopK: 'Rerank Top K',
      rerankThreshold: 'Rerank Threshold',
      conversationSettings: 'Conversation',
      contextTemplate: 'Context Template',
      contextTemplatePlaceholder: 'Custom context template...',
      enableQueryExpansion: 'Query Expansion',
      enableRewrite: 'Query Rewrite',
      queryUnderstandModel: 'Query Understand Model',
      queryUnderstandModelPlaceholder: 'Leave empty to reuse the main chat model',
      rewritePromptSystem: 'Rewrite System Prompt',
      rewritePromptSystemPlaceholder: 'Leave empty to use default prompt',
      rewritePromptUser: 'Rewrite User Prompt',
      rewritePromptUserPlaceholder: 'Leave empty to use default prompt',
      maxCompletionTokens: 'Max Completion Tokens',
      maxCompletionTokensDefault: 'Default',
      maxCompletionTokensCustom: 'Custom',
      fallbackStrategy: 'Fallback Strategy',
      fallbackResponse: 'Fixed Response',
      fallbackResponsePlaceholder: 'Sorry, I cannot answer this question.',
      fallbackPrompt: 'Fallback Prompt',
      fallbackPromptPlaceholder: 'Leave empty to use default prompt',
      skillsConfig: 'Skills',
      skillsConfigDesc: 'Select a running sandbox, then pick skills below. Skills not on that sandbox show Install and can only be checked after they are installed.',
      hostSkillsConfigDesc: 'Pick skills that are already installed on this computer. Others show Install and can be checked only after that.',
      hostSkillsSelectionDesc: 'Workspace skills are listed here. Ones installed on this computer can be used now; install the others first.',
      hostSelectSkillsDesc: 'Check the skills this agent should use. Skills that are not on this computer cannot be checked — click Install first.',
      hostSkillsAllListHint: 'All includes only skills already installed on this computer. Others are left out until you install them.',
      hostInstallToThisComputer: 'Install on this computer',
      hostUpgradeOnThisComputer: 'Upgrade the skill on this computer to the catalog version',
      hostSkillDisabled: 'Disabled on this computer',
      skillsSelection: 'Skill list',
      skillsSelectionDesc: 'All workspace skills are listed here. Installed ones can be used now; others need Install first.',
      skillsAll: 'All',
      skillsSelected: 'Selected',
      skillsNone: 'Disabled',
      selectSkills: 'Select skills',
      selectSkillsDesc: 'Check the skills this agent should use. Uninstalled skills cannot be checked — click Install on the right first.',
      skillsAllListHint: 'All only includes skills already installed on this sandbox. Uninstalled skills are not added until you install them.',
      skillsGroupAvailable: 'Available',
      skillsGroupUnavailable: 'Unavailable',
      noSkillsAvailable: 'The workspace catalog has no skills yet.',
      skillsNeedSandbox: 'Select a sandbox first.',
      goSandboxSettings: 'Manage sandboxes',
      goSkillSettings: 'Manage skills',
      installToThisSandbox: 'Install onto this sandbox',
      upgradeOnThisSandbox: 'Upgrade this sandbox to the catalog version',
      installShort: 'Install',
      viewInstallProgress: 'View progress',
      skillNotInstalled: 'Not installed',
      skillNotReady: 'Not ready yet',
      skillDisabledOnSandbox: 'Disabled on this sandbox',
      sandboxBackend: 'Sandbox',
      sandboxBackendDefault: 'Disabled',
      sandboxBackendHint: 'Skill scripts do not run until a sandbox is selected.',
      sandboxBackendMissing: 'Config deleted',
      sandboxNoConfigs: 'This workspace has no sandbox yet, so skill scripts will not run.',
      skillsInfoTitle: 'How Skills and the sandbox work together',
      skillsInfoContent: 'Skills are knowledge modules whose scripts run in the selected sandbox. The list comes from skills installed there. Once a session sandbox exists, its attachments, artifacts, and teardown stay pinned to the config it was created on — changing the sandbox only affects later sessions.'
    },
    selector: {
      title: 'Select Agent',
      current: 'Current',
      goToSettings: 'Settings',
      sharedLabel: 'Shared',
      notReadyHint: 'Not ready. Configure: {items}',
      notReadyStatus: 'Setup needed',
      configureAction: 'Configure',
      sharedNotReadyContact: 'Ask the sharing organization admin to finish setup',
      capabilitiesSection: 'Capabilities',
      webSearchCapability: 'Web search',
      imageUploadCapability: 'Image upload',
      capabilityEnabled: 'On',
      capabilityDisabled: 'Off',
      capabilitySupported: 'Supported',
      capabilityUnsupported: 'Unsupported',
      capabilityUnconfigured: 'Not set'
    }
  },
  settings: {
    modelManagement: 'Model Management',
    webSearchConfig: 'Web Search',
    autoCheckUpdate: 'Auto Download Updates',
    autoCheckUpdateDesc: 'When enabled, automatically check and download the latest version in the background.',
    vectorStoreEngine: 'Vector DB Engine',
    parserEngine: 'Parser Engine',
    storageEngine: 'Storage Engine',
    sandbox: {
      title: 'Sandbox Config',
      description: 'Configure isolated runtimes for agent skill scripts. Each agent picks one workspace config.',
      pageHintTitle: 'What is a sandbox?',
      pageHint: 'A sandbox is the isolated environment where agent skill scripts run. A workspace can have several configs (Docker, E2B, CubeSandbox); each agent picks one. Skills are installed on the Skill Management page into the selected config\'s image. Scripts stay disabled until a config is selected.',
      editorDescription: 'Configure a workspace runtime. Docker, CubeSandbox, and E2B use the same management flow.',
      stepConnection: 'Connect',
      stepTemplate: 'Template',
      stepRuntime: 'Runtime',
      stepSkills: 'Skills',
      stepSkillsLocked: 'Skills are installed into this config\'s image. Save the config first, then come back to this step.',
      setupProgress: 'Sandbox setup progress',
      stepDescriptions: {
        connection: 'Configure the backend and verify the connection before loading templates.',
        template: 'Choose a ready template returned by the connected cluster.',
        runtime: 'Configure execution settings, environment variables, and when skill image updates apply, then save.',
        skills: 'Install skills into this config\'s sandbox image. Once the config is saved you can come back any time.',
      },
      back: 'Back',
      connectAndContinue: 'Connect and continue',
      loading: 'Loading sandbox configuration...',
      loadFailed: 'Failed to load sandbox configuration',
      backend: 'Sandbox',
      backendType: 'Sandbox type',
      backendTypePlaceholder: 'Select a sandbox type',
      scriptPolicyLabel: 'Allow skill scripts to run in sandboxes',
      scriptPolicyDesc: 'When off, agents in this workspace can only read skill content. Remote sandboxes already running are released once their sessions end.',
      backendDescriptions: {
        cube: 'Self-hosted MicroVM cluster for private or on-premises deployments',
        e2b: 'Managed MicroVM service or an E2B-compatible deployment',
        docker: 'Keep a long-lived container per session on this WeKnora host; scripts and files stay in that container',
      },
      dockerDisabledAlert: 'Docker sandbox is not enabled on this deployment',
      dockerDisabledHint: 'A local docker.sock is equivalent to root on the host. For a single-machine private install, a system admin can enable it under Settings → System settings → Network security.',
      dockerDisabledCard: 'Docker sandbox is disabled on this deployment; this config will not create containers',
      dockerHostRisk: 'Empty or unix:// uses the Docker daemon on the WeKnora host, which is equivalent to root on that machine. Use this only for a private single-node install. Prefer Cube or E2B when multiple workspaces share a host. Remote tcp:// endpoints require a TLS certificate directory.',
      addConfig: 'Add sandbox',
      viewClusterGuide: 'Cluster setup guide',
      configName: 'Config name',
      configNamePlaceholder: 'e.g. Production E2B',
      configNameRequired: 'Please enter a config name',
      configDescription: 'Description',
      configDescriptionPlaceholder: 'Optional, helps tell several configs of the same type apart',
      createTitle: 'Add sandbox',
      editTitle: 'Edit sandbox',
      sectionBasic: 'Basic information',
      sectionConnection: 'Cluster connection',
      sectionRuntimeEnvironment: 'Runtime environment',
      sectionTemplate: 'Runtime template',
      sectionRuntime: 'Execution settings',
      sectionNetwork: 'Network policy',
      sectionEnvironment: 'Environment variables',
      networkHint: 'Controls outbound networking for every sandbox using this configuration. Changes affect only newly created sandboxes; existing sandboxes keep their policy until reclaimed.',
      egressDefault: 'Default egress',
      egressAllowAll: 'Allow public network (default)',
      egressDenyAll: 'Deny by default',
      egressPrecedence: 'Evaluation order: allow, deny, then the default. Allow rules take precedence over deny rules.',
      allowOut: 'Allowed destinations',
      allowOutPlaceholder: 'Domain / IP / CIDR, for example *.example.com',
      allowOutHelp: 'Supports IPv4, CIDR, domains, and single-label wildcards such as *.example.com (which do not match the root domain).',
      denyOut: 'Denied destinations',
      denyOutPlaceholder: 'IP / CIDR only, for example 169.254.169.254/32',
      denyOutHelp: 'Deny rules match destination IP only, so domains are not supported.',
      domainAllowNeedsDenyAll: 'When allowed destinations contain a domain, also choose “Deny by default” or add 0.0.0.0/0 to denied destinations; otherwise the allowlist is ineffective.',
      cubeL7Rules: 'HTTP access rules (L7)',
      cubeL7RulesHelp: 'Every rule requires host or sni; the network layer derives allowed targets only from those fields. Fields are AND-ed and methods are OR-ed. Applies only to HTTP 80 / HTTPS 443. Rules are first-match-wins from top to bottom.',
      e2bHostRules: 'Host request transforms',
      e2bHostRulesHelp: 'Inject headers by host. A rule does not authorize egress; its host must also appear in allowed destinations.',
      ruleUntitled: 'Untitled rule',
      expandRule: 'Expand rule',
      collapseRule: 'Collapse rule',
      moveRuleUp: 'Move rule up',
      moveRuleDown: 'Move rule down',
      ruleName: 'Rule name',
      ruleScheme: 'Scheme',
      ruleSni: 'SNI',
      ruleHost: 'Host',
      ruleMethods: 'HTTP methods',
      rulePath: 'Path',
      ruleAction: 'Action',
      ruleAllow: 'Allow',
      ruleDeny: 'Deny',
      ruleAudit: 'Audit level',
      ruleInject: 'Inject headers',
      headerName: 'Header name',
      headerValue: 'Header value',
      addTarget: 'Add destination',
      addRule: 'Add rule',
      addHeader: 'Add header',
      removeRule: 'Remove rule',
      noConfigs: 'No sandbox yet. Agents without a workspace configuration will not run skill scripts.',
      identityFieldHint: 'While this config owns sandboxes, these cannot be changed: backend type, API endpoint, API key, sandbox domain, proxy endpoint.',
      connectionLockedBySkills: 'This sandbox already has skills. Connection, credentials, and DNS would retarget the skill snapshot, and DNS only applies after a template rebuild. Create a new sandbox instead.',
      connectionLockedByInFlight: 'A skill is still installing or being removed. Connection, credentials, and DNS cannot change until that finishes.',
      viewSandboxes: 'Running instances',
      inventoryTitle: 'Running instances',
      inventoryDrawerDesc: 'Sandboxes this config still holds, plus the sessions and agents affected.',
      inventoryFailed: 'Failed to load sandbox usage',
      sandboxCount: 'Sandboxes',
      sandboxCountUnknown: 'Unknown (backend unreachable)',
      inventoryUnverifiableHint: 'The backend is unreachable, so the sandbox count is unknown — that is not the same as none.',
      inventorySessions: 'Sessions',
      inventorySessionKind: 'Conversation',
      inventoryEmpty: 'No occupying sessions',
      inventoryAgentsTitle: 'Linked agents',
      inventoryUntitledSession: 'Untitled session',
      sandboxesStillLive: 'This config still owns {count} running or paused sandbox(es), so identity fields cannot be changed yet.',
      blockedHint: 'End or delete those sessions (deleting a session destroys its sandbox), or create a second config and point the agents at it.',
      unverifiableBlocked: 'The backend cannot be reached to verify whether sandboxes remain, so the stored credentials will not be overwritten.',
      unverifiableSaveHint: 'Restore connectivity first; if the backend is gone for good, create a second config and point the agents at it.',
      affectedSessions: '{count} session(s) affected.',
      affectedAgents: 'Agents using this config: {names}',
      confirmDelete: 'Delete sandbox "{name}"?',
      confirmDeleteWithAgents: 'Delete sandbox "{name}"? {agents}They will fail on their next skill execution.',
      deleteFailed: 'Failed to delete',
      deleted: 'Deleted',
      forceDeleteTitle: 'Sandbox usage cannot be verified',
      forceDeleteConfirm: 'The backend cannot be reached to verify whether sandboxes remain. If it is gone for good you can force-delete this config; if it is only temporarily unreachable, forcing it leaves any remaining sandboxes with nobody to reclaim them. Force delete anyway?',
      forceDelete: 'Force delete',
      disableScripts: 'Disable sandbox execution',
      enableScripts: 'Enable sandbox execution',
      disableScriptsConfirm:
        'All agents in this workspace — will no longer run skill scripts in a sandbox. They can still read skill content. Existing remote sandboxes are not destroyed automatically; end or delete the related sessions to release them. Continue?',
      scriptsDisabled: 'Sandbox execution disabled for this workspace',
      scriptsEnabled: 'Sandbox execution restored for this workspace',
      policySaveFailed: 'Failed to update sandbox execution policy',
      legacyConfig: 'Deprecated',
      namedBackendHint: 'Workspace configuration is the only runtime source. Agents without one cannot execute skill scripts.',
      weknoraTemplateTitle: 'WeKnora standard template',
      weknoraDockerImage: 'WeKnora standard image',
      weknoraDockerImageHint: 'Each session gets its own long-lived container. Scripts, shell commands and files all share it until the session ends or the idle timeout reclaims it.',
      weknoraTemplateOverview: 'WeKnora provides the standard runtime. Templates are discovered after connecting and the standard one is created when missing.',
      weknoraTemplateDescription: 'Includes the Python, Node.js, CLI tools, workspace path, and non-root execution user expected by WeKnora skills.',
      recommendedTag: 'Recommended',
      cardTemplateConfigured: 'Template configured',
      cardCredentialMissing: 'API key missing',
      cardTimeout: 'Timeout {sec}s',
      cardTtl: 'Sandbox TTL {sec}s',
      cardVolumeMounted: 'Volume mounted',
      cardEnvVars: '{count} env vars',
      cardPrivateEndpoints: 'Private endpoints allowed',
      templateNotConfigured: 'Template not configured',
      imageNotConfigured: 'Image not configured',
      templateApplied: 'Applied',
      refreshTemplates: 'Refresh templates',
      templateSelectHelp: 'Templates are loaded from this cluster. The saved configuration stores the ID automatically.',
      templateSelectPlaceholder: 'Connect to the cluster to load templates',
      templateLoadHint: 'Enter the cluster connection and refresh. Missing WeKnora CLI templates are built from the official Hub image. Desktop templates are larger; create them from the row below. After changing DNS or the image, rebuild from that card.',
      templateLoadFailed: 'Failed to load templates',
      standardTemplateProvisioning: 'The WeKnora standard template is being created. Refresh shortly to see its status.',
      standardTemplateReplaced: 'The previous standard template was deleted and a rebuild has started. Wait until it is ready.',
      templateNotReady: 'The selected template is not ready. Refresh and wait for the build to finish.',
      connectionPassed: 'Connection verified. Templates below are loaded from this cluster.',
      connectionPassedTitle: 'Cluster connected',
      templateStepHint: 'This step lists cluster templates and builds the official CLI image if it is missing. Desktop (XFCE) templates are heavier and are created only when you click Create. After changing DNS or the image, rebuild that card. You can continue after a template is ready.',
      loadingTemplates: 'Loading templates from the cluster...',
      templateBuildingHint: 'This template is being built. The list will refresh.',
      templateUntaggedHint: 'The builds finished but none carries the default tag, so sandbox creation cannot resolve this template. Delete it in E2B and refresh; WeKnora will rebuild it.',
      templateFailedReason: 'Build failed: {reason}',
      noTemplates: 'No templates were returned by this cluster.',
      weknoraStandardTemplate: 'WeKnora standard template',
      createStandardTemplate: 'Create',
      createStandardTemplateHint: 'Built with the current connection settings, including DNS. After changing those settings, rebuild from the card.',
      weknoraDesktopTemplate: 'WeKnora desktop template',
      createDesktopTemplate: 'Create',
      createDesktopTemplateHint: 'Builds an XFCE graphical desktop from the official desktop image. It is much larger than the CLI template; create it only when you need a GUI.',
      replaceStandardTemplate: 'Rebuild',
      replaceStandardTemplateConfirm: 'Rebuild the WeKnora standard template with the current settings, including DNS. The previous spawnable template is not deleted until the replacement is ready.',
      desktopTemplateProvisioning: 'The WeKnora desktop template is being created. Refresh shortly to see its status.',
      desktopTemplateReplaced: 'The previous desktop template was deleted and a rebuild has started. Wait until it is ready. The CLI template is left untouched.',
      desktopTemplateTag: 'Desktop',
      replaceDesktopTemplateConfirm: 'Rebuild the WeKnora desktop template with the current settings, including DNS. The previous spawnable desktop template is not deleted until the replacement is ready. The CLI template is left untouched.',
      templateLockedBySkills: 'This sandbox already has skills. The skill environment is bound to the current snapshot, so the runtime template cannot be changed or rebuilt. Create a new sandbox and install skills from the new template.',
      templateLockedByInFlight: 'A skill is still installing or being removed. The runtime template cannot be changed or rebuilt until that finishes.',
      templateUnnamed: 'Unnamed template',
      templateFieldImage: 'Image',
      templateFieldVersion: 'Version',
      templateFieldId: 'ID',
      templateFieldCreated: 'Created',
      templateFieldInstance: 'Instance type',
      templateFieldNetwork: 'Network',
      templateFieldInternet: 'Internet access',
      templateInternetOn: 'On',
      templateInternetOff: 'Off',
      templateReadyHint: 'Template “{name}” is ready and selected.',
      templateProvisioningHint: 'A template is still being built. The status refreshes automatically.',
      templateStatuses: {
        ready: 'Ready',
        building: 'Building',
        untagged: 'No default tag',
        failed: 'Failed',
        unknown: 'Unknown',
      },
      allowPrivateEndpoints: 'Allow private cluster endpoints',
      allowPrivateEndpointsHint: 'Use for self-hosted private control planes. Link-local and cloud metadata addresses remain blocked.',
      howToBuildTemplate: 'Sandbox cluster setup and template guide',
      noEnvVars: 'No additional environment variables.',
      fieldRequired: 'Required',
      cubeApiKeyOptional: 'Optional — leave empty for an unauthenticated self-hosted CubeSandbox',
      cubeApiKeyWhere: 'How to enable auth on a self-hosted cluster',
      cubeDnsServers: 'DNS servers',
      cubeDnsServersHelp: 'Optional. Nameserver IPs written into the WeKnora standard template. Leave empty to use the cluster default (commonly 119.29.29.29). If UDP/53 to public resolvers is blocked, use reachable addresses from the Cube host\'s /etc/resolv.conf, excluding 10/8, 172.16/12, and 192.168/16. Existing standard templates take effect only after Rebuild on the template card.',
      cubeDnsServersPlaceholder: 'e.g. 8.8.8.8, press Enter to add',
      e2bApiKeyHelp: 'Create one on the API Keys page of the E2B dashboard; it usually starts with e2b_.',
      e2bApiKeyWhere: 'Get an API key from the E2B dashboard',
      apiKeyPlaceholder: 'Paste the API key',
      secretConfigured: 'Key configured (not shown again); enter a new value to rotate',
      secretKeepHint: 'Configured — leave empty to keep it',
      e2bApiUrlOptional: 'Optional — the SDK default is used when empty',
      e2bDomainOptional: 'Optional — the SDK default is used when empty',
      e2bProxyUrlOptional: 'Data-plane gateway of a self-hosted E2B-compatible cluster. Leave empty to reach sandboxes through the sandbox domain, as E2B Cloud expects.',
      backends: {
        disabled: 'Disabled',
        local: 'Local process',
        docker: 'Docker',
        cube: 'CubeSandbox',
        e2b: 'E2B',
      },
      apiUrl: 'API endpoint',
      proxyUrl: 'Proxy endpoint',
      sandboxDomain: 'Sandbox domain',
      apiKey: 'API key',
      templateId: 'Template ID',
      httpTimeout: 'HTTP timeout (s)',
      httpTimeoutHelp: 'How long a management call to the backend may take before the endpoint counts as unreachable. Empty means 30 seconds.',
      sandboxTtl: 'Sandbox TTL (s)',
      sandboxTtlHelp: 'How long until the sandbox is paused',
      dockerImage: 'Docker image',
      dockerHost: 'Docker daemon endpoint',
      dockerHostHelp: 'Empty follows the local docker CLI (DOCKER_HOST or the current docker context), so you do not have to type /var/run/docker.sock. For a remote daemon use tcp://host:2376, fill in the TLS certificate directory, and turn on "allow private endpoints" for RFC1918 addresses.',
      dockerTlsCertPath: 'TLS certificate directory',
      dockerTlsCertPathHelp: 'Directory on the WeKnora host holding ca.pem, cert.pem and key.pem. Required for a remote daemon; certificates are mounted by the deployment, never stored here.',
      dockerIdleTtl: 'Idle reclaim (seconds)',
      dockerIdleTtlHelp: 'The Docker daemon has no idle timeout of its own. A container that runs no command for this long is reclaimed by WeKnora and rebuilt when the session continues. Empty means 1800 seconds.',
      dockerCpuLimit: 'CPU cores',
      dockerCpuLimitHelp: 'CPU cores available to one sandbox; 0 uses the built-in default.',
      dockerMemoryLimit: 'Memory limit (MB)',
      dockerMemoryLimitHelp: 'Memory limit in MB for one sandbox; 0 uses the built-in default.',
      dockerPidsLimit: 'Process limit',
      dockerPidsLimitHelp: 'Maximum processes one sandbox can create; 0 uses the built-in default.',
      dockerNetworkMode: 'Network mode',
      dockerNetworkModeHelp: 'Defaults to bridge, which skills need to install packages. Choose none for no egress at all. Docker filters by network only; per-domain rules are not possible here.',
      dockerNetworkBridge: 'bridge (egress allowed)',
      dockerNetworkNone: 'none (no egress)',
      defaultTimeout: 'Execution timeout (s)',
      defaultTimeoutHelp: 'Longest a single skill script may run before it is killed. Empty means 60 seconds.',
      terminalIdleDisconnect: 'Terminal / desktop idle disconnect (s)',
      terminalIdleDisconnectHelp: 'After the terminal or desktop is open, close it if there is no interaction for this long so the sandbox can pause on its TTL. Terminal counts keyboard and PTY output; desktop counts mouse and keyboard. Empty means 900 seconds; minimum 60 seconds, maximum 24 hours.',
      envVars: 'Environment variables',
      envKey: 'Name',
      envValue: 'Value',
      envVarsHint: 'Injected into every sandbox created from this config. Values are encrypted at rest but visible to scripts inside the sandbox.\nInjected only when a sandbox is created; to inject on each run, add them on the Sandbox secrets page.',
      addRow: 'Add variable',
      removeRow: 'Remove',
      save: 'Save',
      saveAndContinue: 'Save and continue',
      saved: 'Saved. Applies to new sessions.',
      saveFailed: 'Failed to save',
      testConnection: 'Test connection',
      deepCheck: 'Full verification',
      recheck: 'Verify again',
      deepCheckIntro: 'Full verification creates a throwaway sandbox, runs one script, checks outbound access, and destroys it.',
      deepCheckConfirm: 'Full verification runs a throwaway script. Remote backends also create and destroy a real sandbox and may consume a small amount of sandbox time. Continue?',
      checkPassed: 'All checks passed',
      checkFailed: 'Some checks failed',
      checkScopeConnection: 'Only the control plane was verified: the endpoint responds and the credential is valid. Whether a script actually runs is still unverified.',
      checkScopeFull: 'Endpoint, credential, template, in-sandbox execution and outbound network were all verified for real.',
      checkScopePolicyRestricted: 'Outbound access is restricted by policy, so egress was not probed. Endpoint, credential, template and in-sandbox execution were verified.',
      checkPendingHint: '{names} can only be confirmed by a full verification, which creates a throwaway sandbox, runs one script and destroys it.',
      skipReasons: {
        needs_deep_check: 'Needs full verification',
        control_plane_unreachable: 'Skipped: control plane unreachable',
        sandbox_not_created: 'Skipped: sandbox was not created',
        sandbox_exec_failed: 'Skipped: in-sandbox execution failed',
        egress_restricted_by_policy: 'Restricted by network policy (this config denies egress by default)',
      },
      checks: {
        client_build: 'Client construction',
        api_url_reachable: 'Endpoint reachability',
        credential_valid: 'Credential validity',
        template_exists: 'Template existence',
        sandbox_exec: 'In-sandbox execution',
        egress_available: 'Outbound network',
      },
      manageSkills: 'Manage skills',
      cardSkillsNone: 'No skills installed',
      cardSkillsMore: '+{count}',
      skillInstallerModel: 'Installer model',
      skillInstallerModelHint: 'Used by the built-in installer agent. Choose a chat model that supports tool calls.',
      skillInstallerModelRequired: 'Select an installer model first',
      skillInstallerModelSaveFailed: 'Failed to save the installer model',
      skillRollout: 'How the new skill image takes effect',
      skillRolloutHint: 'Installing or removing a skill builds a new image. This controls whether already-open sessions switch to it.',
      skillRolloutNextTurn: 'Rebuild open sessions on the next chat turn',
      skillRolloutNewSession: 'Keep open sessions on their current sandbox; only new sessions use the new image',
      skillRolloutSaveFailed: 'Failed to save the rollout setting',
      allocationMode: 'Sandbox allocation',
      allocationModeHint: 'Only affects sessions that have not used a sandbox yet; existing sessions keep their placement and files are never moved.',
      allocationModeSession: 'One sandbox per session (default)',
      allocationModeUser: "Share one sandbox across a user's sessions",
      allocationModeUnavailable: 'Shared sandboxes are not enabled on this deployment (set WEKNORA_SANDBOX_USER_ALLOCATION=enabled on every replica; Redis is required).',
      userSandboxRetentionDays: 'Keep an empty shared sandbox for (days)',
      userSandboxRetentionHint: 'After every session on a shared sandbox is deleted, it is removed once it has been empty this long (1–90 days). This is not a minimum file retention: Docker idle cleanup or provider failures may remove it sooner.',
      userSandboxesInInventory: "{count} of them are shared user sandboxes; each affects all of that user's sessions on this config.",
      userSandboxesTitle: 'Shared user sandboxes',
      userSandboxOwner: 'Owner',
      userSandboxOwnerOtherWorkspace: 'A user from another workspace',
      userSandboxLiveSessions: 'Sessions',
      userSandboxEmptySince: 'Empty since',
      userSandboxReclaimAfter: 'Reclaimed after',
      userSandboxRelease: 'Release',
      userSandboxReleaseConfirm: "Releasing deletes the files and installed packages of all of this user's sessions on this config; a new sandbox is created on next use. Release it?",
      userSandboxBusy: 'A terminal, desktop or command is still running on this sandbox. Try again later.',
      skillInstallGroup: 'Install a new skill',
      skillInstalledGroup: 'Installed',
      skillUploadClick: 'Click to upload a zip bundle',
      skillUploadDrag: 'or drop a file here',
      skillUploadHint: 'Install writes the skill onto the current image and takes a new snapshot. This can take several minutes. The current chat turn is not interrupted; open sessions rebuild their sandbox on the next turn, which clears the session workspace scratch.',
      skillUploadHintNewSession: 'Install writes the skill onto the current image and takes a new snapshot. This can take several minutes. Already-open sessions keep their current sandbox until they end; only newly started sessions pick up this install.',
      skillUploadHintShared: 'Installing builds a new image and may take several minutes. Existing shared sandboxes stay unchanged; only newly created sandboxes use the new image.',
      skillSourceSection: 'Install from a source',
      skillSourceSectionHint: 'Paste a ClawHub, GitHub or SkillHub link, or {\'@\'}owner/slug. The bundle cannot exceed {size} MB.',
      skillUploadSection: 'Upload a local bundle',
      skillUploadSectionHint: 'Drop a zip that contains SKILL.md below, or click to pick a file. The bundle cannot exceed {size} MB.',
      skillSourcePlaceholder: 'ClawHub: {\'@\'}owner/slug. GitHub/SkillHub: paste the full URL',
      skillSourceInstall: 'Install',
      skillInstallOr: 'or',
      skillSourceFailed: 'Failed to install the skill from the registry',
      skillUploadFailed: 'Failed to upload the skill',
      skillBundleTooLarge: 'The skill bundle cannot exceed {size} MB.',
      skillBundleTooManyFiles: 'The skill directory cannot hold more than {count} files.',
      skillBundleTooManyZipEntries: 'The archive cannot have more than {count} zip entries.',
      skillUploading: 'Uploading {percent}%',
      skillUploadAccepted: 'Skill install started',
      skillStatusInstalling: 'Installing',
      skillStatusReady: 'Ready',
      skillStatusFailed: 'Failed',
      skillStatusRemoving: 'Removing',
      skillStatusLabel: 'Status',
      skillDisableHint: 'Disable = the skill is invisible to the agent, files stay in the image. Changes take effect on the session\'s next execution.',
      skillDeleteHint: 'Delete removes the skill directory from the image and takes a new snapshot. The current chat turn is not interrupted; open sessions rebuild their sandbox on the next turn, which clears the session workspace scratch.',
      skillDeleteHintNewSession: 'Delete removes the skill directory from the image and takes a new snapshot. Already-open sessions keep their current sandbox until they end; only newly started sessions lose this skill.',
      skillDeleteHintShared: 'Deleting removes the skill from the image and builds a new image. Files in existing shared sandboxes stay unchanged; only newly created sandboxes use the new image.',
      skillRemoveInProgress: 'Uninstalling',
      skillRemoveWaiting: 'Uninstall from the image has started. Waiting for progress…',
      skillRemoveDone: 'Uninstalled “{name}” from this sandbox. It remains in the catalog, so you can install it again later.',
      skillRemoveStage: {
        accepted: 'Uninstall request accepted',
        sandbox_ready: 'Opening a maintenance sandbox',
        removed: 'Files removed, building a new image',
        done: 'Uninstall complete',
        failed: 'Uninstall failed',
      },
      imageInfoTitle: 'Current image',
      imageInfoSnapshot: 'Snapshot ID',
      imageInfoGeneration: 'Version',
      imageInfoBuiltAt: 'Built at',
      imageInfoBaseTemplate: 'Base template',
      imageInfoRuntimeTemplate: 'Runtime template',
      imageInfoUsingBase: 'No skills are installed yet. Sessions boot from the selected runtime template.',
      imageInfoEmpty: 'Using the base template',
      imageInfoUnset: 'Not set',
      skillTranscript: 'View install run',
      skillTranscriptLive: 'Install log',
      skillTranscriptLiveHint: 'Installing — click to watch',
      skillTranscriptTitle: 'Install run',
      skillTranscriptPrompt: 'Install instructions',
      skillTranscriptHide: 'Hide install run',
      skillGuidance: {
        placeholder: 'Add installation guidance, such as required CLIs, setup documentation, or environment constraints',
        send: 'Send guidance',
        retry: 'Reinstall with guidance',
        pending: 'Pending',
        injected: 'Injected',
        unprocessed: 'Not processed; include when reinstalling',
        unavailable: 'Input is unavailable at this stage. You can reinstall with guidance once this run finishes.',
        failed: 'Could not send guidance. Your text is preserved; please retry.',
      },
      skillTranscriptEmpty: 'This install left no transcript.',
      skillTranscriptWaiting: 'Install has started. Waiting for the process log…',
      installCommandRunning: "Command running",
      installCommandWaiting: "Waiting for command output. Elapsed time continues to update.",
      skillFiles: 'View files',
      skillFilesTitle: 'Files',
      skillFilesEmpty: 'This skill has no files to browse yet.',
      skillFilesLoadFailed: 'Failed to load skill files',
      skillFilesFileLoadFailed: 'Could not read this file',
      skillFilesBinary: 'This file is binary and cannot be previewed.',
      skillFilesTruncated: 'The file is large; only the beginning is shown.',
      skillFilesSelectHint: 'Select a file on the left to view it',
      skillFilesPreview: 'Preview',
      skillFilesSource: 'Source',
      skillLoadFailed: 'Failed to load skills',
      skillToggleFailed: 'Failed to update the skill',
      skillDeleteAccepted: 'Skill removal started',
      skillRetry: 'Reinstall',
      skillRetryHint: 'Retry with the stored bundle; no re-upload needed',
      skillRetryAccepted: 'Reinstall started',
      skillRetryFailed: 'Failed to start the reinstall',
      skillStop: 'Stop install',
      skillStopHint: 'Abort this install, then retry or uninstall',
      skillStopAccepted: 'Stopped',
      skillStopFailed: 'Failed to stop',
      skillEmpty: 'No skills installed yet. Paste a registry URL, or upload a zip.',
      skillVersion: 'Version',
      skillVersionEmpty: 'Not specified',
      skillError: 'Error',
      skillEnabled: 'Skill enabled',
      skillDisabled: 'Skill disabled',
      skillEnv: {
        toggle: 'Environment variables',
        toggleHide: 'Hide environment variables',
        none: 'This skill declared no environment variables.',
        workspaceTitle: 'Workspace-wide values',
        workspaceHint: 'Every member who has not set their own value uses the value here. Members set their own under Settings → Sandbox secrets.',
        required: 'Required',
        isSet: 'Set',
        notSet: 'Not set',
        placeholderSet: 'Stored, type to replace',
        placeholderUnset: 'Enter a value',
        save: 'Save',
        saveSuccess: 'Workspace values saved',
        saveFailed: 'Could not save the workspace values.',
        clear: 'Clear',
        clearConfirm: 'Clear the workspace value for {name}? The declaration stays. Members without their own value will then be missing it.',
        clearSuccess: 'Workspace value cleared.',
        valueTooLong: 'A value cannot exceed {max} bytes.'
      },
    },
    skills: {
      title: 'Skill Management',
      description: 'Skills live in the workspace catalog. Register them first, then install onto one or more sandboxes. An agent can only enable skills that are ready on its sandbox.',
      helpTooltip: 'A catalog skill does not have to be installed anywhere. Scripts only run after the skill is installed into the sandbox image the agent uses. Docker, Cube, and E2B images are not interchangeable — install once per sandbox.',
      hostTarget: 'This computer',
      host: {
        description: 'Skills live in the workspace catalog. An agent can enable one after it is installed on this computer.',
        helpTooltip: 'A catalog skill can stay uninstalled. Scripts run only after it is installed on this computer.',
        emptyDesc: 'No skills yet. Add one and it can be installed on this computer.',
        addStepInstallDesc: 'Confirm the parsed skill, then choose the install model. It will be installed on this computer.',
        installToSandbox: 'Install on this computer',
        installToSandboxDesc: 'Installation prepares dependencies on this computer. The agent can use the skill once it is ready.',
        installDrawerDesc: 'Install “{name}” on this computer.',
        noInstalls: 'Not installed on this computer',
        installedOnName: 'Installed on this computer',
        manageDrawerDesc: 'Enable, edit variables, or uninstall on this computer.',
        manageUninstall: 'Uninstall from this computer',
        manageUninstallConfirm: 'Uninstall “{name}” from this computer?',
        deleteCatalogConfirm: 'Remove “{name}” from the catalog? Uninstall it from this computer first.',
        deleteCatalogBlocked: 'Uninstall this skill from this computer first.',
        upgradeDrawerDesc: 'Upgrade “{name}” to the catalog version. This computer keeps the current version until the upgrade finishes, and a failed upgrade leaves it in place.',
        disableHint: 'While disabled, agents cannot see this skill. Its files stay on this computer. The change applies the next time a session runs.',
        removeDone: 'Uninstalled “{name}” from this computer. It remains in the catalog and can be installed again.',
        removeWaiting: 'Uninstall started. Waiting for progress…',
        removeSandboxReady: 'Preparing the local directory',
        removeRemoved: 'Files deleted',
        envWorkspaceHint: 'Members who have not set their own value use this one. They can set a personal value under Settings → Environment variables.',
      },
      goSandboxSettings: 'Configure sandboxes',
      noConfigsDesc: 'No sandbox yet. Skills need an image to install into.',
      addSkill: 'Add skill',
      addDrawerDesc: 'Paste a source or upload a zip to add it to the catalog. You can install it onto sandboxes now or later.',
      addProgress: 'Add progress',
      addStepRegister: 'Register',
      addStepInstall: 'Install',
      addStepRegisterDesc: 'Paste a source or upload a zip to add the skill to the workspace catalog.',
      addStepInstallDesc: 'Confirm the parsed skill, then choose which sandboxes to install into. You can skip this and install later from the list.',
      addFinish: 'Done',
      addRegisteredAs: 'Registered as “{name}”',
      addFileSelected: 'Selected {name}',
      addClearFile: 'Clear',
      emptyDesc: 'No skills yet. Add one, then install it onto one or more sandboxes.',
      emptyNoSandboxHint: 'There is no sandbox yet. Scripted skills cannot run until they are installed into an image.',
      installSkill: 'Add skill',
      installDrawerDesc: 'Install into the {name} image.',
      installToSandbox: 'Install onto sandbox',
      installToSandboxDesc: 'Each sandbox backend needs its own install. Docker, Cube, and E2B images are not interchangeable.',
      pickSandboxes: 'Install onto sandboxes',
      pickSandboxesHint: 'The skill is written into the image used by each selected sandbox. Docker, Cube, and E2B images are not interchangeable — install once per sandbox. You can skip this and install later from the catalog.',
      noSandboxToInstall: 'No sandbox is available to install into.',
      noInstalls: 'Not installed on any sandbox',
      installedOn: 'Installed on',
      installedOnName: 'Installed on {name}',
      installedCount: 'Installed on {count} sandboxes',
      installPanelGroup: 'Installed',
      installPanelAvailable: 'Not installed',
      installAction: 'Install',
      viewInstallProgress: 'View progress',
      manageOnSandbox: 'Manage this skill on “{name}”',
      manageDrawerDesc: 'Manage enablement, variables, and uninstall on sandbox “{name}”.',
      manageEnable: 'Enable',
      manageUninstall: 'Uninstall from sandbox',
      manageUninstallConfirm: 'Uninstall “{name}” from this sandbox?',
      deleteCatalog: 'Remove from catalog',
      deleteCatalogConfirm: 'Remove “{name}” from the catalog? Uninstall it from every sandbox first.',
      deleteCatalogBlocked: 'Uninstall this skill from every sandbox first.',
      deleteSuccess: 'Removed from catalog',
      registerAccepted: 'Added to catalog',
      installAccepted: 'Install started',
      installPartial: 'Started on some sandboxes. {failed} could not start.',
      installOutdated: 'Differs from catalog',
      upgrade: 'Upgrade',
      upgradeCount: 'Upgrade {count}',
      upgradeTitle: 'Upgrade skill',
      upgradeDrawerDesc: 'Upgrade {name} on the selected sandboxes to the catalog version. Each sandbox keeps running its current version until the upgrade finishes, and a failed upgrade leaves it in place.',
      upgradeAvailable: 'Upgrade available',
      upgradeFromTo: 'Upgrade {from} → {to}',
      upgradeAccepted: 'Upgrade started',
      noSandboxToUpgrade: 'No sandbox needs an upgrade.',
      upgradeRowTitle: 'New version available',
      upgradeRowHint: 'This sandbox runs a different version from the catalog. It keeps running it until the upgrade finishes, and a failed upgrade leaves it in place.',
      upgradeRowHintVersions: 'This sandbox runs {from}; the catalog has {to}. {from} keeps running until the upgrade finishes, and a failed upgrade leaves it in place.',
      upgradeRowHintFailed: 'The install on this sandbox did not succeed, and the catalog has moved on. Upgrading installs the catalog version instead.',
      upgradeRowHintFailedVersions: 'Installing {from} on this sandbox did not succeed, and the catalog has {to}. Upgrading installs {to} instead.',
      servedWhileUpgrading: 'Upgrading; still running {version}',
      servedWhileUpgradingPlain: 'Upgrading; still running the previous version',
      servedAfterFailure: 'Upgrade failed; still running {version}',
      servedAfterFailurePlain: 'Upgrade failed; still running the previous version',
      loadFailed: 'Failed to load',
    },
    mcpService: 'MCP Service',
    versionInfo: 'Version Info',
    taskQueue: 'Task Queues',
    tenantInfo: 'Workspace Info',
    workspaceSettings: 'Workspace Settings',
    navGroups: {
      account: 'Account',
      workspace: 'Workspace',
      modelsRuntime: 'Models',
      dataExtensions: 'Data & Extensions',
      systemAdministration: 'System Administration',
      platform: 'Platform'
    },
    roleDenied: {
      title: 'Insufficient permissions',
      desc: 'Your role can\'t access this settings page. Ask an admin of this workspace to grant the required role.'
    },
    capabilityUnavailable: 'This feature is not supported by the current deployment. You have been returned to an available page.',
    weknoraCloud: {
      title: 'WeKnora Cloud',
      description: 'Configure WeKnora Cloud APPID and APPSECRET credentials. Credentials are used for model services and document parsing engine.',
      viewDocs: 'View Docs',
      unconfigured: 'Credentials not configured. Please fill in APPID and APPSECRET.',
      configured: 'Credentials configured and working.',
      expired: 'WeKnora Cloud credentials expired',
      expiredDefault: 'Encryption key changed after service restart. Saved credentials cannot be decrypted. Please re-enter credentials.',
      reconfigure: 'Reconfigure',
      appIdLabel: 'APPID',
      appIdDesc: 'WeKnora Cloud application ID',
      appIdPlaceholder: 'Enter APPID',
      appSecretLabel: 'APPSECRET',
      appSecretDesc: 'WeKnora Cloud application secret',
      appSecretPlaceholder: 'Enter APPSECRET',
      saveHint: 'Credentials will be validated and encrypted before saving.',
      saveBtn: 'Save Credentials',
      usageTitle: 'Usage Guide',
      usageSteps: '1. Save APPID and APPSECRET\n2. Register chat, embedding, rerank, and vlm in Cloud Models below\n3. Parser: Knowledge Base Settings → Parser Engine → WeKnora Cloud',
      fillRequired: 'Please fill in APPID and APPSECRET',
      saveSuccess: 'Credentials saved successfully',
      saveFailed: 'Failed to save credentials',
      credentialConfigured: 'WeKnoraCloud credentials configured.',
      credentialExpired: 'Credentials expired. Please reconfigure.',
      credentialUnconfigured: 'WeKnoraCloud credentials not configured. Please set up APPID and APPSECRET first.',
      checkingStatus: 'Checking credential status...',
      goToSettings: 'Go to Settings',
      modelHintConfigured: 'WeKnoraCloud credentials configured. See supported models in',
      modelHintDocsLink: 'API docs',
      modelsSection: {
        title: 'Cloud Models',
        descReady: 'Register the four standard WeKnora Cloud models for chat, retrieval, reranking, and vision.',
        descPending: 'Save credentials above before adding cloud models here.',
        statusAdded: 'Added',
        statusPending: 'Credentials required',
        addOne: 'Add',
        addAllBtn: 'Add all missing ({count})',
        addAllConfirm: 'Confirm',
        confirmAddOne: 'Add {type} model "{name}"?',
        confirmAddAll: 'Add all {count} missing cloud models at once?',
        allReady: 'All four cloud models are ready'
      },
      addModelsSuccess: 'Successfully added {count} model(s)',
      addModelsPartial: 'Added {success}, {failed} failed',
      addModelsFailed: 'Failed to add models',
      addModelsEmbeddingFailed: 'Embedding connection test failed; could not detect vector dimension',
      addModelsDisplayName: {
        chat: 'WeKnoraCloud Chat',
        embedding: 'WeKnoraCloud Embedding',
        rerank: 'WeKnoraCloud ReRank',
        vllm: 'WeKnoraCloud Vision'
      }
    },
    system: 'System Settings',
    parser: {
      title: 'Parser Engine',
      description: 'Document parser engine status and configuration. Settings here take priority over server environment variables. Leave empty to use environment variable defaults.',
      supportedFileTypes: 'Supported Formats',
      statusSection: 'Status',
      configSection: 'Configuration',
      featuresLabel: 'Features',
      loading: 'Loading...',
      retry: 'Retry',
      noEngineDetected: 'No parser engine detected. Please ensure the DocReader service is running properly.',
      disconnected: 'Disconnected',
      connected: 'Connected',
      available: 'Available',
      unavailable: 'Unavailable',
      builtinDesc: 'DocReader built-in parser engine (docx/pdf/xlsx and other complex formats)',
      currentAddr: 'Current',
      envVarHint: 'To modify, set environment variables DOCREADER_ADDR and DOCREADER_TRANSPORT (grpc/http), then restart the service.',
      selfHostedEndpoint: 'Self-hosted Endpoint',
      formulaRecognition: 'Formula Recognition',
      tableRecognition: 'Table Recognition',
      parseMethodLabel: 'PDF Parsing Method',
      parseMethodAuto: 'Auto-detect (Recommended)',
      parseMethodOCR: 'Force OCR',
      parseMethodText: 'Text extraction only',
      parseMethodHint: 'Auto mode uses OCR for scanned PDFs and extracts the native text layer from digital PDFs.',
      sealRecognition: 'Seal Recognition',
      chartRecognition: 'Chart Recognition',
      language: 'Language',
      testConnection: 'Test Connection',
      docs: 'Docs',
      loadFailed: 'Failed to load parser engine list',
      ensureDocreaderConnected: 'Please ensure the DocReader service is configured via environment variables and connected',
      checkDoneStatusUpdated: 'Checked with current parameters. Status above has been updated.',
      checkSuccess: 'Test Connection Successful',
      checkFailed: 'Check failed',
      saveSuccess: 'Saved successfully',
      saveFailed: 'Save failed',
      mineruEndpointPlaceholder: 'e.g. https://your-mineru.example.com',
      defaultPipeline: 'Default pipeline',
      languagePlaceholder: 'e.g. ch, en, ja (default ch)',
      mineruCloudApiKeyPlaceholder: 'MinerU Cloud API Key',
      vlmLabel: 'vlm (Visual Language Model)',
      mineruHtmlLabel: 'MinerU-HTML (HTML Parsing)',
      serverUrl: 'Server URL',
      vlmServerUrlPlaceholder: 'e.g. http://your-vllm-server:8000',
      vlmServerUrlHint: 'Required when Backend is vlm-http-client or hybrid-http-client',
      mineruEndpointHint: 'The server version is detected automatically: MinerU 4.0+ uses the V1 API, older versions use /file_parse.',
      mineruServerApiKeyPlaceholder: 'Value of the server --api-key flag (leave empty if auth is disabled)',
      mineruServerApiKeyHint: 'Only used by MinerU 4.0+.',
      mineruTierLabel: 'Parsing tier',
      mineruTierDefault: 'Server default (prefers standard)',
      mineruTierFlash: 'flash (fastest, lowest quality)',
      mineruTierBasic: 'basic (small models, runs on CPU)',
      mineruTierStandard: 'standard (VLM, high quality)',
      mineruTierAdvanced: 'advanced (VLM, highest quality, slowest)',
      mineruTierHint: 'Only applies to MinerU 4.0+; available tiers depend on the server --tier flag.',
      mineruLegacySection: 'Legacy options (MinerU 3.x and earlier)',
      mineruLegacySectionHint: 'MinerU 4.0 removed these request parameters, so they are ignored by 4.0+ servers; configure the VLM server on the MinerU side instead.',
      paddleocrVlEndpointPlaceholder: 'e.g. http://your-paddleocr-vl:8080',
      paddleocrVlEndpointHint: 'Base URL of the full PaddleOCR-VL pipeline service; no /layout-parsing suffix needed',
      paddleocrVlCloudTokenPlaceholder: 'PaddleOCR-VL AI Studio Token'
    },
    storageBackend: {
      description: 'Manage the storage instances used for files and images; multiple instances of the same type can be configured.',
      empty: 'No storage instances configured yet',
      defaultTag: 'Default',
      add: 'Add storage instance',
      editTitle: 'Edit storage instance',
      createTitle: 'Add storage instance',
      editSubtitle: 'Update the connection configuration of this storage instance.',
      createSubtitle: 'Add a new storage instance for files and images.',
      basicSection: 'Basic information',
      nameLabel: 'Name',
      namePlaceholder: 'e.g. Production COS, Archive COS',
      providerLabel: 'Storage type',
      modeLabel: 'Deployment mode',
      modeRemote: 'Remote instance',
      modeEnv: 'Environment variables',
      connectionSection: 'Connection settings',
      optionalPlaceholder: 'Optional',
      advancedSection: 'Advanced options',
      pathPrefixLabel: 'Path prefix',
      useSslDesc: 'Access MinIO over HTTPS',
      forcePathStyleDesc: 'Use path style',
      useTempBucketDesc: 'Use temporary bucket',
      tempBucketLabel: 'Temporary bucket',
      tempBucketPlaceholder: 'Optional, for temporary files',
      tempRegionLabel: 'Temporary bucket region',
      tempRegionPlaceholder: 'Leave empty to use the main region',
      testConnection: 'Test connection',
      localStorage: 'Local storage',
      setDefault: 'Set as default',
      edit: 'Edit',
      delete: 'Delete',
      testSuccess: 'Connection succeeded',
      testFailed: 'Connection failed',
      nameRequired: 'Please enter a name',
      saveSuccess: 'Saved successfully',
      saveFailed: 'Failed to save',
      defaultUpdated: 'Default storage updated',
      deleteTitle: 'Delete storage instance',
      deleteConfirm: 'Are you sure you want to delete "{name}"?',
      deleted: 'Deleted',
      deleteFailed: 'Failed to delete'
    },
    storage: {
      title: 'Storage Engine',
      description: 'Configure document and image storage. Set engine parameters here; knowledge bases only select which engine to use.',
      basicSection: 'Basic',
      modeSection: 'Deployment Mode',
      credentialsSection: 'Credentials',
      bucketSection: 'Bucket',
      useSslDesc: 'Connect to MinIO over HTTPS',
      loading: 'Loading...',
      retry: 'Retry',
      defaultEngine: 'Default Engine',
      defaultEngineDesc: 'The default storage engine when creating new knowledge bases',
      engineLocal: 'Local',
      engineCos: 'Tencent Cloud COS',
      engineTos: 'Volcengine TOS',
      engineOss: 'Alibaba Cloud OSS',
      localTitle: 'Local Storage',
      localDesc: 'Store files on the server local filesystem, suitable for single-node deployment only.',
      available: 'Available',
      needsConfig: 'Needs Configuration',
      configurable: 'Configurable',
      pathPrefix: 'Path Prefix (optional)',
      pathPrefixPlaceholder: 'e.g. weknora/images',
      prefixPlaceholder: 'e.g. weknora',
      bucketName: 'Bucket Name',
      bucketPlaceholder: 'Bucket name',
      minioDesc: 'S3-compatible self-hosted object storage, suitable for private networks and private cloud deployment.',
      minioDocker: 'Docker Deployment',
      minioRemote: 'Remote MinIO',
      minioDockerDetected: 'Docker-deployed MinIO environment variables detected. Connection info is provided by env vars, no manual input needed.',
      minioDockerNotDetected: 'MinIO environment variables (MINIO_ENDPOINT, etc.) not detected. Please verify your Docker Compose configuration.',
      minioRemoteHint: 'Connect to a remote MinIO service. Manual connection info required.',
      cosTitle: 'Tencent Cloud COS',
      cosDesc: 'Tencent Cloud Object Storage, suitable for public cloud deployment with CDN acceleration.',
      cosSecretIdPlaceholder: 'Tencent Cloud API SecretId',
      cosSecretKeyPlaceholder: 'Tencent Cloud API SecretKey',
      cosAppIdPlaceholder: 'Tencent Cloud Account AppID',
      tosTitle: 'Volcengine TOS',
      tosDesc: 'Volcengine Object Storage Service (TOS), suitable for public cloud deployment.',
      tosAccessKeyPlaceholder: 'Volcengine Access Key',
      tosSecretKeyPlaceholder: 'Volcengine Secret Key',
      s3Title: 'AWS S3',
      s3Desc: 'AWS S3 and S3-compatible object storage services, suitable for public cloud deployment.',
      s3AccessKeyPlaceholder: 'AWS Access Key',
      s3SecretKeyPlaceholder: 'AWS Secret Key',
      s3DefaultCredentialsHint: 'Leave both keys empty to use the AWS default credential chain (IAM role, IRSA / web identity, environment, or shared config).',
      s3EndpointPlaceholder: 'Optional; leave empty to use the AWS regional endpoint',
      ks3Title: 'Kingsoft Cloud KS3',
      ks3Desc: 'Kingsoft Cloud Object Storage Service (KS3), suitable for public cloud deployment.',
      ks3AccessKeyPlaceholder: 'Kingsoft Cloud Access Key',
      ks3SecretKeyPlaceholder: 'Kingsoft Cloud Secret Key',
      ks3EndpointPlaceholder: 'e.g. ks3-cn-beijing.ksyuncs.com',
      ks3RegionPlaceholder: 'e.g. BEIJING',
      engineKs3: 'Kingsoft Cloud KS3',
      obsTitle: 'Huawei Cloud OBS',
      obsDesc: 'Huawei Cloud Object Storage Service (OBS), suitable for public cloud deployment.',
      obsAccessKeyPlaceholder: 'Huawei Cloud Access Key',
      obsSecretKeyPlaceholder: 'Huawei Cloud Secret Key',
      obsEndpointPlaceholder: 'e.g. obs.cn-north-4.myhuaweicloud.com',
      obsRegionPlaceholder: 'e.g. cn-north-4',
      engineObs: 'Huawei Cloud OBS',
      ossTitle: 'Alibaba Cloud OSS',
      ossDesc: 'Alibaba Cloud Object Storage Service (OSS), suitable for public cloud deployment.',
      ossAccessKeyPlaceholder: 'Alibaba Cloud Access Key',
      ossSecretKeyPlaceholder: 'Alibaba Cloud Secret Key',
      console: 'Console',
      docs: 'Docs',
      testConnection: 'Test Connection',
      loadFailed: 'Failed to load',
      saveSuccess: 'Saved successfully',
      saveFailed: 'Save failed',
      unknownError: 'Unknown error',
      requestFailed: 'Request failed'
    }
  },
  webSearchSettings: {
    title: 'Web Search Configuration',
    description: 'Configure web search so answers can include up-to-date information from the internet.',
    basicSection: 'Basic',
    credentialsSection: 'Connection',
    optionsSection: 'Options',
    providersTitle: 'Search Engine Providers',
    addProvider: 'Add Provider',
    editProvider: 'Edit Provider',
    deleteConfirm: 'Are you sure you want to delete this provider?',
    providerNameLabel: 'Name',
    providerNamePlaceholder: 'e.g., Production Bing Search',
    providerTypeLabel: 'Provider Type',
    providerDescLabel: 'Notes',
    providerDescPlaceholder: 'Optional, e.g., for testing',
    engineIdLabel: 'Engine ID',
    setAsDefault: 'Set as default',
    testConnection: 'Test Connection',
    testing: 'Testing...',
    viewDocs: 'View docs for API key',
    noProvidersDesc: 'Add a web search provider to enable your agents to retrieve real-time information from the internet.',
    setAsDefaultDesc: 'This provider will be used by default when an agent doesn\'t specify one',
    proxyUrlLabel: 'HTTP proxy',
    proxyUrlPlaceholder: 'e.g. http://proxy.example.com:3128 (optional; http/https only)',
    proxyUrlHelp: 'Use when outbound access to the search API requires a proxy; leave empty to rely on HTTP_PROXY/HTTPS_PROXY environment variables.',
    apiKeyLabel: 'API Key',
    apiKeyOptionalLabel: 'API Key (optional)',
    baseUrlLabel: 'Instance URL',
    baseUrlPlaceholder: 'https://searxng.example.com',
    apiKeyPlaceholder: 'Enter API key',
    toasts: {
      providerCreated: 'Search provider created',
      providerUpdated: 'Search provider updated',
      providerDeleted: 'Search provider deleted',
      testSuccess: 'Connection test succeeded',
      testFailed: 'Connection test failed'
    }
  },
  vectorStoreSettings: {
    title: 'Vector Database Engine',
    description: 'Register and manage vector database instances for knowledge base search.',
    basicSection: 'Basic',
    storesTitle: 'Vector Databases',
    addStore: 'Add Database',
    editStore: 'Edit Database',
    deleteConfirm: 'Are you sure you want to delete this vector database?',
    emptyDesc: 'No vector databases configured. Click "Add Database" to get started.',
    engineTypeLabel: 'Engine Type',
    nameLabel: 'Name',
    namePlaceholder: 'e.g., my-vector-store',
    connectionInfo: 'Connection Info',
    advancedIndexConfig: 'Advanced Settings',
    envTag: 'DEFAULT',
    testConnection: 'Test Connection',
    testing: 'Testing...',
    immutableNotice: 'Engine type, connection, and index settings cannot be changed after creation.\nTo change these, delete and recreate.',
    insecureSkipVerifyWarning: 'Disabling TLS certificate verification exposes the connection to man-in-the-middle attacks. Use only for self-signed development clusters — never in production.',
    validation: {
      nameRequired: 'Name is required',
      engineTypeRequired: 'Engine type is required',
      fieldRequired: '{field} is required',
      indexNamePattern: 'Must start with a letter. Only letters, numbers, underscore, and hyphen allowed (max 128)'
    },
    toasts: {
      storeCreated: 'Vector database created',
      storeUpdated: 'Vector database updated',
      storeDeleted: 'Vector database deleted',
      testSuccess: 'Connection test succeeded',
      testFailed: 'Connection test failed',
      duplicateName: 'A vector database with this name already exists',
      errorGeneric: 'An error occurred. Please try again.'
    }
  },
  memorySettings: {
    title: 'My memory',
    description: 'What the assistant remembers about you across conversations. You can review, edit and delete anything here; deleted memories are never used again.',
    workspaceDisabled: 'Long-term memory is off for this workspace. This switch takes effect once an admin turns it on.',
    enableLabel: 'Use long-term memory for me',
    enableDescription: 'When off, the assistant neither reads nor adds your memories. Existing ones are kept and resume when you turn it back on.',
    agentDisabledHint: 'An individual agent can also turn long-term memory off for itself. In a conversation with such an agent your memories are neither read nor added to; other agents are unaffected.',
    usage: {
      title: 'When memories are used',
      iconHint: 'See which memories are used in conversation',
      intro: 'Only Active memories are used in conversation.',
      rows: {
        alwaysOn: {
          label: 'Every turn',
          text: 'Profile, preferences, and anything you asked to remember'
        },
        situational: {
          label: 'When related',
          text: 'Facts and ongoing tasks'
        },
        interest: {
          label: 'Usual topics',
          text: 'Long-term interests; not necessarily quoted every turn'
        },
        tracking: {
          label: 'Watch first',
          text: 'Recurring topics are counted first, and become a long-term interest only after they hit the threshold'
        },
        documents: {
          label: 'Familiar sources',
          text: 'Documents your answers keep drawing on; retrieval prefers them slightly'
        },
        pending: {
          label: 'After you confirm',
          text: 'Inferred items awaiting review'
        },
        inactive: {
          label: 'Not used',
          text: 'Replaced and archived items'
        }
      }
    },
    listTitle: 'Memories',
    listCount: '{count} total',
    statusActive: 'Active',
    statusSuperseded: 'Replaced',
    statusArchived: 'Archived',
    statusPending: 'Needs review',
    statusTracking: 'Watching',
    statusDocuments: 'Familiar sources',
    confirmGuess: 'Yes',
    rejectGuess: 'No',
    pendingHint: 'These were inferred from your questions. They are not used until you confirm them.',
    trackingHint: 'These are topics you keep asking about, but they have not yet hit the threshold to become a long-term interest. They are not used in conversation until then.',
    documentsHint: 'These documents keep showing up in answers, so retrieval leans toward them a little. Stop tracking to drop the boost; they reappear after two more citations.',
    supersededHint: 'These have been replaced by newer memories. They are kept as a history of what changed and are not used in conversation.',
    archivedHint: 'Archived memories are not used in conversation. When you hit the per-person limit, less-used items are tucked away automatically.',
    pendingEmptyTitle: 'Nothing to review',
    pendingEmptyDescription: 'When something is inferred about you from your questions, it waits here for your confirmation.',
    trackingEmptyTitle: 'No topics being watched',
    trackingEmptyDescription: 'Once auto-distillation is on, the system counts what you usually ask about and turns it into a long-term interest after enough repeats.',
    documentsEmptyTitle: 'No familiar sources yet',
    documentsEmptyDescription: 'A document appears here after it has been cited in answers at least twice.',
    supersededEmptyTitle: 'Nothing has been replaced yet',
    supersededEmptyDescription: 'When a new wording covers the same topic, the old one stays here. Editing an item on this page updates it in place and does not create a history row.',
    archivedEmptyTitle: 'Nothing archived yet',
    archivedEmptyDescription: 'When active memories exceed the cap (200 by default), less-used ones are tucked away. Dated tasks also land here after they expire.',
    documentsHits: 'Cited {hits} times',
    untitledDocument: 'Untitled document',
    openDocument: 'Open document',
    openDocumentUnavailable: 'Cannot open: missing knowledge base',
    stopTrackingDocument: 'Stop tracking',
    stopTrackingDocumentConfirm: 'Stop using this document for personalized retrieval? It will reappear after two more citations.',
    stopTrackingDocumentSuccess: 'Stopped tracking this source',
    stopTrackingDocumentFailed: 'Failed to stop tracking',
    trackingProgress: 'Asked {hits} times; becomes a long-term interest at {threshold}',
    trackingReady: 'Threshold reached — you can save this as a long-term interest',
    trackingAliases: 'Also asked as: {aliases}',
    promoteTopic: 'Save as interest',
    dismissTopic: 'Stop watching',
    dismissTopicConfirm: 'Stop watching this topic? Asking about it again will not automatically save it as a long-term interest.',
    promoteSuccess: 'Saved as a long-term interest',
    promoteFailed: 'Failed to save as interest',
    dismissSuccess: 'Stopped watching this topic',
    dismissFailed: 'Failed to stop watching',
    confirmSuccess: 'Confirmed',
    confirmFailed: 'Failed to confirm',
    rejectSuccess: 'Declined. It will not be inferred again.',
    rejectFailed: 'Failed to decline',
    export: 'Export',
    consolidate: 'Tidy up',
    consolidateConfirm: 'Near-duplicate items will be merged. The old wording stays under Replaced. Continue?',
    consolidateSuccess: 'Tidied up: merged {merged} groups, archived {expired} expired, demoted {demoted} stale tasks',
    consolidateNothing: 'Nothing needed tidying',
    consolidateTooFewItems: 'Too few memories to be worth tidying yet',
    consolidateNoCandidates: 'No memories looked close enough to merge',
    consolidateModelDeclined: 'The model looked and found these are different things, so nothing was merged',
    consolidateTooSoon: 'A tidy-up just ran. Please try again in a moment.',
    consolidateModelUnavailable: 'The model was unavailable, so nothing was changed rather than risk a wrong merge',
    consolidateFailed: 'Failed to tidy up',
    clear: 'Clear all',
    clearConfirm: 'This permanently deletes all of your memories, watched topics, and familiar sources and cannot be undone. Continue?',
    deleteConfirm: 'Permanently delete this memory?',
    add: 'Add',
    addPlaceholder: 'Write one sentence you want the assistant to remember',
    addTitle: 'Add a memory',
    addKindLabel: 'Kind',
    addContentLabel: 'Content',
    emptyTitle: 'No memories yet',
    emptyDescription: 'Say "remember that ..." in a conversation, or add one directly above.',
    kinds: {
      profile: 'About you',
      preference: 'Preference',
      fact: 'Fact',
      task: 'Ongoing task',
      interest: 'Long-term interest'
    },
    kindHints: {
      profile: 'Included in every later turn',
      preference: 'Included in every later turn',
      fact: 'Used only when the question is related',
      task: 'Used only when the question is related',
      interest: 'Helps the assistant understand what you usually ask about; not necessarily quoted every turn'
    },
    origins: {
      explicit: 'You asked',
      extracted: 'Distilled',
      manual: 'Added by hand'
    },
    toasts: {
      enabled: 'Long-term memory enabled for you',
      disabled: 'Long-term memory disabled',
      added: 'Added',
      updated: 'Updated',
      deleted: 'Deleted',
      cleared: 'Deleted {count} memories',
      saveFailed: 'Operation failed: {message}'
    }
  },
  envVarSettings: {
    title: 'Sandbox secrets',
    host: {
      title: 'Environment variables',
      description: 'Personal keys for skills on this computer, not WeKnora system or deployment settings.',
      helpAria: 'About environment variables',
      introRuntimeBody: 'Injected when a skill runs on this computer. You can also provide a value in chat. Saved values are not shown again.',
      loadFailed: 'Could not load environment variables.',
      sandboxTitle: 'Always included on this computer',
      sandboxHint: 'Sent only with commands that run on this computer. Leave this empty unless you need it. You can also provide a value in chat.',
      nameInvalid: 'This name cannot be used. Reserved names (for example PATH, or names starting with WEKNORA_) are rejected.',
      deleteConfirm: 'Delete {name}? Later runs on this computer will no longer include it.',
    },
    description: 'Personal keys for skills and sandboxes, not WeKnora system or deployment settings.',
    helpAria: 'About sandbox secrets',
    introPersonalTitle: 'Yours only',
    introPersonalBody: 'Injected into your own chats and runs. Other members cannot see them, and theirs will not replace yours.',
    introRuntimeTitle: 'Passed in when something runs',
    introRuntimeBody: 'Injected when a skill runs, or when a command runs in that sandbox. You can also supply them in the conversation. Saved values are never shown again.',
    loading: 'Loading…',
    loadFailed: 'Could not load sandbox secrets.',
    retry: 'Try again',
    noConfigTitle: 'No sandbox configured',
    noConfigDescription: 'This workspace has no sandbox backend yet, so there is nothing to set keys for.',
    sandboxTitle: 'Always passed in a chosen sandbox',
    sandboxHint: 'Passed only to commands you run in that sandbox. Most people never need this; you can also supply values in the conversation.',
    sandboxEmpty: 'Nothing added yet.',
    sandboxPick: 'Which sandbox',
    skillTitle: 'Keys a skill needs',
    skillHint: 'Each skill declares what it needs. Save them here ahead of time, or supply them in the conversation. Workspace admins can also fill in shared values on the skill card.',
    skillEmptyTitle: 'No skill has asked for keys yet',
    skillEmptyDesc: 'After you install a skill that declares credentials, the fields to fill in will show up here.',
    skillOnSandbox: 'Sandbox: {name}',
    skillNeedsCount: '{count} not saved here',
    skillReady: 'Saved on this page',
    requiredTag: 'Required',
    statusUnset: 'Not set',
    statusWorkspace: 'Using the workspace value',
    statusUser: 'Set by you',
    setValue: 'Set',
    replaceValue: 'Replace',
    addRow: 'Add',
    namePlaceholder: 'VARIABLE_NAME',
    nameRule: 'Upper-case letters, digits and underscores, starting with a letter or an underscore.',
    nameInvalid: 'That name cannot be used. Names the sandbox reserves, such as PATH or anything starting with WEKNORA_, are not accepted.',
    nameDuplicate: 'You already have a variable with that name here.',
    valuePlaceholder: 'Enter a value',
    storedPlaceholder: 'Stored, type to replace',
    valueRequired: 'Enter a value before saving.',
    valueTooLong: 'A value cannot exceed {max} bytes.',
    tooManyValues: 'You can store at most {max} variables here.',
    save: 'Save',
    saveSuccess: 'Saved. The value is stored and will not be shown again.',
    saveFailed: 'Could not save the value.',
    delete: 'Delete',
    deleteConfirm: 'Delete {name}? It will no longer be passed to anything you run on this sandbox.',
    deleteSuccess: 'Variable deleted.',
    clear: 'Remove my value',
    clearConfirm: 'Remove your own value for {name}? The workspace value, if there is one, applies again afterwards.',
    clearSuccess: 'Your value was removed.',
    updatedAt: 'You set this on {time}'
  },
  defaultSettings: {
    loadFailed: 'Could not load defaults. Retry before editing.',
    title: 'Defaults',
    description: 'Manage the models and search engine this workspace uses by default, in one place.',
    introTitle: 'Used whenever a resource does not pick its own',
    introDescription: 'A model chosen on an agent, knowledge base or conversation always wins. Otherwise the workspace default here applies, and if none is set, the deployment\'s built-in default is used.',
    readOnly: 'Only workspace admins can change these. You can see which defaults are in effect.',
    modelGroup: 'Models',
    webSearchGroup: 'Web search',
    unsetPlaceholder: 'Not set (system default)',
    followChatPlaceholder: 'Not set (follow default chat model)',
    slots: {
      chat: {
        label: 'Default chat model',
        description: 'Used by new agents and Q&A, and as the fallback for background tasks.',
        none: 'No chat model is available, so Q&A and background generation will not work.',
      },
      utility: {
        label: 'Lightweight generation model',
        description: 'Used for short tasks such as session titles, MCP usage instructions and memory extraction. A faster, cheaper model works well.',
        none: 'No chat model is available, so titles and instructions cannot be generated.',
      },
      embedding: {
        label: 'Default embedding model',
        description: 'Preselected for new knowledge bases. Existing knowledge bases are unchanged.',
        none: 'No embedding model is available, so knowledge bases cannot be created.',
      },
      rerank: {
        label: 'Default rerank model',
        description: 'Used by searches and built-in agents that have no rerank model of their own.',
        none: 'No rerank model is available, so search results keep their retrieval order.',
      },
      vlm: {
        label: 'Default vision model',
        description: 'Default choice for image understanding and multimodal parsing.',
        none: 'No vision model is available, so image understanding is unavailable.',
      },
      asr: {
        label: 'Default speech recognition model',
        description: 'Default choice for audio and video transcription.',
        none: 'No speech recognition model is available, so transcription is unavailable.',
      },
    },
    hints: {
      workspace: 'Using the workspace setting.',
      system: 'Not set. Currently using the system default: {name}',
      auto: 'Not set. Currently using the first available model: {name}',
      followChat: 'Not set. Following the default chat model: {name}',
      staleFallback: 'The selected model was deleted or is unavailable. Currently falling back to: {name}',
      staleNone: 'The selected model was deleted or is unavailable, and there is nothing to fall back to.',
    },
    webSearch: {
      label: 'Default search engine',
      description: 'Used when web search is on for an agent that has no search engine of its own.',
      unset: 'No default search engine. Agents without their own search engine cannot search the web.',
      placeholder: 'Select a search engine',
    },
    toasts: {
      saveSuccess: 'Defaults saved',
      saveFailed: 'Save failed: {message}',
    },
  },
  memoryWorkspaceSettings: {
    title: 'Long-term memory',
    description: 'Let the assistant remember what members tell it — who they are, how they like to work, stable facts and what they are working on — across conversations.',
    introTitle: 'Off by default, you have to turn it on',
    introDescription: 'Long-term memory retains what members say in conversations, so it does not arrive enabled. Once on, each member has their own isolated memory space and can review, edit, delete or switch it off entirely under "My memory". Active profile and preference memories are included in every later turn; facts and ongoing tasks are recalled only when the question is related.',
    enableLabel: 'Enable long-term memory in this workspace',
    enableDescription: 'When off, no conversation in this workspace reads or writes memory.',
    writeModeLabel: 'How memories are written',
    writeModeDescription: 'Controls what gets remembered.',
    writeModeExplicit: 'Explicit only',
    writeModeAuto: 'Distill automatically',
    writeModeExplicitHint: 'Only records what a member explicitly asks to remember, plus entries added by hand. No extra model call.',
    writeModeAutoHint: 'Additionally makes one background model call after a conversation to distill what is worth keeping from what the member said.',
    extractModelLabel: 'Distillation model',
    extractModelDescription: 'Leave blank to use the model the conversation itself used.',
    extractDelayLabel: 'Distillation delay',
    extractDelayDescription: 'How long a finished turn waits before distillation runs. Waiting lets one model call cover the several messages a user usually sends in a row.',
    extractMinIntervalLabel: 'Minimum interval between runs',
    extractMinIntervalDescription: 'The floor between two distillation runs for one person, used to bound cost. Messages produced inside the interval are not dropped — they are carried over to the next run.',
    vectorRecallLabel: 'Match memory by meaning',
    vectorRecallDescription: 'Adds semantic matching on top of wording, so a memory still surfaces after the user re-phrases the subject — and most memories get re-phrased eventually. Costs one embedding call per turn, and falls back to wording-only matching on timeout.',
    embeddingModelLabel: 'Memory embedding model',
    embeddingModelDescription: 'Semantic recall uses this one model, independent of whichever embedding models knowledge bases bind. Leave blank for wording-only matching. After a change, new memories use the new model immediately; existing ones stay wording-only until they are re-embedded.',
    conditioningLabel: 'Let memory shape retrieval',
    conditioningDescription: 'Memory takes part in query rewriting and document ranking rather than only being appended to the answer prompt. This is where memory earns its keep in a knowledge-base product.',
    interestThresholdLabel: 'Questions before a topic becomes an interest',
    interestThresholdDescription: 'A subject is recorded only after it has come up this many times. Setting it to 1 records every passing question, which is usually too noisy.',
    instructionsLabel: 'Custom distillation rules',
    instructionsDescription: 'Workspace rules appended to the distillation prompt, for policies the product cannot guess — for example "never record customer names".',
    instructionsPlaceholder: 'One rule per line, for example: never record customer names',
    maxItemsLabel: 'Memories per member',
    maxItemsDescription: 'Beyond this, the lowest ranked memories are archived by importance and recency. Archived memories stay visible under "My memory".',
    toasts: {
      saveSuccess: 'Long-term memory settings saved',
      saveFailed: 'Failed to save: {message}'
    }
  },
  chatHistorySettings: {
    title: 'Message Management',
    description: 'Configure chat history knowledge base to automatically index conversation messages for semantic search',
    enableLabel: 'Enable Message Indexing',
    enableDescription: 'When enabled, new conversation messages will be automatically indexed into the knowledge base for vector search',
    embeddingModelLabel: 'Embedding Model',
    embeddingModelDescription: 'Select the embedding model for vectorizing chat messages',
    embeddingModelLocked: 'Messages have been indexed; the embedding model cannot be changed (clearing indexed data is required)',
    statsTitle: 'Index Statistics',
    statsIndexedMessages: 'Indexed Messages',
    statsNotConfigured: 'Message indexing not configured',
    statsNotConfiguredDesc: 'Enable and select an embedding model to start auto-indexing conversation messages',
    toasts: {
      saveSuccess: 'Message management configuration saved',
      saveFailed: 'Failed to save configuration: {message}'
    }
  },
  retrievalSettings: {
    recallTab: 'Recall',
    rerankTab: 'Reranking',
    rrfTitle: 'Result fusion (RRF)',
    rrfKLabel: 'RRF smoothing constant (K)',
    rrfKDescription: 'Larger values reduce the advantage of top-ranked results. Default: 60; 0 uses the default.',
    rrfVectorWeightLabel: 'RRF vector weight',
    rrfVectorWeightDescription: 'Controls the contribution of vector search to merged results. Default: 0.7; 0 uses the default. Weights do not need to sum to 1.',
    rrfKeywordWeightLabel: 'RRF keyword weight',
    rrfKeywordWeightDescription: 'Controls the contribution of keyword search to merged results. Default: 0.3; 0 uses the default. Weights do not need to sum to 1.',
    title: 'Search Settings',
    description: 'Configure global retrieval parameters for knowledge search and message search',
    embeddingTopKLabel: 'Vector Search Top K',
    vectorThresholdLabel: 'Vector Similarity Threshold',
    keywordThresholdLabel: 'Keyword Match Threshold',
    rerankTopKLabel: 'Rerank Top K',
    rerankThresholdLabel: 'Rerank Threshold',
    rerankModelLabel: 'Rerank Model',
    rerankModelDescription: 'Select the model for reranking search results',
    rerankModelRequired: 'Please select a Rerank model. Search requires this model to rerank results.',
    toasts: {
      saveSuccess: 'Retrieval configuration saved',
      saveFailed: 'Failed to save configuration: {message}'
    }
  },
  graphSettings: {
    title: 'Knowledge Graph Configuration',
    description: 'Configure entity-relationship extraction to automatically build a knowledge graph from text (note: this is different from the "page-link graph" inside the Wiki — that one shows references between Wiki pages, while this one is an LLM-extracted entity-relationship graph)',
    enableLabel: 'Enable Entity-Relationship Extraction',
    enableDescription: 'Automatically extract entities and relationships from text when enabled',
    tagsLabel: 'Relationship Types',
    tagsDescription: 'Define relationship type tags to extract, separated by commas',
    tagsPlaceholder: 'Enter relationship types, e.g., works_at, colleague, friend',
    generateRandomTags: 'Generate Random Tags',
    sampleTextLabel: 'Sample Text',
    sampleTextDescription: 'Sample text for testing entity-relationship extraction',
    sampleTextPlaceholder: 'Enter text containing entities and relationships...',
    customInstructionsLabel: 'Additional Extraction Instructions',
    customInstructionsDescription: 'Add domain scope, entity filtering, or attribute guidance while the system retains the structured output contract',
    customInstructionsPlaceholder: 'For example: focus on contract parties, amounts, performance dates, and liabilities…',
    generateRandomText: 'Generate Random Text',
    entityListLabel: 'Entity List',
    entityListDescription: 'Entities and their attributes extracted from text',
    nodeNamePlaceholder: 'Enter entity name',
    attributePlaceholder: 'Enter attribute value',
    addAttribute: 'Add Attribute',
    manageEntitiesLabel: 'Manage Entities',
    manageEntitiesDescription: 'Add or remove entity nodes',
    addEntity: 'Add Entity',
    relationListLabel: 'Relationship List',
    relationListDescription: 'Define relationship connections between entities',
    selectEntity: 'Select Entity',
    selectRelationType: 'Select Relationship Type',
    manageRelationsLabel: 'Manage Relationships',
    manageRelationsDescription: 'Add or remove relationships between entities',
    addRelation: 'Add Relationship',
    extractActionsLabel: 'Extraction Actions',
    extractActionsDescription: 'Perform entity-relationship extraction or manage sample data',
    startExtraction: 'Start Extraction',
    extracting: 'Extracting...',
    defaultExample: 'Default Example',
    clearExample: 'Clear Example',
    completeModelConfig: 'Please complete model configuration first',
    tagsGenerated: 'Tags generated successfully',
    tagsGenerateFailed: 'Failed to generate tags',
    textGenerated: 'Text generated successfully',
    textGenerateFailed: 'Failed to generate text',
    pleaseInputText: 'Please enter sample text first',
    extractSuccess: 'Entity-relationship extraction successful',
    extractFailed: 'Entity-relationship extraction failed',
    exampleLoaded: 'Example loaded',
    exampleCleared: 'Example cleared',
    checkingAvailability: 'Checking knowledge graph availability…',
    checkAvailabilityFailed: 'Unable to check knowledge graph availability. Please retry.',
    disabledWarning: 'Knowledge graph database is not enabled, entity-relationship extraction will not be available',
    howToEnable: 'How to enable knowledge graph?'
  },
  initialization: {
    skip: 'Skip',
    next: 'Next'
  },
  inviteRegister: {
    bannerTitle: 'You have been invited to join "{tenant}"',
    bannerHint: 'Fill in the details below to register. You will join the team automatically once registration completes.',
    bannerHintLogin: 'Log in to join this team automatically.',
    loading: 'Verifying invitation link…',
    invalidTitle: 'Invitation link is invalid or revoked',
    invalidBody: 'Ask your inviter to send a new link, or sign in with an existing account.',
    backToLogin: 'Back to login',
    title: 'Complete registration',
    subtitle: 'You\'ve been invited to join “{tenant}”',
    email: 'Email',
    emailPlaceholder: 'your{\'@\'}example.com',
    emailHint: 'Use any email address you control.',
    emailInvalid: 'Please enter a valid email address',
    username: 'Display name',
    usernamePlaceholder: 'Enter your display name',
    password: 'Set a password',
    passwordPlaceholder: 'At least 6 characters',
    confirmPassword: 'Confirm password',
    submit: 'Complete registration',
    submitting: 'Submitting…',
    success: 'Registration successful — entering workspace…',
    joined: 'You have joined the team.',
    failed: 'Registration failed; please try again later',
    usernameRequired: 'Display name is required',
    passwordTooShort: 'Password must be at least 6 characters',
    passwordMismatch: 'Passwords do not match'
  },
  auth: {
    login: 'Login',
    logout: 'Logout',
    oidcLogin: 'Sign in with OIDC',
    oidcLoginWithProvider: 'Sign in with {provider}',
    redirectingToOIDC: 'Redirecting to identity provider...',
    orContinueWith: 'Or continue with',
    oidcLoginFailed: 'OIDC login failed',
    username: 'Username',
    email: 'Email',
    password: 'Password',
    confirmPassword: 'Confirm Password',
    loginSuccessTitle: 'Login successful',
    loginSuccessContent: 'Welcome back. You are now in {name}',
    loggingIn: 'Logging in...',
    register: 'Register',
    registering: 'Registering...',
    createAccount: 'Create Account',
    haveAccount: 'Already have an account?',
    backToLogin: 'Back to Login',
    loginHint: 'Sign in to continue, or create an account below if this is your first time.',
    firstTime: 'New to WeKnora?',
    registerSuccess: 'Registration successful. Please sign in',
    registerFailed: 'Registration failed',
    subtitle: 'RAG Q&A, ReAct Agent and Wiki — an LLM-powered enterprise knowledge framework',
    registerSubtitle: 'Create your account and start using WeKnora',
    emailPlaceholder: 'Enter email address',
    passwordPlaceholder: 'Enter password',
    confirmPasswordPlaceholder: 'Enter password again',
    usernamePlaceholder: 'Enter username',
    emailRequired: 'Enter email address',
    emailInvalid: 'Enter correct email format',
    passwordRequired: 'Enter password',
    passwordMinLength: 'Password must be at least 8 characters',
    passwordMaxLength: 'Password cannot exceed 32 characters',
    passwordMustContainLetter: 'Password must contain letters',
    passwordMustContainLowercaseLetter: 'Password must contain lowercase letters',
    passwordMustContainUppercaseLetter: 'Password must contain uppercase letters',
    passwordMustContainNumber: 'Password must contain numbers',
    passwordMustContainSpecialChar: 'Password must contain special characters: {specialChars}',
    usernameRequired: 'Enter username',
    usernameMinLength: 'Username must be at least 2 characters',
    usernameMaxLength: 'Username cannot exceed 20 characters',
    usernameInvalid: 'Username can only contain letters, numbers, underscores and Chinese characters',
    confirmPasswordRequired: 'Confirm password',
    passwordMismatch: 'Entered passwords do not match',
    loginError: 'Login error, please check email or password',
    loginErrorRetry: 'Login error, please try again later',
    registerError: 'Registration error, please try again later',
    workspaceOnboarding: {
      title: 'Choose your workspace',
      description: 'Create a workspace to get started, or accept an invitation to join one that already exists.',
      create: 'Create workspace',
      invitations: 'View invitations',
      loadingPolicy: 'Checking the available workspace options…',
      policyLoadFailed: 'Workspace permissions could not be loaded. Check your connection and try again.',
      retry: 'Reload',
      inviteOnlyTitle: 'Waiting for a workspace invitation',
      inviteOnlyDescription: 'Personal workspace creation is disabled. View and accept an invitation from a workspace administrator.',
      inviteOnlyNotice: 'This account can only join an existing workspace by invitation',
      help: 'You can create a workspace now or return later to accept an invitation.',
      inviteOnlyHelp: 'No invitation yet? Send your registered email address to a workspace administrator and ask them to invite you.'
    }
  },
  authStore: {
    errors: {
      parseUserFailed: 'Failed to parse user information',
      parseTenantFailed: 'Failed to parse workspace information',
      parseKnowledgeBasesFailed: 'Failed to parse knowledge base list',
      parseCurrentKnowledgeBaseFailed: 'Failed to parse current knowledge base'
    }
  },
  common: {
    add: 'Add',
    me: 'Me',
    confirm: 'Confirm',
    cancel: 'Cancel',
    unsavedChanges: {
      title: 'Unsaved changes',
      body: 'Your changes will be lost if you close now. Close anyway?',
      discard: 'Discard changes',
      keepEditing: 'Keep editing',
    },
    fullscreen: 'Full screen',
    exitFullscreen: 'Exit full screen',
    save: 'Save',
    delete: 'Delete',
    edit: 'Edit',
    copy: 'Copy',
    copied: 'Copied',
    copySuccess: 'Copied successfully',
    default: 'Default',
    create: 'Create',
    download: 'Download',
    refresh: 'Refresh',
    loading: 'Loading...',
    noData: 'No data',
    noMoreData: 'All content loaded',
    loadMore: 'Load more',
    error: 'Error',
    success: 'Success',
    failed: 'Failed',
    info: 'Information',
    selectAll: 'Select All',
    yes: 'Yes',
    no: 'No',
    close: 'Close',
    back: 'Back',
    next: 'Next',
    finish: 'Finish',
    all: 'All',
    clear: 'Clear',
    website: 'Official Website',
    clawhubSkill: 'Claw Skill',
    github: 'GitHub',
    githubStarTip: 'Open the repo on GitHub — star it if you find it useful',
    on: 'On',
    off: 'Off',
    confirmDelete: 'Confirm Delete',
    createSuccess: 'Created successfully',
    deleteSuccess: 'Deleted successfully',
    deleteFailed: 'Delete failed',
    updateSuccess: 'Updated successfully',
    saveSuccess: 'Saved successfully',
    saveFailed: 'Save failed',
    operationFailed: 'Operation failed',
    file: 'File',
    skill: 'Skills',
    knowledgeBase: 'Knowledge Base',
    noResult: 'No results',
    remove: 'Remove',
    avatar: 'Avatar',
    defaultUser: 'User',
    copyFailed: 'Copy failed',
    retry: 'Retry',
    expand: 'Expand',
    collapse: 'Collapse'
  },
  mentionDetail: {
    readOnlyFromAgent: 'Read-only in this conversation; not shown in Knowledge Base list',
    faqCount: '{count} Q&A entries',
    kbCount: '{count} documents',
    mcpToolCount: '{count} tools',
    mcpNotSynced: 'Tools not synced yet',
    mcpStale: 'Needs resync',
    belongsToKb: 'Knowledge base: ',
    belongsToOrg: 'Space: ',
    noCompatibleKbForAgent: 'This agent\'s tools don\'t match any knowledge base\'s capabilities in scope, so nothing can be referenced.',
    tag: 'Tags',
    searchPlaceholder: 'Search KBs, files, skills…',
    searchInGroup: 'Search in {group}…',
    typeToSearch: "Keep typing after {'@'} to search…",
    viewAll: 'View all',
    back: 'Back'
  },
  file: {
    upload: 'Upload File'
  },
  manualEditor: {
    assistant: {
      button: 'Assistant',
      tooltip: 'Let the assistant help you write',
      continue: 'Continue writing',
      outline: 'Draft an outline',
      polish: 'Polish the text',
      summarize: 'Summarize',
      open: 'Open assistant',
      prompts: {
        continue: 'Continue the text from its end with one more paragraph that follows on from it.',
        outline: 'Draft a clearly structured outline for this document from its title and current text, and put it at the start of the text.',
        polish: 'Polish the text: fix typos and awkward sentences without changing the meaning, section by section.',
        summarize: 'Summarize the key points of this document in the chat. Do not change the text.'
      }
    },
    placeholders: {
      heading: 'Heading {level}',
      listItem: 'List item',
      taskItem: 'Task item',
      quote: 'Quoted text',
      code: 'Code content',
      linkText: 'Link text',
      imageAlt: 'Description',
      bold: 'Bold text',
      italic: 'Italic text',
      strike: 'Strikethrough',
      inlineCode: 'code'
    },
    table: {
      column1: 'Column 1',
      column2: 'Column 2',
      cell: 'Content'
    },
    toolbar: {
      bold: 'Bold',
      italic: 'Italic',
      strike: 'Strikethrough',
      inlineCode: 'Inline code',
      heading1: 'Heading 1',
      heading2: 'Heading 2',
      heading3: 'Heading 3',
      bulletList: 'Bullet list',
      orderedList: 'Numbered list',
      taskList: 'Task list',
      blockquote: 'Blockquote',
      codeBlock: 'Code block',
      link: 'Insert link',
      image: 'Insert image',
      table: 'Insert table',
      horizontalRule: 'Horizontal rule',
      headingGroup: 'Heading',
      insertGroup: 'Insert'
    },
    shortcuts: {
      title: 'Shortcuts',
      continueList: 'Continue the list',
      indent: 'Indent / Shift+Tab to outdent'
    },
    view: {
      edit: 'Edit',
      split: 'Split',
      preview: 'Preview',
      splitUnavailable: 'Widen the drawer or go full screen to split the view',
      groupLabel: 'Editor view'
    },
    preview: {
      empty: 'No content yet'
    },
    title: {
      edit: 'Edit Markdown Knowledge',
      create: 'Create Markdown Knowledge'
    },
    section: {
      content: 'Content'
    },
    labels: {
      currentKnowledgeBase: 'Current knowledge base'
    },
    defaultTitlePrefix: 'New Document',
    error: {
      fetchDetailFailed: 'Failed to fetch knowledge details',
      saveFailed: 'Save failed, please try again later'
    },
    warning: {
      selectKnowledgeBase: 'Please select a target knowledge base',
      enterTitle: 'Please enter a knowledge title',
      enterContent: 'Please enter knowledge content',
      contentTooShort: 'Content is too short. Please add more information before publishing'
    },
    success: {
      draftSaved: 'Draft saved',
      published: 'Knowledge published and indexing started'
    },
    form: {
      knowledgeBasePlaceholder: 'Select knowledge base',
      titleLabel: 'Knowledge title',
      knowledgeBaseLabel: 'Target knowledge base',
      titlePlaceholder: 'Enter title',
      contentPlaceholder: 'Supports Markdown. Use # headings, lists, code blocks, etc.'
    },
    noDocumentKnowledgeBases: 'No document-type knowledge bases available. Please create one first',
    status: {
      draftTag: 'Status: Draft',
      publishedTag: 'Status: Published',
      lastUpdated: 'Last updated: {time}',
      counter: '{chars} characters · {lines} lines'
    },
    loading: {
      content: 'Loading content...',
      preparing: 'Preparing editor...'
    },
    actions: {
      cancel: 'Cancel',
      saveDraft: 'Save Draft',
      publish: 'Publish'
    }
  },
  input: {
    addModel: 'Add Model',
    placeholder: 'Ask a question or describe a task…',
    agentMode: 'Smart Reasoning',
    normalMode: 'Quick Answer',
    normalModeDesc: 'Knowledge base RAG Q&A',
    agentModeDesc: 'Multi-step thinking, deep analysis',
    agentMissingAllowedTools: 'Allowed tools',
    agentMissingSummaryModel: 'Chat model',
    agentMissingRerankModel: 'Rerank model',
    customAgentMissingSummaryModel: 'Chat model',
    customAgentMissingRerankModel: 'Rerank model',
    goToAgentEditor: 'Go to configure →',
    agentNotReadyDetail: 'Agent "{agentName}" is not ready. Please configure: {reasons}',
    sharedAgentNotReadyDetail: 'Shared agent "{agentName}" is not ready (missing: {reasons}). Ask the sharing organization admin to finish setup.',
    webSearch: {
      toggleOn: 'Enable Web Search',
      toggleOff: 'Disable Web Search',
      notConfigured: 'Web search engine not configured'
    },
    knowledgeBase: 'Knowledge Base',
    knowledgeBaseWithCount: 'Knowledge Base ({count})',
    notConfigured: 'Not configured',
    sharedAgentModelLabel: 'Model from shared agent',
    noModel: 'No available models',
    modelAuto: 'Default',
    modelFollowDefault: 'Follow default',
    modelAutoHint: 'The current knowledge base\'s chat model, or the first available chat model outside a knowledge base or when it has none',
    stopGeneration: 'Stop Generation',
    send: 'Send',
    steerCurrent: 'Supplement current task',
    steerAfter: 'Send after completion',
    steerAccepted: 'Added during this task',
    steerRetry: 'Retry sending',
    steerQueueSendNow: 'Supplement current task',
    steerQueueWaiting: 'Will send after the current answer finishes',
    steerQueueInjecting: 'Waiting to apply update',
    messages: {
      enterContent: 'Please enter content first!',
      replying: 'Currently replying, please try again later!',
      steerAttachmentPending: 'Attachment is still uploading. Please try again shortly.',
      steerHasAttachments: 'Attachments cannot be added to a running answer. Remove them first, or send after it finishes.',
      steerFailed: 'Failed to append the message. Please try again.',
      steerPromoteFailed: 'Failed to send now. Please try again.',
      steerRemoveFailed: 'Failed to remove the queued message. Please try again.',
      steerAlreadyInjected: 'This message has already been taken by the running answer.',
      steerFollowUpTimeout: 'The next answer did not start in time. Please send again.',
      steerNoActiveRun: 'No answer is currently running. Please send the message directly.',
      agentSwitchedOn: 'Switched to Intelligent Reasoning',
      agentSwitchedOff: 'Switched to Quick Q&A',
      agentSelected: 'Selected agent "{name}"',
      webSearchNotConfigured: 'Web search engine is not configured. Please configure a provider and credentials in settings.',
      webSearchEnabled: 'Web search enabled',
      webSearchDisabled: 'Web search disabled',
      sessionMissing: 'Session ID does not exist',
      messageMissing: 'Unable to get message ID. Please refresh the page and try again.',
      stopSuccess: 'Generation stopped',
      stopFailed: 'Failed to stop. Please try again.'
    },
    webSearchDisabledByAgent: 'Web search is disabled by the current agent',
    kbLockedByAgent: 'Knowledge base configuration is locked by the current agent',
    kbDisabledByAgent: 'Knowledge base is disabled by the current agent',
    modelLockedByAgent: 'Model selection is locked by the current agent',
    imageUploadDisabledByAgent: 'Image upload is not enabled for this agent',
    goToAgentSettings: 'Go to agent settings'
  },
  createChat: {
    title: 'Hi, I am WeKnora — your knowledge, within reach',
    newSessionTitle: 'New Session',
    openProject: 'Select project',
    clearProject: 'Clear',
    pickFailed: 'Could not open the selected path',
    messages: {
      createFailed: 'Failed to create session',
      createError: 'Failed to create session, please try again later'
    }
  },
  knowledgeList: {
    create: 'Create Knowledge Base',
    subtitle: 'Manage and organize your knowledge bases, supporting document-based and FAQ-based knowledge bases',
    sharedToOrgs: 'Shared to {count} space(s)',
    uninitializedBanner: 'Some knowledge bases are not initialized. Configure model information in settings before adding documents.',
    empty: {
      title: 'No knowledge bases yet',
      description: 'Click "Create Knowledge Base" in the top-right corner to add your first one.',
      sharedTitle: 'No shared knowledge bases',
      sharedDescription: 'You can join a shared space or request others to share knowledge bases with you',
      favoritesTitle: 'No favorites yet',
      favoritesDescription: 'Star a knowledge base from its card to add it here',
      recentsTitle: 'Nothing here yet',
      recentsDescription: 'Knowledge bases you recently opened will show up here'
    },
    delete: {
      confirmTitle: 'Delete Confirmation',
      confirmMessage: 'Are you sure you want to delete the knowledge base "{name}"? This action cannot be undone.',
      confirmButton: 'Delete'
    },
    menu: {
      viewDetails: 'View Details',
      duplicate: 'Duplicate'
    },
    pin: {
              pin: 'Pin to Top',
              unpin: 'Unpin',
      pinSuccess: 'Pinned',
      unpinSuccess: 'Unpinned',
      failed: 'Operation failed'
    },
    sections: {
      pinned: 'Pinned',
      mine: 'Created by me',
      tenantOthers: 'Workspace · Other members',
      tenantReadonly: 'Workspace · View only',
      sharedByMe: 'Shared by me',
      sharedEditable: 'Shared with me · Can edit',
      sharedReadonly: 'Shared with me · View only'
    },
    messages: {
      deleted: 'Knowledge base deleted',
      deleteFailed: 'Failed to delete knowledge base',
      duplicateSuccess: 'Knowledge base duplicate created (content not included)',
      duplicateFailed: 'Failed to create knowledge base duplicate'
    },
    detail: {
      title: 'Shared Knowledge Base',
      sourceType: 'Source',
      sourceTypeKbShare: 'KB shared directly to this space',
      sourceTypeAgent: 'Visible via shared agent',
      sourceOrg: 'Space',
      sourceFromAgent: 'Agent',
      agentKbStrategy: 'Agent KB strategy',
      agentKbStrategyAll: 'All knowledge bases',
      agentKbStrategySelected: 'Selected knowledge bases',
      agentKbStrategyNone: 'No knowledge bases',
      sharedAt: 'Shared At',
      myPermission: 'My Permission',
      goToKb: 'Go to Knowledge Base'
    },
    features: {
      knowledgeGraph: 'Knowledge Graph',
      multimodal: 'Multimodal',
      questionGeneration: 'Question Generation',
      wiki: 'Wiki'
    },
  },
  embedPublish: {
    create: 'New embed channel',
    channelsTitle: 'Embed channels',
    disabled: 'Disabled',
    empty: 'No embed channels yet',
    allowedOrigins: 'Allowed origins',
    embedCode: 'Embed code',
    widgetCode: 'Widget script',
    copyCode: 'Copy code',
    channelKey: 'Channel key',
    channelKeyDesc: 'Long-lived secret for third-party site integration—store it safely',
    channelKeyHint: 'Failed to load the channel key. Close and reopen this channel, or refresh the page.',
    channelKeyLoadFailed: 'Failed to load channel key',
    channelKeyUnavailable: 'Key unavailable',
    resetKeyTitle: 'Reset channel key',
    resetKeyConfirmOk: 'Reset',
    resetKeyConfirmBody: 'After reset, the old channel key is revoked immediately. Every deployed embed snippet must use the new key to keep working. This cannot be undone.',
    resetKeySuccess: 'Channel key reset—the new key is shown in the input field',
    resetKeyFailed: 'Failed to reset channel key',
    copyChannelKeyTitle: 'Copy channel key',
    revealKey: 'Reveal key',
    hideKey: 'Hide key',
    createTitle: 'New embed channel',
    name: 'Name',
    nameDesc: 'For admin lists and channel identification',
    namePlaceholder: 'e.g. Website support',
    nameDefaultHint: 'Defaults to "{agent} · Web Embed" when an agent is selected. Leave blank on save to use the default name.',
    defaultChannelName: 'Web Embed',
    defaultChannelNameWithAgent: '{agent} · Web Embed',
    welcomeMessage: 'Welcome message',
    welcomePlaceholder: 'Hi! How can I help you?',
    welcomeMessageDesc: 'Shown in the embed chat before the visitor sends their first message; leave blank to hide',
    showSuggestedQuestions: 'Suggested questions',
    showSuggestedQuestionsDesc: 'Show starter prompts before the first visitor message, from agent config and linked knowledge bases',
    originsHint: 'Enter the host websites allowed to embed this channel (A), not the WeKnora address (B). One full origin per line, e.g. https://shop.example.com; at least one required. Supports *.example.com.',
    originsRequired: 'At least one allowed origin is required',
    originsInvalid: 'Invalid origin: {origin}',
    originsWildcardProd: 'Wildcard origin \'*\' is not allowed in production',
    originsPlaceholder: 'https://shop.example.com',
    rateLimitLabel: 'Requests per minute',
    rateLimitDesc: 'Per visitor IP, max embed API requests per minute; excess requests are temporarily rejected. Default 30.',
    rateLimitDayLabel: 'Daily request cap',
    rateLimitDayDesc: 'Channel-wide total requests allowed per day (across all visitor IPs); bounds abuse cost if the publish token is copied. Default 10000.',
    publishTokenWarning: 'The publish token appears in plain text in the embed page source — anyone visiting the host site can read it. Treat it as a publishable key, not a secret: never embed an agent that exposes sensitive data, always configure the origin allowlist and request caps, and rotate the token immediately if it leaks.',
    primaryColor: 'Primary color',
    pageTitle: 'Page title',
    pageTitleDesc: 'Shown to visitors in chat header and browser tab; takes priority over name',
    pageTitlePlaceholder: 'AI Assistant',
    headerTitleMode: 'Header title',
    headerTitleModeChannel: 'Fixed channel title',
    headerTitleModeSession: 'Follow session title',
    headerTitleModeDesc: 'Fixed: always show the page title. Session: auto-title from the first message; falls back to page title until generated.',
    tokenHint: 'Failed to load the channel key. Close and reopen this channel.',
    createdWithToken: 'Embed channel created — the channel key is shown below',
    created: 'Embed channel created',
    updated: 'Embed channel updated',
    saveFailed: 'Save failed',
    deleted: 'Deleted',
    copied: 'Embed code copied',
    loadError: 'Failed to load',
    missingChannel: 'Missing embed channel or token',
    invalidChannel: 'Invalid embed channel',
    sessionFailed: 'Failed to create chat session, please try again',
    channelDisabled: 'This embed channel is disabled. Re-enable it under Agent editor → Web Page Embed',
    loading: 'Loading...',
    tabIframe: 'iframe',
    tabWidget: 'Widget',
    tabSecure: 'Secure mode',
    widgetPosition: 'Widget position',
    widgetPreview: 'Widget preview',
    positionBottomRight: 'Bottom right',
    positionBottomLeft: 'Bottom left',
    positionTopRight: 'Top right',
    positionTopLeft: 'Top left',
    tokenCopied: 'Channel key copied',
    awaitingToken: 'Waiting for host page to provide token…',
    preview: 'Preview',
    previewIframeHint: 'Shows how the iframe embed looks on a third-party page (same as the copied snippet).',
    previewWidgetHint: 'Shows the floating widget on a mock host page. On a real site the host passes the token via postMessage.',
    previewMockPage: 'Mock host page',
    previewLoading: 'Loading preview…',
    previewUnavailable: 'Preview is unavailable. Ensure the channel is enabled and Redis is available.',
    defaultChatTitle: 'AI Assistant',
    newChat: 'New chat',
    sectionChannel: 'Channel info',
    sectionSecurity: 'Security & rate limit',
    sectionCapabilities: 'Chat capabilities',
    allowWebSearch: 'Show web search toggle',
    allowWebSearchDesc: 'When enabled, visitors see a web search button in the input area and can turn it on or off themselves; it stays off by default. The button appears only if the bound agent has web search enabled.',
    allowFileUpload: 'Show file upload',
    allowFileUploadDesc: 'When enabled, visitors can upload images and document attachments. Requires the bound agent to support image upload.',
    webhookUrl: 'Webhook URL',
    webhookUrlPlaceholder: 'https://your-server.example.com/weknora/embed-events',
    webhookUrlDesc: 'Optional. WeKnora POSTs message_sent / message_received events to this HTTPS endpoint.',
    webhookSecret: 'Webhook secret',
    webhookSecretPlaceholder: 'HMAC-SHA256 secret (X-WeKnora-Signature header)',
    webhookSecretKeep: 'Leave blank to keep the saved secret',
    webhookSecretDesc: 'Optional. When set, request bodies are signed for verification on your server.',
    agentWebSearchDisabledHint: 'This agent does not have web search enabled. Visitors will not see the web search button until you enable it in agent settings.',
    agentImageUploadDisabledHint: 'This agent does not have image upload enabled. Visitors will not see the upload button until you enable it in agent settings.',
    sectionAppearance: 'Appearance',
    sectionDeploy: 'Deploy to site',
    sectionWebhook: 'Event callbacks',
    stepChannel: 'Channel info',
    stepSecurity: 'Security',
    stepCapabilities: 'Capabilities',
    stepAppearance: 'Appearance',
    stepWebhook: 'Webhooks',
    stepDeploy: 'Deploy',
    deployIntro: 'Choose an embed style and copy the snippet below into your site. View or rotate the channel key at the bottom when you need credentials.',
    deployStepEmbed: 'Copy embed code',
    deployStepEmbedDesc: 'Pick an embed style and paste the snippet into your site.',
    embedIframeDesc: 'Embed the full chat in a fixed page area.',
    embedWidgetDesc: 'Floating launcher in a corner; click to open the chat panel.',
    embedSecureDesc: 'Recommended: the publish token stays on your own backend and the page only receives short-lived tokens, so the long-lived secret never reaches the browser.',
    deployAfterSaveHint: 'After saving, you can copy the channel key and embed code here.',
    widgetTokenNote: 'Widget scripts must include the channel key; iframe embeds exchange credentials automatically on load.',
    secureTokenNote: 'The page no longer carries the publish token; it points at a token endpoint on your backend (data-token-endpoint). Your backend exchanges the publish token for a 30-minute short-lived token and returns it to the page; the widget auto-refreshes before expiry.',
    secureServerLabel: 'Server-side token endpoint example (publish token stays on the server)',
    tabServerNode: 'Node.js',
    tabServerGo: 'Go',
    enabled: 'Enable channel',
    deleteConfirm: 'Delete this embed channel? Deployed snippets will stop working.',
    defaultLocale: 'Default language',
    defaultLocaleDesc: 'Visitor UI language when chat opens; empty follows the browser or host Widget setLocale().',
    defaultLocaleBrowser: 'Browser / host default'
  },
  knowledgeEditor: {
    activity: {
      title: 'Activity',
      description: 'Important changes and background-task entry points for this knowledge base. Retention follows the audit-log policy.',
      allOutcomes: 'All outcomes',
      allActions: 'All actions',
      refresh: 'Refresh',
      retry: 'Retry',
      empty: 'No activity yet',
      emptyFiltered: 'No matching activity records',
      clearFilters: 'Clear filters',
      loadingMore: 'Loading…',
      end: 'No earlier activity',
      loadFailed: 'Failed to load activity',
      columns: {
        time: 'Time',
        action: 'Action',
        target: 'Target',
        actor: 'Initiator',
        outcome: 'Outcome'
      },
      expanded: {
        targetType: 'Target type',
        targetId: 'Target ID',
        actorId: 'Initiator ID',
        apiKeyName: 'API key name',
        apiKeyId: 'API key ID',
        agentSessionId: 'Assistant conversation ID',
        agentOperation: 'Assistant operation',
        details: 'Details'
      },
      drawer: {
        sectionSummary: 'Summary',
        sectionIdentifiers: 'Identifiers',
        sectionTask: 'Task information',
        targetChange: 'Change details'
      },
      systemActor: 'System',
      actorWithAPIKey: '{actor} · API Key · {name}',
      actorAPIKey: 'API Key · {name}',
      viaAssistant: 'Via WeKnora Assistant',
      knowledgeBase: 'Knowledge base',
      countItems: '{count} items',
      titleWithCount: '{title} and {count} more',
      importSummary: 'Success {success} / Failed {failed} / Skipped {skipped}',
      targets: {
        knowledge_base: 'Knowledge base',
        knowledge: 'Knowledge',
        faq_entry: 'FAQ entry',
        knowledge_tag: 'Tag',
        data_source: 'Data source',
        knowledge_base_share: 'Share',
        knowledge_move: 'Knowledge move',
        wiki: 'Wiki'
      },
      detailFields: {
        task_id: 'Task ID',
        trigger: 'Trigger',
        processing_status: 'Processing status',
        source_kb_id: 'Source knowledge base ID',
        target_kb_id: 'Target knowledge base ID',
        sync_log_id: 'Sync log ID',
        mode: 'Mode',
        attempt: 'Processing attempt',
        count: 'Item count',
        total: 'Total',
        processed: 'Processed',
        failed: 'Failed',
        skipped: 'Skipped',
        failure_stage: 'Failure stage'
      },
      actions: {
        'kb.created': 'Knowledge base created',
        'kb.updated': 'Knowledge base updated',
        'kb.deleted': 'Knowledge base deleted',
        'kb.duplicated': 'Knowledge base duplicated',
        'kb.clone_started': 'Clone started',
        'kb.clone_completed': 'Clone completed',
        'kb.clone_failed': 'Clone failed',
        'knowledge.created': 'Knowledge added',
        'knowledge.updated': 'Knowledge updated',
        'knowledge.deleted': 'Knowledge deleted',
        'knowledge.batch_deleted': 'Knowledge batch deleted',
        'knowledge.reparse_started': 'Reparse started',
        'knowledge.parse_canceled': 'Parsing canceled',
        'knowledge.move_started': 'Knowledge move started',
        'knowledge.move_completed': 'Knowledge move completed',
        'knowledge.move_failed': 'Knowledge move failed',
        'tag.created': 'Tag created',
        'tag.updated': 'Tag updated',
        'tag.deleted': 'Tag deleted',
        'datasource.created': 'Data source created',
        'datasource.updated': 'Data source updated',
        'datasource.deleted': 'Data source deleted',
        'datasource.sync_started': 'Data source sync started',
        'datasource.sync_completed': 'Data source sync completed',
        'datasource.sync_failed': 'Data source sync failed',
        'datasource.paused': 'Data source paused',
        'datasource.resumed': 'Data source resumed',
        'kb.share_added': 'Share added',
        'kb.share_permission_changed': 'Share permission changed',
        'kb.share_removed': 'Share removed',
        'wiki.content_changed': 'Wiki content changed',
        'faq.import_started': 'FAQ import started',
        'faq.import_completed': 'FAQ import completed',
        'faq.import_failed': 'FAQ import failed'
      },
      outcomes: {
        accepted: 'Accepted',
        success: 'Success',
        failed: 'Failed',
        partial: 'Partial',
        canceled: 'Canceled',
        denied: 'Denied'
      },
      detailValues: {
        user: 'User initiated',
        manual: 'Manual',
        schedule: 'Scheduled',
        system: 'System',
        pending: 'Pending',
        completed: 'Completed',
        partial: 'Partially completed',
        canceled: 'Canceled',
        failed: 'Failed',
        enqueue: 'Task submission',
        reuse_vectors: 'Reuse vectors',
        reparse: 'Reparse',
        viewer: 'Read-only',
        editor: 'Can edit',
        admin: 'Manage',
        append: 'Append',
        replace: 'Replace'
      }
    },
    titleCreate: 'Create Knowledge Base',
    titleEdit: 'Knowledge Base Settings',
    navGroups: {
      basic: 'Basics',
      processing: 'Indexing & Parsing',
      data: 'Storage & Data',
      integration: 'Publishing',
      management: 'Management & Audit'
    },
    sidebar: {
      basic: 'Basic Information',
      models: 'Model Configuration',
      vectorStore: 'Vector Store',
      chunking: 'Chunking Settings',
      storage: 'Storage Engine',
      advanced: 'Advanced Settings',
      faq: 'FAQ Settings',
      graph: 'Knowledge Graph',
      multimodal: 'Image Processing',
      asr: 'Audio',
      datasource: 'Data Sources',
      share: 'Sharing',
      activity: 'Activity'
    },
    errors: {
      vectorStoreBindingInvalid: 'The selected vector store cannot be used. Choose a different store or use the system default.',
      vectorStoreUnavailable: 'The selected vector store is currently unavailable. Check its connection configuration in Settings → Vector Stores.'
    },
    basic: {
      title: 'Basic Information',
      description: 'Configure the knowledge base name and description',
      kbId: 'Knowledge Base ID',
      kbIdDesc: 'Use this ID to target the knowledge base in API integrations',
      typeLabel: 'Knowledge Base Type',
      typeDocument: 'Document-based',
      typeFAQ: 'FAQ Q&A',
      typeDescription: 'FAQ suits structured Q&A datasets; document type supports file parsing and chunking; Wiki type auto-builds interlinked knowledge pages via LLM.',
      nameLabel: 'Knowledge Base Name',
      namePlaceholder: 'Enter knowledge base name',
      descriptionLabel: 'Knowledge Base Description',
      descriptionPlaceholder: 'Enter knowledge base description (optional)',
      profile: {
        title: 'AI-generated description',
        hint: 'Derived from the document profiles. It never overwrites the manual description above; agents read both to decide whether a question belongs to this knowledge base.',
        empty: 'Not generated yet. Upload documents, let their summaries finish, then use the button below.',
        noDocuments: 'No parsed documents in this knowledge base yet.',
        questions: 'Typical questions',
        generate: 'Generate AI description',
        regenerate: 'Regenerate',
        adopt: 'Use as description',
        generated: 'AI description generated',
        generateFailed: 'Failed to generate the AI description',
        adopted: 'Copied into the description; save to apply',
        failed: 'Last generation failed: {error}',
        generatedAt: 'Generated {time} · based on {count} documents'
      }
    },
    wiki: {
      title: 'Wiki Settings',
      synthesisModelLabel: 'Wiki Synthesis Model',
      synthesisModelPlaceholder: 'Select the LLM model for Wiki generation',
      synthesisModelTip: 'Falls back to the summary model if not set',
      extractionGranularityLabel: 'Extraction Granularity',
      contentInstructionsLabel: 'Wiki Content Instructions',
      contentInstructionsTip: 'Control emphasis and tone for summaries, pages, and the index. Citation, merge, and factuality rules remain system-owned. Reprocess existing content to apply changes.',
      contentInstructionsPlaceholder: 'For example: use a legal-review tone and emphasize owners, timelines, and risks…',
      extractionInstructionsLabel: 'Wiki Extraction Focus',
      extractionInstructionsTip: 'Describe domain entities and concepts to prioritize without replacing the system JSON and citation protocol.',
      extractionInstructionsPlaceholder: 'For example: prioritize products, versions, organizations, owners, and core technical concepts…',
      extractionGranularityTip: 'Controls how many Wiki entities/concepts are extracted per document. Finer = tighter index, coarser = more comprehensive',
      granularityFocused: 'Focused',
      granularityStandard: 'Standard',
      granularityExhaustive: 'Exhaustive',
      granularityFocusedHint: 'Extract only the document’s main subjects (e.g. a resume yields the person and their projects). Cleanest, may miss secondary entities.',
      granularityStandardHint: 'Main subjects plus secondary entities/concepts that receive substantial discussion. Skips name-dropped terms. Recommended default.',
      granularityExhaustiveHint: 'Extract every named entity and concept, including passing mentions of stacks/tools. Use when the KB serves as a glossary.'
    },
    indexing: {
      title: 'Indexing Strategy',
      description: 'Configure document processing pipelines. Each indexing method can be enabled or disabled independently.',
      searchTitle: 'RAG Search',
      searchDesc: 'Chunk, vectorize and keyword-index documents for hybrid retrieval',
      wikiTitle: 'Wiki Knowledge Base',
      wikiDesc: 'Auto-generate interlinked wiki pages to build a structured knowledge system',
      graphTitle: 'Knowledge Graph',
      graphDesc: 'Extract entities and relationships to build a knowledge graph for graph-based retrieval',
      atLeastOne: 'At least one indexing strategy must be enabled',
      embeddingRequired: 'RAG search requires an Embedding model',
      lockedTip: 'The indexing strategy cannot be changed once the knowledge base contains content. Please clear the knowledge base first.',
      rebuildConfirmTitle: 'Rebuild Index',
      rebuildConfirmBody: 'Indexing strategy has changed. Re-process {count} existing documents? This may take some time.',
      rebuildSuccess: 'Rebuild task submitted for {count} documents',
      rebuildSkip: 'You can manually trigger a rebuild later from Data Sources'
    },
    wikiBrowser: {
      editBtn: 'Edit',
      historyBtn: 'History',
      historyTitle: 'Revision history · {title}',
      deletePageBtn: 'Delete',
      deletePageConfirm: 'Delete page "{title}"? It will disappear from the wiki.',
      deletePageSuccess: 'Page deleted',
      deletePageFailed: 'Failed to delete page',
      editTitlePlaceholder: 'Page title',
      editSummaryPlaceholder: 'One-line summary (shown in the index)',
      editContentPlaceholder: 'Markdown body, [[wiki-link]] syntax supported',
      editSaveSuccess: 'Page saved',
      editSaveFailed: 'Failed to save',
      editConflictHint: 'Save conflict: the page was updated to v{ver} by someone else. Reload the latest version (discarding your draft) or overwrite (the overwritten version stays in history).',
      editConflictReload: 'Load latest',
      editConflictOverwrite: 'Overwrite',
      editSourceUser: 'Manually edited',
      editSourceAgent: 'AI edited',
      editSourceRevert: 'Reverted',
      editSourcePipeline: 'Auto-generated',
      newPageBtn: 'New page',
      newPageTitle: 'Create wiki page',
      newPageTitleLabel: 'Title',
      newPageTitlePlaceholder: 'Enter a page title',
      newPageSlugLabel: 'Slug (page address)',
      newPageSlugPlaceholder: 'e.g. concept/my-topic',
      newPageSlugHint: 'Letters/digits/dashes, "/" for hierarchy; cannot be changed later',
      newPageTypeLabel: 'Page type',
      newPageContentLabel: 'Content (optional)',
      newPageMissingFields: 'Title and slug are required',
      newPageSuccess: 'Page created',
      newPageFailed: 'Failed to create page',
      revisionCurrent: 'Current',
      revisionCurrentHint: 'This is the current version. Pick a historical version on the left to diff or revert.',
      revisionSelectHint: 'Select a version on the left',
      revisionEmpty: 'No history yet — snapshots are recorded automatically when the content changes',
      revisionDiff: 'Diff vs current',
      revisionRaw: 'Raw content',
      revisionDiffCaption: 'v{from} → v{to} (red = that version, green = current)',
      revisionDiffIncremental: 'Version change',
      revisionDiffCumulative: 'Vs current',
      revisionDiffBasisLabel: 'Compare mode',
      revisionViewModeLabel: 'View mode',
      revisionLatestChangeHint: 'Changes from the previous version to current',
      revisionIncrementalHint: 'Changes that produced v{ver}',
      revisionInitialRange: 'Initial → v{ver}',
      revisionInitialCreationHint: 'Initial content at creation',
      revisionCumulativeHint: 'All changes from this version to current',
      revisionDiffIncrementalCaption: 'v{from} → v{to} (adjacent versions; red = old, green = new)',
      revisionDiffCumulativeCaption: 'v{from} → v{to} (cumulative changes to current)',
      revisionFirstVersionHint: 'This is the first version — there is no previous version to compare.',
      revisionDiffTitle: 'Title',
      revisionDiffSummary: 'Summary',
      revisionDiffContent: 'Body',
      revisionDiffEmpty: 'No differences in title, summary, or body vs current',
      revisionLoadFailed: 'Failed to load revision history',
      revisionNotRetained: 'This version has no retained snapshot or it was cleaned up',
      revisionNotRetainedRange: 'v{ver} · full content',
      revisionNotRetainedHint: 'No snapshot is retained for the previous version v{prev} (versions from before the upgrade were not snapshotted; old snapshots may also have been pruned) — showing the full content of v{ver} from scratch.',
      revertBtn: 'Revert to this version',
      revertConfirm: 'Revert to v{ver}? The current content is snapshotted first, so the revert itself can be undone.',
      revertSuccess: 'Reverted to v{ver}',
      revertFailed: 'Failed to revert',
      viewInGraph: 'View in Graph',
      editingBadge: 'Editing',
      pageActions: 'Page actions',
      tabDocuments: 'Documents',
      tabGallery: 'Gallery',
      tabDocumentsTip: 'Upload and manage the source documents',
      tabWikiTip: 'Wiki pages compiled automatically from the documents',
      tabGalleryTip: 'Browse every image extracted from the documents',
      viewTabs: 'Knowledge base views',
      gallery: {
        title: 'Gallery',
        allImages: 'All images',
        count: '{count} images',
        countFiltered: '{count} matching',
        searchPlaceholder: 'Search captions or image text',
        filters: 'Filters',
        clearFilters: 'Clear filters',
        searchIn: 'Search in',
        searchInHint: 'Keywords only match the ticked content',
        attrSection: 'Image attributes',
        attrHint: '"Hide" removes images with that value; "Always show" keeps them even when another rule hides them',
        verdictDefault: 'Any',
        verdictOff: 'Hide',
        verdictOn: 'Always show',
        keywordsPlaceholder: 'Separate keywords with commas',
        noAttrs: 'No attributes to filter by',
        sort: 'Sort',
        sortField: 'Sort by',
        sortOrder: 'Order',
        orderAsc: 'Ascending',
        orderDesc: 'Descending',
        empty: 'No images to browse yet',
        emptyHint: 'Images in your documents appear here once parsing finishes',
        emptyFiltered: 'No images match these filters',
        imageLoadError: 'Image failed to load',
        noCaption: 'No caption',
        noOcr: 'No text recognized',
        caption: 'Image description',
        ocr: 'Text in image',
        attributes: 'Image attributes',
        source: 'Source document',
        details: 'Basic information',
        dimensions: 'Size',
        status: 'Status',
        openSource: 'Open source document',
        copy: 'Copy',
        zoomIn: 'Zoom in (+)',
        zoomOut: 'Zoom out (-)',
        zoomReset: 'Fit to window (0)',
        actualSize: 'Actual size',
        rotate: 'Rotate (R)',
        download: 'Download',
        openOriginal: 'Open in new tab',
        toggleInfo: 'Image info (I)',
        viewerClose: 'Close (Esc)',
        prev: 'Previous (←)',
        next: 'Next (→)',
        sourceFilter: 'By document',
        sourceFilterTitle: 'Filter by source document',
        sourceFilterSearch: 'Search document names',
        sourceFilterEmpty: 'No matching documents',
        sourceFilterSubtitle: 'The gallery shows only images from the selected documents, so captions and OCR can be checked one by one',
        sourceFilterSelected: '{count} documents selected',
        sourceFilterClear: 'Clear selection',
        sourceFilterTooMany: 'At most 1000 documents can be selected',
        sourceFilterSelectAll: 'Select all / none (across every hit)',
        sourceFilterOverflowRecent: 'Many documents: showing only the most recent {cap}. Refine with a keyword.',
        sourceFilterOverflowHits: '{total} documents hit; showing the first {cap}. Narrow the keyword before selecting all.',
        // Display names for the builtin attributes the gallery itself
        // declares. Attributes contributed by other sources fall back to the
        // pipeline's own wording (see the imageAttr namespace).
        attr: {
          builtin_caption: 'Caption',
          builtin_caption_description: 'The model-generated description of the image.',
          builtin_ocr_text: 'OCR text',
          builtin_ocr_text_description: 'Text extracted from the image by OCR.',
          builtin_created_at: 'Created time',
          builtin_created_at_description: 'When the owning document chunk was created.',
          builtin_updated_at: 'Updated time',
          builtin_updated_at_description: 'When the owning document chunk was last updated.',
          builtin_is_enabled: 'Enabled',
          builtin_is_enabled_description: 'Whether the owning document chunk takes part in retrieval.',
          builtin_is_enabled_value_true: 'Enabled',
          builtin_is_enabled_value_false: 'Disabled',
        },
      },
      tabGraph: 'Graph',
      tabGraphTip: 'A graph of links between Wiki pages (page-link graph). This is NOT the same as the LLM-extracted entity-relationship Knowledge Graph configured under "KB Settings → Knowledge Graph".',
      searchPlaceholder: 'Search wiki pages...',
      searchNoResults: 'No matching pages found',
      viewModeToggle: 'Switch directory view',
      viewTree: 'Tree view',
      viewList: 'List view',
      newRootFolder: 'New Folder',
      newSubfolder: 'New Subfolder',
      folderActions: 'Folder actions',
      folderNamePlaceholder: 'Enter folder name',
      createFolderSuccess: 'Folder created',
      createFolderFailed: 'Failed to create folder',
      movePageSuccess: 'Page moved',
      movePageFailed: 'Failed to move page',
      renameFolder: 'Rename Folder',
      renameFolderSuccess: 'Folder renamed',
      renameFolderFailed: 'Failed to rename folder',
      deleteFolder: 'Delete Folder',
      deleteFolderConfirm: 'Delete folder "{name}"?',
      deleteFolderSuccess: 'Folder deleted',
      deleteFolderFailed: 'Failed to delete folder',
      deleteFolderNotEmpty: 'Folder is not empty. Remove its pages and sub-folders first.',
      moveFolderSuccess: 'Folder moved',
      moveFolderFailed: 'Failed to move folder',
      moveFolderIntoSelf: 'Cannot move a folder into itself or its descendant',
      moveConfirm: 'Move to "{target}"?',
      moveConfirmTitle: 'Confirm move',
      rootFolderLabel: 'Root',
      filterSummary: 'Summaries',
      filterKnowledge: 'Knowledge',
      filterEntity: 'Entities',
      filterConcept: 'Concepts',
      filterSynthesis: 'Synthesis',
      filterComparison: 'Comparisons',
      legendFamiliar: 'Sources you use often',
      emptyTitle: 'No wiki pages yet',
      emptyDesc: 'Upload documents with Wiki enabled to auto-generate knowledge pages',
      selectPageHint: 'Select a page from the left to view its content',
      version: 'v{ver}',
      aliases: 'Aliases',
      linkedFrom: 'Linked from',
      sources: 'Source documents',
      graphEmpty: 'Loading graph...',
      fitView: 'Fit to View',
      indexTitle: 'Index',
      loading: 'Loading…',
      loadMoreShort: 'Load more',
      indexOverviewTag: 'Directory',
      indexEmpty: 'No wiki pages yet. Upload documents first.',
      graphNoData: 'No graph data yet. Upload documents first. (This view shows links between Wiki pages, which is different from the entity-relationship graph configured under "KB Settings → Knowledge Graph".)',
      showArrows: 'Show arrows',
      hideArrows: 'Hide arrows',
      expandNeighbors: 'Expand neighbors',
      bloomNeighbors: 'Bloom neighbors',
      growFrontier: 'Grow frontier ({count})',
      growFrontierTitle: 'Expand all {count} dashed-ring nodes in one click',
      cardEgoTitle: 'Current focus',
      cardOverviewTitle: 'KB overview',
      cardOverviewPrimary: '{returned} / {total} nodes',
      cardOverviewHintTruncated: 'Double-click any node to focus on its subgraph',
      cardOverviewHintFull: 'Showing every node in the knowledge base',
      cardRelatedNodes: '{count} related nodes',
      helpButtonTitle: 'Help',
      helpTitle: 'Canvas actions',
      helpClickAction: 'Click',
      helpClickDesc: 'Open node details',
      helpDblClickAction: 'Double-click',
      helpDblClickDesc: 'Focus on this node',
      helpShiftClickAction: 'Shift + click',
      helpShiftClickDesc: 'Bloom neighbors onto canvas',
      helpHoverPlusAction: 'Hover → ⊕',
      helpHoverPlusDesc: 'Same as Shift + click',
      helpDragAction: 'Drag node',
      helpDragDesc: 'Reposition the node',
      helpPanAction: 'Drag empty space',
      helpPanDesc: 'Pan the canvas',
      helpZoomAction: 'Scroll wheel',
      helpZoomDesc: 'Zoom the canvas',
      neighborsProgress: 'Showing {visible} of {total} neighbors ({hidden} not loaded)',
      neighborsAllShown: 'All {total} neighbors are already on the canvas (click Expand to focus on this node’s subgraph)',
      graphNavigationHint: 'Drag the canvas to pan · Scroll to zoom',
      focusGroup: 'Focus this group',
      focusGroupViewing: 'Viewing: {name}',
      focusGroupBack: 'Back to full graph',
      focusGroupSwitch: 'Switch to another group',
      unlinkedHidden: '{count} unlinked pages hidden',
      unlinkedSection: 'Unlinked pages · {count}',
      offscreenSection: 'No visible connections (links exist) · {count}',
      hideUnlinked: 'Hide unlinked pages ({count})',
      showUnlinked: 'Show unlinked pages ({count})',
      neighborsNone: 'This page has no linked neighbors',
      neighborsCenterUnreachable: 'Showing {visible} of {total} neighbors ({hidden} unreachable: dead links, filtered, or deleted)',
      neighborsOverviewHidden: 'Showing {visible} of {total} neighbors ({hidden} outside the overview — click Expand to pivot here)',
      backToOverview: 'Back to overview',
      queueStatus: '{count} pending tasks in Wiki queue',
      issueTitle: 'This page has {count} pending knowledge conflicts or errors',
      issueFixBtn: 'AI Auto-Fix',
      issueMixed: 'Mixed Info',
      issueConflict: 'Factual Conflict',
      issueOutdated: 'Outdated',
      issueAttention: 'Needs Attention',
      issueReportedBy: 'Reported by {reporter}',
      issueAiLinter: 'AI Linter',
      issueIgnore: 'Ignore False Alarm',
      globalIssuesTitle: 'Global Pending Content Issues',
      globalIssuesCount: '{count} Pending Content Issues',
      globalIssuesEmpty: 'No pending content issues',
      issuePagePrefix: 'Page: ',
      issueGoFix: 'Go to fix',
      issueFixSuggestions: 'Content Optimization Suggestions ({count})',
      issueFixSingle: 'Fix',
      issueFixPromptSingle: 'Fix this Wiki issue: {description}',
      issueFixPromptAll: 'Fix the {count} open issues on this page'
    },
    buttons: {
      create: 'Create Knowledge Base',
      save: 'Save Configuration',
      saveAndClose: 'Save and Close',
    },
    footer: {
      instantEffect: 'Changes on this page take effect immediately; no save needed',
    },
    postCreateHint: {
      title: 'Created successfully',
      footer: 'Keep adjusting settings, configure sharing and data sources, then click "Save and Close".',
      followUpDesc: 'Configure data sources on the left, or use Share Management to publish to spaces',
    },
    share: {
      description: 'Share the knowledge base with spaces so members can access and use it',
      hintTitle: 'Sharing notes',
      addShare: 'Share',
      unshareConfirm: 'Are you sure you want to unshare from "{name}"?',
      tip1: 'After sharing, space members will access this knowledge base based on the assigned permissions',
      tip2: 'Editable permission allows members to modify content; Read-only permission only allows retrieval and Q&A'
    },
    messages: {
      loadModelsFailed: 'Failed to load model list',
      loadDataFailed: 'Failed to load knowledge base data',
      notFound: 'Knowledge base not found',
      nameRequired: 'Please enter the knowledge base name',
      summaryRequired: 'Please select a summary model',
      multimodalInvalid: 'Multimodal configuration validation failed',
      createSuccess: 'Knowledge base created successfully',
      createFailed: 'Failed to create knowledge base',
      missingId: 'Knowledge base ID is missing',
      buildDataFailed: 'Failed to construct submission data',
      updateSuccess: 'Configuration saved successfully',
      indexModeRequired: 'Please select an indexing mode for FAQ knowledge bases',
      storageChangeConfirm: 'This knowledge base already has files. Changing the storage engine may make old files inaccessible. Do you want to proceed?'
    },
    document: {
      title: 'Document Management',
      subtitle: 'Click or drag-and-drop to upload documents; multiple formats are parsed automatically with intelligent chunking for a searchable knowledge base'
    },
    faq: {
      title: 'FAQ Configuration',
      subtitle: 'Manage FAQ entries with batch import, edit, and search testing',
      description: 'Configure indexing strategy and guidance for FAQ-style knowledge bases',
      indexModeLabel: 'Indexing Mode',
      indexModeDescription: 'Question-only indexing improves precision, question+answer improves recall.',
      questionIndexModeLabel: 'Question Indexing Mode',
      questionIndexModeDescription: 'Combined: Standard and similar questions are indexed together. Separate: Each question is indexed independently for more precise retrieval but requires more storage.',
      entryGuide: 'Each FAQ entry contains a primary question, similar questions, negative examples, and multiple answers. Manage them in the FAQ knowledge base detail view.',
      tagDesc: 'Select tags for FAQ entries',
      tagPlaceholder: 'Select tags',
      modes: {
        questionOnly: 'Questions only',
        questionAnswer: 'Question + answer',
        combined: 'Combined',
        separate: 'Separate'
      },
      standardQuestion: 'Primary Question',
      standardQuestionDesc: 'Set the standard phrasing of the question — this is the most common way users ask it.',
      answers: 'Answers',
      answersDesc: 'Provide complete and accurate answer content. Multiple answers can be added to cover different scenarios.',
      similarQuestions: 'Similar Questions',
      similarQuestionsDesc: 'Add questions with the same meaning but different phrasing to help the system better match user queries.',
      negativeQuestions: 'Negative Examples',
      negativeQuestionsDesc: 'Add questions that should not match this answer, to exclude false positives.',
      editorCreate: 'Create FAQ Entry',
      editorEdit: 'Edit FAQ Entry',
      answerPlaceholder: 'Enter answer content, supports multi-line text, press Ctrl+Enter or click button to add',
      similarPlaceholder: 'Enter similar question and click plus icon to add',
      negativePlaceholder: 'Enter negative example and click plus icon to add',
      answerRequired: 'Please provide at least one answer',
      emptyTitle: 'No FAQ entries',
      emptyDesc: 'Click "Create FAQ Entry" above to get started',
      searchPlaceholder: 'Search standard questions...',
      searchTest: 'Search Test',
      createGroup: 'New',
      searchTestTitle: 'FAQ Search Test',
      queryLabel: 'Query',
      queryPlaceholder: 'Enter a question to search',
      vectorThresholdDesc: 'Range 0-1, default 0.7',
      matchCountLabel: 'Result Count',
      matchCountDesc: 'Range 1-50, default 10',
      searchButton: 'Search',
      searching: 'Searching...',
      searchResults: 'Search Results',
      noResults: 'No matching FAQ entries found',
      matchedQuestion: 'Matched',
      matchTypeEmbedding: 'Vector Match',
      matchTypeKeywords: 'Keyword Match',
      similarityThresholdLabel: 'Similarity Threshold',
      statusEnabled: 'Enabled',
      statusDisabled: 'Disabled',
      statusEnableSuccess: 'FAQ entry enabled',
      statusDisableSuccess: 'FAQ entry disabled',
      statusUpdateFailed: 'Failed to update status',
      recommended: 'Recommend',
      recommendedEnabled: 'Recommendation enabled',
      recommendedDisabled: 'Recommendation disabled',
      recommendedDisableSuccess: 'FAQ entry recommendation disabled',
      recommendedUpdateFailed: 'Failed to update recommendation status',
      batchUpdateTag: 'Batch Set Tags',
      batchUpdateTagTip: 'Set tags for {count} selected entries',
      batchEnable: 'Enable selected',
      batchDisable: 'Disable selected',
      batchDelete: 'Delete selected',
      confirmBatchDelete: 'Delete the selected {count} FAQ entries? This action cannot be undone.',
      confirmDelete: 'Delete this FAQ entry? This cannot be undone.',
      batchDeleteSuccess: 'Deleted {count} FAQ entries'
    },
    faqImport: {
      title: 'Batch Import FAQ',
      modeLabel: 'Import Mode',
      appendMode: 'Append',
      replaceMode: 'Replace existing entries',
      fileLabel: 'Select File',
      fileTip: 'Supports JSON / CSV / Excel. CSV/Excel headers: Tag (required), Question (required), Similar Questions (optional, separate with ##), Negative Questions (optional, separate with ##), Bot Answers (required, separate with ##), Reply All (optional, default FALSE), Disabled (optional, default FALSE), Exclude from Recommendations (optional, default FALSE). Legacy header "Category" and old format (standard_question, answers, similar_questions, negative_questions) are also supported.',
      clickToUpload: 'Click to upload file',
      dragDropTip: 'or drag and drop file here',
      importButton: 'Import FAQ',
      deleteSuccess: 'Selected entries deleted',
      previewCount: '{count} entries parsed',
      previewMore: '{count} more entries not shown',
      importSuccess: 'Import completed',
      parseFailed: 'Failed to parse file',
      invalidJSON: 'Invalid JSON format',
      unsupportedFormat: 'Unsupported file format',
      selectFile: 'Please select a file to import first',
      downloadExample: 'Download Example',
      downloadExampleJSON: 'Download JSON Example',
      downloadExampleCSV: 'Download CSV Example',
      downloadExampleExcel: 'Download Excel Example'
    },
    faqExport: {
      exportButton: 'Export',
      exportCSV: 'Export CSV',
      exportJSON: 'Export JSON',
      exportSuccess: 'Export successful',
      exportFailed: 'Export failed'
    },
    models: {
      title: 'Model Configuration',
      description: 'Select appropriate AI models for the knowledge base',
      llmLabel: 'LLM Model',
      llmDesc: 'Large language model used for summarization and abstract generation (optional)',
      llmPlaceholder: 'Select an LLM model (optional)',
      embeddingLabel: 'Embedding Model',
      embeddingDesc: 'Embedding model used for text vectorization',
      embeddingPlaceholder: 'Select an embedding model',
      embeddingLocked: 'Knowledge base already has files. Embedding model cannot be modified',
      embeddingOptional: '(Optional)',
      embeddingWikiOptionalDesc: 'Optional. When set, it powers similarity matching for Wiki directory classification so new pages reuse existing folders better; otherwise the full directory tree is used.'
    },
    chunking: {
      title: 'Chunking Settings',
      description: 'Controls how uploaded documents are split before embedding. Defaults work for most cases — tune only when retrieval quality is off.',
      sizeLabel: 'Chunk Size',
      sizeDescription: 'Maximum characters per chunk (100–4000). Default 512 ≈ 100–130 English tokens. Smaller for FAQs (200–400), larger for narrative documents (1000–2000).',
      characters: 'characters',
      overlapLabel: 'Chunk Overlap',
      overlapDescription: 'Characters shared between adjacent chunks (0–500). Default 80 ≈ 15% of size — sweet spot per current research. Use 0 for FAQs/structured data, 150–200 for long-form narratives.',
      separatorsLabel: 'Separators',
      separatorsDescription: 'Characters or strings the splitter prefers when cutting. Higher-priority separators are tried first; the default order favors paragraph → sentence → punctuation breaks.',
      separatorsPlaceholder: 'Select or customize separators',
      separators: {
        doubleNewline: 'Double newline ()',
        singleNewline: 'Single newline ()',
        periodCn: 'Chinese period (。)',
        exclamationCn: 'Exclamation mark (!)',
        questionCn: 'Question mark (?)',
        semicolonCn: 'Chinese semicolon (;)',
        semicolonEn: 'Semicolon (;)',
        space: 'Space ( )'
      },
      parentChildLabel: 'Parent-Child Chunking',
      parentChildDescription: 'Two-level chunking: small child chunks are vector-matched (precise hits) but the larger parent chunk is returned to the LLM (richer context). Recommended for long documents (>10 pages); skip for short FAQs to save storage.',
      parentChunkSizeLabel: 'Parent Chunk Size',
      parentChunkSizeDescription: 'Size of the context chunk returned to the LLM (512–8192). Default 4096 ≈ 1000 English tokens, fits comfortably in any modern LLM context window.',
      childChunkSizeLabel: 'Child Chunk Size',
      childChunkSizeDescription: 'Size of the embedded chunk used for vector match (64–2048). Default 384 ≈ 80 tokens — sweet spot for sentence-transformer / BGE-style embedders.',
      strategyLabel: 'Chunking Strategy',
      strategyDescription: 'Choose how documents are split into chunks. The Automatic mode profiles each document and picks the best strategy.',
      strategyPlaceholder: 'Select a chunking strategy (splits by length if left empty)',
      strategies: {
        auto: {
          label: 'Automatic',
          tooltip: 'A document profiler picks between heading-aware, structure-aware and length-based splitting per upload.'
        },
        heading: {
          label: 'Heading-aware',
          tooltip: 'Splits at Markdown heading boundaries (#, ##, ###); each chunk carries its heading path. Best for well-structured Markdown.'
        },
        heuristic: {
          label: 'Structure-aware',
          tooltip: 'Splits on detected structural cues: page-breaks, numbered sections, multilingual chapter markers (DE/EN/ZH), all-caps titles. Ideal for PDFs without Markdown headings.'
        },
        legacy: {
          label: 'Length-based',
          tooltip: 'Ignores structure; splits recursively by character count and separators — the original behavior. Use when the structure-aware strategies misbehave on your content.'
        }
      },
      overlapWarning: 'Overlap is large compared to chunk size — chunks will share most of their content.',
      advancedLabel: 'Advanced options',
      tokenLimitLabel: 'Token limit per chunk',
      tokenLimitDescription: 'Hard token cap per chunk (0–8192). 0 = off (chunk size in characters only). Activate when your embedding model has a small token limit: 200 for MiniLM (256 tok), 400 for BGE/Cohere (512 tok). Modern embedders (OpenAI, Voyage, Jina-v3) accept >2000 tokens — leave at 0.',
      languagesLabel: 'Language hints',
      languagesDescription: 'Restricts heuristic patterns to the chosen languages (DE/EN/ZH). Empty = auto-detect from sample. Set explicitly for homogeneous corpora to avoid false-positive matches across languages.',
      languagesPlaceholder: 'Auto-detect',
      languageOptions: {
        de: 'German',
        en: 'English',
        zh: 'Chinese'
      },
      debug: {
        toggle: 'Preview chunking',
        toggleHint: 'Run the chunker against sample text without re-uploading',
        sampleLabel: 'Sample text',
        samplePlaceholder: 'Paste a Markdown / plain-text snippet to see how the current configuration would chunk it…',
        presetLabel: 'Load sample:',
        samples: {
          markdown: 'Markdown doc',
          faq: 'FAQ list',
          chapter: 'PDF chapters',
          plain: 'Plain prose'
        },
        runButton: 'Run preview',
        loading: 'Running chunker on sample…',
        errorPrefix: 'Preview failed',
        selectedTier: 'Selected strategy',
        rejected: 'Rejected tiers',
        contextHeader: 'Context header',
        fallbackWarning: 'Strategy chain fell through — content does not split intelligently with current settings',
        profile: {
          lines: 'lines',
          chars: 'chars',
          headings: 'Markdown headings',
          pageBreaks: 'page breaks',
          chapterMarkers: 'chapter markers',
          languages: 'languages'
        },
        stats: {
          chunks: 'chunks',
          truncated: 'truncated; total {total}'
        }
      }
    },
    multimodal: {
      title: 'Image Processing Configuration',
      description: 'Configure image content understanding for parsing and retrieving non-text content like images'
    },
    asr: {
      title: 'Audio Speech Recognition',
      description: 'Configure ASR (speech-to-text). When enabled, you can upload audio files and transcribe them to text (e.g. mp3, wav, m4a, flac, ogg). Video upload is not supported.',
      label: 'Enable audio speech recognition',
      desc: 'When enabled, audio can be uploaded to the knowledge base; speech is transcribed to text for parsing and retrieval.',
      modelLabel: 'ASR Model',
      modelDescription: 'Speech-to-text model for audio (e.g. OpenAI Whisper)',
      modelPlaceholder: 'Select an ASR model',
      languageLabel: 'Audio language hint',
      languageDescription: 'Optional. A primary language hint can improve some ASR models; leave empty for auto-detection.',
      languagePlaceholder: 'For example zh or en; empty means auto-detect'
    },
    advanced: {
      title: 'Advanced Settings',
      description: 'Configure question generation and other advanced features',
      questionGeneration: {
        label: 'AI Question Generation',
        description: 'Generate related questions for each chunk using LLM during document parsing to improve retrieval recall. Enabling this will increase document parsing time.',
        countLabel: 'Question Count',
        countDescription: 'Number of questions to generate per document chunk (1-10)',
        instructionsLabel: 'Question Generation Instructions',
        instructionsDescription: 'Specify audience, scenario, and wording while the system retains the stable output format',
        instructionsPlaceholder: 'For example: generate natural customer-support questions and avoid exam-style wording…'
      },
      profile: {
        label: 'Auto-generate knowledge base description',
        description: 'After documents are added, removed or re-summarized, derive the description from the aggregated document profiles. The aggregation itself makes no model call; one small call runs only when the aggregate changed.',
        modelLabel: 'Generation model',
        modelDescription: 'Leave empty to reuse the knowledge-base summary model.',
        modelPlaceholder: 'Select a generation model',
        instructionsLabel: 'Description instructions',
        instructionsDescription: 'Name the audience, terms to keep or the tone; the output format stays fixed.',
        instructionsPlaceholder: 'e.g. Written for support agents; describe product lines in plain words and keep model numbers…'
      },
      autoTag: {
        label: 'Automatic Tagging',
        description: 'After parsing, select suitable tags from the existing knowledge-base tags. Tags are never created or deleted, but one extra model call is required.',
        modelLabel: 'Classification Model',
        modelDescription: 'Leave empty to reuse the knowledge-base summary model.',
        modelPlaceholder: 'Select a classification model',
        maxTagsLabel: 'Maximum tags per document',
        maxTagsDescription: 'Automatically associate 1-10 existing tags per document.',
        skipIfTaggedLabel: 'Skip documents that already have tags',
        skipIfTaggedDescription: 'When enabled, documents tagged manually at upload time are left untouched, so a deliberate classification is not diluted.'
      },
      tableMetadataInstructions: {
        label: 'Table Metadata Instructions',
        description: 'Add business context and field semantics to CSV/Excel summaries for better retrieval',
        placeholder: 'For example: this is a sales-order table, amounts are in CNY, and status uses internal codes…'
      },
      multimodal: {
        label: 'Multimodal Feature',
        description: 'Enable understanding of multimodal content such as images',
        vllmLabel: 'VLLM Vision Model',
        vllmDescription: 'Vision-language model required for multimodal understanding',
        vllmPlaceholder: 'Select a VLLM model (required)',
        descriptionLanguageLabel: 'Image Description Language',
        descriptionLanguageDescription: 'Leave empty to follow the document language instead of forcing Chinese',
        descriptionLanguageAuto: 'Follow document language',
        customInstructionsLabel: 'Image Processing Instructions',
        customInstructionsDescription: 'Add visual priorities while OCR and Markdown output contracts remain fixed',
        customInstructionsPlaceholder: 'For example: prioritize nameplates, model numbers, alarm codes, and table units…',
        imageAttrsLabel: 'Image attribute observation',
        imageAttrsDescription: 'When on, each image is first observed for attributes and described, then the attributes decide whether an OCR round runs for the text in the image. When off, the basic mode applies: every image is described and OCR runs for all of them',
        imageVectorLabel: 'Image vector search',
        imageVectorDescription: 'When on, each image is also encoded by the embedding model itself after its description is generated, so searches can find images by what they show even where the description leaves it out. Needs an embedding model that takes images; costs one extra embedding call per image and widens the vector search pool. Applies to documents ingested or re-parsed afterwards; scanned PDF pages are skipped',
        imageVectorModelUnsupported: 'The current embedding model does not declare image input, so no image vectors will be indexed or recalled',
        imageAttrsSchemaLabel: 'Observable image attributes',
        imageAttrsSchemaDescription: 'The model observes the attributes below (defined by the backend registry) to drive the OCR policy',
        imagePipelineSectionLabel: 'Image parsing scheme',
        imagePipelineSectionDescription:
          'With multimodal parsing on, pick how images are parsed.',
        imagePipelineLabel: 'Scheme',
        advancedSettingsLabel: 'Advanced settings',
        notesLabel: 'Additional notes',
        imagePipelinePlaceholder: 'Select a scheme',
        imagePipelineLoading: 'Loading pipelines…',
        imagePipelineLoadError: 'Could not load pipelines',
        imagePipelineValidateError: 'The current settings could not be checked; the backend re-checks them on save.',
        imageAttrsOcrConditions: 'Trigger OCR based on the observed attribute conditions',
        imageAttrsOcrConditionsDesc: 'When the observed attributes match the conditions below, OCR runs on the image',
        imagePipelineKbNote: 'Defaults follow the knowledge base settings; adjust them for this task'
      }
    }
  },
  chat: {
    memoryUsedCount: 'Used {count} memories',
    memoryForget: 'Delete this memory',
    memoryForgotten: 'Memory deleted',
    memoryForgetFailed: 'Failed to delete',
    memoryHint: 'These are the long-term memories this answer saw. Deleting one stops it from being used again.',
    suggestedQuestions: 'You can ask me',
    followUpQuestions: 'Keep asking',
    followUpQuestionsLoading: 'Loading suggested questions',
    refreshSuggestedQuestions: 'More',
    thinking: 'Thinking...',
    thinkingAlt: 'Thinking in progress',
    conversationTime: {
      today: 'Today {time}',
      yesterday: 'Yesterday {time}',
      thisYear: '{month}/{day} {time}',
      otherYear: '{month}/{day}/{year} {time}',
    },
    preparingAnswer: 'Preparing an answer…',
    connectingModelAndGeneratingAnswer: 'Connecting to the model and generating an answer…',
    modelStillResponding: 'The model is taking longer than usual, still waiting…',
    deepThoughtCompleted: 'Deep thinking completed',
    deepThoughtAlt: 'Deep thinking finished',
    referencesTitle: 'Referenced {count} related item(s)',
    referencesDocCount: 'Referenced {count} document(s)',
    referencesWebCount: 'Referenced {count} web result(s)',
    referencesDocAndWebCount: 'Referenced {docCount} document(s) and {webCount} web page(s)',
    referencesDrawerTitle: 'Sources',
    referencesDrawerTitleWeb: 'Web sources',
    referencesDrawerTitleDocs: 'Document sources',
    referencesDrawerTitleTools: 'Tool results',
    referencesDrawerTitleMixed: 'Sources',
    referencesDrawerWebSection: 'Web',
    referencesDrawerDocsSection: 'Documents',
    referencesDrawerToolsSection: 'Tools',
    referencesDrawerEmpty: 'No sources available',
    sandbox: {
        panelTitle: 'Sandbox',
        tabArtifacts: 'Files',
        tabTerminal: 'Terminal',
        tabDesktop: 'Desktop',
        artifactsEmpty: 'No generated files in this conversation yet.',
        artifactScope: 'File scope',
        artifactsCurrent: 'This turn',
        artifactsAll: 'All files',
        artifactsSearch: 'Search filenames',
        artifactsNoMatches: 'No matching files',
        desktopNotStarted: 'The desktop is not connected yet. Connecting it attaches to this conversation\'s sandbox.',
        desktopStart: 'Connect desktop',
        desktopStarting: 'Connecting to the desktop… (3-8 seconds on first use)',
        desktopUnsupported: 'This sandbox config has no desktop. Pick a desktop-image template in the workspace sandbox settings, on a Cube or E2B backend.',
        desktopBusy: 'This conversation already has a desktop open. Only one connection is allowed at a time, otherwise two people share one keyboard and mouse.',
        desktopStartFailed: 'The desktop failed to start. You can retry.',
        desktopRebuilt: 'The sandbox was rebuilt for a skill update, so the previous desktop and any unsaved work are gone. Reconnecting gives you a fresh desktop.',
        desktopNeedsProvision: 'This conversation has no running sandbox. Create and connect starts a new sandbox, billed according to your workspace configuration.',
        desktopCreateAndStart: 'Create and connect',
        desktopPaused: 'This conversation\'s sandbox is paused. Connecting the desktop resumes it.',
        desktopDisconnected: 'Desktop disconnected',
        desktopIdleDisconnected: 'The desktop disconnected after being idle. The sandbox will pause on its own TTL. You can reconnect.',
        desktopRetry: 'Reconnect',
        notStarted: 'The terminal is not running yet. Starting it connects to this conversation\'s sandbox, creating or resuming one if none is available.',
        paused: 'This conversation\'s sandbox is paused. Starting the terminal resumes it.',
        stopped: 'This conversation\'s sandbox is not running: it was stopped, or reclaimed after being idle. Starting the terminal restarts it; if it was reclaimed, a new sandbox is created and previous files and installed software are not kept.',
        start: 'Start terminal',
        connecting: 'Connecting to sandbox…',
        needsProvision: 'This conversation has no running sandbox. Creating one starts a new sandbox, billed according to your workspace configuration.',
        createAndStart: 'Create and start',
        noSandbox: 'No sandbox yet, and the current agent has no sandbox backend configured, so there is nowhere to create one. Switch to an agent with a sandbox configured, or send a message that runs code.',
        unsupported: 'The current sandbox backend does not support interactive terminals',
        disconnected: 'Connection lost',
        retry: 'Reconnect',
        sessionEnded: 'Terminal session ended',
        idleDisconnected: 'The terminal disconnected after being idle. The sandbox will pause on its own TTL. You can reconnect.',
        idleDisconnectedNewShell: 'The terminal disconnected after being idle and its shell has ended (background jobs started with nohup keep running). Reconnecting opens a new shell.',
        disconnectedNewShell: 'Connection lost and the terminal\'s shell has ended (background jobs started with nohup keep running). Reconnecting opens a new shell.',
        authRevoked: 'Your session is no longer valid, so the terminal was disconnected. Sign in again, then reconnect.',
    },
    questionMinimapTitle: 'Q&A',
    questionMinimapPosition: 'Turn {current} of {total}',
    questionMinimapAriaLabel: 'Question outline',
    questionMinimapAttachmentPlaceholder: '(Attachment)',
    referenceChunkCount: '{count} chunk(s)',
    fallbackHint: 'No relevant content found in knowledge base. Above is a direct response from the model.',
    truncatedHint: 'This answer was cut off at the per-response output limit. Above is what the model produced before the cut.',
    rewind: {
      tooltip: 'Rewind to here',
      confirmTitle: 'Rewind to here?',
      confirmBody: 'Later messages will be deleted. Rewinding from a question also removes that question and puts it back in the input. The workspace rolls back when a checkpoint is available. This cannot be undone.',
      confirmButton: 'Rewind',
      cancelButton: 'Cancel',
      success: 'Rewound',
      busy: 'Wait until this turn finishes before rewinding',
      noCheckpoint: 'Cannot rewind: this session has a live workspace but no reachable checkpoint',
      sandboxReplaced: 'Cannot rewind: the sandbox was replaced, so the old checkpoint is unreachable',
      reloadFailed: 'Conversation was rewound, but history could not be reloaded. Refresh if older messages are missing',
      failed: 'Rewind failed. Please try again',
      skipped: 'Conversation rewound; workspace was left unchanged',
      skipNoSandbox: 'Conversation rewound; workspace was left unchanged (no sandbox is bound)',
      skipNoCheckpoint: 'Conversation rewound; workspace was left unchanged (no checkpoint to restore)',
    },
    requestInfoTitle: 'Request info',
    requestInfoRequestId: 'Request ID',
    requestInfoMessageId: 'Message ID',
    requestInfoSessionId: 'Session ID',
    requestInfoUrl: 'Request',
    requestInfoSentAt: 'Sent at',
    requestInfoEmpty: 'No request info available',
    channelWeb: 'Web',
    channelApi: 'API',
    channelIm: 'IM',
    chunkLabel: 'Chunk {index}:',
    navigateToDocument: 'View document details',
    referenceSourceBack: 'All sources',
    referenceSourceView: 'View in original',
    referenceSourceRelocate: 'Locate again',
    referenceSourceLocating: 'Locating the cited passage…',
    referenceSourceExact: "Located the source passage",
    referenceSourcePartial: "Verified source passages highlighted; part of the citation remains unmatched",
    referenceSourceBlock: "Located the source region; exact text not confirmed",
    referenceSourceAmbiguous: "Multiple matching passages; the location is ambiguous",
    referenceSourceStale: "The source or content changed; this citation cannot be located precisely",
    referenceSourcePrevious: "Previous citation location",
    referenceSourceNext: "Next citation location",
    referenceSourceFoundPage: 'Found on page {page}',
    referenceSourceNotFound: 'Could not pinpoint the cited passage; the original is open',
    referenceSourceOpenWeb: 'Open the web page at this passage',
    chunkIdLabel: 'Chunk ID:',
    documentIdLabel: 'Document ID:',
    faqIdLabel: 'FAQ ID:',
    faqContainerIdLabel: 'Container ID:',
    faqAnswersLabel: 'Answers:',
    chunkOrdinal: 'Chunk {index}',
    previewContent: 'Preview content',
    noPlanSteps: 'No detailed steps provided',
    chunkIndexLabel: 'Chunk #{index}',
    chunkPositionLabel: '(Position: {position})',
    noRelatedChunks: 'No related chunks found',
    noSearchResults: 'No search results found',
    relevanceHigh: 'High relevance',
    relevanceMedium: 'Medium relevance',
    relevanceLow: 'Low relevance',
    relevanceWeak: 'Weak relevance',
    webSearchNoResults: 'No web search results found',
    otherSource: 'Other sources',
    webGroupIntro: 'The following {count} items are from',
    graphConfigTitle: 'Graph Configuration',
    entityTypesLabel: 'Entity types:',
    relationTypesLabel: 'Relation types:',
    graphResultsHeader: '{count} related results found',
    graphNoResults: 'No related graph information found',
    unknownLink: 'Unknown link',
    contentLengthLabel: 'Length {value}',
    notProvided: 'Not provided',
    promptLabel: 'Prompt',
    errorMessageLabel: 'Error message',
    summaryLabel: 'Summary',
    rawTextLabel: 'Raw text',
    collapseRaw: 'Collapse original',
    expandRaw: 'Expand original',
    noWebContent: 'No web content fetched',
    webFetchStatusSuccess: 'Fetched',
    webFetchStatusFailed: 'Failed',
    webFetchStatusSkipped: 'Skipped',
    webFetchErrorCode: 'Error code',
    webFetchRetryable: 'Retryable',
    webFetchContentRange: 'Characters {start}–{end} of {total}',
    webFetchPartialContent: 'Partial page',
    webFetchSummaryFailed: 'Summary failed',
    lengthChars: '{value} characters',
    lengthThousands: '{value}k characters',
    lengthTenThousands: '{value} ten-thousand characters',
    noDatabaseRecords: 'No matching records found',
    nullValuePlaceholder: '<NULL>',
    chunkCountValue: '{count} chunks',
    documentDescriptionLabel: 'Description:',
    documentSourceLabel: 'Source:',
    documentFileLabel: 'File:',
    documentMetadataLabel: 'Metadata',
    documentInfoEmpty: 'No document information available',
    positionLabel: 'Position:',
    chunkPositionValue: 'Chunk #{index}',
    contentLengthLabelSimple: 'Content length:',
    fullContentLabel: 'Full content',
    copyContent: 'Copy content',
    knowledgeBaseCount: '{count} knowledge bases',
    noKnowledgeBases: 'No knowledge bases available',
    enterDescription: 'Enter description',
    rawOutputLabel: 'Raw output',
    backgroundWork: {
      running: 'No background tasks | {count} background task | {count} background tasks',
      stop: 'Stop',
      loading: 'Loading output…',
      unavailable: 'Output is unavailable',
    },
    wikiWritePageTitle: 'Wiki Page Write',
    wikiReplaceTextTitle: 'Wiki Text Replace',
    wikiRenamePageTitle: 'Wiki Page Rename',
    wikiDeletePageTitle: 'Wiki Page Delete',
    wikiActionCreated: 'Created',
    wikiActionUpdated: 'Updated',
    wikiActionRenamed: 'Renamed',
    wikiActionDeleted: 'Deleted',
    wikiFieldSlug: 'Slug',
    wikiFieldTitle: 'Title',
    wikiFieldPageType: 'Type',
    wikiFieldSummary: 'Summary',
    wikiFieldOldText: 'Old text',
    wikiFieldNewText: 'New text',
    wikiFieldOldSlug: 'Old slug',
    wikiFieldNewSlug: 'New slug',
    wikiFieldAffectedPages: 'Affected pages',
    wikiAffectedCount: '{count} page link(s) updated',
    processError: 'Processing error',
    sessionExcerpt: 'Session Excerpt',
    noAnswerContent: '(No answer content)',
    manualSourcesHeading: 'Sources',
    noMatchFound: 'No matching content found',
    deleteSessionFailed: 'Delete failed, please try again later!',
    imageTooMany: 'Maximum 5 images allowed',
    imageTypeSizeError: 'Only JPG/PNG/GIF/WEBP under 10MB supported',
    imageUploadTooltip: 'Upload image (paste/drop supported)',
    attachmentUploadTooltip: 'Upload attachment (documents, audio, etc.)',
    attachmentWithCount: '{count} attachment(s) uploaded',
    attachmentTooMany: 'Maximum {max} attachments allowed',
    attachmentTotalTooMany: 'Images and attachments combined can be at most {max}',
    attachmentTooLarge: 'File {name} exceeds {max}MB limit',
    attachmentTypeNotSupported: 'Unsupported file type: {name}',
    attachmentUploading: 'Uploading {progress}%',
    attachmentParsing: 'Parsing',
    attachmentReady: 'Ready',
    attachmentUploadFailed: 'Attachment upload failed',
    attachmentParseFailed: 'Attachment parsing failed',
    attachmentStillProcessing: 'Attachment {name} is still being parsed'
  },
  tenant: {
    title: 'Workspace Information',
    currentTenant: 'Current Workspace',
    switchTenant: 'Switch workspace',
    switcher: {
      menuLabel: 'Switch workspace',
      currentBadge: 'Current',
      homeTooltip: 'Your home workspace',
      empty: 'You only belong to one workspace'
    },
    sectionDescription: 'View detailed configuration for the workspace',
    statusActive: 'Active',
    statusInactive: 'Not activated',
    statusSuspended: 'Suspended',
    statusUnknown: 'Unknown',
    loadingInfo: 'Loading information...',
    retry: 'Retry',
    unknown: 'Unknown',
    formatError: 'Format error',
    searchPlaceholder: 'Search by name or enter workspace ID...',
    noMatch: 'No matching workspaces found',
    switchSuccessTitle: 'Workspace switched',
    switchSuccessContent: 'You are now in {name}',
    loadTenantsFailed: 'Failed to load workspace list',
    loading: 'Loading...',
    loadMore: 'Load more',
    create: {
      action: 'Create new workspace',
      dialogTitle: 'Create new workspace',
      dialogSubtitle: 'A workspace has its own knowledge bases and members. You will become the owner of the new workspace.',
      nameLabel: 'Workspace name',
      namePlaceholder: 'e.g. My new project',
      nameRequired: 'Please enter a workspace name',
      descriptionLabel: 'Description (optional)',
      descriptionPlaceholder: 'Briefly describe what this workspace is for',
      submit: 'Create',
      cancel: 'Cancel',
      success: 'Workspace created successfully',
      failed: 'Failed to create workspace',
      disabled: 'This system only allows joining workspaces by invitation. You cannot create one yourself.'
    },
    details: {
      idLabel: 'Workspace ID',
      idDescription: 'Unique identifier of your workspace',
      nameLabel: 'Workspace Name',
      nameDescription: 'Name of your workspace',
      descriptionLabel: 'Workspace Description',
      descriptionDescription: 'Detailed description of the workspace',
      businessLabel: 'Workspace Business',
      businessDescription: 'Business domain that the workspace belongs to',
      statusLabel: 'Workspace Status',
      statusDescription: 'Current operational status of the workspace',
      createdAtLabel: 'Workspace Creation Time',
      createdAtDescription: 'Time when the workspace was created',
      editName: 'Edit name',
      editNamePlaceholder: 'Enter the new workspace name',
      editNameConfirm: 'Save',
      editNameCancel: 'Cancel',
      editNameRequired: 'Workspace name cannot be empty',
      editNameSuccess: 'Workspace name updated',
      editNameFailed: 'Failed to update workspace name',
      editDescription: 'Edit description',
      editDescriptionPlaceholder: 'Enter the new workspace description',
      editDescriptionSuccess: 'Workspace description updated',
      editDescriptionFailed: 'Failed to update workspace description',
      descriptionEmptyPlaceholder: 'Not set'
    },
    storage: {
      quotaLabel: 'Storage Quota',
      quotaDescription: 'Total storage capacity allocated to the workspace',
      usedLabel: 'Used Storage',
      usedDescription: 'Storage space that has been used',
      usageLabel: 'Storage Usage',
      usageDescription: 'Percentage of storage capacity used'
    },
    leaveDangerZone: {
      title: 'Leave this workspace',
      desc: 'Ends your membership in this workspace. You will lose access to its knowledge bases and agents. You can be invited again later.',
      button: 'Leave workspace'
    },
    deleteDangerZone: {
      title: 'Delete this workspace',
      desc: 'Delete the whole workspace and its configuration. Members will no longer be able to access its knowledge bases, agents, or API key.',
      button: 'Delete workspace',
      confirmTitle: 'Delete this workspace?',
      confirmBody: 'This will delete "{name}" and make its knowledge bases, agents, members, and API key unavailable. This action cannot be undone.',
      confirmHint: 'Type the workspace name "{name}" to confirm deletion.',
      confirm: 'Delete workspace',
      nameMismatch: 'Workspace name does not match',
      success: 'Workspace deleted',
      failed: 'Failed to delete workspace'
    },
    messages: {
      fetchFailed: 'Failed to fetch workspace information',
      networkError: 'Network error, please try again later'
    },
    api: {
      title: 'API Information',
      docLabel: 'API Documentation',
      docDescription: 'View complete API documentation and examples,',
      openDoc: 'Open documentation',
      userIdLabel: 'User ID',
      userIdDescription: 'Your unique user identifier',
      usernameLabel: 'Username',
      usernameDescription: 'Your login username',
      emailLabel: 'Email',
      emailDescription: 'Your registered email address',
      createdAtLabel: 'Registration Time',
      createdAtDescription: 'Time when the account was created',
      desktopPortLabel: 'Local API port (desktop)',
      desktopPortDescription: 'Use a fixed port (e.g. 37841) so tools like the Chrome extension can keep the same API URL. 0 means a random port each launch. Restart the app after saving.',
      desktopPortSave: 'Save',
      desktopPortSaved: 'Saved. Restart the app for it to take effect.',
      desktopPortSaveFailed: 'Save failed',
      desktopPortInvalid: 'Enter a port between 0 and 65535',
      desktopBindPublicLabel: 'Allow LAN access to the API',
      desktopBindPublicDescription: 'When enabled, the embedded server listens on 0.0.0.0 so other devices on your LAN can reach the API via the address below. This increases exposure—use host firewalls and routing rules as needed. Restart the app after changing this.',
      desktopBindPublicSaved: 'Saved. Restart the app for it to take effect.',
      desktopBindPublicSaveFailed: 'Save failed',
      lanUrlLabel: 'LAN API base URL',
      lanUrlDescription: 'Shown after “Allow LAN access” is on and the app has restarted. If the IP is wrong, replace the host with your machine’s IPv4 from system network settings.',
      lanUrlCopyTitle: 'Copy LAN API URL',
      lanUrlUnavailable: 'The API is listening on all interfaces, but no LAN IPv4 could be detected automatically. Find your IPv4 in network settings and build http://YOUR_IP:PORT/api/v1 manually.'
    }
  },
  system: {
    title: 'System Information',
    sectionDescription: 'View system version information and user account configuration',
    loadingInfo: 'Loading information...',
    retry: 'Retry',
    versionLabel: 'App Version',
    versionDescription: 'Version of the application service (weknora-app)',
    frontendVersionLabel: 'UI Version',
    frontendVersionDescription: 'Build version of the UI (weknora-ui)',
    versionMismatch: 'Mismatch with app version',
    buildTimeLabel: 'Build Time',
    buildTimeDescription: 'Time when the system was built',
    goVersionLabel: 'Go Version',
    goVersionDescription: 'Go language version used by the backend',
    startedAtLabel: 'Service started at',
    startedAtDescription: 'When the current backend process last started',
    uptimeLabel: 'Uptime',
    uptimeDescription: 'How long the service has been running since this start',
    uptimeDays: '{n}d',
    uptimeHours: '{n}h',
    uptimeMinutes: '{n}m',
    uptimeSeconds: '{n}s',
    dbVersionLabel: 'Database Version',
    dbVersionDescription: 'Current database migration version',
    dbMigrationFailedTag: 'Migration failed',
    dbMigrationFailedTitle: 'Database migration failed',
    dbMigrationFailedDesc: 'The startup database migration did not complete successfully. Some tables or indexes may be missing, which can break Wiki ingest, the knowledge graph, and other features. Check the troubleshooting guide below first; if the issue persists, report it via the link.',
    dbMigrationViewDocs: 'View troubleshooting guide',
    dbMigrationReportIssue: 'Can\'t fix it? Report an issue',
    keywordIndexEngineLabel: 'Keyword Index Engine',
    keywordIndexEngineDescription: 'Currently used keyword index engine',
    vectorStoreEngineLabel: 'Vector Store Engine',
    vectorStoreEngineDescription: 'Currently used vector store engine',
    graphDatabaseEngineLabel: 'Graph Database Engine',
    graphDatabaseEngineDescription: 'Currently used graph database engine',
    unknown: 'Unknown',
    messages: {
      fetchFailed: 'Failed to fetch system information',
      networkError: 'Network error, please try again later'
    },
    globalSettings: {
      title: 'System Settings',
      description: 'Platform-wide runtime configuration. Saves take effect immediately for every workspace. Visible and editable by system administrators only.',
      loading: 'Loading...',
      empty: 'No configurable system settings available',
      saving: 'Saving',
      saved: 'Saved',
      saveAnnouncement: '{label} saved',
      badgeRequiresRestart: 'Restart required',
      badgeSecret: 'Secret',
      badgeHighRisk: 'High risk',
      badgeOverride: 'Overridden',
      badgeOverrideTooltip: 'This value has been saved to the database by an administrator, overriding the environment variable and built-in default.',
      modifiedAt: 'Last modified: {value}',
      tagInputPlaceholder: 'Press Enter to add an entry, e.g. example.com / *.foo.com / 10.0.0.0/8',
      priorityHint: {
        disclosure: 'Configuration source and priority',
        tier1: 'Items saved on this page (marked "Overridden") always win — the environment variable is ignored for them.',
        tier2: 'Items not saved here fall back to the environment variable, or to the built-in default if no env var is set.',
        tier3: 'To put an item back under environment-variable control, click the "Reset" button on its row.'
      },
      sections: {
        access: {
          title: 'Registration & access',
          description: 'Manage registration, password requirements, and workspace-creation rules.'
        },
        tenant: {
          title: 'Workspace defaults',
          description: 'Set initial quotas and compatibility behavior for new workspaces without rewriting existing workspaces.'
        },
        runtime: {
          title: 'Runtime & concurrency',
          description: 'Configure concurrency capacity for background worker pools and model services.',
          restartHint: 'Worker settings require restart'
        },
        security: {
          title: 'Network security',
          description: 'Manage the SSRF allowlist and whether the Docker sandbox is allowed (a local docker.sock is equivalent to root on the host).'
        },
        other: {
          title: 'Other settings',
          description: 'Settings in this deployment that are not part of a standard product group.'
        }
      },
      runtime: {
        title: 'Task Queue Runtime',
        description: 'Live background-queue load and per-process capacity for each isolated worker pool. Includes task details and safe controls; auto-refreshes every 5s.',
        refresh: 'Refresh',
        autoRefresh: 'Auto-refresh (every 5s)',
        loading: 'Loading...',
        retry: 'Retry',
        unavailableTitle: 'Task queues unavailable',
        unavailable: 'This deployment has no Redis / asynq queue (Lite mode) — nothing to display.',
        empty: 'No queue data available',
        detailsTitle: 'Queue details',
        detailsDescription: 'Live load and wait time for every processing lane. “Failed (stopped)” means the task exceeded its retry limit and will not run automatically again.',
        poolsTitle: 'Worker pools',
        poolsDescription: 'Each stage has guaranteed capacity; core and enrichment may also borrow the shared elastic pool.',
        perInstance: 'Card value is cluster active/capacity',
        poolConfigured: 'Per-process {value}',
        poolInstances: '{value} instances',
        poolUtilization: '{value}% utilized',
        queueCount: '{value} queues',
        weightShort: 'Weight {value}',
        footnote: 'Card values show cluster active/live capacity; per-process configuration requires restart. The shared elastic pool only consumes core and enrichment queues.',
        updatedAt: 'Updated at {value}',
        errors: {
          generic: 'Failed to load queue stats'
        },
        summary: {
          title: 'Runtime overview',
          active: 'Active',
          pending: 'Pending',
          retry: 'Retrying',
          archived: 'Failed (stopped)'
        },
        columns: {
          queue: 'Queue',
          active: 'Active',
          pending: 'Pending',
          scheduled: 'Scheduled',
          retry: 'Retry',
          archived: 'Failed',
          completed: 'Completed',
          latency: 'Oldest wait',
          status: 'Status'
        },
        status: {
          working: 'Working',
          waiting: 'Waiting',
          idle: 'Idle',
          actionRequired: 'Action needed',
          retrying: 'Retrying',
          paused: 'Paused'
        },
        failedNotice: {
          title: '{count} failed tasks need attention',
          description: 'Open a red Failed count in the table below to inspect causes, then retry after fixing the root issue.'
        },
        tasks: {
          title: 'Task details · {queue}',
          description: 'Inspect every task state. Scheduled and retry tasks show the next run first; other states show the newest tasks first.',
          listTitle: '{state} tasks',
          openAria: 'View {count} {state} tasks in {queue}',
          unavailable: 'Task details are unavailable in this deployment',
          empty: 'This queue has no {state} tasks',
          loadError: 'Failed to load task details',
          loadMore: 'Load more',
          loadedSummary: '{count} loaded — scroll or tap to load more',
          loadedAll: 'All {count} loaded',
          loadingMore: 'Loading more…',
          attempts: 'Attempt {current}/{max}',
          unknownTarget: 'No related object identified',
          knowledgeBaseLabel: 'Knowledge base ID',
          knowledgeLabel: 'Document ID',
          taskIDLabel: 'Business task ID',
          tenantLabel: 'Workspace ID',
          sourceLabel: 'Source ID',
          targetLabel: 'Target ID',
          sourceKBLabel: 'Source knowledge base',
          targetKBLabel: 'Target knowledge base',
          dataSourceLabel: 'Data source ID',
          syncLogLabel: 'Sync log ID',
          knowledgeCountLabel: 'Documents',
          enqueuedAt: 'Enqueued',
          startedAt: 'Started',
          nextProcessAt: 'Next run',
          lastFailedAt: 'Last failed',
          completedAt: 'Completed',
          deadline: 'Deadline',
          worker: 'Worker',
          health: 'Runtime health',
          orphaned: 'Worker heartbeat lost; waiting for recovery',
          cancel: 'Cancel task',
          cancelConfirm: 'This uses the business cancellation flow and also stops related tasks for the same document. Cancel it?',
          runNow: 'Run now',
          runNowConfirm: 'This task will move to pending immediately without resetting its retry count. Continue?',
          deleteRecord: 'Clear record',
          deleteConfirm: 'This only removes the record from this queue. It will not run or complete the original task, and historical logs remain. Clear it?',
          purgeArchived: 'Clear all failed tasks',
          purgeArchivedConfirm: 'Remove all {count} failed records from this queue at once. This only clears failed tasks in the queue — it does not affect running or pending tasks, nor does it roll back the business status of documents that already failed. Clear them?',
          purgeArchivedSuccess: 'Cleared {count} failed tasks',
          purgeArchivedError: 'Failed to clear failed tasks',
          stateFilter: 'Filter by task state',
          states: {
            active: 'Active',
            pending: 'Pending',
            scheduled: 'Scheduled',
            retry: 'Retrying',
            archived: 'Failed',
            completed: 'Completed'
          },
          guides: {
            active: 'Inspect the worker, start time, deadline, and orphan status. Cancel is offered only when the business state can be updated safely.',
            pending: 'Pending tasks have not been claimed. Cancellation updates business state instead of only removing Redis data.',
            scheduled: 'Scheduled tasks can run early; document pipeline tasks can also use safe business cancellation.',
            retry: 'Use the last error, attempt count, and next run time to decide whether to run now or cancel.',
            archived: 'Fix the root cause before running again. Clearing a record does not complete the original business task.',
            completed: 'Only recently completed tasks with result retention are shown. No management actions are available.'
          },
          actionSuccess: {
            cancel: 'Task cancelled',
            run_now: 'Task moved to pending',
            delete: 'Failure record cleared'
          },
          actionError: {
            cancel: 'Failed to cancel task',
            run_now: 'Failed to run task',
            delete: 'Failed to clear record'
          },
          taskTypes: {
            documentProcess: 'Document parsing',
            manualProcess: 'Manual reprocessing',
            temporaryDocumentProcess: 'Chat attachment parsing',
            postProcess: 'Document post-processing',
            summary: 'Summary generation',
            tableSummary: 'Table summary generation',
            question: 'Question generation',
            multimodal: 'Image multimodal processing',
            graph: 'Knowledge graph extraction',
            sync: 'Data-source sync',
            faqImport: 'FAQ import',
            batchReparse: 'Batch reparse',
            batchDelete: 'Batch delete',
            move: 'Document move',
            indexDelete: 'Index deletion',
            kbClone: 'Knowledge-base clone',
            kbDelete: 'Knowledge-base deletion',
            wikiIngest: 'Wiki content generation',
            wikiFinalize: 'Wiki finalization'
          }
        },
        models: {
          title: 'Model concurrency',
          description: 'Actual model-service concurrency from background tasks. The section above schedules tasks; this section shows the separate model-service throttle stage.',
          scope: 'Active is cluster-wide · waiting is local',
          disabled: 'Background model concurrency governance is disabled. Configure the default model concurrency limit in Global settings.',
          empty: 'No model activity yet. A model appears after its first background call.',
          backgroundOnly: 'Background tasks only; interactive chat is excluded',
          columns: {
            model: 'Model ID',
            active: 'In flight',
            waiting: 'Throttled',
            usage: 'Concurrency'
          },
          status: {
            queued: 'Throttling',
            full: 'At limit'
          }
        },
        pools: {
          core: 'Core parsing',
          postprocess: 'Post-process orchestration',
          enrichment: 'Enrichment',
          maintenance: 'Maintenance & sync',
          shared: 'Shared elastic',
          wiki: 'Wiki pool'
        },
        poolDescriptions: {
          core: 'Guaranteed document and manual parsing capacity',
          postprocess: 'Parse finalization and enrichment fan-out',
          enrichment: 'Summaries, images, graph, and question generation',
          maintenance: 'Source sync, batch work, and deletion cleanup',
          shared: 'Borrowed by core or enrichment according to backlog',
          wiki: 'Wiki content generation and global finalization'
        },
        queueNames: {
          default: 'Document parsing',
          chat_attachment: 'Chat attachments',
          postprocess: 'Post-process',
          summary: 'Summaries',
          sync: 'Source sync',
          low: 'Maintenance & batch',
          multimodal: 'Multimodal',
          graph: 'Graph extraction',
          question: 'Questions',
          wiki: 'Wiki pipeline'
        },
        queueDescriptions: {
          default: 'Document parse, manual reparse',
          chat_attachment: 'Session-scoped chat upload parsing',
          postprocess: 'Parse finalization, enrichment fan-out',
          summary: 'Document & table summaries',
          sync: 'Manual & scheduled sync',
          low: 'FAQ import, batch reparse, cleanup',
          multimodal: 'Image OCR, vision captions',
          graph: 'Chunk-level graph extraction',
          question: 'Chunk-level question generation',
          wiki: 'Content generation, index finalize'
        }
      },
      keyLabels: {
        auth: {
          registration_mode: 'Registration mode',
          default_tenant_mode: 'Default workspace provisioning',
          complex_password_enabled: 'Require complex password'
        },
        ssrf: {
          whitelist: 'SSRF protection allowlist'
        },
        sandbox: {
          docker_enabled: 'Enable Docker sandbox'
        },
        tenant: {
          max_owned_per_user: 'Max workspaces owned per user',
          self_service_creation_enabled: 'Allow self-service workspace creation',
          default_storage_quota_gb: 'Default storage quota for new workspaces (GB)',
          default_storage_quota_mb: 'Default storage quota for new workspaces (MB)',
          auto_create_api_key: 'Automatically create an API key for new workspaces',
          auto_accept_invitation: 'Auto-join invited registered users'
        },
        asynq: {
          core_concurrency: 'Guaranteed core parse concurrency',
          postprocess_concurrency: 'Post-process concurrency',
          enrichment_concurrency: 'Guaranteed enrichment concurrency',
          maintenance_concurrency: 'Maintenance concurrency',
          shared_concurrency: 'Shared elastic concurrency',
          wiki_concurrency: 'Wiki worker concurrency'
        },
        model: {
          max_concurrency: 'Default per-model concurrency limit'
        }
      },
      keyDescriptions: {
        auth: {
          registration_mode: 'Registration mode. Open registration allows anyone to create an account; invitation registration requires a valid invitation link; disabled registration prevents account creation while existing accounts can still accept invitations. Changes take effect immediately.',
          default_tenant_mode: 'Workspace provisioning after public registration. create_personal creates an Owner workspace; tenantless creates only the account until the user accepts an invitation or creates a workspace. Applies to new users only.',
          complex_password_enabled: 'Whether to require complex passwords. When enabled, passwords must contain uppercase and lowercase letters, numbers, and special characters. Changes take effect immediately and only apply to newly registered users or new password changes/resets. Special characters include {specialChars}'
        },
        ssrf: {
          whitelist: 'SSRF protection allowlist. Accepts entries such as example.com / *.foo.com / 10.0.0.0/8 / 2001:db8::1. Takes effect immediately after saving. The SSRF_WHITELIST_EXTRA environment variable is still maintained by the deployer and is not overridden here.'
        },
        sandbox: {
          docker_enabled: 'Allow the Docker sandbox backend. A local docker.sock is equivalent to root on the host, so this stays off by default. Only a system admin can turn it on; the change takes effect immediately. Enable it only on a private single-node install that mounts the daemon socket or uses a TLS-protected remote tcp:// endpoint.'
        },
        tenant: {
          max_owned_per_user: 'Maximum number of workspaces a non-superuser may own via self-service creation. Read on every workspace creation and takes effect immediately after saving. 0 uses the built-in default of 10; a negative value disables the cap entirely (not recommended on public deployments).',
          self_service_creation_enabled: 'Whether non-superusers may create workspaces themselves. When disabled, regular users can only join existing workspaces by invitation; cross-workspace superusers remain exempt. Takes effect immediately.',
          default_storage_quota_gb: 'Default storage quota (GB) assigned when a new workspace is created, covering vectors, originals, text, indexes, and related data. Read only at creation time — changes apply to newly created workspaces only and do not retroactively update existing workspaces. 0 or a negative value uses the built-in default of 10 GB.',
          default_storage_quota_mb: 'Includes personal workspaces created at registration. Positive values override the GB setting; zero or negative values use GB. Each setting resolves from database, environment, then built-in default. Changes affect newly created workspaces only.',
          auto_create_api_key: 'Automatically creates a full_access API key for a new workspace and returns its plaintext token in the create response. Use only for integrations that depend on the legacy behavior; it is disabled by default and explicit API-key creation is recommended.',
          auto_accept_invitation: 'When enabled, inviting a registered user by email adds them as a member immediately instead of waiting for inbox confirmation. When off, the invitee must accept from their inbox. Takes effect immediately.'
        },
        asynq: {
          core_concurrency: 'Guaranteed per-process concurrency for document and manual parsing. Core may also borrow the shared elastic pool. Minimum 1; requires a service restart.',
          postprocess_concurrency: 'Dedicated per-process concurrency for lightweight parse finalization and enrichment fan-out. Minimum 1; requires a service restart.',
          enrichment_concurrency: 'Guaranteed per-process concurrency for summaries, images, graph, and question generation. Enrichment may also borrow the shared elastic pool. Minimum 1; requires a service restart.',
          maintenance_concurrency: 'Per-process concurrency for source sync, batch work, and cleanup, hard-isolated from the user-facing pipeline. Minimum 1; requires a service restart.',
          shared_concurrency: 'Per-process elastic concurrency shared by core parsing and enrichment; whichever side has backlog borrows it automatically. Minimum 1; requires a service restart.',
          wiki_concurrency: 'Per-process concurrency for the dedicated Wiki worker pool, isolated from upstream tasks. Minimum 1; requires a service restart.'
        },
        model: {
          max_concurrency: 'Default cap on concurrent background (ingestion/enrichment) calls to a single model, keyed by model ID and shared across replicas. Read on every call and applied immediately with no restart. 0 or a negative value disables the default cap (each model still honours its own limit configured in model management). Affects background tasks only, not interactive chat.'
        }
      },
      enumLabels: {
        auth: {
          registration_mode: {
            self_serve: 'Self-service (anyone can register)',
            invite_register: 'Invitation registration (valid link required)',
            invite_only: 'Registration disabled (existing accounts can accept invitations)'
          },
          default_tenant_mode: {
            create_personal: 'Create personal workspace',
            tenantless: 'Do not create a workspace'
          }
        }
      },
      confirm: {
        confirmBtn: 'Confirm save',
        cancelBtn: 'Cancel',
        emptyValue: '(empty)',
        bodyAuthRegistrationMode: 'About to change "{label}" to: {value}\n\nIf switched to self_serve, anyone on the public internet can register an account — please confirm this is intended.',
        bodySandboxDockerEnabled: 'Once on, workspace admins can point a sandbox at the local Docker daemon. A local docker.sock is equivalent to root on the host. Use this only on a private single-node install that mounts the daemon or uses a TLS-protected remote tcp:// endpoint.'
      },
      listConfirm: {
        ssrf: {
          whitelist: {
            add: {
              header: 'Add SSRF allowlist entry',
              body: 'Add {entry} to the SSRF allowlist? Hosts / IPs / CIDRs that match this entry will bypass SSRF protection and may let agents reach internal services. Only add entries you fully trust.',
              confirmBtn: 'Add'
            },
            remove: {
              header: 'Remove SSRF allowlist entry',
              body: 'Remove {entry} from the SSRF allowlist? After removal this entry will be blocked by SSRF protection again.',
              confirmBtn: 'Remove'
            }
          }
        }
      },
      messages: {
        loadFailed: 'Failed to load system settings',
        saveSuccess: 'Saved',
        saveFailed: 'Save failed'
      },
      reset: {
        label: 'Reset',
        tooltip: 'Clear the UI override and fall back to the environment variable or the built-in default',
        confirmBtn: 'Confirm reset',
        confirmBody: 'Reset "{label}"? This deletes the database override and falls back to the environment variable or the built-in default.',
        success: 'Reset to default',
        failed: 'Reset failed'
      },
      userList: {
        title: 'Platform users',
        rowLabel: 'User management',
        rowDesc: 'View every registered user across workspaces, with pagination and username/email filtering.',
        searchPlaceholder: 'Filter by username or email (current page)',
        refresh: 'Refresh',
        active: 'Active',
        inactive: 'Disabled',
        colUsername: 'Username',
        colStatus: 'Status',
        colRole: 'Role',
        colCreated: 'Created',
        colAction: 'Actions',
        prev: 'Previous',
        next: 'Next',
        pageCount: '{shown} shown / {total} on page',
        enable: 'Enable',
        disable: 'Disable',
        resetPassword: 'Reset password',
        confirmDisable: 'Disable account {name}? Their active sessions will be revoked immediately.',
        confirmEnable: 'Enable account {name}?',
        enabledMsg: 'Enabled {name}',
        disabledMsg: 'Disabled {name}',
        actionFailed: 'Action failed',
        loadFailed: 'Failed to load users',
        roleAdmin: 'System admin',
        roleUser: 'Regular user',
        confirmRevoke: 'Revoke system-admin privileges from {name}?',
        confirmPromote: 'Promote {name} to system administrator?',
        revokeBtn: 'Revoke',
        promoteBtn: 'Promote',
        revokedMsg: 'Revoked admin privileges from {name}',
        promotedMsg: 'Promoted {name} to system administrator',
        roleFailed: 'Failed to change role',
      },
      passwordReset: {
        dialogTitle: 'Reset another user\'s password',
        warning: 'This is a high-risk action. Verify the user email carefully. You cannot reset your own password here.',
        emailLabel: 'User email',
        newPasswordLabel: 'New password',
        newPasswordPlaceholder: 'Enter new password',
        confirmPasswordLabel: 'Confirm new password',
        confirmPasswordPlaceholder: 'Enter the new password again',
        confirmBtn: 'Confirm reset',
        success: 'Password reset; the user\'s existing sessions were revoked',
        failed: 'Failed to reset password',
      },
      createUser: {
        action: 'Create user',
        dialogTitle: 'Create a new user',
        warning: 'This is a high-risk action. Verify the username and email carefully — they are how the new user will sign in.',
        usernameLabel: 'Username',
        usernamePlaceholder: '2-50 characters',
        emailLabel: 'Email',
        emailPlaceholder: 'Enter a valid email address',
        autoGenerateLabel: 'Auto-generate a random password',
        newPasswordLabel: 'New password',
        newPasswordPlaceholder: '8-32 characters, including letters and numbers',
        confirmPasswordLabel: 'Confirm new password',
        confirmPasswordPlaceholder: 'Enter the new password again',
        confirmBtn: 'Create user',
        success: 'User created',
        successIdempotent: 'User already existed; no changes made',
        missingPassword: 'User was created but the generated password was not returned. Reset the password to recover access.',
        failed: 'Failed to create user',
        validation: {
          usernameRequired: 'Enter a username',
          usernameLength: 'Username must be 2-50 characters',
          emailRequired: 'Enter an email address',
          emailInvalid: 'Enter a valid email address',
          confirmRequired: 'Enter the new password again',
          passwordMismatch: 'The passwords do not match'
        },
        generated: {
          successTitle: 'User created',
          successBody: 'A random password was generated for this user. It will only be shown once.',
          usernameLabel: 'Username',
          emailLabel: 'Email',
          passwordLabel: 'Generated password',
          copyBtn: 'Copy account details',
          copySuccess: 'Account details copied to clipboard',
          acknowledgeBtn: 'I have saved the password'
        }
      },
      bulkApply: {
        label: 'Apply to all existing workspaces',
        tooltip: 'Saving the value only affects new workspaces by default; click here to also overwrite every existing workspace.',
        confirmBtn: 'Confirm apply',
        confirmBody: 'Overwrite the storage quota of every existing workspace to {value} {unit}. Workspaces whose quota was tuned manually by operations will also be overwritten. Continue?',
        success: 'Updated storage quota for {count} workspaces to {value} {unit}',
        failed: 'Failed to apply to all workspaces'
      },
      audit: {
        tabLabel: 'Audit log',
        description: 'Platform-level events: system setting changes, system admin grants/revocations, bulk quota syncs. Newest first.',
        refresh: 'Refresh',
        retry: 'Retry',
        loading: 'Loading…',
        end: 'End of feed.',
        empty: 'No platform-level audit events yet.',
        forbidden: 'Not allowed to view the platform audit log.',
        systemActor: 'System',
        errors: {
          generic: 'Failed to load audit log'
        },
        actorRole: {
          system_admin: 'System Admin'
        },
        columns: {
          time: 'Time',
          actor: 'Actor',
          action: 'Event',
          target: 'Target',
          path: 'Request',
          outcome: 'Result'
        },
        action: {
          'system.setting_changed': 'System setting changed',
          'system.admin_promoted': 'System admin granted',
          'system.api_key_created': 'Platform API key created',
          'system.api_key_revoked': 'Platform API key revoked',
          'system.admin_revoked': 'System admin revoked',
          'system.user_password_reset': 'User password reset',
          'system.user_created': 'User created',
          'system.queue_task_retried': 'Failed task run again',
          'system.queue_task_deleted': 'Failed task record cleared',
          'system.queue_task_run_now': 'Queue task run now',
          'system.queue_task_cancelled': 'Queue task cancelled',
          'system.queue_archived_purged': 'All failed tasks cleared'
        },
        outcome: {
          success: 'Success',
          denied: 'Denied'
        },
        target: {
          bulkQuota: 'Bulk sync: default storage quota',
          bulkQuotaDiff: 'Applied to {count} workspaces ({gb} GB)',
          promoteIdempotent: 'Target was already a system admin (idempotent)',
          revokeNoop: 'Target was not a system admin (idempotent)',
          requiredRole: 'Required role: {role}',
          valueNull: '(unset)'
        },
        expanded: {
          actorId: 'Actor ID',
          targetUserId: 'Target user ID',
          targetType: 'Target type',
          targetId: 'Target ID',
          details: 'Raw details'
        },
        drawer: {
          sectionSummary: 'Event summary',
          sectionIdentifiers: 'Related IDs',
          sectionRequest: 'Request',
          targetChange: 'Change',
          requestMethod: 'Method'
        }
      }
    }
  },
  mcp: {
    testResult: {
      title: 'Test Result: {name}',
      connectionSuccess: 'Connection successful',
      connectionFailed: 'Connection failed',
      toolsTitle: 'Available tools',
      resourcesTitle: 'Available resources',
      descriptionLabel: 'Description',
      schemaLabel: 'Parameter schema',
      emptyDescription: 'This service did not provide tools or resources',
      requireApproval: 'Require human approval',
      requireApprovalTip: 'When enabled, the agent pauses before calling this tool until you approve — use for DB writes, deletes, etc.',
      approvalSaveFailed: 'Failed to save approval setting',
      toolEnabled: 'Enable tool',
      toolEnabledTip: 'When disabled, the agent will not see or call this tool',
      toolEnabledSaveFailed: 'Failed to save tool setting'
    }
  },
  error: {
    networkError: 'Network error, please check your connection',
    requestTimeout: 'Request timed out. Large files or slow connections may need another try.',
    invalidCredentials: 'Invalid username or password',
    tokenRefreshFailed: 'Token refresh failed',
    pleaseRelogin: 'Please log in again',
    fileSizeExceeded: 'File size cannot exceed {size}MB!',
    unsupportedFileType: 'Unsupported file type!',
    invalidFileType: 'Invalid file type!',
    invalidImageLink: 'Invalid image link',
    missingKbId: 'Missing knowledge base ID',
    tokenNotFound: 'Login token not found, please log in again',
    streamFailed: 'Stream connection failed',
    auth: {
      loginFailed: 'Login failed',
      registerFailed: 'Registration failed',
      getUserFailed: 'Failed to get user info',
      getTenantFailed: 'Failed to get workspace info',
      updatePreferencesFailed: 'Failed to update preferences',
      refreshTokenFailed: 'Token refresh failed',
      logoutFailed: 'Logout failed',
      validateTokenFailed: 'Token validation failed'
    },
    model: {
      createFailed: 'Failed to create model',
      getFailed: 'Failed to get model',
      updateFailed: 'Failed to update model',
      deleteFailed: 'Failed to delete model'
    },
    tenant: {
      listFailed: 'Failed to list workspaces',
      searchFailed: 'Failed to search workspaces',
      getApiPrincipalConfigFailed: 'Failed to get API principal config',
      updateApiPrincipalConfigFailed: 'Failed to update API principal config',
      createApiPrincipalTestTokenFailed: 'Failed to create API test token',
      updateFailed: 'Failed to update workspace information',
      deleteFailed: 'Failed to delete workspace'
    },
    initialization: {
      checkFailed: 'Check failed',
      testFailed: 'Test failed'
    }
  },
  model: {
    reasoning: {
      levels: {
          off: 'Off',
          auto: 'Auto',
          minimal: 'Minimal',
          low: 'Low',
          medium: 'Medium',
          high: 'High',
          xhigh: 'Extra high',
          max: 'Max',
        },
        levelDescriptions: {
          off: 'Thinking disabled; no thinking parameters are sent',
          auto: 'Vendor default intensity; the model decides how much to think',
          minimal: 'Least thinking, fastest responses',
          low: 'Light thinking',
          medium: 'Moderate thinking',
          high: 'Deep thinking, slower responses',
          xhigh: 'Very high thinking budget (select models only)',
          max: 'Maximum thinking budget (select models only)',
        },
      },
      modelName: 'Model Name',
      defaultTag: 'Default',
      addModelInSettings: 'Go to global settings to add models',
      loadFailed: 'Failed to load model list',
      selectModelPlaceholder: 'Select a model',
      searchPlaceholder: 'Search models...',
      editor: {
        maxOutputTokensLabel: 'Max output tokens',
        maxOutputTokensPlaceholder: 'Leave empty for the catalog default',
        maxOutputTokensDesc: 'Output cap per response. Leave empty to use the catalog default for this model.',
        catalog: {
          reasoning: 'Reasoning',
          vision: 'Vision',
          hint: 'Pick a model from the vendor catalog or type a custom model name.',
        },
        resolved: {
          title: 'How this model is called',
          empty: 'Fill in the vendor and model name to see how this model will be called',
          failed: 'Resolve failed',
          protocol: 'Request protocol',
          catalog: 'Capabilities from',
          catalogedYes: 'Built-in model profile',
          catalogedNo: 'Vendor defaults (model not in the catalog)',
          endpoint: 'Request endpoint',
          thinkingFormat: 'Thinking switch sent as',
          thinkingLevels: 'Selectable effort',
          noThinking: 'This model cannot think',
        },
        advanced: {
          toggle: 'Advanced',
          api: {
            label: 'Protocol override',
            auto: 'Auto (from vendor / URL)',
            desc: 'Force a request protocol; normally unnecessary.',
          },
          remoteModelName: {
            label: 'Remote model name',
            placeholder: 'Leave empty to use the model name',
            desc: 'Model id actually sent to the vendor when it differs from the name above.',
          },
          legacyThinking: {
            label: 'Thinking parameter format (legacy)',
            catalog: 'Follow catalog default (recommended)',
            none: 'Do not send thinking fields',
            desc: 'This model still carries a legacy thinking_control setting. Choose "Follow catalog default" to let the catalog decide.',
          },
          compat: {
            label: 'Protocol compat override (JSON)',
            placeholder: "{'{'} \"max_tokens_field\": \"max_tokens\" {'}'}",
            desc: 'Only needed when the endpoint differs from the catalog defaults; include just the fields to change. Leave empty for no override.',
            docLink: 'Field reference',
            invalid: 'Invalid JSON',
            mustBeObject: 'Must be a JSON object',
          },
        },
        addTitle: 'Add Model',
        editTitle: 'Edit Model',
        sectionType: 'Model Type',
        typeLabel: 'Model Type',
        sectionSource: 'Source',
        sectionProvider: 'Provider Settings',
        sectionAdvanced: 'Advanced Options',
        sourceLabel: 'Model Source',
        sourceLocal: 'Ollama',
        sourceRemote: 'API',
        description: {
          chat: 'Configure large language models for conversations',
          embedding: 'Configure embedding models for text vectorization',
          rerank: 'Configure models for result re-ranking',
          vllm: 'Configure vision-language models for multimodal understanding',
          asr: 'Configure speech-to-text models for audio transcription',
          default: 'Configure model information'
        },
        modelNamePlaceholder: {
          local: 'e.g. llama2:latest',
          remote: 'e.g. gpt-4, claude-3-opus',
          localVllm: 'e.g. llava:latest',
          remoteVllm: 'e.g. gpt-4-vision-preview',
          remoteAsr: 'e.g. whisper-1'
        },
        baseUrlLabel: 'Base URL',
        displayNameLabel: 'Display name (optional)',
        displayNamePlaceholder: 'e.g. Support QA model',
        displayNameDesc: 'Used only in the UI. Runtime calls still use the model name above.',
        baseUrlPlaceholder: 'e.g. https://api.openai.com/v1',
        baseUrlPlaceholderVllm: 'e.g. http://localhost:11434/v1',
        baseUrlPlaceholderAsr: 'e.g. https://api.openai.com/v1',
        apiKeyOptional: 'API Key (optional)',
        apiKeyPlaceholder: 'Enter API Key',
        customHeadersLabel: 'Custom Request Headers (optional)',
        customHeadersDesc: 'Extra HTTP headers appended to requests to the remote model API (e.g. for enterprise gateway auth or tracing). Reserved headers like Authorization / Content-Type are ignored.',
        customHeadersAdd: 'Add Header',
        customHeadersKeyPlaceholder: 'Header name',
        customHeadersValuePlaceholder: 'Header value',
        testing: 'Testing...',
        testConnection: 'Test Connection',
        downloadLabel: 'Download: {keyword}',
        refreshList: 'Refresh List',
        dimensionLabel: 'Vector Dimension',
        dimensionPlaceholder: 'e.g. 1536',
        checkDimension: 'Detect Dimension',
        dimensionDetected: 'Detection succeeded. Vector dimension: {value}',
        dimensionFailed: 'Detection failed, please enter the dimension manually',
        remoteDimensionDetected: 'Detected vector dimension: {value}',
        dimensionOverrideLabel: 'Custom Output Dimension',
        dimensionOverrideDesc: 'Enable only if the provider documentation says this model accepts a dimensions parameter.',
        supportsVisionLabel: 'Supports Vision / Multimodal',
        supportsVisionDesc: 'Whether the model accepts image and multimodal input',
        embeddingImageInputLabel: 'Image Input',
        embeddingImageInputDesc: 'The model embeds images into the same vector space as text. Catalogued models are detected automatically; declare it for custom models',
        contextWindowLabel: 'Context Window',
        contextWindowPlaceholder: 'Default {value}',
        contextWindowDesc: 'How many tokens this model can take in one request. Agent history compaction uses this limit. Leave empty for the default 200000 (200K). Use the provider’s real window — a larger guess means compaction never fires and the provider rejects the request.',
        contextWindowDefaultHint: 'Unset, using default {value}',
        contextWindowTokens: '{count} tokens',
        maxConcurrencyLabel: 'Background concurrency limit',
        maxConcurrencyPlaceholder: '0 = use global default',
        maxConcurrencyDesc: 'Caps concurrent background (ingestion/enrichment) calls to this model, shared per model across all replicas. 0 or empty falls back to the global default; interactive chat is never affected.',
        dimensionHint: 'Model selected. Click "Detect Dimension" to fetch the vector dimension automatically.',
        loadModelListFailed: 'Failed to load model list',
        listRefreshed: 'List refreshed',
        fillModelAndUrl: 'Please fill in the model identifier and Base URL first',
        remoteBaseUrlRequired: 'Remote API type requires a Base URL',
        unsupportedModelType: 'Unsupported model type',
        saveAndClose: 'Save and close',
        testDraftHint: 'Test the current connection settings without saving first.',
        testDraftEditHint: 'Test the current connection settings using the API key saved separately.',
        testStale: 'Settings changed. Run the test again.',
        connectionSuccess: 'Connection succeeded',
        connectionFailed: 'Connection failed',
        connectionConfigError: 'Connection failed, please check the configuration',
        downloadStarted: 'Started downloading {name}',
        downloadCompleted: '{name} downloaded successfully',
        downloadFailed: 'Failed to download {name}',
        downloadStartFailed: 'Failed to start download',
        ollamaUnavailable: 'Ollama service is unavailable, local models cannot be selected',
        ollamaNotSupportRerank: 'Ollama does not support ReRank models, please use a remote API instead',
        goToOllamaSettings: 'Open Settings',
        validation: {
          extraFieldRequired: 'Please fill in {name}',
          modelNameRequired: 'Please enter the model name',
          modelNameEmpty: 'Model name cannot be empty',
          modelNameMax: 'Model name cannot exceed 100 characters',
          baseUrlRequired: 'Please enter the Base URL',
          baseUrlEmpty: 'Base URL cannot be empty',
          baseUrlInvalid: 'Invalid Base URL, please enter a valid URL'
        },
        providerLabel: 'Provider',
        providerPlaceholder: 'Select model provider',
        providerDocs: 'Read the {provider} model docs',
      },
      builtinTag: 'Built-in'
    },
    language: {
      zhCN: '简体中文',
      zhTW: 'Traditional Chinese',
      enUS: 'English',
      ruRU: 'Русский',
      koKR: '한국어',
      jaJP: '日本語',
      selectLanguage: 'Select Language',
      language: 'Language',
      languageDescription: 'Select interface display language',
      languageSaved: 'Language settings saved'
    },
    general: {
      title: 'General Settings',
      allSettings: 'All Settings',
      personalSettings: 'Personal Settings',
      helpAndDocs: 'Help & Documentation',
      description: 'Configure language, appearance and other basic options',
      settings: 'Settings',
      close: 'Close Settings'
    },
    theme: {
      theme: 'Theme',
      themeDescription: 'Choose the display theme for the interface, supports automatic switching with system settings',
      light: 'Light',
      dark: 'Dark',
      system: 'Follow System',
      selectTheme: 'Select theme'
    },
    font: {
      uiFont: 'Interface Font',
      uiFontDescription: 'Font used for menus, body text, buttons, and most UI text',
      monoFont: 'Code Font',
      monoFontDescription: 'Used for code blocks, terminal commands, API keys, file paths and other technical text. Every character has the same width so you can tell 0 from O and 1 from l.',
      selectFont: 'Select font',
      sansPreview: 'The quick brown fox jumps — Aa Gg Oo 0123',
      monoPreview: 'const msg = \'Hello\'; // 0O1l',
      sans: {
        system: 'System Default',
        pingfang: 'PingFang SC',
        georgia: 'Georgia (Serif)',
        yahei: 'Microsoft YaHei',
        times: 'Times New Roman (Serif)',
        'noto-cjk': 'Noto Sans CJK',
        'dejavu-serif': 'DejaVu Serif (Serif)',
        'sans-serif': 'Generic Sans-Serif'
      },
      mono: {
        system: 'System Default',
        menlo: 'Menlo',
        monaco: 'Monaco',
        consolas: 'Consolas',
        cascadia: 'Cascadia Code',
        'dejavu-mono': 'DejaVu Sans Mono',
        'liberation-mono': 'Liberation Mono',
        monospace: 'Generic Monospace'
      },
      fontSize: 'Font Size',
      fontSizeDescription: 'Scales the entire interface (text, icons, spacing) and applies immediately',
      size: {
        small: 'Small',
        normal: 'Normal',
        large: 'Large'
      }
    },
    platform: {
      subtitle: 'LLM-Powered Enterprise Knowledge Framework',
      description: 'RAG retrieval, agentic reasoning and Wiki knowledge bases — so your documents are truly understood and put to work',
      rag: 'RAG Enhanced Generation',
      agent: 'ReAct Agent',
      wiki: 'Wiki Knowledge Base',
      hybridSearch: 'Hybrid Search',
      multimodalParsing: 'Multimodal Document Parsing',
      hybridSearchEngine: 'Hybrid Search + Knowledge Graph',
      ragQandA: 'ReAct Agent Q&A',
      independentTenant: 'Independent Workspace',
      fullApiAccess: 'Full API Access',
      knowledgeBaseManagement: 'Knowledge Base Management',
      carousel: {
        agenticRagTitle: 'Agentic RAG',
        agenticRagDesc: 'ReAct reasoning + tool calls + multi-step thinking',
        hybridSearchTitle: 'Hybrid search strategy',
        hybridSearchDesc: 'BM25 + Vector + Knowledge Graph',
        wikiTitle: 'Wiki Knowledge Base',
        wikiDesc: 'Distills documents into structured, interlinked knowledge',
        smartDocRetrievalTitle: 'Intelligent document retrieval',
        smartDocRetrievalDesc: 'PDF/Word/Image multi-format parsing'
      }
    },
    time: {
      today: 'Today',
      yesterday: 'Yesterday',
      last7Days: 'Last 7 Days',
      last30Days: 'Last 30 Days',
      lastYear: 'Last Year',
      earlier: 'Earlier',
      pinned: 'Pinned'
    },
    upload: {
      uploadDocument: 'Upload Document',
      uploadFolder: 'Upload Folder',
      onlineEdit: 'Online Edit',
      deleteRecord: 'Delete Record'
    },
    uploadTasks: {
      panelLabel: 'Uploads',
      titleUploading: 'Uploading {done} of {total}',
      titleParsing: 'Parsing {done} of {total}',
      titleDone: 'All done',
      titleDoneWithIssues: '{ok} done, {bad} not completed',
      titleCancelled: 'Upload cancelled',
      destination: 'Destination: {name}',
      destinationMany: 'Destination: {count} knowledge bases',
      remaining: 'about {time} left',
      eta: {
        seconds: '{n} sec',
        minutes: '{n} min',
        hours: '{n} hr'
      },
      hintUploading: 'Keep this page open until the upload finishes',
      hintParsing: 'All files are uploaded. Parsing continues in the background, so you can leave this page',
      legend: {
        ready: 'Searchable',
        active: 'In progress',
        waiting: 'Queued',
        failed: 'Failed',
        duplicate: 'Already exists'
      },
      filterAll: 'All',
      filterIssues: 'Not completed',
      phaseWaiting: 'Queued',
      phaseSaving: 'Saving…',
      phasePending: 'Waiting to parse',
      phaseParsing: 'Parsing',
      phaseFinalizing: 'Searchable, still optimizing',
      phaseReady: 'Done',
      phaseUploadFailed: 'Upload failed',
      phaseParseFailed: 'Parsing failed',
      phaseDuplicate: 'Same file already in this knowledge base',
      phaseCancelled: 'Cancelled',
      phaseDeleted: 'Deleted',
      cancel: 'Cancel',
      cancelAll: 'Cancel all',
      retry: 'Retry',
      retryFailed: 'Retry ({count})',
      open: 'Open',
      collapse: 'Collapse',
      expand: 'Expand',
      close: 'Close',
      closeConfirm: 'Closing stops the unfinished uploads ({count})',
      closeConfirmOk: 'Cancel upload',
      closeConfirmKeep: 'Keep uploading'
    },
    agentSettings: {
      modelRecommendation: {
        title: 'Model Recommendation'
      },
      maxIterations: {
        desc: 'Caps how many reasoning steps one task may take. Unlimited keeps going until the model stops on its own or you stop it.'
      },
      thinkingModel: {
        desc: 'LLM used for Agent reasoning and planning'
      },
      rerankModel: {
        desc: 'Re-rank search results and normalize relevance scores'
      },
      temperature: {
        desc: 'Controls randomness in outputs. 0 is most deterministic; 1 is most random'
      },
      allowedTools: {
        desc: 'Tools currently enabled for the Agent'
      },
      systemPrompt: {
        desc: 'Configure the Agent’s system prompt with placeholders that are resolved at runtime.'
      }
    },
    conversationSettings: {
      models: {
        chatGroupLabel: 'Thinking / Chat Models'
      },
      maxRounds: {
        desc: 'Number of rounds kept for context and query rewrite'
      },
      embeddingTopK: {
        desc: 'Number of documents kept after vector retrieval'
      },
      keywordThreshold: {
        desc: 'Minimum score for keyword retrieval'
      },
      vectorThreshold: {
        desc: 'Minimum similarity for vector retrieval'
      },
      rerankTopK: {
        desc: 'Documents kept after re-ranking'
      },
      rerankThreshold: {
        desc: 'Minimum score required after re-ranking'
      },
      enableRewrite: {
        desc: 'Automatically rewrite multi-turn queries for better recall'
      },
      enableQueryExpansion: {
        desc: 'When recall is low, call a reasoning model to generate expansion queries (adds latency & cost)'
      },
      fallbackStrategy: {
        desc: 'How to respond when no relevant documents are found'
      },
      fallbackResponse: {
        desc: 'Text returned when using the fixed fallback strategy'
      },
      fallbackPrompt: {
        desc: 'Prompt used when fallback strategy is "model"'
      },
      rewritePrompt: {
        desc: 'System prompt used during query rewrite'
      },
      chatModel: {
        desc: 'Large language model used for summarization and abstract generation'
      },
      rerankModel: {
        desc: 'Model for re-ranking search results (optional)'
      },
      contextTemplate: {
        desc: 'Prompt template for generating answers based on retrieval results in normal mode'
      },
      systemPrompt: {
        desc: 'System-level prompt for normal mode conversations'
      },
      temperature: {
        desc: 'Controls randomness in outputs. 0 is most deterministic; 1 is most random'
      },
      maxTokens: {
        desc: 'Maximum number of tokens to generate in the response'
      }
    },
    mcpSettings: {
      addUsageInstructions: "Add usage instructions",
      noUsageInstructions: "No usage instructions yet",
      title: 'MCP Services',
      description: 'Manage external MCP (Model Context Protocol) services for tools/resources in Agent mode',
      enabled: 'Enabled',
      disabled: 'Disabled',
      configuredServices: 'Configured Services',
      manageAndTest: 'Manage and test MCP service connections',
      addService: 'Add Service',
      empty: 'No MCP services',
      actions: {
        test: 'Test Connection'
      },
      toasts: {
        loadFailed: 'Failed to load MCP services',
        enabled: 'MCP service enabled',
        disabled: 'MCP service disabled',
        updateStateFailed: 'Failed to update MCP service status',
        linkedServiceMissing: 'The MCP service the assistant linked to was not found; it may have been deleted',
        testing: 'Testing {name}...',
        noResponse: 'Test failed: no response from server',
        testFailed: 'Failed to test MCP service',
        deleted: 'MCP service deleted',
        deleteFailed: 'Failed to delete MCP service'
      },
      deleteConfirmBody: 'Delete MCP service "{name}"? This action cannot be undone.',
      unnamed: 'Unnamed',
      builtin: 'Built-in',
      toolCount: '{count} tools',
      toolsNotSynced: 'Tools not synced',
      toolsStale: 'Needs resync'
    },
    modelSettings: {
      title: 'Model Settings',
      description: 'Manage different types of AI models, including local Ollama and remote APIs',
      typeShort: {
        chat: 'Chat',
        embedding: 'Embedding',
        rerank: 'ReRank',
        vllm: 'Vision',
        asr: 'Speech'
      },
      actions: {
        addModel: 'Add Model',
        debugModel: 'Model Test'
      },
      source: {
        remote: 'Remote',
        openaiCompatible: 'OpenAI-compatible',
        custom: 'Custom'
      },
      chat: {
        title: 'Chat Models',
        desc: 'Configure large language models for chatting',
        empty: 'No chat models'
      },
      embedding: {
        title: 'Embedding Models',
        desc: 'Configure embedding models for text vectorization',
        empty: 'No embedding models'
      },
      rerank: {
        title: 'ReRank Models',
        desc: 'Configure models for result re-ranking',
        empty: 'No re-rank models'
      },
      vllm: {
        title: 'VLLM Vision Models',
        desc: 'Configure vision-language models for multimodal understanding',
        empty: 'No VLLM models'
      },
      asr: {
        title: 'ASR Speech Models',
        desc: 'Configure speech-to-text models for audio transcription (e.g. OpenAI Whisper)',
        empty: 'No ASR models'
      },
      toasts: {
        nameRequired: 'Model name cannot be empty',
        nameTooLong: 'Model name cannot exceed 100 characters',
        displayNameTooLong: 'Display name cannot exceed 100 characters',
        baseUrlRequired: 'Base URL is required for remote APIs',
        baseUrlInvalid: 'Invalid Base URL, please enter a valid URL',
        dimensionInvalid: 'Embedding dimension must be between 128 and 4096',
        updated: 'Model updated',
        added: 'Model added',
        saveFailed: 'Failed to save model',
        deleted: 'Model deleted',
        deleteFailed: 'Failed to delete model',
        builtinCannotEdit: 'Built-in models cannot be edited',
        linkedModelMissing: 'The model the assistant linked to was not found; it may have been deleted',
        builtinCannotDelete: 'Built-in models cannot be deleted',
        builtinCannotCopy: 'Built-in models cannot be copied',
        copied: 'Model copied',
        copyFailed: 'Failed to copy model'
      },
      copySuffix: ' Copy',
      builtinModels: {
        title: 'Built-in Models',
        description: 'Built-in models are visible to all workspaces. Sensitive information is hidden, and they cannot be edited or deleted.',
        descriptionAdmin: 'Built-in models are visible to all workspaces. System administrators can edit configuration and credentials; deletion remains deployment-managed.',
        viewGuide: 'View Built-in Models Guide'
      },
      builtinTag: 'Built-in',
      confirmDelete: 'Delete model "{name}"?',
      usage: {
        title: 'Model cannot be deleted',
        description: 'Model "{name}" is still referenced by the following settings. Open each configuration and choose another model before deleting it.',
        knowledgeBases: 'Knowledge bases ({count})',
        agents: 'Agents ({count})',
        longTermMemory: 'Long-term memory',
        openConfiguration: 'Open settings',
        truncated: 'Showing the first {shown} of {total}',
        bindings: {
          embedding_model: 'Embedding model',
          summary_model: 'Summary model',
          image_processing_model: 'Image processing model',
          vlm_model: 'Vision model',
          asr_model: 'Speech recognition model',
          wiki_synthesis_model: 'Wiki synthesis model',
          auto_tag_model: 'Auto-tagging model',
          chat_model: 'Chat model',
          rerank_model: 'Re-ranking model',
          query_understand_model: 'Query understanding model',
          follow_up_model: 'Follow-up model',
          extract_model: 'Memory extraction model',
          unknown: 'Other model setting'
        }
      },
      debug: {
        reasoningEffort: 'Reasoning effort',
        reasoningEffortDesc: 'Sends reasoning_effort using the levels reported by the model catalog',
        title: 'Model Test',
        description: 'Send a real request using saved model settings. Save pending edits before testing here.',
        groupModel: 'Select model',
        groupInput: 'Test input',
        groupResult: 'Result',
        modelType: 'Model type',
        model: 'Model',
        modelPlaceholder: 'Select a model to test',
        noModelsForType: 'No saved models of this type',
        query: 'Input',
        queryPlaceholder: 'Enter the text to send to the model',
        embeddingInput: 'Text to embed',
        embeddingPlaceholder: 'Enter text to generate an embedding',
        vlmPrompt: 'Image prompt',
        vlmPromptPlaceholder: 'For example: Describe this image in detail',
        documents: 'Candidate documents',
        documentsPlaceholder: 'Enter one candidate document per line',
        documentsHint: 'Each non-empty line is sent as a separate document to the ReRank model',
        imageFile: 'Image file',
        similarityMode: 'Similarity',
        similarityQuery: 'Query',
        similarityQueryPlaceholder: 'Enter a query, e.g. a dog running on grass',
        similarityCandidates: 'Candidates',
        similarityCandidatesPlaceholder: 'One candidate text per line',
        similarityHint: 'The query is embedded as a search query and the candidates as documents, as in retrieval; results are sorted by cosine similarity, highest first',
        similarityImage: 'Candidate image (optional)',
        similarityImageCandidate: 'Image',
        audioFile: 'Audio file',
        chooseFile: 'Choose file',
        parameters: 'Request parameters',
        systemPrompt: 'System Prompt',
        systemPromptPlaceholder: 'Optional system prompt',
        run: 'Run test',
        copyResult: 'Copy result',
        history: 'History',
        runLabel: 'Run #{n}',
        success: 'Request succeeded',
        failed: 'Request failed',
        rawResponse: 'Response',
        requestPreview: 'Request preview',
        requestFailed: 'Model test request failed',
        metrics: {
          api: 'Protocol',
          thinkingFormat: 'Thinking format',
          requestedReasoningEffort: 'Requested effort',
          dimension: 'Dimensions',
          resultCount: 'Result count',
          answerChars: 'Answer chars',
          reasoningChars: 'Reasoning chars',
          reasoningReturned: 'Reasoning returned',
          textChars: 'Transcript chars',
          segmentCount: 'Segment count'
        }
      }
    },
    ollamaSettings: {
      title: 'Ollama Settings',
      description: 'Manage local Ollama service and view/download models',
      status: {
        label: 'Ollama Service Status',
        desc: 'Automatically detect local Ollama service availability. If the service is down or the URL is incorrect, status will be "Unavailable".',
        testing: 'Testing',
        available: 'Available',
        unavailable: 'Unavailable',
        untested: 'Not Tested',
        retest: 'Retest'
      },
      address: {
        label: 'Service URL',
        desc: 'The API address of the local Ollama service, auto-detected by the system. To modify, set it in the .env file.',
        placeholder: 'http://localhost:11434',
        failed: 'Connection failed. Please check whether Ollama is running or the URL is correct'
      },
      download: {
        title: 'Download Models',
        descPrefix: 'Enter a model name to download,',
        browse: 'Browse Ollama model library',
        placeholder: 'e.g. qwen2.5:0.5b',
        download: 'Download',
        downloading: 'Downloading: {name}'
      },
      installed: {
        title: 'Installed Models',
        desc: 'Models installed in Ollama',
        empty: 'No installed models'
      },
      toasts: {
        connected: 'Connected successfully',
        connectFailed: 'Connection failed. Please check whether Ollama is running',
        listFailed: 'Failed to get model list',
        downloadFailed: 'Download failed. Please try again later',
        downloadStarted: 'Started downloading model {name}',
        downloadCompleted: 'Model {name} downloaded successfully',
        progressFailed: 'Failed to query download progress'
      }
    },
    mcpMetadata: {
      "searchTools": "Search tool names or descriptions",
      "retry": "Retry",
      "details": "Details",
      "description": "Description",
      "parameters": "Parameters",
      "required": "Required",
      "fullSchema": "Full definition",
      "noDescription": "No description",
      "noParameters": "No parameter definition",
      "enabled": "Enabled",
      "approval": "Require approval",
      "noTools": "No matching tools",
      "next": "Next",
      "policyLoadFailed": "Could not load tool policies. Retry before editing.",
      "policySaveFailed": "Could not save tool settings",

      "tools": "Tools",
      "cacheHint": "This step connects automatically if no directory is saved yet. Later visits only connect when you refresh.",
      "refresh": "Refresh tools",
      "fetch": "Fetch again",
      "fetching": "Connecting and fetching tools…",
      "toolCount": "{count} tools",
      "stale": "Connection or authentication settings changed. Refresh this old directory before models can use it.",
      "notSynced": "No tools synchronized yet. Fetch to save full descriptions and parameter definitions.",
      "syncRequired": "Connect and fetch tools first. Models can only use a synchronized directory.",
      "needsRefresh": "Refresh required",
      "saved": "Saved directory",
      "syncedAt": "Last synchronized:",
      "serverDocumentation": "Original server documentation",
      "noServerDocumentation": "This MCP server's initialize result did not include instructions or serverInfo.description (both are optional). Tool text lives in each tool's description below.",
      "policyHint": "Tool and approval switches save immediately and survive directory refreshes.",
      "columnTool": "Tool",
      "columnEnabled": "Enabled",
      "columnApproval": "Approval",
      "failed": "Could not load the tool directory",
      "setupProgress": "MCP setup steps",
      "connection": "Connection",
      "toolsAndUsage": "Tools and usage",
      "previous": "Previous",
      "usage": "Service usage",
      "usageHint": "Models read this overview before loading specific tools. Your text is preserved when refreshing.",
      "summary": "Usage summary",
      "summaryPlaceholder": "For example: Look up order status, shipping progress, and refunds.",
      "usageInstructions": "Usage instructions",
      "instructionsPlaceholder": "Briefly describe the purpose, use cases, and key constraints.",
      "generateUsage": "Generate with AI",
      "generateHint": "Generate concise instructions from synced, enabled tools. Edit the result and save to apply it.",
      "instructionsRequired": "Usage instructions are required",
      "generated": "Generated. Review and save to apply.",
      "generateFailed": "Generation failed. Check that tools are synced and an active chat model is configured, then retry.",
      "saveNext": "Save and continue"
  },
    mcpServiceDialog: {
      addTitle: 'Add MCP Service',
      addDesc: 'Connect an external MCP service so agents can call its tools.',
      editTitle: 'Edit MCP Service',
      basicSection: 'Basic',
      connectionSection: 'Connection',
      enableServiceDesc: 'When off, this service will not be invoked',
      testAfterSaveHint: 'Save first to test the connection',
      unitSecond: 's',
      unitTimes: '×',
      name: 'Service Name',
      namePlaceholder: 'Enter service name',
      description: 'Description',
      descriptionPlaceholder: 'Enter service description',
      transportType: 'Transport Type',
      serviceUrl: 'Service URL',
      serviceUrlPlaceholder: 'https://example.com/mcp',
      enableService: 'Enable Service',
      authConfig: 'Authentication',
      authType: 'Auth Method',
      authTypeNone: 'None / Custom Header',
      authTypeApiKey: 'API Key / Token',
      authTypeOAuth: 'OAuth 2.0 (authorize on first connect)',
      oauthScopes: 'Scopes (optional, space-separated)',
      oauthClientId: 'Client ID (optional)',
      oauthClientIdDesc: 'A client registered with the authorization server in advance. Leave empty to register one automatically (dynamic client registration). When you change the Client ID, update the Client Secret too.',
      oauthClientSecret: 'Client Secret (optional)',
      oauthAuthorization: 'Authorization Status',
      oauthAuthorized: 'Authorized',
      oauthRefreshable: 'Token expired; it will refresh automatically on next use',
      oauthUnauthorized: 'Unauthorized',
      oauthAuthorize: 'Authorize',
      oauthReauthorize: 'Re-authorize',
      oauthRevoke: 'Revoke',
      oauthAuthorizeHint: 'Clicking "Authorize" saves the current config first, then starts authorization (each user authorizes individually).',
      apiKeyHeader: 'Header Name',
      apiKeyHeaderDesc: 'Defaults to X-API-Key. For Bearer, set Authorization and put "Bearer <token>" in the value below; for raw-token services use Authorization with the raw token.',
      credentialValue: 'Secret / Token',
      optional: 'Optional',
      advancedConfig: 'Advanced',
      timeoutSec: 'Timeout (s)',
      retryCount: 'Retry Count',
      retryDelaySec: 'Retry Delay (s)',
      rules: {
        nameRequired: 'Please enter the service name',
        transportRequired: 'Please select a transport type',
        urlRequired: 'Please enter the service URL',
        urlInvalid: 'Please enter a valid URL'
      },
      toasts: {
        created: 'MCP service created',
        updated: 'MCP service updated',
        createFailed: 'Failed to create MCP service',
        updateFailed: 'Failed to update MCP service',
        oauthRequired: 'This server requires OAuth. Switched to OAuth 2.0 — save, then click "Authorize".',
        authorized: 'Authorization succeeded',
        authorizeFailed: 'Failed to start authorization',
        revoked: 'Authorization revoked',
        revokeFailed: 'Failed to revoke authorization'
      },
      customHeaders: {
        label: 'Custom Headers (optional)',
        desc: 'HTTP headers attached to every MCP request, commonly used for enterprise gateway auth, tracing, etc.',
        add: 'Add Header',
        keyPlaceholder: 'Header name',
        valuePlaceholder: 'Header value'
      },
      codeImport: {
        toggle: 'Import from code',
        hint: 'Paste a standard mcpServers JSON config to auto-fill the form',
        parse: 'Parse & Fill',
        editOverwriteHint: 'Importing overwrites the current form (saved credentials are unaffected; click Save to apply)',
        errors: {
          empty: 'Please paste the config first',
          invalidJson: 'Unable to parse, please check the JSON format',
          noServer: 'No MCP service config found',
          missingUrl: 'The config is missing a url',
          stdioUnsupported: 'stdio (command/args) configs are not supported; please use a remote config with a url'
        },
        toasts: {
          filled: 'Form filled, please review and save',
          multipleServers: 'Multiple services detected, imported the first one: {name}'
        }
      }
    },
    promptTemplate: {
      noTemplates: 'No templates available',
      selectTemplate: 'Select Template',
      useTemplate: 'Use Template',
      resetDefault: 'Reset Default',
      default: 'Default',
      withKnowledgeBase: 'KB',
      withWebSearch: 'Web Search'
    },
    organization: {
      cardStats: {
        members: '{count} members',
        knowledgeBases: '{count} knowledge bases',
        agents: '{count} agents',
      },
      title: 'Shared Spaces',
      subtitle: 'Create or join shared spaces so multiple workspaces can collaborate and share knowledge bases and agents',
      createOrg: 'Create Shared Space',
      joinOrg: 'Join Shared Space',
      name: 'Shared Space Name',
      namePlaceholder: 'Enter shared space name',
      nameRequired: 'Please enter shared space name',
      avatar: 'Shared Space Avatar',
      avatarClear: 'Clear',
      avatarPickerHint: 'Choose an emoji as shared space avatar',
      description: 'Shared Space Description',
      descriptionPlaceholder: 'Enter shared space description (optional)',
      noDescription: 'No description',
      memberCount: 'Member count',
      owner: 'Creator',
      inviteCode: 'Invite Code',
      inviteCodePlaceholder: 'Enter invite code',
      inviteCodeRequired: 'Please enter invite code',
      refreshInviteCode: 'Refresh Invite Code',
      inviteCodeRefreshed: 'Invite code refreshed',
      inviteCodeRefreshFailed: 'Failed to refresh invite code',
      rbac: {
        needTenantAdminTip: 'This action requires the admin role (or higher) in the current workspace. Please contact the workspace owner.',
        cannotCreate: 'Your workspace role is insufficient to create a shared space',
        cannotJoin: 'Your workspace role is insufficient to join or request to join a shared space',
        cannotManage: 'Your workspace role is insufficient to manage this shared space'
      },
      join: {
        title: 'Join Shared Space',
        joining: 'Joining shared space...',
        success: 'Successfully joined shared space!',
        failed: 'Failed to join shared space',
        noCode: 'Invite code not found',
        goToOrganizations: 'Go to Shared Spaces',
        confirmTitle: 'Confirm Join Shared Space',
        confirm: 'Confirm Join',
        preview: 'Preview & Join',
        memberCount: '{count} members',
        shareCount: '{count} shared knowledge bases',
        agentShareCount: '{count} agents',
        alreadyMember: 'You are already a member of this shared space',
        invalidCode: 'Invalid invite code',
        byInviteCode: 'Enter invite code',
        searchSpaces: 'Search shared spaces',
        searchSpacesDesc: 'Browse or search shared spaces that are open for discovery; join without an invite code',
        searchSpacesPlaceholder: 'Search by shared space name, description or ID',
        spaceId: 'Shared Space ID',
        noSearchResult: 'No matching shared spaces',
        noSearchableSpaces: 'No discoverable shared spaces yet, or try a search',
        memberLimitReached: 'Full',
        backToSearch: 'Back to search'
      },
      invite: {
        loading: 'Loading...',
        previewTitle: 'Join Shared Space',
        inputDesc: 'Enter the invite code (or paste from an invite link) to view the shared space and join',
        previewAction: 'View',
        primaryJoin: 'Join',
        invalidCode: 'Invite code is invalid or expired',
        previewFailed: 'Preview failed, please try again',
        knowledgeBases: 'Knowledge Bases',
        agents: 'Agents',
        alreadyMember: 'You are already a member of this shared space',
        submitRequest: 'Request to Join',
        requireApprovalTip: 'This shared space requires admin approval to join',
        approvalLabel: 'Join method',
        needApproval: 'Requires approval',
        noApproval: 'No approval required',
        defaultRoleAfterJoin: 'Default role after joining: {role}',
        requestRole: 'Requested role',
        selectRole: 'Select role',
        messagePlaceholder: 'Optional: message (e.g. intro or reason to join)',
        applicationNote: 'Application note (optional)',
        joinSuccess: 'Successfully joined shared space!',
        joinFailed: 'Failed to join, please try again',
        requestSubmitted: 'Request submitted, please wait for admin approval',
        requestFailed: 'Failed to submit request, please try again',
        viewOrganization: 'View Shared Space'
      },
      leave: 'Leave Shared Space',
      leaveConfirmTitle: 'Leave Shared Space',
      leaveConfirmMessage: 'Are you sure you want to leave shared space "{name}"? You will no longer have access to knowledge bases shared in this shared space.',
      leaveSuccess: 'Left shared space successfully',
      leaveFailed: 'Failed to leave shared space',
      deleteConfirmTitle: 'Delete Shared Space',
      deleteConfirmMessage: 'Are you sure you want to delete shared space "{name}"? All members will be removed. This action cannot be undone.',
      deleteSuccess: 'Shared space deleted',
      deleteFailed: 'Failed to delete shared space',
      createSuccess: 'Shared space created successfully',
      createFailed: 'Failed to create shared space',
      joinSuccess: 'Joined shared space successfully',
      joinFailed: 'Failed to join shared space',
      manageMembers: 'Manage Members',
      noMembers: 'No members',
      members: {
        listTitle: 'Shared space members',
        searchPlaceholder: 'Search members…',
        loading: 'Loading members…',
        emptySearch: 'No members matching "{q}"',
        columns: {
          member: 'Member',
          role: 'Role',
          joinedAt: 'Joined',
          operations: 'Actions'
        }
      },
      joinRequests: {
        listTitle: 'Pending requests',
        searchPlaceholder: 'Search applicants…',
        loading: 'Loading requests…',
        emptySearch: 'No requests matching "{q}"',
        typeJoin: 'Join',
        typeUpgrade: 'Upgrade',
        rejectConfirm: 'Reject this request?',
        approveTitle: 'Approve request',
        approveDesc: 'Assign a role for "{name}" after approval',
        columns: {
          applicant: 'Applicant',
          type: 'Type',
          requestedRole: 'Requested role',
          message: 'Note',
          appliedAt: 'Applied'
        }
      },
      sharedResources: {
        kbListTitle: 'Shared knowledge bases',
        agentListTitle: 'Shared agents',
        loading: 'Loading…',
        columns: {
          name: 'Name',
          sharedBy: 'Shared by',
          sharedAt: 'Shared at',
          permission: 'Permission'
        }
      },
      roleUpdated: 'Role updated',
      roleUpdateFailed: 'Failed to update role',
      memberRemoved: 'Member removed',
      memberRemoveFailed: 'Failed to remove member',
      empty: 'You have not joined any shared space yet',
      emptyDesc: 'Create a shared space or join an existing one with an invite code',
      createdByMe: 'Created by me',
      joinedByMe: 'Joined',
      emptyCreated: 'You have not created any shared space yet',
      emptyCreatedDesc: 'Click "Create Shared Space" to create a new one',
      emptyJoined: 'You have not joined any shared space yet',
      emptyJoinedDesc: 'Join an existing shared space with an invite code',
      role: {
        admin: 'Admin',
        editor: 'Editor',
        viewer: 'Viewer'
      },
      detail: {
        removeMemberConfirm: 'Are you sure you want to remove "{name}"?',
        removeMember: 'Remove Member'
      },
      settings: {
        editTitle: 'Shared Space Settings',
        membersDesc: 'View and manage shared space members and their roles. Each member represents a workspace — all users in the same workspace share access to this shared space.',
        permissionsIconHint: 'View role permissions',
        sharedDesc: 'View all knowledge bases shared to this shared space',
        noSharedKB: 'No shared knowledge bases yet',
        noSharedKBTip: 'Knowledge base owners can share their knowledge bases to this shared space in KB settings',
        sharedAgents: 'Shared Agents',
        noSharedAgents: 'No shared agents yet',
        sharedAgentsDesc: 'Agents shared to this shared space; members can use them in chat',
        sharedAgentsKbHint: 'Knowledge bases linked to an agent are only available (read-only) when members use that agent in a conversation (via {\'@\'}). They do not appear in the Knowledge Base list. To let members see or edit a knowledge base in the list, share that knowledge base to this shared space separately.',
        sharedAgentsKbHintShort: 'Agent-linked knowledge is read-only in chat; share the KB to this space if members should see or edit it in the list.',
        noSharedAgentsTip: 'Admins can share agents to this shared space from agent settings',
        sharePermissionLabel: 'Shared space permission',
        myPermissionLabel: 'Effective',
        permissionCalcFormula: 'Shared space permission is set when sharing; effective permission is the lower of that and your shared space role',
        permissionCalcTip: 'Effective permission is the lower of shared space permission and your role here; viewers get at most read-only on this KB.',
        inviteMembers: 'Invite Members',
        inviteMembersDesc: 'Invite others to join the shared space via code or link',
        inviteLink: 'Invite Link',
        inviteLinkValidity: 'Invite link validity',
        inviteLinkValidityDesc: 'Validity period for newly generated invite links',
        validity1Day: '1 day',
        validity7Days: '7 days',
        validity30Days: '30 days',
        validityNever: 'Never expire',
        remainingValidity: 'Expires in {n} days',
        remainingValidityNever: 'Never expire',
        remainingValidityExpired: 'Expired',
        removeShareFromOrg: 'Remove from shared space',
        removeShareConfirm: 'Remove "{name}" from this shared space? Members will no longer have access to this knowledge base.',
        removeAgentShareConfirm: 'Remove "{name}" from this shared space? Members will no longer have access to this agent.',
        removeShareSuccess: 'Removed from shared space',
        removeShareFailed: 'Failed to remove, please try again',
        requireApproval: 'Require Approval',
        requireApprovalDesc: 'When enabled, new members need admin approval to join',
        searchable: 'Open for search',
        searchableDesc: 'When enabled, this shared space appears in the "Join Shared Space" search list; others can search and request to join without an invite code',
        memberLimit: 'Member limit',
        memberLimitDesc: 'No new members can be added when the limit is reached; 0 means unlimited',
        memberLimitPlaceholder: '0 = unlimited',
        memberLimitHint: 'Current members: {count}',
        joinRequests: 'Join Requests',
        joinRequestsDesc: 'Review pending requests to join the shared space',
        noPendingRequests: 'No pending requests',
        pendingJoinRequestsBadge: 'Pending join requests to review',
        pendingReview: 'Pending',
        assignRole: 'Assign role',
        approve: 'Approve',
        reject: 'Reject',
        approveSuccess: 'Request approved',
        rejectSuccess: 'Request rejected',
        reviewFailed: 'Operation failed, please try again'
      },
      navGroups: {
        basic: 'Basic',
        management: 'Members & Collaboration',
        resources: 'Shared Resources'
      },
      editor: {
        navBasic: 'Basic Info',
        navPermissions: 'Permissions',
        navJoin: 'Join Shared Space',
        basicTitle: 'Basic Information',
        basicDesc: 'Set the shared space name and description for easy identification',
        nameTip: 'Use your team or project name for easy identification',
        descriptionTip: 'Describe the purpose and goals of the shared space to help members understand it',
        permissionsTitle: 'Member Permissions',
        permissionsDesc: 'Understand the permission scope of different roles for knowledge bases and agents in the shared space',
        permissionFeature: 'Permission Feature',
        fullAccess: 'Full Access',
        editAccess: 'Edit Access',
        viewAccess: 'View Only',
        adminPerm1: 'Manage shared space settings, members, and knowledge base & agent sharing',
        adminPerm2: 'Share and manage knowledge bases and agents',
        adminPerm3: 'Edit shared knowledge base content',
        adminPerm4: 'View and search knowledge bases',
        useSharedAgentsPerm: 'Use shared agents',
        shareKBPerm: 'Share knowledge bases to shared space',
        editorPerm1: 'Edit shared knowledge base content',
        editorPerm2: 'View and search knowledge bases',
        editorPerm3: 'Manage shared space settings and members',
        viewerPerm1: 'View and search knowledge bases',
        viewerPerm2: 'Edit knowledge base content',
        viewerPerm3: 'Manage shared space settings',
        ownerNote: 'As the shared space creator, you will automatically become an admin with full permissions.',
        joinTitle: 'Join Shared Space',
        joinDesc: 'Join an existing shared space with an invite code to access shared knowledge bases and agents',
        joinIllustration: 'Enter the invite code provided by the shared space admin to join',
        inviteCodeTip: 'The invite code is generated by shared space admins, please ask them for it',
        howToGetCode: 'How to get an invite code?',
        step1: 'Contact the admin of the shared space you want to join',
        step2: 'Ask them to share the shared space invite code',
        step3: 'Paste the invite code in the input field above'
      },
      upgrade: {
        requestUpgrade: 'Request upgrade',
        pending: 'Pending review',
        dialogTitle: 'Request upgrade',
        dialogDesc: 'Your role updates after a space admin approves.',
        currentRole: 'Current Role',
        selectRole: 'Request Role',
        reason: 'Reason (Optional)',
        reasonPlaceholder: 'Please briefly explain why you need higher permissions...',
        submitBtn: 'Submit Request',
        submitSuccess: 'Upgrade request submitted, waiting for admin approval',
        submitFailed: 'Failed to submit request'
      },
      addMember: {
        button: 'Add Member',
        dialogTitle: 'Add Member',
        tipTenant: 'Membership is at the workspace level: once a workspace joins, all of its users share access to this space. Results below are deduplicated by workspace.',
        searchTenant: 'Workspace ID',
        searchTenantPlaceholder: 'Enter the exact workspace ID',
        searchTenantHint: 'Look up an exact workspace ID, or share an invitation link.',
        selectRole: 'Assign Role',
        confirmBtn: 'Add',
        success: 'Member added successfully',
        failed: 'Failed to add member'
      },
      share: {
        title: 'Share to Shared Space',
        selectOrg: 'Select Shared Space',
        selectOrgPlaceholder: 'Select a shared space to share with',
        permission: 'Permission',
        permissionTip: 'Editable permission allows members to modify knowledge base content, Read-only permission only allows search and Q&A',
        shareSuccess: 'Knowledge base shared',
        shareFailed: 'Failed to share',
        unshareSuccess: 'Share cancelled',
        unshareFailed: 'Failed to cancel share',
        sharedTo: 'Shared to',
        noShares: 'Not shared to any shared space yet',
        searchPlaceholder: 'Search shared spaces…',
        loading: 'Loading…',
        emptySearch: 'No shared spaces matching "{q}"',
        addShareDialogTitle: 'Share to shared space',
        unshareAction: 'Remove share',
        columns: {
          space: 'Shared Space',
          permission: 'Permission',
          sharedAt: 'Shared',
          operations: 'Actions'
        },
        sharedKnowledgeBase: 'Shared Knowledge Base',
        agentShareDesc: 'Share this agent to a shared space so members can use it',
        sharedFrom: 'From',
        permissionReadonly: 'Read-only',
        permissionEditable: 'Editable'
      }
    },
    preview: {
      tab: 'Preview',
      loading: 'Loading document preview...',
      loadFailed: 'Failed to load document preview',
      retry: 'Retry',
      unsupported: 'This file type does not support online preview',
      unsupportedHint: 'Please download and open with a local application',
      zoomIn: 'Zoom in',
      zoomOut: 'Zoom out',
      fullscreen: 'Fullscreen',
      exitFullscreen: 'Exit Fullscreen',
      htmlRendered: 'Rendered preview',
      htmlSource: 'View source',
      audioLoading: 'Loading audio…',
      audioNotSupported: 'Your browser does not support audio playback',
      videoNotSupported: 'Your browser does not support video playback'
    },
    assistant: {
      title: 'WeKnora Assistant',
      newConversation: 'New conversation',
      history: 'Conversation history',
      untitledConversation: 'Untitled conversation',
      historyEmpty: 'No conversations yet',
      historyFailed: 'Failed to load conversation history',
      loadMore: 'Load more',
      resize: 'Resize assistant',
      layout: {
        dock: 'Dock to the side',
        float: 'Float over the page',
      },
      welcomeTitle: 'How can I help?',
      agentWelcomeDesc: 'Check this agent’s configuration, change its model or see which knowledge bases it can search.',
      welcomeDesc: 'I can answer questions about WeKnora, organize knowledge and documents, and help set up agents, tools and automations.',
      help: {
        label: 'About the assistant',
        title: 'What the WeKnora assistant can do',
        identity: 'The assistant works as you. It can see and change only what your role in this workspace allows.',
        page: 'It keeps the current page attached, so it can summarize what is on screen, set up agents and automations, or fill in forms. It will not click buttons or save for you.',
        access: 'Under the input you can switch access: read-only, confirm before changes, or run recoverable changes automatically. Deletes always need your confirmation, and an admin ceiling cannot be exceeded.',
      },
      welcomeDescriptions: {
        knowledgeBases: 'I can help choose a knowledge base type, organize your material and find the right sources for your questions.',
        knowledgeBase: 'I can summarize what these documents cover, point out recent updates, and find files that have not finished parsing.',
        document: 'I can summarize this document, turn it into step-by-step instructions or draft FAQs from its content.',
        faq: 'I can check FAQ coverage, find duplicate questions and help make answers clearer.',
        wiki: 'I can summarize this page, trace its sources and help find content that needs expanding or updating.',
        agents: 'Tell me what you want to accomplish. I can help create an agent with the right model, knowledge bases and tools.',
        automation: 'I can turn repeated work into scheduled tasks, review run results and adjust schedules.',
        skills: 'Tell me your task. I can help find and add skills, then enable them for the right agent.',
        mcp: 'I can help find and connect MCP services, explain their tools and configure them for your agents.',
        browser: 'I can guide you through connecting a browser, suitable automation tasks and the permissions they need.',
        model: 'I can help connect models, compare their uses and check whether a configuration suits your task.',
        chat: 'I can summarize what this conversation asked and produced, check the latest answer, and suggest what to ask next.',
        message: 'I can trace this answer’s sources, check key details and help turn it into reusable content.',
        artifacts: 'I can sort these files by time and type, find the conversation each one came from, and explain how to have an agent save its results.',
        organizations: 'I can show what knowledge bases and agents each shared space makes available, and how to create, join or invite people.',
      },
      settingsPages: {
        fallback: {
          description: 'I can explain what this settings page does, what a change affects, and what to configure first.',
          q1: 'What is this settings page for?',
          q2: 'What will change if I edit these options?',
          q3: 'Which settings should I configure first?',
        },
        general: {
          description: 'I can explain language, theme and other personal preferences, and where they apply.',
          q1: 'Which parts of the UI do these preferences affect?',
          q2: 'How do I change the language or theme?',
          q3: 'Which personal settings should I set up first?',
        },
        userprofile: {
          description: 'I can help review and update your account profile, and explain what happens after a change.',
          q1: 'Where do I change my account details?',
          q2: 'How do I change my avatar, name or password?',
          q3: 'Do I need to sign in again after updating my account?',
        },
        assistant: {
          description: 'I can explain the assistant entry points, permission levels, and what it may or may not do for you.',
          q1: 'What does each assistant permission level mean?',
          q2: 'How do I put the assistant in the sidebar or the corner?',
          q3: 'Can the assistant change settings or delete things for me?',
        },
        mymemory: {
          description: 'I can show your personal memories, where they are used, and how to add or delete them.',
          q1: 'Which personal memories are saved here?',
          q2: 'How do I add or delete a memory?',
          q3: 'Which conversations use these memories?',
        },
        envvars: {
          description: 'I can explain where these environment variables are used, and how personal values differ from workspace ones.',
          q1: 'Which skills or agents use these environment variables?',
          q2: 'How do I fill in my own secrets safely?',
          q3: 'What is the difference between workspace and personal variables?',
        },
        tenant: {
          description: 'I can show this workspace’s name, quota and basic info, and what you can edit.',
          q1: 'What is this workspace’s name and storage quota?',
          q2: 'How do I change the workspace name or description?',
          q3: 'What happens when storage is almost full?',
        },
        members: {
          description: 'I can list members and roles, explain invites, and what each role can do.',
          q1: 'Who is in this workspace, and what are their roles?',
          q2: 'How do I invite a new member?',
          q3: 'What can an admin do that a regular member cannot?',
        },
        chathistory: {
          description: 'I can tell you whether chat-history search is on, what it can find, and how to build the index.',
          q1: 'Is chat-history search turned on?',
          q2: 'What past conversations can it search after I turn it on?',
          q3: 'How do I index past conversations?',
        },
        memory: {
          description: 'I can tell workspace memory apart from personal memory, and how to keep workspace conventions.',
          q1: 'How is workspace memory different from my personal memory?',
          q2: 'Which memory rules are enabled now?',
          q3: 'How do I make agents remember this workspace’s conventions?',
        },
        ollama: {
          description: 'I can walk you through connecting local Ollama and adding its models to this workspace.',
          q1: 'How do I connect a local Ollama instance?',
          q2: 'How do I add its models to this workspace after connecting?',
          q3: 'What should I check if Ollama will not connect?',
        },
        weknoracloud: {
          description: 'I can explain which models WeKnora Cloud offers, and how to bind and choose them.',
          q1: 'Which models does WeKnora Cloud provide?',
          q2: 'How do I enable or bind a Cloud account?',
          q3: 'When should I use Cloud models versus ones I connect myself?',
        },
        vectorstore: {
          description: 'I can explain the current vector engine, what changing it does, and how to check it.',
          q1: 'Which vector search engine is in use now?',
          q2: 'Will changing the engine affect existing knowledge bases?',
          q3: 'How do I check that the search engine is working?',
        },
        parser: {
          description: 'I can show the default document parser, which formats need another engine, and what to change after a failure.',
          q1: 'Which document parser is the default?',
          q2: 'Which file formats need a different parser?',
          q3: 'What should I change when document parsing fails?',
        },
        storage: {
          description: 'I can explain where files are stored, how to switch to object storage, and what happens at quota.',
          q1: 'Where are uploaded files stored right now?',
          q2: 'How do I switch to object storage?',
          q3: 'What happens when the storage quota is used up?',
        },
        sandbox: {
          description: 'I can explain what the sandbox runs, how to add a config, and what to check when scripts fail.',
          q1: 'What is the sandbox used for?',
          q2: 'How do I add a sandbox configuration?',
          q3: 'Which sandbox settings should I check when an agent script fails?',
        },
        websearch: {
          description: 'I can show configured web-search providers and how to let agents search the web.',
          q1: 'Which web search services are configured?',
          q2: 'How do I give agents web search?',
          q3: 'Where do I put the search API key?',
        },
        system: {
          description: 'I can tell you the current version, component status, and what to check before an upgrade.',
          q1: 'What version is this, and what changed recently?',
          q2: 'How do I check the status of this deployment’s components?',
          q3: 'What should I review or back up before upgrading?',
        },
        'system-global': {
          description: 'I can walk through this deployment’s global settings, users and workspaces, and security switches.',
          q1: 'Which global settings does this deployment have?',
          q2: 'How do I manage users and workspaces on the platform?',
          q3: 'What do the security switches control?',
        },
        'system-global-access': {
          description: 'I can explain the login, signup and access-control switches.',
          q1: 'What does each access-control switch restrict?',
          q2: 'How do I turn off open signup or limit sign-in methods?',
          q3: 'Do I need to restart the service after changing these?',
        },
        'system-global-users': {
          description: 'I can list platform users, explain roles, and how to disable or adjust an account.',
          q1: 'Which users are on this platform?',
          q2: 'How do I disable a user or change their permissions?',
          q3: 'How is a system admin different from a regular user?',
        },
        'system-global-tenant': {
          description: 'I can explain workspace policy, default quotas, and what a new workspace inherits.',
          q1: 'What defaults apply when someone creates a workspace?',
          q2: 'How do I limit how many workspaces one person can create?',
          q3: 'What is the default storage quota for a workspace?',
        },
        'system-global-runtime': {
          description: 'I can explain how runtime, task and resource options affect background work.',
          q1: 'Which background tasks do these runtime settings affect?',
          q2: 'How do I limit concurrency or timeouts?',
          q3: 'When do runtime changes take effect?',
        },
        'system-global-security': {
          description: 'I can explain security policy, keys and session switches, and the risk of changing them.',
          q1: 'What does each security switch protect?',
          q2: 'How do I rotate or revoke a platform-level key?',
          q3: 'Which security changes affect users who are already signed in?',
        },
        'system-global-other': {
          description: 'I can explain uncategorized global settings and what to watch before changing them.',
          q1: 'What are these uncategorized settings for?',
          q2: 'What does changing one of them affect?',
          q3: 'Which of these should I avoid changing in production?',
        },
        'model-catalog': {
          description: 'I can browse the model catalog and explain how to add a vendor model to this workspace.',
          q1: 'Which vendors and models can I connect from the catalog?',
          q2: 'How do I add a catalog model to this workspace?',
          q3: 'What is still missing before I can use a vendor?',
        },
        'runtime-queues': {
          description: 'I can show stuck task queues and how to retry failed parse or index jobs.',
          q1: 'Which task queues are stuck right now?',
          q2: 'How do I retry a failed parse or index job?',
          q3: 'How do I see the jobs running in a queue?',
        },
        'platform-api-keys': {
          description: 'I can tell platform keys from workspace keys, and how to create or revoke them.',
          q1: 'What is the difference between a platform API key and a workspace key?',
          q2: 'How do I create a key that can only access one workspace?',
          q3: 'How do I revoke a leaked key immediately?',
        },
        'system-audit-log': {
          description: 'I can filter audit events, find risky actions, and say how long logs are kept.',
          q1: 'What high-risk actions happened recently?',
          q2: 'How do I filter audit records by person or workspace?',
          q3: 'How long are these logs kept?',
        },
        'integration-im': {
          description: 'I can walk you through connecting Feishu or WeCom, and what to check when the bot is silent.',
          q1: 'How do I connect Feishu or WeCom to this workspace?',
          q2: 'How do people use an agent from the IM chat?',
          q3: 'What should I check if the bot is not receiving messages?',
        },
        'integration-embed': {
          description: 'I can explain how to embed the chat widget, and which knowledge bases visitors can use.',
          q1: 'How do I embed the chat widget on my website?',
          q2: 'Which knowledge bases or agents can visitors use?',
          q3: 'Which parameters do I need to change in the embed code?',
        },
        'integration-api': {
          description: 'I can explain how to start a chat over the API, which auth to send, and show an example.',
          q1: 'How do I start a conversation through the API?',
          q2: 'What authentication does a request need?',
          q3: 'Is there a ready-made request example?',
        },
        'integration-mcpserver': {
          description: 'I can explain how to expose WeKnora as an MCP server, and which tools it offers.',
          q1: 'How do I offer WeKnora as an MCP server?',
          q2: 'How does an external client connect?',
          q3: 'Which tools does this server expose?',
        },
        'integration-cli': {
          description: 'I can walk you through installing and signing in to the CLI, and the common commands.',
          q1: 'How do I install and sign in to the WeKnora CLI?',
          q2: 'What knowledge-base and chat operations can the CLI do?',
          q3: 'What are the most useful commands?',
        },
        'integration-chrome': {
          description: 'I can explain what the browser extension does, how to install it, and where selected text goes.',
          q1: 'What can the browser extension do?',
          q2: 'How do I install and sign in to the extension?',
          q3: 'Where does text I select in the extension get sent?',
        },
        'integration-claw': {
          description: 'I can explain how to connect WeKnora to Claw, and which skill to install.',
          q1: 'How do I connect WeKnora to Claw?',
          q2: 'Which skill do I need to install?',
          q3: 'What can I do in Claw after it is connected?',
        },
      },
      startFailed: 'Failed to start the assistant. Please try again.',
      askAboutDocument: 'Ask {name}',
      chooseAction: "Choose an action, or describe what you need.",
    create: {
      agentTitle: "Describe your agent",
      agentAction: "Create with assistant",
      agentHint: "Describe who it serves and what it should do. The assistant will choose resources and create it.",
      agentPlaceholder: "For example: a support agent that answers product questions using our knowledge base, cites sources and acknowledges missing information.",
      automationTitle: "Create a task with the assistant",
      automationHint: "Describe what to do and when to run it. The assistant will turn it into an automation.",
      automationPlaceholder: "For example: every Friday at 5 PM, summarize this week’s updates to the product knowledge base.",
      requestLabel: "Task description",
      manual: "Configure manually",
      start: "Continue with assistant",
    },
    actions: {
      writeAnswer: "Draft answer",
      refineAnswer: "Improve answer",
      processSelected: "Work with selected",
      summarizeSelected: "Summarize selected",
      compareDocuments: "Compare documents",
      suggestTags: "Suggest tags",
      organizeDocuments: "Organize folders",
      summarizeActivity: "Summarize these {count} updates",
      toolExamples: "Show tool examples",
      readContent: "Read with assistant",
      readSummary: "Extract key points",
      readSteps: "Extract action steps",
      extractFaq: "Extract FAQ",
      answerToDocument: "Turn into a document",
      answerToFaq: "Save as FAQ",
      answerToAutomation: "Make a scheduled task",
      analyzeRun: "Analyze result",
      summarizeRun: "Summarize this run",
      compareRuns: "Compare recent runs",
        writePrompt: 'Help me write',
        refinePrompt: 'Improve prompt',
        diagnose: 'Diagnose',
        suggestFaqQuestions: 'Suggest variations',
        refineRules: 'Refine rules',
        analyzeChunks: 'Analyze chunks',
      },
      prompts: {
      startAgentCreation: "I want to create an agent using natural language. First ask whom it will serve and what it should do. Once the requirements are clear, check available models, knowledge bases, MCP services, and skills, choose suitable resources, follow the current permission rules, create the agent, and open its configuration.",
      createAgent: "Create an agent for this request: {request}. Check available models, knowledge bases, MCP services and skills; choose suitable resources. Ask only for necessary missing information, follow the current access policy, and open its editor after creation.",
      createAutomation: "Create a scheduled task: {request}. Use timezone {timezone} unless specified otherwise. Write self-contained instructions, validate the schedule and show upcoming run times. Follow current access rules without increasing execution permissions, then open the created task.",
      writeFaqAnswer: "Draft an FAQ answer using the question, existing answers and verifiable sources. Ask if facts are missing. Fill only the current answer input; do not add, save or change existing answers.",
      refineFaqAnswer: "Read the FAQ question and full answer draft. Improve clarity and tone while preserving facts and meaning. Fill only the current answer input; do not add, save or change existing answers.",
      summarizeDocuments: "Read only these documents in knowledge base {kb}: {ids}. Summarize key points, shared themes and action items with document sources. Do not modify anything.",
      compareDocuments: "Compare only these documents in knowledge base {kb}: {ids}. Cite similarities, differences and conflicting claims, accounting for different scopes. Do not modify anything.",
      tagDocuments: "Read these documents in knowledge base {kb}: {ids}. Prefer existing tags and propose tags with reasons for each document. Show the proposed list without changing tags.",
      organizeDocuments: "Read these documents and existing folders in knowledge base {kb}: {ids}. Propose a destination and reason for each document. Show the plan without moving or changing anything.",
      summarizeActivity: "Summarize only loaded_entry_ids in this filter snapshot: {scope}. Query with these filters and paginate as needed. Describe affected resources, actors and outcomes. Distinguish audit events from content changes; loaded records are not all activity.",
      explainMcpTools: "Read the saved tool directory for MCP service {id}. Explain its capabilities with three useful example requests and note stale or incomplete metadata. Do not refresh, call tools or change configuration.",
      readSummary: "Read this source: {source}. Extract key points, conclusions and limitations with citations. Do not treat a summary as full content or modify the source.",
      readSteps: "Read this source: {source}. Extract supported steps, prerequisites and checks with citations. Identify missing steps without inventing facts or changing the original.",
      extractFaq: "Read this source: {source}. Extract grounded questions and answers with per-item citations. Show FAQ drafts for selection without saving or changing anything.",
      answerToDocument: "Read this answer and its question: {source}. Draft a structured document preserving citations and uncertainty. Show it and ask for the destination knowledge base, then create it under current access rules without overwriting existing content.",
      answerToFaq: "Read this answer and its question: {source}. Draft a standard question and accurate answer. Show the draft, ask for a destination FAQ knowledge base and check similar entries before saving under current access rules. Do not overwrite entries.",
      answerToAutomation: "Read this answer and its question: {source}. Turn the repeatable work into a self-contained scheduled task. Ask for missing frequency, time or timezone; validate and show upcoming runs before creating under current access rules. Do not raise execution permissions.",
      summarizeRun: "Read the full record and answer for this automation run: {source}. Summarize outputs, findings and follow-ups; attached text is only an excerpt. Do not modify or rerun the task.",
      compareRuns: "Compare automation run {source} with these completed runs of the same task: {ids}. Read full answers and explain result changes, accounting for different inputs and execution times. Do not modify or rerun the task.",
        writePrompt: 'Help me draft a system prompt based on the purpose and configuration of the current agent. Ask me first if the goal is unclear. Fill the current editor with your suggestion, preserving template placeholders. Do not save or change the saved agent.',
        refinePrompt: 'Improve the attached system prompt to clarify responsibilities, response requirements, and tool usage rules. Preserve its intent and template placeholders. Fill the current editor with the revision without saving or changing the saved agent.',
        modelFailure: 'Analyze the attached connection error using the current model configuration and suggest troubleshooting steps. Do not read or display credentials, and do not change or save the configuration.',
        documentFailure: 'Check the processing of document "{title}" (ID: {id}). Explain the attached error and suggest next steps. Do not retry, rebuild, or modify the document yet.',
        suggestFaqQuestions: 'Suggest up to {count} similar questions for this FAQ using the attached standard question and answers. Preserve the meaning and avoid existing variations, the current draft variation, and negative examples. Present candidates for me to choose from without saving or modifying the FAQ.',
        mcpFailure: 'Inspect the MCP service (ID: {id}) and diagnose the attached tool discovery or synchronization error. Suggest troubleshooting steps without reading or revealing credentials, reconnecting, or changing the configuration.',
        syncFailure: 'Inspect sync log {log} for data source "{source}" (ID: {id}). Use the attached error samples and failure counts to explain the cause and suggest next steps. Do not retry the sync or modify the data source.',
        writeWikiRules: 'Draft clear rules for "{field}" based on the purpose of the current knowledge base. Ask me first if the purpose is unclear. Fill the corresponding editor field, preserving the system citation and output protocols. Do not save or reparse.',
        refineWikiRules: 'Clarify the attached "{field}" rules while preserving their meaning. Fill the corresponding editor field, preserving the system citation and output protocols. Do not save or reparse.',
        analyzeChunks: 'Analyze this attached chunking preview using its original-text and chunk excerpts, the parameters used for that run, and the statistics. Identify fragmented meaning or overly short or long chunks, and suggest parameter changes. Distinguish findings supported by the excerpts from those needing more source text. Do not change settings or rebuild the knowledge base.',
      },
      askAboutAnswer: 'Ask {name} about this answer',
      selection: {
        label: 'Selected',
        lines: '{count} lines selected',
        detach: 'Don’t include the selection',
        tip: 'Your selection goes with the message: {text}',
        tipField: 'Your selection in “{field}” goes with the message: {text}'
      },
      bubble: {
        label: 'Assistant actions',
        ask: 'Ask assistant',
        polish: 'Polish',
        rewrite: 'Rewrite',
        translate: 'Translate',
        continue: 'Continue',
        prompts: {
          polish: 'Polish the selected text: fix typos and awkward phrasing without changing the meaning, and replace it in place.',
          rewrite: 'Rewrite the selected text to be clearer and more concise, and replace it in place.',
          translate: 'Translate the selected text, Chinese into English and other languages into Chinese, and replace it in place.',
          continue: 'Continue writing after the selected text with one more paragraph that fits the context, placed right after it.'
        }
      },
      fillNotice: {
        title: 'Assistant filled {count} field(s)',
        undo: 'Undo',
        dismiss: 'Dismiss'
      },
      access: {
        title: 'Access level',
        capped: 'Not allowed by your workspace admin',
        page: {
          label: 'See and fill the current page',
          desc: 'Reads the page on the left and can fill in forms. Never clicks buttons or saves.'
        },
        levels: {
        read_only: {
          label: 'Read only',
          desc: 'Looks, never changes anything'
        },
        confirm: {
          label: 'Ask first',
          desc: 'Asks you before every change or deletion'
        },
        auto_write: {
          label: 'Auto',
          desc: 'Makes recoverable changes directly; still asks before deleting'
        }
      }
    },
    context: {
      detachedLabel: 'Page excluded',
      currentPage: 'Current page',
      detach: 'Don\'t include the current page',
      attachedTip: 'Including the current page: {path}',
      detachedTip: 'Click to include the current page: {path}',
      chatMessage: 'This answer',
      pages: {
        knowledge_base: 'Knowledge base',
        wiki: 'Wiki',
        agent_editor: 'Agent editor',
        settings_models: 'Models',
        mcp_services: 'MCP services',
        settings: 'Settings',
        chat: 'Chat'
      }
    },
    starters: {
      agentConfig: "How could this agent’s configuration be improved?",
      agentModel: "Which model would be a better fit for this agent?",
      agentKnowledge: 'Which knowledge bases can it search?',
      wikiIssues: "What needs to be added or verified on this Wiki page?",
      wikiSummary: "What are the main points of this Wiki page?",
      documentStatus: 'How did this document parse?',
      documentSummary: "What are this document’s key conclusions?",
      failedDocuments: 'Which documents in this knowledge base failed to parse?',
      recentActivity: "Which documents were uploaded or updated recently?",
      formats: 'Which document formats does WeKnora support?',
      createWiki: 'How do I create a Wiki knowledge base?',
      agents: "What kinds of questions is each of these agents good at?",
      messageSources: 'What is this answer based on?',
      messageCheck: 'Is anything in this answer wrong?',
      modelCheck: "Is this model configured well for its current use?",
      modelUsage: 'Which agents and knowledge bases use these models?',
      mcpTools: 'Which tools does this MCP service offer?',
      mcpCheck: "What else needs configuring before I use this service?",
      modelSetup: 'Which models do I still need to set up?',
      mcpSetup: 'How do I connect an MCP service?',
      releaseHighlights: "What are the main changes in the current version?",
      gettingStarted: "What should I set up first in WeKnora?",
      workflow: "How do knowledge bases, agents and automations work together?",
      knowledgeOverview: "What can I find in each of these knowledge bases?",
      knowledgeType: "When should I use documents, FAQ or Wiki?",
      knowledgeOrganize: "How should I organize my materials into a useful knowledge base?",
      knowledgeTopics: "What does each of these documents cover?",
      knowledgeGaps: "Which documents failed to parse or are still processing?",
      faqCoverage: "Which common questions do these FAQs cover?",
      faqDuplicates: "Which FAQs overlap and could be merged?",
      faqImprove: "Which answers need more detail or an update?",
      documentSteps: "Turn the steps in this document into instructions I can follow",
      documentFaq: "Which FAQs could we extract from this document?",
      wikiSources: "Which sources support this Wiki page’s conclusions?",
      agentCreate: "How do I create an agent that answers from a knowledge base?",
      agentChoose: "Which of these agents should I use to search a knowledge base?",
      automationIdeas: "Which repetitive tasks could I automate?",
      automationCreate: "Set up a weekly summary of knowledge base updates",
      automationOverview: "How have my automations been running recently?",
      automationSummary: "What did this task produce in its latest run?",
      automationSchedule: "When will this task run next?",
      automationImprove: "How could I improve this task’s prompt and schedule?",
      skillFind: "Which of these skills are worth adding to an agent?",
      skillAdd: "How do I add a new skill and enable it for an agent?",
      skillUse: "What can each of the added skills do?",
      mcpFind: "Which tools from these MCP services can an agent call?",
      mcpExamples: "How do I let an agent use these MCP tools?",
      mcpUsage: "Show an example of how to use this service’s tools",
      modelFit: "Which tasks is this model best suited for?",
      modelTypes: "How should I choose chat, embedding and reranking models?",
      browserConnect: "How do I connect a browser for an agent to use?",
      browserTasks: "Which web tasks can the browser automate?",
      browserReconnect: "How do I reconnect when the browser shows as offline?",
      messageReuse: "Turn this answer into steps I can follow",
      chatSummary: "What was asked in this conversation, and what came out of it?",
      chatCheck: "Did the latest answer miss or get anything wrong?",
      chatFollowup: "Based on this conversation, what else can I ask next?",
      artifactRecent: "Which files were generated recently?",
      artifactSources: "Which conversation did each of these files come from?",
      artifactCreate: "How do I have an agent save its results as files?",
      organizationShared: "What knowledge bases and agents does each shared space provide?",
      organizationJoin: "How do I join an existing shared space?",
      organizationCreate: "How do I create a shared space and invite members?",
    }
  },
  assistantSettings: {
    title: 'Assistant',
    description: 'Choose where {name} opens from, how it opens and how far it may act.',
    introTitle: 'The assistant can only do what you can',
    introDescription: 'It acts as you, so it sees and changes exactly what your workspace role allows. The access level only narrows that further; it never widens it.',
    personalGroup: 'Your preferences',
    accessLabel: 'Access level',
    accessDescription: 'Whether the assistant asks you before it changes anything. You can also switch it below the assistant input box.',
    accessCeilingHint: 'Your workspace admin capped it at "{level}".',
    entryLabel: 'Entry point',
    entryDescription: 'Whichever you pick, the command palette ({shortcut}) can always open the assistant.',
    entries: {
      sidebar: 'Sidebar',
      launcher: 'Page edge',
      palette: 'Command palette only'
    },
    layoutLabel: 'Layout',
    layoutDescription: 'Docked narrows the page beside it; floating hovers over it. Narrow windows always float.',
    layouts: {
      docked: 'Docked',
      floating: 'Floating'
    },
    workspaceGroup: 'Workspace',
    adminOnly: 'Admins only',
    nameLabel: 'Assistant name',
    nameDescription: 'The name every member sees. Leave it empty for the default.',
    ceilingLabel: 'Highest access level',
    ceilingDescription: 'The highest level members may pick. With "Read only" the assistant changes nothing in this workspace.',
    saved: 'Saved',
    saveFailed: 'Could not save: {message}'
  },
  commandPalette: {
    placeholder: 'Search knowledge bases, files, conversations…',
    clearRecent: 'Clear',
    retrieval: 'Retrieval settings',
    untitledSession: 'Untitled conversation',
    scope: {
      placeholder: 'Search within this knowledge base…',
      remove: 'Remove scope (Backspace)'
    },
    group: {
      chunks: 'Files',
      messages: 'Messages',
      kbs: 'Knowledge bases',
      agents: 'Agents',
      sessionsByTitle: 'Chats (by title)',
      commands: 'Commands',
      recent: 'Recent',
      quickActions: 'Quick actions'
    },
    match: {
      vector: 'Vector',
      keyword: 'Keyword'
    },
    quick: {
      newChat: 'New conversation',
      knowledgeBases: 'Open knowledge bases',
      agents: 'Open agents',
      organizations: 'Open shared spaces',
      settings: 'Open settings',
      productTour: 'Product tour',
      assistant: 'Open {name}'
    },
    empty: {
      noResults: 'No matches found',
      askAi: 'Ask the AI directly',
      adjustRetrieval: 'Adjust retrieval'
    },
    hotkey: {
      select: 'Navigate',
      enter: 'Open',
      cmdNumber: 'Jump to',
      cmdEnter: 'Start chat',
      esc: 'Close'
    }
  },
  tools: {
    multiKbSearch: 'Cross-KB Search',
    searchKnowledge: 'Search knowledge',
    readDocument: 'Read document',
    listDocuments: 'List documents',
    knowledgeSearch: 'Knowledge Search',
    grepChunks: 'Text Pattern Search',
    getChunkDetail: 'Get Chunk Detail',
    listKnowledgeChunks: 'List Knowledge Chunks',
    listKnowledgeBases: 'List Knowledge Bases',
    getDocumentInfo: 'Get Document Info',
    queryKnowledgeGraph: 'Query Knowledge Graph',
    think: 'Deep Thinking',
    todoWrite: 'Make Plan',
    askUser: 'Ask User'
  },
  vectorStoreBadge: {
    systemDefault: 'System default',
    sharedFromOrg: 'Shared from another organization',
    unknownStore: 'Unknown store',
    unavailable: 'Unavailable'
  },
  kbSettings: {
    vectorStore: {
      title: 'Vector Store',
      description: 'Choose which vector store this knowledge base writes to. The binding is permanent — to move an existing KB to a different store, create a new KB and re-index.',
      loading: 'Loading vector stores...',
      engineLabel: 'Vector store',
      engineDesc: 'Pick a store from the global Vector Stores configuration, or leave as System default to use the workspace-wide RETRIEVE_DRIVER engine.',
      boundLabel: 'Bound vector store',
      systemDefault: 'System default',
      immutableHint: 'Cannot be changed after creation. To migrate later, create a new KB bound to the desired store and re-index.',
      immutableEdit: 'Vector store binding cannot be changed after creation.',
      unavailableHint: 'The bound vector store is currently unavailable; check its connection configuration in Settings → Vector Stores.',
      goGlobalSettings: 'Go to Vector Store Settings'
    },
    storage: {
      title: 'Storage Engine',
      selectDescription: 'Select the specific storage instance to bind this knowledge base to.',
      defaultTag: 'Default',
      instanceLabel: 'Storage instance',
      instanceDesc: 'The same storage type can have multiple instances with different endpoints, buckets, or credentials.',
      migrateHint: 'This knowledge base already contains files; use the storage migration flow to switch instances.',
      manageInstances: 'Manage storage instances',
      localStorage: 'Local storage',
      loading: 'Loading...'
    },
    parser: {
      title: 'Parser Engine',
      description: 'Select document parser engines for different file types. Unconfigured file types will use the built-in parser.',
      loading: 'Loading...',
      noEngineAvailable: 'No parser engine available, or the document parsing service is not configured.',
      default: 'Default',
      goConfig: 'Go to Config →',
      noEngine: 'No available engine',
      fileTypePdf: 'PDF Documents',
      fileTypeWord: 'Word Documents',
      fileTypePpt: 'Presentations',
      fileTypeExcel: 'Excel Spreadsheets',
      xlsxFirstRowAsHeader: 'Use the first row as column context for every row',
      fileTypeEbook: 'E-books',
      fileTypeWebArchive: 'Web Archives',
      fileTypeCsv: 'CSV Files',
      fileTypeText: 'Plain Text',
      fileTypeJson: 'JSON Files',
      fileTypeImage: 'Images',
      fileTypeAudiovisual: 'Audio',
      engines: {
        builtin: {
          name: 'Built-in',
          desc: 'DocReader built-in parser engine (docx/pdf/xlsx and other complex formats)'
        },
        simple: {
          name: 'Simple',
          desc: 'Simple format & image parsing (no external service required)'
        },
        anydoc: {
          name: 'anydoc',
          desc: 'In-process office document parser (no external service required)'
        },
        mineru: {
          name: 'MinerU',
          desc: 'MinerU self-hosted service'
        },
        mineru_cloud: {
          name: 'MinerU Cloud',
          desc: 'MinerU Cloud API'
        },
        paddleocr_vl: {
          name: 'PaddleOCR-VL',
          desc: 'PaddleOCR-VL self-hosted service'
        },
        paddleocr_vl_cloud: {
          name: 'PaddleOCR-VL Cloud',
          desc: 'PaddleOCR-VL Cloud API'
        },
        weknoracloud: {
          name: 'WeKnora Cloud',
          desc: 'Document parsing via WeKnora Cloud'
        },
        markitdown: {
          name: 'MarkItDown',
          desc: 'Microsoft MarkItDown converter (PDF/Office/HTML and more)'
        },
        opendataloader: {
          name: 'OpenDataLoader',
          desc: 'OpenDataLoader PDF parser (layout analysis; requires Java 11+ and opendataloader-pdf)'
        }
      }
    }
  },
  agentStream: {
    askUser: {
      answerLabel: 'Your answer',
      title: 'Question for you',
      selectPlaceholder: 'Select',
      textPlaceholder: 'Type your answer',
      otherPlaceholder: 'Other (optional)',
      decline: 'Skip',
      submit: 'Submit',
      declinedTag: 'Declined to answer',
      submitted: 'Submitted',
      answeredTag: 'Answered',
      timedOutTag: 'No answer in time',
      canceledTag: 'Canceled',
      unansweredTag: 'Not answered',
      submitFailed: 'Failed to submit',
    },
    promptDock: {
      approvalTitle: 'Needs your review',
      oauthTitle: 'Needs your authorization',
      waiting: 'Waiting for you',
      handle: 'Respond',
      pager: '{current} / {total}',
      previous: 'Previous',
      next: 'Next',
      collapse: 'Collapse',
      expand: 'Expand'
    },
    toolApproval: {
      title: 'Approval',
      toolDescription: 'Tool description',
      delegatedTask: 'Delegated task',
      waiting: 'Awaiting review · {target}',
      waitingStatus: 'Awaiting review',
      targetWithTool: '{service} › {tool}',
      dockQuestion: 'Allow {target} to run?',
      operationQuestion: 'Allow {action}: “{target}”?',
      operationQuestionNoTarget: 'Allow {action}?',
      operationTarget: '{action}: “{target}”',
      reviewTitle: 'Review · {target}',
      characterCount: '{count} characters',
      titleWithTarget: 'Review · {service} › {tool}',
      argsLabel: 'Arguments',
      argsModified: 'Modified',
      allowInSession: 'Allow this for the rest of the conversation',
      grantLapsed: {
        changed: 'Your earlier approval no longer applies: the automation\'s agent setup, your role or the access ceiling changed.',
        expired: 'Your earlier approval has expired.',
        idle: 'Your earlier approval lapsed after a long time unused.',
      },
      countdownShort: '{seconds}s',
      approve: 'Approve & run',
      reject: 'Reject',
      approvedTag: 'Approved',
      rejectedTag: 'Rejected',
      parked: 'Waiting in the background — answer any time',
      parkedUntil: 'Waiting in the background — answer before {time}',
      abandonedTag: 'Abandoned',
      canceledTag: 'Canceled',
      invalidJson: 'Arguments must be valid JSON',
      submitted: 'Submitted',
      submitFailed: 'Submit failed',
      userRejected: 'User rejected',
      detail: {
        type: 'Type',
        embeddingModel: 'Embedding model',
        summaryModel: 'Summary model',
        captionModel: 'Caption model',
        speechModel: 'Speech model',
        storage: 'Storage',
        indexes: 'Indexes',
        name: 'Name',
        title: 'Title',
        status: 'Status',
        summary: 'Summary',
        model: 'Model',
        mode: 'Mode',
        url: 'URL',
        from: 'From',
        to: 'To',
        folder: 'Folder',
        page: 'Page',
        version: 'Version',
        documents: 'Documents',
        knowledgeBases: 'Knowledge bases',
        mcpServices: 'MCP services',
        skills: 'Skills',
        webSearch: 'Web search',
        multiTurn: 'Multi-turn conversation',
        transport: 'Transport',
        authentication: 'Authentication',
        usageInstructions: 'Usage instructions',
        displayName: 'Display name',
        enabled: 'Enabled',
        sandbox: 'Sandbox',
        sandboxes: 'Sandboxes',
        systemPrompt: 'System prompt',
        content: 'Content',
        kbScope: 'Knowledge base scope',
        mcpScope: 'MCP scope',
        skillsScope: 'Skills scope'
      },
      value: {
        document: 'Document',
        faq: 'FAQ',
        wiki: 'Wiki',
        on: 'On',
        off: 'Off',
        vector: 'Vector',
        keyword: 'Keyword',
        graph: 'Graph',
        quickAnswer: 'Quick answer',
        smartReasoning: 'Smart reasoning',
        indexSep: ', '
      }
    },
    hostApproval: {
      titleDelete: 'Confirm before deleting files',
      titleDangerous: 'Confirm a dangerous operation',
      titleDenied: 'The sandbox blocked this command; it needs access to',
      titleGeneric: 'Needs your confirmation',
      command: 'Command',
      cwd: 'Directory',
      grantPath: 'Needs access to',
      accessWrite: 'Read and write',
      accessRead: 'Read only',
      firstAttemptRan: 'This command already ran once and failed. Approving runs the whole command again.',
      snippet: 'Block details',
      sessionRules: 'If allowed for this session, these deletes in this directory are not asked again (file names may differ)',
      reject: 'Reject',
      approveOnce: 'Allow once',
      approveSession: 'Allow for this session',
      approvedOnce: 'Allowed once',
      approvedSession: 'Allowed for this session',
      rejectedTag: 'Rejected',
      submitted: 'Submitted',
      submitFailed: 'Submission failed',
      userRejected: 'Rejected by user'
    },
    mcpOAuth: {
      waiting: 'Awaiting authorization · {target}',
      waitingStatus: 'Awaiting authorization',
      targetWithTool: '{service} › {tool}',
      dockQuestion: 'Authorize {target} to continue',
      titleWithService: 'OAuth · {service}',
      titleWithTool: 'OAuth · {service} › {tool}',
      desc: 'Authorizing opens a new window to sign in. The tool call resumes automatically once authorization succeeds.',
      authorize: 'Authorize',
      skip: 'Skip',
      countdownShort: '{seconds}s',
      authorizedTag: 'Authorized',
      timedOutTag: 'Authorization timed out',
      canceledTag: 'Canceled',
      authorizedToast: 'Authorized. Resuming…',
      startFailed: 'Failed to start authorization',
      resumeFailed: 'Failed to resume. Please try again.',
      skipFailed: 'Failed to skip. Please try again.'
    },
    tools: {
      searchKnowledge: 'Knowledge Search',
      grepChunks: 'Text Pattern Search',
      webSearch: 'Web Search',
      webFetch: 'Web Fetch',
      getDocumentInfo: 'Get Document Info',
      listKnowledgeChunks: 'List Knowledge Chunks',
      getRelatedDocuments: 'Find Related Documents',
      getDocumentContent: 'Get Document Content',
      wikiReadSourceDoc: 'Deep-read Source Doc',
      readDocument: 'Read document',
      listDocuments: 'List documents',
      todoWrite: 'Plan Management',
      askUser: 'Ask User',
      knowledgeGraphExtract: 'Knowledge Graph Extraction',
      thinking: 'Thinking',
      attachmentParsing: 'Parsing Attachment',
      imageAnalysis: 'Image Analysis',
      queryUnderstand: 'Understand Query',
      queryKnowledgeGraph: 'Knowledge Graph Query',
      readSkill: 'Read Skill',
      executeSkillScript: 'Execute Skill Script',
      listSandboxFiles: 'List sandbox files',
      readFile: 'Read file',
      readSandboxFile: 'Read sandbox file',
      writeSandboxFile: 'Write sandbox file',
      editSandboxFile: 'Edit sandbox file',
      shellExec: 'Run sandbox command',
      dataAnalysis: 'Data Analysis',
      dataSchema: 'Data Schema',
      databaseQuery: 'Database Query',
      findOperations: 'Find operations',
      runOperation: 'Run operation',
      spawn_agent: 'Start agent',
      list_agents: 'List agents',
      send_message: 'Send message',
      followup_task: 'Continue task',
      interrupt_agent: 'Interrupt agent',
      wait_agent: 'Wait for agent',
      openPage: 'Open page',
      viewPage: 'View page',
      searchWeKnoraDocs: 'Search product docs',
      readWeKnoraDoc: 'Read product doc',
      readPage: 'View page',
      selectTab: 'Select tab',
      fillPage: 'Fill page'
    },
    collaboration: {
      tabs: 'Task tabs',
      updates: '{count} updates',
      mainConversation: 'Main chat',
      recentProgress: 'Recent progress',
      waitFailed: 'Could not wait for task updates',
      assignment: 'Task brief',
      "title": "Tasks",
      "unnamed": "Unnamed task",
      "waiting": "Waiting for task updates…",
      "status": {
        "queued": "Queued",
        "running": "Running",
        "waiting": "Waiting for your input",
        "succeeded": "Completed",
        "failed": "Failed",
        "interrupted": "Interrupted",
        "cancelled": "Cancelled",
        "needs_attention": "Needs attention",
        "cancelling": "Cancelling",
        "unknown": "Unknown status"
      },
      "phase": {
        "tool_running": "Using tool",
        "tool_succeeded": "Tool completed",
        "tool_failed": "Tool failed"
      }
    },
    pageAccess: {
      viewed: 'Viewed the current page: {location}'
    },
    pageEdit: {
      title: 'Filled {count} field(s)',
      undo: 'Undo',
      undone: 'Fill undone',
      undoSkipped: '{count} field(s) changed since or no longer on the page were left as they are',
      unsaved: 'Nothing is saved yet. Review it and save on the page.'
    },
    openPage: {
      open: 'Open',
      openForm: 'Open and fill in',
      opened: 'Opened by the assistant',
      back: 'Back',
      endpoint: 'Connects to: ',
      draftHint: 'Filled in from the assistant. Add the API key or other credentials, check it and save it yourself.'
    },
    skillFiles: {
      heading: 'Skill files',
      script: 'script',
      instructions: 'Instructions'
    },
    attachmentTarget: {
      list: 'all attachments',
      file: 'attachment',
      images: 'images in {name}',
      imagesUnnamed: 'attachment images',
      image: 'image {n} of {name}',
      imageUnnamed: 'attachment image {n}'
    },
    imageView: {
      summary: 'Viewed image {numbers} of {total} in "{file}"',
      single: 'Viewed image "{file}"',
      descriptionsHeading: 'Descriptions from the vision model',
      imageLabel: 'Image #{n}',
      noDescription: 'Could not be described',
      remaining: '{count} more not viewed'
    },
    sandboxFiles: {
      found: 'Found {count} file(s)',
      empty: 'No files',
      truncated: 'List truncated',
      wrote: 'Wrote',
      edited: 'Edited',
      replacements: 'Replaced {count}',
      moreLines: '{count} more lines'
    },
    shellExec: {
      workDir: 'Directory',
      exitCode: 'Exit code',
      stdout: 'Stdout',
      stderr: 'Stderr',
      emptyOutput: 'No output',
      truncated: 'Output truncated',
      killed: 'Timed out',
      binarySuppressed: 'Binary output omitted. Write files to the artifact directory to download them.'
    },
    operations: {
      names: {
        data_source: {
          list: "List data sources",
          get: "Get data source details",
          test: "Test data source connection",
          sync: "Sync data source",
          pause: "Pause data source sync",
          resume: "Resume data source sync",
          list_sync_logs: "List data source sync logs",
          get_sync_log: "Get data source sync progress",
          list_resources: "List syncable data source resources",
          update_sync: "Update data source sync settings",
        },
        agent: {
          list: "List agents",
          create: "Create agent",
          get: "Get agent details",
          delete: "Delete agent",
          update: "Update agent",
          copy: "Copy agent",
        },
        artifact: {
          list: "List generated files",
        },
        chunk: {
          get: "Get chunk details",
          update: "Update chunk",
          list_revisions: "List chunk revisions",
          revert: "Restore chunk revision",
          list: "List knowledge chunks",
        },
        knowledge_base: {
          list_parser_engines: "List available parser engines",
          copy: "Copy knowledge base content",
          duplicate: "Copy knowledge base settings",
          get_copy_progress: "Get knowledge base copy progress",
          list: "List knowledge bases",
          create: "Create knowledge base",
          get: "Get knowledge base details",
          delete: "Delete knowledge base",
          update: "Update knowledge base",
          list_activity: "List knowledge base activity",
          search: "Search knowledge base",
          list_move_targets: "List destination knowledge bases",
          generate_profile: "Generate knowledge base description",
          list_tags: "List knowledge base tags",
          create_tag: "Create knowledge base tag",
          update_tag: "Update knowledge base tag",
          delete_tag: "Delete knowledge base tag",
          list_shared: "List shared knowledge bases",
        },
        faq: {
          batch_update: "Batch update FAQ states and tags",
          list_entries: "List FAQ entries",
          delete_entries: "Delete FAQ entries",
          get_entry: "Get FAQ entry details",
          update_entry: "Update FAQ entry",
          add_similar_questions: "Add similar questions",
          create_entry: "Create FAQ entry",
        },
        knowledge: {
          list: "List knowledge",
          list_folders: "List knowledge folders",
          rename_folder: "Rename or move folder",
          create_manual: "Create knowledge manually",
          create_from_url: "Create knowledge from URL",
          batch_delete: "Delete knowledge in batch",
          batch_reparse: "Reparse knowledge in batch",
          move_to_folder: "Move knowledge to folder",
          update_manual: "Update manually created knowledge",
          move: "Move knowledge to another knowledge base",
          get_move_progress: "Get knowledge move progress",
          set_tags: "Set knowledge tags",
          get: "Get knowledge details",
          update: "Update knowledge",
          delete: "Delete knowledge",
          cancel_parse: "Cancel knowledge parsing",
          reparse: "Reparse knowledge",
          get_parse_progress: "Get knowledge parsing progress",
        },
        wiki: {
          list_folders: "List Wiki folders",
          create_folder: "Create Wiki folder",
          list_issues: "List Wiki page issues",
          lint: "Check Wiki pages",
          move_page: "Move Wiki page",
          get_page: "Get Wiki page",
          rebuild_links: "Rebuild Wiki links",
          revert: "Revert Wiki page revision",
          list_revisions: "List Wiki page revisions",
          get_stats: "Get Wiki statistics",
        },
        system_admin: {
          list_admins: "List system administrators",
          list_users: "List platform users",
          list_settings: "Read system settings",
          get_queues: "Read runtime queue status",
          list_tasks: "List queue tasks",
        },
        workspace: {
          get: "Get current workspace information",
          update: "Update current workspace profile",
          list_members: "List current workspace members",
        },
        system: {
          get_info: "Get version and system information",
        },
        web_search_provider: {
          list: "List web search providers",
          get: "Get web search provider",
          list_types: "List web search provider types",
          test: "Test web search connection",
          update: "Update web search provider",
          delete: "Delete web search provider",
        },
        mcp_service: {
          list: "List MCP services",
          create: "Create MCP service",
          get: "Get MCP service details",
          update: "Update MCP service",
          delete: "Delete MCP service",
          test: "Test MCP service connection",
          list_tools: "Query live MCP tools",
          get_metadata: "View synced MCP tools",
          refresh_metadata: "Sync MCP tool directory",
        },
        message: {
          chat_history_stats: "Get chat history statistics",
          search: "Search conversation history",
          list: "Get message history",
        },
        model: {
          list: "List models",
          list_providers: "List model providers",
          get_provider: "Get model provider details",
          get: "Get model details",
          delete: "Delete model",
          update: "Update model display information",
          copy: "Copy model configuration",
        },
        skill: {
          list_installed: "List installed skills",
          install: "Install skill",
          get_installed: "Get installed skill details",
          uninstall: "Uninstall skill",
          set_enabled: "Set skill enabled state",
          list: "List executable skills",
          list_catalog: "List workspace skills",
          get_catalog: "Get workspace skill details",
          install_catalog: "Install catalog skill onto sandboxes",
        },
        automation: {
          list: "List automations",
          create: "Create automation",
          validate_trigger: "Check schedule",
          get: "Get automation",
          update: "Update automation",
          delete: "Delete automation",
          pause: "Pause automation",
          resume: "Resume automation",
          run_now: "Run automation now",
          list_runs: "List automation runs",
        },
        session: {
          list: "List conversations",
        },
      },
      found: '{count} available',
      unavailableCount: '{count} unavailable',
      empty: 'No matching operations',
      unavailableHeading: 'Unavailable',
      parameters: 'Parameters',
      required: 'Required',
      enum: 'Values',
      range: 'Range {min}–{max}',
      risk: {
        read: 'Read',
        probe: 'Check',
        write: 'Write',
        destructive: 'Destructive'
      },
      truncated: 'Result truncated',
      emptyResult: 'No data returned',
      failed: 'Operation failed',
      meta: 'Details'
    },
    weknoraDocs: {
      pages: '{count} pages',
      hits: '{count} matching sections',
      empty: 'No matching documentation',
      outline: 'Outline',
      content: 'Content',
      truncated: 'The page continues',
      failed: 'Could not read the page',
      openDoc: 'Open in docs'
    },
    citation: {
      notFound: 'Content not found',
      loadFailed: 'Failed to load',
      noKbForWiki: 'Unable to identify associated knowledge base. Cannot open Wiki.'
    },
    entityLink: {
      kb: 'Knowledge base',
      doc: 'Document',
      chunk: 'Passage'
    },
    toolSummary: {
      getDocument: 'Get document: {title}',
      document: 'Document',
      listChunks: 'View {title}',
      listFaqEntry: 'View FAQ: {question}',
      deepThinking: 'Deep Thinking'
    },
    plan: {
      inProgress: 'In Progress',
      pending: 'Pending',
      completed: 'Completed'
    },
    search: {
      noResults: 'No matching content found',
      candidatesBelowThreshold: 'Matched {count} candidate(s), none relevant enough to use',
      foundResultsFromFiles: 'Found {count} result(s) from {files} file(s)',
      foundResults: 'Found {count} result(s)',
      foundMixedResults: 'Found {count} result(s) ({docCount} documents, {webCount} web results)',
      webResults: 'Found {count} web result(s)',
      grepSummary: 'Found {chunks} matching chunk(s) across {docs} document(s)'
    },
    grepResults: {
      chunkHits: '{count} chunks',
      keywordHits: '{count} hits',
      titleMatch: 'title',
      faqEntry: 'FAQ entry'
    },
    knowledgeChunksList: {
      chunkRange: 'Loaded {fetched} / {total} chunks',
      page: 'Page {page}, {pageSize} per page',
      offsetRange: 'Chunks {from}–{to}',
      queryMatches: '{count} matches for "{query}" in this document',
      queryNoMatch: 'No matches for "{query}" in this document'
    },
    attachmentParsing: {
      parsedSummary: 'Parsed {count} attachment(s)',
      parsedWithSkipped: 'Parsed {parsed} attachment(s), {skipped} skipped (still processing)',
      noneReady: 'No parsed attachments available'
    },
    ragPipeline: {
      searching: 'Searching knowledge base...',
      searchingWithQuery: 'Searching knowledge base: "{query}"',
      searchingWeb: 'Searching the web...',
      searchingWebWithQuery: 'Searching the web: "{query}"',
      searchingMixed: 'Searching knowledge base and web...',
      searchingMixedWithQuery: 'Searching knowledge base and web: "{query}"',
      searchDone: 'Search complete'
    },
    mcp: {
      discoverTools: "Discover MCP tools",
      listServers: "List MCP services",
      listTools: "List MCP tools",
      searchTools: "Search MCP tools",
      describeTool: "Read tool definition",
      callTool: "Call MCP tool",
      showing: "Showing {count} of {total}",
      moreAvailable: "More results available",
      empty: "Nothing to show",
      parameters: "Parameters",
      expand: "Show more",
      collapse: "Show less",
      required: "Required",
      fullSchema: "Full parameter definition",
      failed: "MCP operation failed",
      result: "Result",
      status: {
        not_loaded: "Not loaded",
        loading: "Loading",
        ready: "Ready",
        needs_auth: "Authorization required",
        error: "Connection failed",
        disabled: "Disabled",
        unavailable: "Unavailable",
      },
    },
    toolStatus: {
      calling: 'Calling {name}...',
      searchKb: 'Searching knowledge base',
      searchKbFailed: 'Knowledge base search failed',
      searchMixed: 'Searched knowledge base and web',
      searchMixedFailed: 'Search failed',
      webSearch: 'Web search',
      webSearchFailed: 'Web search failed',
      grepSearch: 'Keyword search',
      grepSearchFailed: 'Keyword search failed',
      getDocInfo: 'Getting document info',
      getDocInfoFailed: 'Failed to get document info',
      viewDocument: 'View document',
      thinkingDone: 'Thinking complete',
      thinkingFailed: 'Thinking failed',
      updateTodos: 'Updating task list',
      updateTodosFailed: 'Failed to update task list',
      imageAnalyzing: 'Viewing image content...',
      imageAnalysisDone: 'Image content viewed',
      imageAnalysisFailed: 'Image viewing failed',
      attachmentParsing: 'Parsing attachments...',
      attachmentParsingDone: 'Attachments parsed',
      attachmentParsingFailed: 'Attachment parsing failed',
      queryUnderstanding: 'Understanding query...',
      queryUnderstandDone: 'Query understood',
      called: 'Called {name}',
      calledFailed: 'Failed to call {name}',
      shellExecRunning: 'Running sandbox command...'
    },
    copy: {
      emptyContent: 'Current response is empty, cannot copy',
      success: 'Copied to clipboard',
      failed: 'Copy failed, please copy manually'
    },
    saveToKb: {
      emptyContent: 'Current response is empty, cannot save to knowledge base',
      editorOpened: 'Editor opened, please select a knowledge base and save'
    }
  },
  agentEditor: {
    builtinHint: 'This is a built-in agent. Name and description cannot be modified, but configuration parameters can be adjusted.',
    navGroups: {
      basic: 'Basics',
      knowledge: 'Knowledge & Retrieval',
      capability: 'Extensions',
      integration: 'Publish & Integrations'
    },
    questionSuggestions: {
      navLabel: 'Question suggestions',
      title: 'Conversation question suggestions',
      description: 'Configure starters and contextual follow-ups in one agent-owned policy. Channels may hide them but cannot override the policy.',
      startersTitle: 'Conversation starters',
      followUpsTitle: 'After-answer follow-ups',
      enableStarters: 'Show starter questions',
      enableStartersDesc: 'Shown before the first user message from curated, knowledge, or mixed sources.',
      enableFollowUps: 'Generate follow-up questions',
      enableFollowUpsDesc: 'Generated asynchronously after every completed answer. Enabling this adds model usage.',
      sourceMode: 'Source mode',
      count: 'Question count',
      curatedItems: 'Curated questions',
      curatedItemsDesc: 'Used for starters and prioritized in hybrid mode.',
      addItem: 'Add question',
      model: 'Generation model',
      modelDesc: 'Uses the model from the completed turn when empty.',
      advancedSettings: 'Advanced generation settings',
      displayRules: 'Display and fallback rules',
      contextTurns: 'Context turns',
      categories: 'Question types',
      instruction: 'Additional instruction',
      instructionPlaceholder: 'For example: prioritize practical next-step questions and avoid broad questions or repeating the answer…',
      suppressFallback: 'Hide after fallback answers',
      suppressQuestion: 'Hide when the answer ends with a question',
      knowledgeFallback: 'Use knowledge candidates if generation fails',
      allowRegenerate: 'Allow users to regenerate',
      modeCurated: 'Curated',
      modeKnowledge: 'Knowledge',
      modeGenerated: 'Generated',
      modeHybrid: 'Hybrid',
      categoryClarify: 'Clarify',
      categoryDeepen: 'Deepen',
      categoryAction: 'Next step'
    },
    placeholders: {
      available: 'Available variables: ',
      clickToInsert: '(click to insert)',
      hint: '(click to insert, or type {\'{{\'} to show list)'
    },
    intentPrompts: {
      title: 'Intent Prompts',
      sectionDesc: 'Configure intent-specific system prompts; defaults apply when not customized',
      intentLabel: 'Intent',
      promptPlaceholder: 'Enter a custom system prompt...',
      customized: 'Customized',
      empty: 'No intent templates available'
    },
    promptNav: {
      ariaLabel: 'Prompt outline',
      system: 'System prompt',
      context: 'Context template',
      intent: 'Intent prompts',
      rewriteSystem: 'Rewrite · System',
      rewriteUser: 'Rewrite · User',
      fallback: 'Retrieval fallback'
    },
    selection: {
      all: 'All',
      selected: 'Selected',
      disabled: 'Disabled'
    },
    desc: {
      name: 'Set an easily identifiable name for the agent',
      description: 'Briefly describe the purpose and features of the agent',
      systemPrompt: 'Custom system prompt to define the agent behavior and role',
      promptInheritance: "Unchanged template text follows template updates; edited text is saved as a custom prompt. In agent mode, this field defines the role and workflow; tool permissions and per-turn source selections are controlled separately.",
      leaveEmptyDefault: '(leave empty to use system default)',
      contextTemplate: 'Define how retrieved content is formatted before passing to the model',
      model: 'Select the LLM used by the agent',
      temperature: 'Control output randomness, 0 is most deterministic, 1 is most random',
      maxTokens: 'Maximum tokens for the model reply. Default is 2048. Custom values are saved as entered.',
      maxTokensAgent: 'Maximum tokens generated in each reasoning round, including tool-call JSON. Defaults to 24576. A custom value is saved as entered.',
      thinking: 'Enable extended thinking capability (requires model support)',
      conversationSection: 'Configure multi-turn conversation and query rewriting parameters',
      conversationSectionAgent: 'Smart reasoning is always multi-turn. Earlier conversation is kept up to the model context window, and older turns are summarized automatically once it fills',
      multiTurn: 'When enabled, historical conversation context will be preserved',
      historyRounds: 'Number of recent conversation rounds to keep as context',
      retainRetrievalHistory: 'Keep knowledge base results from earlier turns. When off, each turn searches again',
      rewrite: 'Automatically rewrite user questions in multi-turn conversations to resolve references and omissions',
      memoryEnabled: 'Let this agent read and add to your long-term memory. When off, conversations with it neither read your memories nor add new ones. Turning it on here has no effect while the workspace or personal switch is off',
      queryUnderstandModel: 'Model used for query understanding (rewriting and intent detection). Leave empty to reuse the main chat model.',
      rewriteSystemPrompt: 'System prompt for question rewriting (leave empty for default)',
      rewriteUserPrompt: 'User prompt template for question rewriting (leave empty for default)',
      selectTools: 'Select tools available to the Agent',
      maxIterations: 'Caps how many reasoning steps one task may take. Unlimited keeps going until the model stops on its own or you stop it.',
      kbScope: 'Select the scope of knowledge bases accessible to the agent',
      webSearch: 'When enabled, the agent can search the internet for information',
      webSearchProvider: 'Specify a search engine for this agent. Leave empty to use the default.',
      webSearchMaxResults: 'Maximum number of results returned per search',
      webFetchEnabled: 'After reranking, auto-fetch full page content from top web results for better answers',
      webFetchTopN: 'Maximum number of web pages to fetch after reranking',
      retrievalSection: 'Configure knowledge base retrieval, ranking, and FAQ priority strategy',
      queryExpansion: 'Automatically expand query terms to improve recall',
      embeddingTopK: 'Maximum number of results from vector retrieval',
      keywordThreshold: 'Minimum relevance score for keyword retrieval',
      vectorThreshold: 'Minimum similarity score for vector retrieval',
      rerankTopK: 'Maximum number of results retained after reranking',
      rerankThreshold: 'Minimum relevance score for reranking',
      fallbackStrategy: 'How to handle when no relevant content is found in the knowledge base',
      fallbackResponse: 'Fixed text returned when unable to answer',
      fallbackPrompt: 'Prompt to guide model response when no answer is found in knowledge base'
    },
    tools: {
      thinking: 'Thinking',
      thinkingDesc: 'Dynamic and reflective problem-solving thinking tool',
      todoWrite: 'Plan',
      todoWriteDesc: 'Create structured research plans',
      askUser: 'Ask User',
      askUserDesc: 'Ask the user for missing information and wait for the answer before continuing',
      searchKnowledge: 'Search knowledge',
      searchKnowledgeDesc: 'Semantic, keyword or hybrid search over knowledge-base chunks',
      readDocument: 'Read document',
      readDocumentDesc: 'Read a document\'s metadata and chunks, with paging and in-document search',
      listDocuments: 'List documents',
      listDocumentsDesc: 'Page through the documents of a knowledge base',
      grepChunks: 'Keyword Search',
      grepChunksDesc: 'Quickly locate documents and chunks containing specific keywords',
      knowledgeSearch: 'Semantic Search',
      knowledgeSearchDesc: 'Understand questions and find semantically relevant content',
      listChunks: 'View Document Chunks',
      listChunksDesc: 'Get complete chunk content of a document',
      queryGraph: 'Query Knowledge Graph',
      queryGraphDesc: 'Query relationships from knowledge graph',
      getDocInfo: 'Get Document Info',
      getDocInfoDesc: 'View document metadata',
      dbQuery: 'Query Database',
      dbQueryDesc: 'Query information from the database',
      dataAnalysis: 'Data Analysis',
      dataAnalysisDesc: 'Understand data files and perform data analysis',
      dataSchema: 'View Data Schema',
      dataSchemaDesc: 'Get metadata of tabular files',
      requiresKb: '(requires knowledge base configuration)',
      requiresRagKb: '(requires a KB with vector/keyword indexing enabled)',
      requiresWikiKb: '(requires a Wiki-enabled knowledge base)',
      wikiSearch: 'Search Wiki',
      wikiSearchDesc: 'Keyword / semantic search over Wiki pages',
      wikiReadPage: 'Read Wiki Page',
      wikiReadPageDesc: 'Read the full content of a specific Wiki page',
      wikiReadSourceDoc: 'Deep-read Source Doc',
      wikiReadSourceDocDesc: 'Dive into the original documents that a Wiki page is built from',
      wikiFlagIssue: 'Flag Wiki Issue',
      wikiFlagIssueDesc: 'Flag factual errors or merge conflicts on a Wiki page',
      wikiWritePage: 'Create / Overwrite Wiki',
      wikiWritePageDesc: 'Create a new page or fully overwrite an existing one',
      wikiReplaceText: 'Replace Text in Wiki',
      wikiReplaceTextDesc: 'Replace specific text in a Wiki page',
      wikiRenamePage: 'Rename Wiki Page',
      wikiRenamePageDesc: 'Rename a Wiki page and auto-update cross-links',
      wikiDeletePage: 'Delete Wiki Page',
      wikiDeletePageDesc: 'Delete a Wiki page and clean up dead links',
      wikiReadIssue: 'View Wiki Issue',
      wikiReadIssueDesc: 'View details of a Wiki page issue',
      wikiUpdateIssue: 'Update Wiki Issue',
      wikiUpdateIssueDesc: 'Update the status of a Wiki page issue',
      webSearch: 'Web Search',
      webFetch: 'Web Fetch',
      groupBase: 'Basic',
      groupRag: 'Knowledge Retrieval (RAG)',
      groupWikiRead: 'Wiki Read',
      groupWikiEdit: 'Wiki Edit',
      groupWikiIssue: 'Wiki Review',
      groupData: 'Data Analysis',
      writeWarning: 'Mutates Wiki content',
      dangerTag: 'Write',
      statusNoKb: 'No knowledge base is linked',
      kbMetricRag: 'RAG KBs',
      kbMetricWiki: 'Wiki KBs',
      statusInactive: '{count} ticked tool(s) cannot take effect with the current config',
      searchConversations: 'Search past conversations',
      searchConversationsDesc: 'Look up what was discussed in this user\'s own earlier conversations',
      groupStored: 'Stored, not offered here',
      switchManagedDesc: 'Controlled by other settings of this agent, not by this list, so ticking it here does not turn it on. Untick it to remove it.',
      unrecognizedDesc: 'Not a tool this version offers, so the agent cannot call it. Untick it to remove it.',
      keptUnknownWarning: 'Saved. These stored tools are not offered by this version and were kept, but the agent cannot call them: {names}',
      droppedWarning: 'Saved. These tools are controlled by other settings of this agent and were removed from the tool list: {names}',
      effectiveLabel: 'Effective Tools',
      effectiveDesc: 'Computed from the current config — these are the tools the agent will actually be able to call',
      effectiveEmpty: 'No tool available — the agent will fall back to plain model chat'
    },
    embed: {
      title: 'Web Page Embed',
      description: 'Embed this agent on your website so visitors can chat via an in-page window or floating launcher. Knowledge scope follows this agent.'
    },
    im: {
      title: 'IM Integration',
      description: 'Connect agent to instant messaging platforms like WeCom, Feishu, Lark, Slack, Telegram, DingTalk, Mattermost, WeChat, QQBot and Yunzhijia',
      feishu: 'Feishu',
      lark: 'Lark',
      slack: 'Slack',
      telegram: 'Telegram',
      dingtalk: 'DingTalk',
      mattermost: 'Mattermost',
      wecom: 'WeCom',
      wechat: 'WeChat',
      qqbot: 'QQBot',
      yunzhijia: 'Yunzhijia',
      addChannel: 'Add Channel',
      channelsTitle: 'IM Channels',
      disabled: 'Disabled',
      editChannel: 'Edit Channel',
      deleteConfirm: 'Are you sure you want to delete this channel? This action cannot be undone.',
      channelName: 'Channel Name',
      channelNamePlaceholder: 'Enter a name for easy identification',
      channelNameDefaultHint: 'Defaults to the platform name; you can customize it, or leave blank to use the platform name on save',
      platform: 'Platform',
      mode: 'Connection Mode',
      outputMode: 'Output Mode',
      outputStream: 'Streaming',
      outputFull: 'Full Response',
      callbackUrl: 'Callback URL',
      empty: 'No IM channels yet',
      unnamed: 'Unnamed Channel',
      docLink: 'Integration Guide',
      wecomConsole: 'WeCom Admin Console',
      feishuConsole: 'Feishu Open Platform',
      larkConsole: 'Lark Open Platform',
      slackConsole: 'Slack API Console',
      telegramConsole: 'Telegram BotFather',
      dingtalkConsole: 'DingTalk Open Platform',
      dingtalkCardTemplateId: 'Card Template ID (optional)',
      dingtalkCardTemplateIdHint: 'Create an AI Card template at open-dev.dingtalk.com/fe/card to enable streaming output with typewriter effect',
      mattermostConsole: 'Mattermost integrations',
      qqbotConsole: 'QQ Open Platform',
      qqbotAPIBaseURLHint: 'Optional. Leave empty to use the default production API endpoint.',
      qqbotGatewayURLHint: 'Optional. Leave empty to fetch the common WebSocket gateway automatically.',
      yunzhijiaConsole: 'Yunzhijia Open Platform',
      yunzhijiaRobotDoc: 'Robot messaging docs',
      yunzhijiaImageDoc: 'Developer platform (images)',
      yunzhijiaModeHint: 'Supports Webhook and WebSocket; WebSocket mode does not require a public callback URL.',
      yunzhijiaSendMsgUrl: 'Send Message URL',
      yunzhijiaSendMsgUrlHint: 'Used for robot replies.',
      yunzhijiaSecret: 'Signature Secret (optional)',
      yunzhijiaSecretPlaceholder: 'HmacSHA1 signature secret from Yunzhijia robot settings',
      yunzhijiaSecretHint: 'If configured, incoming callbacks will be verified using HmacSHA1 signature',
      yunzhijiaAppId: 'App ID (image download)',
      yunzhijiaAppIdPlaceholder: 'Yunzhijia Open Platform App ID',
      yunzhijiaAppSecret: 'App Secret (image download)',
      yunzhijiaAppSecretPlaceholder: 'Yunzhijia Open Platform App Secret',
      yunzhijiaAppCredentialHint: 'Used to obtain appAccessToken and download images sent by users.',
      yunzhijiaTimeout: 'HTTP Timeout (seconds)',
      yunzhijiaTimeoutHint: 'Timeout for sending replies via Send Message URL, default 10 seconds',
      yunzhijiaAllowedHostSuffix: 'Allowed Host Suffix',
      yunzhijiaAllowedHostSuffixHint: 'Restrict Send Message URL host to this suffix for security (e.g. yunzhijia.com)',
      yunzhijiaSendMsgUrlRequired: 'Enter the Send Message URL from Yunzhijia robot settings',
      mattermostModeHint: 'Mattermost only supports Webhook mode (outgoing webhook + bot token).',
      mattermostPostToMain: 'Post replies in channel timeline',
      mattermostPostToMainHint: 'When on, bot replies are new top-level posts in the channel. When off (default), they stay in the thread and the main view only shows “N replies”.',
      modeHint: 'WebSocket is recommended for easier setup',
      consoleTip: 'to get credentials',
      wecomWSEndpointHint: 'Optional. For private WeCom deployments, enter a custom WebSocket address. Leave empty to use the default public cloud endpoint. For internal network addresses, add the hostname to the SSRF_WHITELIST env var.',
      wecomAPIBaseURLHint: 'Optional. For private WeCom deployments, enter a custom API base URL. Leave empty to use the default public cloud endpoint. For internal network addresses, add the hostname to the SSRF_WHITELIST env var.',
      feishuAPIBaseURLHint: 'Optional. Leave empty if the server can reach the internet directly; if a proxy is required to access Feishu, enter the reverse proxy URL (e.g. nginx, http://host:port). For internal network addresses, add the hostname to the SSRF_WHITELIST env var.',
      fileKnowledgeBase: 'File Storage Knowledge Base',
      fileKnowledgeBasePlaceholder: 'Select a knowledge base (optional)',
      fileKnowledgeBaseHint: 'When configured, files sent by users will be automatically saved to this knowledge base',
      sessionMode: 'Session Mode',
      sessionModeUser: 'Per User (default)',
      sessionModeThread: 'Per Thread',
      sessionModeHint: 'User mode: each person has their own conversation. Use /clear to start fresh. Thread mode: each message thread is a separate conversation. Multiple people can collaborate in the same thread.',
      replyLanguage: 'Reply Language',
      replyLanguageDefault: 'Use system default',
      replyLanguageHint: 'Fix the agent reply language for this channel. Leave unset to use the deployment default.',
      wechatScanBind: 'Scan to bind WeChat',
      wechatScanning: 'Scan the QR code with WeChat',
      wechatBindSuccess: 'WeChat bound successfully',
      wechatRebind: 'Rebind',
      wechatHint: 'Requires iOS WeChat 8.0.70+, direct messages only',
      wechatQRExpired: 'QR code expired, please try again',
      wechatBinding: 'Binding...',
      sectionChannel: 'Channel info',
      sectionConnection: 'Connection',
      sectionCredentials: 'Platform credentials',
      selectPlatform: 'Select platform',
      selectPlatformDesc: 'Choose the messaging platform to connect',
      enabled: 'Enable channel',
      stepBasic: 'Basic info',
      stepConnection: 'Connection',
      stepKnowledge: 'File storage',
      stepCredentials: 'Credentials',
      sectionAccess: 'Access & output',
      sectionSession: 'Session',
      sectionCallback: 'Callback URL',
      sectionKnowledge: 'File storage',
      sectionStatus: 'Status'
    },
    agentType: {
      label: 'Agent Type',
      desc: 'Picking a preset auto-fills the system prompt, tool list and recommended KB scope.',
      defaultNamePattern: 'My {label}',
      kbMismatch: {
        ragQa: 'RAG retrieval not enabled',
        wikiQa: 'Wiki not enabled',
        hybridRagWiki: 'No retrieval surface enabled',
        dataAnalysis: 'Requires RAG (FAQ not supported)',
        quickAnswer: 'Quick Answer mode requires RAG retrieval',
        generic: 'Not compatible with current type'
      },
      kbIncompatibleWarn: '{count} selected KB(s) are not compatible with this type, please adjust manually.'
    },
    mcp: {
      label: 'MCP Services',
      desc: 'Select MCP services available to the Agent',
      selectLabel: 'Select MCP Services',
      selectDesc: 'Select MCP services to enable',
      selectPlaceholder: 'Select MCP services',
      authWaitTimeout: 'Authentication Wait Timeout (s)',
      authWaitTimeoutDesc: 'Maximum seconds to wait for you to complete OAuth authentication when prompted during a conversation; the prompt is skipped after it elapses (only affects OAuth MCP services).',
      authWaitTimeoutPlaceholder: 'Default 600 seconds',
      accessLevel: 'Access level',
      accessLevelDesc: 'Whether tools that change data (MCP tools, Wiki writes) run without asking. Read-only leaves them out; confirm asks you each time. MCP tools marked as requiring approval always ask.',
      unavailableService: 'Unavailable service'
    },
    llmCallTimeout: {
      label: 'LLM Call Timeout',
      desc: 'Maximum waiting time for a single LLM call (seconds). Call will be terminated if this time is exceeded',
      hint: 'Leave empty or 0 to use the default (120 seconds)',
      placeholder: 'Enter seconds, recommended range 60-1800'
    },
    imageUpload: {
      navLabel: 'Attachment Upload',
      sectionTitle: 'Attachment Upload',
      sectionDesc: 'Configure image, document, and audio attachments in chat, plus parse rules and related models',
      label: 'Image Upload',
      desc: 'Allow users to upload images in chat for VLM understanding',
      vlmModel: 'VLM Model',
      vlmModelDesc: 'Vision language model for image analysis',
      vlmModelPlaceholder: 'Select VLM model',
      vlmModelRequired: 'VLM model is required when image upload is enabled',
      imageUnderstandingLabel: 'Attachment Image Understanding / Scanned OCR',
      imageUnderstandingDesc: 'For image-only PDFs/PPTs (scanned documents), run VLM OCR when no text can be extracted. Increases parse latency; off by default.',
      ocrMaxPagesLabel: 'Scanned OCR Max Pages',
      ocrMaxPagesDesc: 'Max pages of a scanned document sent to the VLM for OCR. More pages means better coverage but slower and costlier parsing. 0 uses the global default.',
      useGlobalDefault: '0 = global default',
      storageProvider: 'Image Storage',
      storageProviderDesc: 'Storage engine for uploaded images. Leave empty to use system default',
      storageProviderPlaceholder: 'Select storage engine',
      storageDefault: 'System Default',
      notConfigured: 'Not Configured',
      goStorageSettings: 'Go to Storage Settings'
    },
    audioUpload: {
      label: 'Audio Upload',
      desc: 'When enabled, users can upload audio files in conversations. The system will automatically transcribe them using the ASR model.',
      asrModel: 'ASR Model',
      asrModelDesc: 'Speech recognition model for audio transcription. If not configured, audio files will be passed as placeholders.',
      asrModelPlaceholder: 'Select ASR Model'
    },
    chatParser: {
      label: 'Chat Attachment Parsing Policy',
      desc: 'Choose a parser engine per file type for this agent\'s chat attachments.',
      waitTimeoutLabel: 'Attachment Parse Wait Timeout (s)',
      waitTimeoutDesc: 'How long a chat turn waits for still-parsing attachments before proceeding with only the finished ones. Raise for large / scanned files. 0 uses the global default.'
    },
    faq: {
      title: 'FAQ Priority Strategy',
      enableLabel: 'Enable FAQ Priority',
      enableDesc: 'FAQ answers will be prioritized over regular documents, improving response accuracy',
      thresholdLabel: 'Direct Answer Threshold',
      thresholdDesc: 'When the similarity between the question and FAQ exceeds this value, use the FAQ answer directly',
      boostLabel: 'FAQ Score Boost',
      boostDesc: 'Multiply FAQ relevance scores by this factor to rank them higher'
    },
    dataAnalysis: {
      enableLabel: 'Enable Tabular Data Analysis',
      enableDesc: 'When the retrieved chunks come from a CSV/Excel file, ask the LLM to generate a DuckDB SQL query before answering. This adds one extra LLM call and several seconds of latency, so only enable it when you actually need SQL-style analysis.'
    },
    fallback: {
      fixed: 'Fixed Response',
      model: 'Model Generated'
    },
    fileTypes: {
      label: 'Supported File Types',
      desc: 'Restrict selectable file types, leave empty to support all types',
      allTypes: 'All Types',
      pdf: 'PDF Documents',
      word: 'Word Documents (.docx/.doc)',
      textLabel: 'Text',
      text: 'Plain Text Files (.txt)',
      markdown: 'Markdown Documents',
      csv: 'Comma-Separated Value Files',
      excel: 'Excel Spreadsheets (.xlsx/.xls)',
      imageLabel: 'Images',
      image: 'Image Files (.jpg/.jpeg/.png)'
    }
  },
  faqManager: {
    import: {
      recentResult: 'Recent Import Results',
      totalData: 'Total Data',
      success: 'Successful',
      added: 'Added',
      merged: 'Merged',
      partialFailed: 'Partially Failed',
      failed: 'Failed',
      skipped: 'Skipped',
      progressHint: 'Validating and importing FAQ data...',
      downloadReasons: 'Download Reasons',
      appendMode: 'Append Mode',
      replaceMode: 'Replace Mode',
      importing: 'Importing...',
      importDone: 'Import Complete',
      importFailed: 'Import Failed',
      waiting: 'Waiting...',
      importInProgress: 'Import is in progress, please wait for it to complete',
      noFailedRecords: 'No failed records available for download'
    }
  },
  mermaid: {
    diagram: 'Diagram',
    expand: 'Expand',
    zoomIn: 'Zoom In',
    zoomOut: 'Zoom Out',
    reset: 'Reset',
    download: 'Download Image',
    close: 'Close',
    downloading: 'Downloading...'
  },
  ollama: {
    unknown: 'Unknown',
    today: 'Today',
    yesterday: 'Yesterday',
    daysAgo: '{days} days ago'
  },
  datasource: {
    title: 'Data Sources',
    description: 'Configure external data sources to sync content into this knowledge base',
    add: 'Add Data Source',
    empty: 'No data sources configured',
    edit: 'Edit',
    delete: 'Delete',
    deleteConfirm: 'Delete this data source? Synced knowledge will not be removed.',
    deleteSuccess: 'Data source deleted',
    deleteFailed: 'Failed to delete',
    syncNow: 'Sync Now',
    syncTriggered: 'Sync task submitted',
    syncFailed: 'Failed to trigger sync',
    pause: 'Pause',
    resume: 'Resume',
    paused: 'Paused',
    resumed: 'Resumed',
    pauseFailed: 'Failed to pause',
    logs: 'Logs',
    syncModeLabel: 'Sync mode',
    parseModeLabel: 'Parse mode',
    parseMode: {
      inherit: 'Use server setting',
      blocks: 'Blocks (default)',
      export: 'Export (docx)',
    },
    parseModeHint: 'How Feishu cloud documents are parsed. Blocks is faster and keeps in-document attachments; Export converts documents to docx for parsing and keeps images associated with the document.',
    syncMode: {
      incremental: 'Incremental',
      full: 'Full'
    },
    status: {
      active: 'Connected',
      paused: 'Paused',
      error: 'Error'
    },
    createTitle: 'Add Data Source',
    editTitle: 'Edit Data Source',
    nameLabel: 'Name',
    namePlaceholder: 'Enter data source name',
    sectionBasic: 'Basic information',
    testConnection: 'Test Connection',
    testSuccess: 'Connection successful',
    testFailed: 'Connection failed',
    connected: 'Connected',
    connectionFailed: 'Connection failed',
    isRequired: 'is required',
    credentialsLabel: 'credentials',
    gitlab: {
      baseUrl: 'GitLab URL', accessToken: 'Personal access token', projects: 'GitLab projects',
      projectsHint: 'Enter a project ID or namespace path (for example group/project), with optional branch and directories.',
      project: 'Project', projectId: 'Project ID', projectIdPlaceholder: 'For example: 12345 or group/project',
      ref: 'Branch', refPlaceholder: 'Leave empty to use the default branch',
      paths: 'Directories', pathsPlaceholder: 'One directory per line; leave empty to sync the whole project',
      addProject: 'Add project', projectRequired: 'Add at least one GitLab project',
    },
    seafile: {
      baseUrl: 'Seafile URL', apiToken: 'API token',
      apiTokenHint: 'Generate it under "Settings → Web API token" in Seafile; the account only needs read access to the libraries you select, and the token is never sent with file downloads.',
      singleLibraryOnly: 'A data source syncs one library; clear the current library before selecting another.',
      selectionRequired: 'Select at least one library, folder or file',
    },
    resourceHint: 'Select the spaces or folders to sync',
    untitled: 'Untitled',
    resourceLoadFailed: 'Failed to load resources',
    noResources: 'No wiki spaces found',
    noResourcesDesc: 'The app needs wiki access via a group chat to fetch content',
    noResourcesDesc_notion: 'The app needs Notion page access permissions to fetch content',
    retryLoadResources: 'Retry',
    guideStep1: 'Create a group chat in Feishu, then add your app as a bot in the group settings',
    guideStep2: 'Open wiki "Settings" > "Member Settings" > "Add Member", search for the group chat and add it',
    guideStep3: 'Ensure the group chat role is at least "Can Read", then come back and click Retry',
    guideStep1_notion: 'Open the page or database you want to sync in Notion',
    guideStep2_notion: 'Click the "···" menu at the top right, select "Connect to" or "Add connections"',
    guideStep3_notion: 'Search and select your Integration app, then come back and click Retry',
    noResourcesDesc_seafile: 'The token can reach no libraries, or every library is encrypted (encrypted libraries cannot be synced)',
    guideStep1_seafile: 'Sign in to Seafile and confirm the account can read at least one unencrypted library',
    guideStep2_seafile: 'Generate or regenerate the token under "Settings → Web API token"',
    guideStep3_seafile: 'Come back, enter the new token and click Retry',
    permissionDocLink: 'View Feishu wiki permission docs',
    syncScheduleLabel: 'Sync schedule',
    conflictLabel: 'Conflict strategy',
    conflict: {
      overwrite: 'Overwrite',
      skip: 'Skip existing'
    },
    syncDeletions: 'Sync deletions (remove knowledge when deleted at source)',
    createAndSync: 'Create & Sync Now',
    createAndSyncSuccess: 'Data source created and sync task submitted',
    createButSyncFailed: 'Data source created, but failed to trigger sync',
    updateSuccessSyncHint: 'Data source updated. Editing does not start a sync automatically; click Sync to import changes.',
    saveFailed: 'Failed to save',
    step: {
      selectType: 'Select Type',
      credentials: 'Credentials',
      resources: 'Resources',
      strategy: 'Strategy'
    },
    syncHistory: 'Sync History',
    refreshLogs: 'Refresh logs',
    noLogs: 'No sync records yet',
    logStatus: {
      running: 'Syncing',
      success: 'Success',
      partial: 'Partial',
      failed: 'Failed',
      canceled: 'Canceled'
    },
    logMetric: {
      total: 'Total',
      skipped: 'skipped',
      failed: 'failed'
    },
    logSummary: {
      total: 'Runs',
      success: 'Success',
      failed: 'Failed',
      items: 'Items'
    },
    logDetail: {
      startTime: 'Started',
      endTime: 'Finished',
      failedItems: 'Failed documents',
      failedItemsMore: '{n} more failed documents not shown',
      docsFailedSummary: '{n} document(s) failed to sync'
    },
    connector: {
      feishu: 'Feishu',
      lark: 'Lark',
      feishu_drive: 'Feishu Drive',
      lark_drive: 'Lark Drive',
      notion: 'Notion',
      confluence: 'Confluence',
      yuque: 'Yuque',
      dingtalk: 'DingTalk Docs',
      rss: 'RSS / Atom Feed',
      ima: 'Tencent IMA',
      gitlab: 'GitLab',
      seafile: 'Seafile'
    },
    connectorDesc: {
      feishu: 'Sync documents, spreadsheets and files from Feishu Wiki',
      lark: 'Sync documents, spreadsheets and files from Lark Wiki (Feishu international)',
      feishu_drive: 'Sync documents, spreadsheets and files from a Feishu Drive folder',
      lark_drive: 'Sync documents, spreadsheets and files from a Lark Drive folder (Feishu international)',
      notion: 'Sync pages and databases from Notion',
      confluence: 'Sync spaces and pages from Confluence as Markdown',
      yuque: 'Sync documents from Yuque knowledge bases',
      dingtalk: 'Sync online documents from DingTalk knowledge bases',
      rss: 'Sync articles from RSS / Atom feeds',
      ima: 'Sync documents, notes and files from Tencent IMA knowledge bases (AI sessions and video parses are not supported)',
      gitlab: 'Sync files from GitLab projects',
      seafile: 'Sync folders and files from Seafile libraries'
    },
    drive: {
      folderTokenLabel: 'Drive folder token',
      folderTokenPlaceholder: 'Enter a folder_token or a Feishu Drive folder URL',
      folderTokenRequired: 'Please enter a concrete folder_token; the cloud-space root is not supported',
      rootNotSupportedHint: 'The root folder is not paginated and does not return shortcuts; pick a concrete folder',
      load: 'Load',
      shareHint: 'Share the Drive folder with the app’s group first, otherwise the app cannot access it',
      placeholderTitle: 'Load a Drive folder first',
      placeholderDesc: 'Enter a folder_token (or paste a Feishu Drive folder URL) above and click "Load"',
      loadForbiddenHint: 'The app has no access to this folder. Share the folder with the app’s group in Feishu Drive and retry.',
      loadAuthHint: 'App credentials are invalid or missing Drive scopes. Check App ID / App Secret and drive:drive:readonly permissions.',
      loadNotFoundHint: 'folder_token does not exist or has been deleted. Verify the token copied from the Feishu Drive folder URL.',
    },
    field: {
      appId: 'App ID',
      appSecret: 'App Secret',
      clientId: 'Client ID',
      clientSecret: 'Client Secret',
      operatorId: 'Operator Union ID',
      operatorIdHint: 'Reads knowledge bases with this user’s permissions. Obtain it from the DingTalk user details API.',
      integrationToken: 'Integration Token',
      apiToken: 'API Token',
      confluenceEdition: 'Edition',
      confluenceEditionServer: 'Server / Data Center',
      confluenceEditionCloud: 'Cloud',
      confluenceBaseUrl: 'Confluence URL',
      confluenceUsername: 'Username or email',
      confluencePat: 'Server/DC personal access token (PAT)',
      confluencePatHint: 'Optional. When provided, uses Bearer authentication; username and password are not required.',
      confluencePassword: 'Server/DC password',
      confluenceApiToken: 'Cloud API token',
      imaClientId: 'IMA ClientID',
      imaApiKey: 'IMA APIKey',
      baseUrl: 'Base URL (optional)',
      baseUrlHint: 'Leave empty to use the default public cloud address. For private/enterprise deployments or when accessing via reverse proxy, enter your custom address (e.g. https://api-proxy.example.com).',
      feedUrls: 'Feed URLs',
      feedUrlsHint: 'One RSS / Atom feed URL per line; multiple feeds are supported.',
      authHeaders: 'Custom headers (optional)',
      authHeadersHint: 'For private feeds. One per line in "Name: Value" form, e.g. Authorization: Bearer xxxx'
    },
    confluence: {
      cloudFolderLimitation: 'Confluence Cloud cannot list pages stored directly under top-level folders in this space; selecting the whole space still syncs them.'
    },
    comingSoon: 'Coming soon',
    docHint: 'Get credentials at:',
    openDoc: 'Open documentation',
    prereqBarText: 'First time? Click to see Feishu app setup guide',
    prereqBarText_yuque: 'First time? Click to see the Yuque token setup guide',
    prereqStep1Brief_yuque: 'Create a Yuque personal token',
    prereqStep1Desc_yuque: 'Sign in to Yuque → avatar → Settings → Token → New Token',
    prereqStep2Brief_yuque: 'Grant the token required permissions',
    prereqStep2Desc_yuque: 'Check at least repo:read and doc:read (read knowledge base and document content)',
    prereqStep3Brief_yuque: '(Optional) Enter Base URL for enterprise deployments',
    prereqStep3Desc_yuque: 'Leave empty for public cloud; for Yuque Enterprise or self-hosted, enter your company domain.',
    prereqStep1Brief_feishu: 'Create Feishu custom app',
    prereqStep1Desc_feishu: 'Login Feishu Open Platform → Create enterprise custom app',
    prereqStep2Brief_feishu: 'Add bot capability',
    prereqStep2Desc_feishu: 'Open Platform → Your app → Add app capability → Bot',
    prereqStep3Brief_feishu: 'Configure app permissions',
    prereqStep3Desc_feishu: 'Enable wiki:wiki:readonly, drive:drive:readonly, drive:export:readonly, docx:document:readonly permissions',
    prereqStep1Brief_lark: 'Create Lark custom app',
    prereqStep1Desc_lark: 'Login Lark Open Platform → Create enterprise custom app',
    prereqStep2Brief_lark: 'Add bot capability',
    prereqStep2Desc_lark: 'Open Platform → Your app → Add app capability → Bot',
    prereqStep3Brief_lark: 'Configure app permissions',
    prereqStep3Desc_lark: 'Enable wiki:wiki:readonly, drive:drive:readonly, drive:export:readonly, docx:document:readonly permissions',
    prereqStep1Brief_feishu_drive: 'Create Feishu custom app',
    prereqStep1Desc_feishu_drive: 'Login Feishu Open Platform → Create enterprise custom app',
    prereqStep2Brief_feishu_drive: 'Add bot capability',
    prereqStep2Desc_feishu_drive: 'Open Platform → Your app → Add app capability → Bot',
    prereqStep3Brief_feishu_drive: 'Configure app permissions',
    prereqStep3Desc_feishu_drive: 'Enable drive:drive:readonly, drive:export:readonly, docx:document:readonly permissions',
    prereqStep1Brief_lark_drive: 'Create Lark custom app',
    prereqStep1Desc_lark_drive: 'Login Lark Open Platform → Create enterprise custom app',
    prereqStep2Brief_lark_drive: 'Add bot capability',
    prereqStep2Desc_lark_drive: 'Open Platform → Your app → Add app capability → Bot',
    prereqStep3Brief_lark_drive: 'Configure app permissions',
    prereqStep3Desc_lark_drive: 'Enable drive:drive:readonly, drive:export:readonly, docx:document:readonly permissions',
    prereqOpenConsole_yuque: 'Open Yuque Token settings',
    yuqueFolderModeLabel: 'Folder structure',
    yuqueFolderModeToc: 'Mirror the Yuque TOC',
    yuqueFolderModeNone: 'Keep everything flat',
    yuqueFolderModeHint: 'Files documents by their Yuque table-of-contents path. Note: folder moves made in the knowledge base afterwards are overwritten by the Yuque structure the next time that document syncs.',
    yuqueTOCOnly: 'Sync only documents visible in the Yuque TOC',
    yuqueTOCOnlyHint: 'Requires the "Mirror the Yuque TOC" layout. Documents already in the knowledge base are untouched — one the Yuque TOC does not list is simply no longer added, never deleted.',
    dingtalkIngestLabel: 'DingTalk ingestion scope',
    dingtalkIncludeUploadedFiles: 'Ingest uploaded files (docx / pptx / xlsx / pdf)',
    dingtalkIncludeUploadedFilesHint: 'Off by default. When on, Word / PowerPoint / Excel / PDF files uploaded to the selected scope are downloaded and parsed into the knowledge base, up to 64 MiB per file; their text counts towards storage and embedding cost. When off they are simply skipped — the sync log says the switch is not enabled, and copies already in the knowledge base are kept.',
    prereqBarText_dingtalk: 'First time? Click to see the DingTalk app setup guide',
    prereqStep1Brief_dingtalk: 'Create an internal enterprise app',
    prereqStep1Desc_dingtalk: 'Create an internal app in DingTalk Open Platform and copy its Client ID and Client Secret.',
    prereqStep2Brief_dingtalk: 'Grant knowledge base read permissions',
    prereqStep2Desc_dingtalk: 'Grant Wiki.Workspace.Read, Wiki.Node.Read, and Storage.File.Read.',
    prereqStep3Brief_dingtalk: 'Enter the operator Union ID',
    prereqStep3Desc_dingtalk: 'Enter the Union ID of a DingTalk user who can access the target knowledge bases.',
    prereqOpenConsole_dingtalk: 'Open DingTalk Developer Console',
    prereqBarText_ima: 'First time? Click to see the Tencent IMA OpenAPI setup guide',
    prereqStep1Brief_ima: 'Enable IMA agent OpenAPI access',
    prereqStep1Desc_ima: 'Sign in to https://ima.qq.com/agent-interface and apply for OpenAPI access',
    prereqStep2Brief_ima: 'Obtain the ClientID and APIKey',
    prereqStep2Desc_ima: 'Copy the ima-openapi-clientid and ima-openapi-apikey credentials from the agent-interface page',
    prereqStep3Brief_ima: 'Grant the credential access to the target knowledge bases',
    prereqStep3Desc_ima: 'In the IMA client, authorize the credential for the knowledge bases you want to sync; unauthorized bases will not appear in the list',
    prereqOpenConsole_ima: 'Open Tencent IMA OpenAPI console',
    prereqBotBrief: 'Add "Bot" capability to your app',
    prereqBotDesc: 'Open Platform > Add App Capability > Bot > create version and publish',
    prereqPermBrief: 'Grant API permissions',
    prereqOpenConsole: 'Open Feishu Developer Console',
    prereqMemberBrief: 'Add app to wiki via group chat',
    prereqMemberDesc: 'Create group chat > add app as bot > add group chat as wiki member',
    back: 'Back',
    next: 'Next',
    save: 'Save',
    schedule30min: 'Every 30 min',
    schedule1h: 'Every hour',
    schedule6h: 'Every 6 hours',
    schedule12h: 'Every 12 hours',
    schedule24h: 'Daily',
    scheduleHuman: {
      '30min': 'Every 30 min',
      '1h': 'Hourly',
      '6h': 'Every 6 hours',
      '12h': 'Every 12 hours',
      '24h': 'Daily'
    },
    resourceType: {
      wikiSpace: 'Wiki Space',
      docCategory: 'Document Tag',
      book: 'Yuque Book',
      library: 'Seafile Library'
    },
    neverSynced: 'Never synced',
    justNow: 'Just now',
    minutesAgo: '{n}m ago',
    hoursAgo: '{n}h ago',
    daysAgo: '{n}d ago',
    syncError: {
      dingtalk_document_failed: 'DingTalk document could not be read; check access and retry the sync.',
      dingtalk_document_too_large: 'DingTalk file exceeds the 64 MiB download limit; skipped for this sync. Compress or split the file.',
      dingtalk_resource_failed: 'DingTalk resource is unavailable; check access and the saved selection, then retry.',
      deletion_lookup_failed: 'Failed to look up the item before deletion; see server logs',
      deletion_failed: 'Deletion failed; see server logs',
      ingest_failed: 'Ingest failed; see server logs',
      seafile_permission_denied: 'Access to the Seafile file was denied; check the library permissions of the token owner.',
      seafile_not_found: 'The Seafile file no longer exists or was moved; the next sync retries it.',
      seafile_file_too_large: 'The Seafile file exceeds the size limit; raise MAX_FILE_SIZE_MB or shrink the file.',
      seafile_empty_file: 'The Seafile file is empty and was skipped.',
      seafile_source_changed: 'The Seafile file changed while it was being fetched; the next sync retries it.',
      seafile_invalid_response: 'Seafile returned a response that could not be parsed; check the server version and reverse proxy.',
      seafile_ssrf_blocked: 'The Seafile download URL was blocked by the SSRF policy; add the fileserver host to SSRF_WHITELIST.',
      seafile_fetch_failed: 'Failed to fetch the file from Seafile; the next sync retries it.'
    }
  },
  integrations: {
    cli: {
      title: 'WeKnora CLI',
      subtitle: 'Manage knowledge bases and documents, search content, and ask questions from your terminal. Connect scripts and AI tools through the CLI or MCP.',
      docs: 'CLI documentation',
      docsHint: 'Installation and complete command reference',
      quickstart: 'Quick start',
      installTitle: 'Install the CLI',
      installDesc: 'Build from source with Git and Go 1.26+. This macOS / Linux example updates PATH for the current terminal only. For regular use, place the binary in a directory on PATH.',
      connectTitle: 'Connect to this server',
      connectDesc: 'Create and activate a profile named weknora, then sign in with your email and password. If that profile already exists, choose another name and update the MCP example to match.',
      verifyTitle: 'Verify the connection',
      verifyDesc: 'Check server and authentication status, then list the knowledge bases your account can access.',
      commandsTitle: 'Common commands',
      commandsDesc: 'Replace KB_ID with a knowledge base ID and adapt the file path, query, and question. Uploaded documents must finish processing before they can be searched.',
      mcpTitle: 'Connect an MCP client',
      mcpDesc: 'After signing in, add this configuration to an MCP client that supports stdio. If the client cannot find weknora, set command to the absolute path of the binary.',
      copy: 'Copy',
      copied: 'Copied',
    },
    title: 'Publish & Integrations',
    mcpserver: {
      title: 'MCP Server',
      subtitle: 'Publish this workspace as an MCP server that Claude Desktop, Cursor, Claude Code and other MCP clients connect to directly. Each endpoint has its own token, knowledge-base scope and tool list.',
      listTitle: 'Published endpoints',
      empty: 'No MCP endpoints yet',
      disabled: 'Disabled',
      cardSummary: '{tools} tools · {scope}',
              scopeAll: 'All knowledge bases',
      scopeCount: '{count} knowledge bases',
      create: 'New endpoint',
      editTitle: 'Edit MCP endpoint',
      createTitle: 'New MCP endpoint',
      drawerDesc: 'The endpoint decides which knowledge bases a client can see and which tools it can call. The token is shown once, on creation and rotation.',
      sectionBasic: 'Basics',
      nameLabel: 'Name',
      namePlaceholder: 'e.g. Product docs assistant',
      descriptionLabel: 'Description',
      descriptionPlaceholder: 'Optional: who uses this endpoint and for what',
      enabledLabel: 'Enabled',
      sectionScope: 'Knowledge-base scope',
      kbScopeLabel: 'Accessible knowledge bases',
      kbScopePlaceholder: 'Leave empty for every knowledge base in the workspace',
      kbScopeHint: 'Every retrieval, ask and write tool is confined to these knowledge bases. Empty means the whole workspace.',
      sectionTools: 'Exposed tools',
      toolsHint: 'Only checked tools appear in the client tool list; unchecked tools are refused even when called by name. Write tools are off by default.',
      clearGroup: 'Clear',
      selectGroup: 'Select all',
      toolsRequired: 'Select at least one tool',
      groups: {
        retrieve: 'Retrieval & reading',
        chat: 'Question answering',
        wiki: 'Wiki',
        ingest: 'Writes (enable with care)',
      },
      tools: {
        list_knowledge_bases: 'List knowledge bases',
        list_knowledge_basesDesc: 'Return the knowledge bases in scope and the retrieval modes each supports',
        search_knowledge: 'Semantic search',
        search_knowledgeDesc: 'Find relevant passages for a natural-language question, with sources',
        grep_chunks: 'Keyword / regex search',
        grep_chunksDesc: 'Case-insensitive regex over raw chunks; best for exact terms, codes and names',
        list_documents: 'List documents',
        list_documentsDesc: 'Page through the documents of one knowledge base',
        read_document: 'Read document',
        read_documentDesc: 'Read a document\'s metadata and its chunks in order',
        ask: 'Ask',
        askDesc: 'Run the agent configured on this endpoint and return a cited answer; supports follow-up turns',
        wiki_search: 'Search wiki',
        wiki_searchDesc: 'Search the generated wiki pages',
        wiki_read_page: 'Read wiki page',
        wiki_read_pageDesc: 'Read one wiki page by slug',
        wiki_index: 'Browse wiki index',
        wiki_indexDesc: 'Show the table of contents of a knowledge base wiki',
        add_document: 'Add document',
        add_documentDesc: 'Add a document from Markdown text or a URL',
        update_document: 'Update document',
        update_documentDesc: 'Replace the content or title of a Markdown document',
        delete_document: 'Delete document',
        delete_documentDesc: 'Permanently delete a document and its index data',
      },
      sectionAsk: 'Ask settings',
      defaultAgentLabel: 'Default agent',
      defaultAgentPlaceholder: 'Built-in quick answer when empty',
      defaultAgentHint: 'The agent the ask tool runs. Clients cannot choose an agent themselves; empty means the built-in quick answer.',
      sectionLimits: 'Rate limit',
      rateLimitLabel: 'Max calls per minute',
      rateLimitHint: 'Applies to all tool calls on this endpoint; clients get a rate-limit error above it.',
      sectionConnect: 'Connection',
      stepConfig: 'Configure',
      stepConnect: 'Connect',
      snippetsLabel: 'Client configuration',
      connectHintExisting: 'The token was shown once at creation (current token starts with {hint}…). Rotate the token to get a new one.',
      tokenDialogTitle: 'Endpoint ready, save the token',
      connectDialogTitle: 'Connect to this endpoint',
      tokenOnce: 'This token is shown only once. Copy it now and store it somewhere safe.',
      connectPlaceholderHint: 'For security the token is not shown again; the examples below use a placeholder you must replace with the token you saved.',
      tokenLabel: 'Token',
      urlLabel: 'Endpoint URL',
      snippet: {
        httpTitle: 'Streamable HTTP',
        httpDesc: 'Cursor can use this JSON. For VS Code, use the separate VS Code tab. Claude Desktop needs a reachable HTTPS URL and a custom connector with No sign-in and Request headers, when available; otherwise use the STDIO fallback.',
        vscodeTitle: 'VS Code',
        vscodeDesc: 'Paste this JSON into .vscode/mcp.json in your workspace. If the file already contains servers, merge this entry into its servers object.',
        claudeCodeTitle: 'Claude Code',
        claudeCodeDesc: 'One command in the terminal.',
        stdioTitle: 'STDIO fallback',
        stdioDesc: 'For clients or configurations without native HTTP/Bearer support, including Claude Desktop without Request headers. Requires Node.js.',
      },
      loadFailed: 'Failed to load MCP endpoints',
      nameRequired: 'Name is required',
      updated: 'Endpoint updated',
      created: 'Endpoint created',
      saveFailed: 'Save failed',
      deleted: 'Endpoint deleted',
      deleteFailed: 'Delete failed',
      rotated: 'Token rotated; the old token stopped working',
      rotateFailed: 'Failed to rotate token',
      disabledToast: 'Endpoint disabled',
      enabledToast: 'Endpoint enabled',
      menuConnect: 'Connection info',
      menuDisable: 'Disable',
      menuEnable: 'Enable',
      menuRotate: 'Rotate token',
      copied: 'Copied',
      deleteConfirm: 'Clients using this endpoint disconnect immediately. Delete it?',
    },
    tabs: {
      im: 'IM Integration',
      embed: 'Web Embed',
      api: 'API Integration',
      chrome: 'Chrome Extension',
      cli: 'CLI',
      claw: 'Claw Skill',
      mcpserver: 'MCP Server'
    },
    api: {
      title: 'API Integration',
      subtitle: 'Integrate via REST API and configure how requests identify end users.',
      loading: 'Loading API integration settings...',
      retry: 'Retry',
      copy: 'Copy',
      copySuccess: 'Copied',
      baseUrl: 'API Base URL',
      baseUrlDesc: 'Use this base URL with REST API paths.',
      apiKeys: 'API Keys',
      apiKeysDesc: 'Create separate keys per integration and restrict operation permissions plus knowledge-base access.',
      createApiKey: 'Create API Key',
      createApiKeyDialogDesc: 'Choose capabilities and the knowledge-base scope this key may use.',
      noApiKeys: 'No API keys',
      apiKeyName: 'Name',
      apiKeyValue: 'API Key',
      apiKeyNamePlaceholder: 'Example: MCP read-only access',
      apiKeyNameRequired: 'Enter an API key name',
      apiKeyCapabilitiesRequired: 'Select at least one capability for a scoped API key',
      apiKeyAccessMode: 'Access mode',
      apiKeyScopedAccess: 'Scoped access',
      apiKeyAccessType: 'Access type',
      apiKeyAccessTypeHint: '"Knowledge base" operates within the KB scope at the permission level below; "Workspace full" additionally unlocks every workspace-level API such as models and data sources.',
      apiKeyCapabilities: 'Capabilities',
      apiKeyCapabilityGroupKnowledge: 'Knowledge-base data',
      apiKeyCapabilityGroupAutomation: 'Agents and integrations',
      apiKeyCapabilityGroupCollaboration: 'Members and spaces',
      apiKeyCapabilityGroupTenant: 'Workspace configuration',
      apiKeyCapabilitySelectGroup: 'Select all',
      apiKeyCapabilityClearGroup: 'Clear',
      capabilityTenantFull: 'Workspace full access',
      capabilityTenantFullHint: 'Allow every workspace-level API, including models, vector stores, data sources and channels. Knowledge-base scope does not apply.',
      capabilityRetrieve: 'Retrieve knowledge bases',
      capabilityRetrieveHint: 'Read, query, and search data inside the selected knowledge-base scope. Does not create sessions or modify content.',
      capabilityChat: 'Chat',
      capabilityChatHint: 'Let this key hold conversations and manage its own sessions. Does not modify knowledge-base content.',
      capabilityReadAgents: 'Read agents',
      capabilityReadAgentsHint: 'List agents, read agent details, presets, and suggested questions. Does not allow chat or agent edits.',
      capabilityIngest: 'Write KB content',
      capabilityIngestHint: 'Let this key write content into its allowed knowledge bases (upload documents, edit chunks/FAQ/tags/wiki). It cannot create knowledge bases or agents, cannot clear a knowledge base, and stays bounded to the selected knowledge bases.',
      capabilityManageKbs: 'Manage knowledge bases',
      capabilityManageKbsHint: 'Let this key manage the full knowledge-base lifecycle: create, copy, update, and delete knowledge bases and change their initialization/configuration. Operations on existing knowledge bases (copy/update/delete) stay bounded by the selected scope; creating a new knowledge base is unrestricted (the new KB belongs to this space).',
      capabilityManageAgents: 'Manage agents',
      capabilityManageAgentsHint: 'Let this key create, update, delete and copy agents. Agent config can carry sensitive model/MCP bindings, so this is off by default — enable only when needed.',
      capabilityMessageHistory: 'Message history',
      capabilityMessageHistoryHint: 'Let this key search workspace chat history and read chat-history stats. It does not grant workspace configuration access.',
      capabilityManageModels: 'Manage models',
      capabilityManageModelsHint: 'Manage model definitions, credentials, connectivity checks, and WeKnoraCloud credentials.',
      capabilityManageMcpServices: 'Manage MCP services',
      capabilityManageMcpServicesHint: 'Manage MCP services, credentials, tool approval policies, and OAuth state for this principal.',
      capabilityManageDatasources: 'Manage data sources',
      capabilityManageDatasourcesHint: 'Manage data-source connectors, credentials, resource selection, and sync jobs. Knowledge-base scope still applies when a source is bound to a KB.',
      capabilityManageChannels: 'Manage channels',
      capabilityManageChannelsHint: 'Manage agent embed channels, IM channels, and WeChat QR binding flows.',
      capabilityManageVectorStores: 'Manage retrieval infrastructure',
      capabilityManageVectorStoresHint: 'Manage vector-store configuration plus parser, document reader, and storage engine connectivity checks.',
      capabilityManageStorageBackends: 'Manage storage backends',
      capabilityManageStorageBackendsHint: 'Manage object/file storage backend instances (e.g. S3-compatible or local file storage): their CRUD lifecycle, connectivity tests, and the workspace default selection.',
      capabilityManageWebSearch: 'Manage web search',
      capabilityManageWebSearchHint: 'Manage web-search provider configurations, credentials, and connection tests.',
      capabilityRunEvaluations: 'Run evaluations',
      capabilityRunEvaluationsHint: 'Run evaluation jobs and read evaluation results.',
      capabilityManageMembers: 'Manage members',
      capabilityManageMembersHint: 'List and manage workspace members, roles, invitations, and invite links. Does not include API key management, workspace deletion, or ownership transfer.',
      capabilityManageSpaces: 'Manage spaces',
      capabilityManageSpacesHint: 'Manage organization spaces, join flows, space membership, invitations, and shared-space visibility. Does not grant KB or agent share management.',
      capabilityManageTenantSettings: 'Manage workspace settings',
      capabilityManageTenantSettingsHint: 'Read and update workspace-level integration settings such as API end-user identity mode, request header configuration, and workspace KV settings. Does not include API key management, member management, workspace deletion, or ownership transfer.',
      apiKeyKnowledgeScope: 'Knowledge bases',
      apiKeyKnowledgeScopePlaceholder: 'Leave empty to allow all knowledge bases',
      allKnowledgeBases: 'All knowledge bases',
      editApiKeyScope: 'Edit API key',
      editApiKeyScopeDesc: 'Change the name and authorization scope of API key "{name}".',
      editApiKeyScopeHint: 'Leave empty to allow all knowledge bases in this workspace. All changes take effect immediately.',
      updateApiKeyScopeSuccess: 'API key updated',
      updateApiKeyScopeFailed: 'Failed to update API key',
      createdAt: 'Created',
      actions: 'Actions',
      deleteApiKey: 'Delete',
      deleteApiKeyConfirm: 'After deletion this API key is revoked immediately and deployed integrations using it will stop working.',
      deleteApiKeySuccess: 'API key deleted',
      deleteApiKeyFailed: 'Failed to delete API key',
      createApiKeyFailed: 'Failed to create API key',
      loadApiKeysFailed: 'Failed to load API keys',
      apiKeyCreated: 'API key created',
      principalMode: 'User identity mode',
      principalModeDesc: 'Choose how API requests identify the end user. This identity scopes both conversation sessions and MCP tool authorization per user.',
      principalScope: 'End-user identity isolates sessions and MCP OAuth. Operation permissions and knowledge-base scope are controlled by API Keys above.',
      modeTenant: 'Workspace only',
      modeDirect: 'Direct user ID',
      modeSigned: 'Signed token',
      directWarning: 'Direct user ID trusts the caller-supplied header. Use only for trusted server-to-server calls.',
      directWarningDetail: 'Anyone with the API key can change the user ID header to impersonate another external user and reuse or hijack that user\'s MCP OAuth authorization. Do not use this from browsers or untrusted clients; use Signed token for end-user apps.',
      signedRecommended: 'Recommended for user-facing apps: your backend signs a short-lived HS256 JWT for the external user.',
      signedFlowDetail: 'Keep the HMAC secret only on WeKnora and your trusted backend—never put it in requests or ship it to browsers. The request header carries the JWT string signed with that secret (it changes on each issuance or after expiry), not the secret itself. JWT must include sub (external user ID), tenant_id, aud=weknora, and exp (max 24h lifetime).',
      directHeader: 'User ID header',
      requireDirectHeader: 'Require user ID header',
      requireDirectHeaderDesc: 'When enabled, API Key requests without the user ID header are rejected; when disabled, all requests are treated as the whole workspace with no per-user distinction.',
      tokenHeader: 'Token header',
      tokenHeaderDesc: 'Clients send the backend-signed JWT in this fixed header.',
      hmacSecret: 'HMAC secret',
      hmacSecretDesc: 'Same secret stored in WeKnora; used only on your backend to sign JWTs—never send it as a request header.',
      secretConfigured: 'Secret configured (not shown again); enter a new value to rotate',
      secretSavedCopyHint: 'Secret saved. Copy it to your backend now — you will not be able to view it again after leaving this page.',
      generateSecret: 'Generate secret',
      hmacSecretResetConfirmTitle: 'Reset HMAC secret?',
      hmacSecretResetConfirmBody: 'After reset, the old HMAC secret is revoked immediately. Every backend service signing JWTs with the old secret must switch to the new secret to keep signed-token calls working. This action cannot be undone.',
      hmacSecretResetConfirmOk: 'Reset',
      hmacSecretResetConfirmCancel: 'Cancel',
      tokenSignExample: 'Backend JWT signing example (Go)',
      signedRequestStep0: '# 0. Sign JWT on your backend (HS256, aud=weknora, sub=user id, tenant_id={tenantId}, exp<=24h)',
      signedRequestStep0Hint: '#    Put the JWT in {headerName} — not the HMAC secret',
      requestExampleCreateSession: '# 1. Create a session',
      requestExampleAgentChat: '# 2. Agent chat (SSE; replace <session_id> with the id from step 1)',
      requestExampleJwtPlaceholder: '<JWT signed by your backend>',
      requestExample: 'Request example',
      playgroundTitle: 'API Playground',
      playgroundDesc: 'Send real requests with the current API key and identity mode to verify session creation, agent chat, and SSE output.',
      playgroundOpen: 'Open Playground',
      playgroundDrawerDesc: 'Debug sessions, Agent Chat, and SSE output using the real API integration flow',
      playgroundSectionRequest: 'Request setup',
      playgroundSectionPreview: 'Request preview',
      playgroundSectionResult: 'Run result',
      playgroundAgent: 'Test agent',
      playgroundAgentPlaceholder: 'Select an agent to test',
      playgroundBuiltin: 'Built-in',
      playgroundAgentsLoadFailed: 'Failed to load agents',
      playgroundExternalUser: 'External user ID',
      playgroundExternalUserPlaceholder: 'user_123',
      playgroundTenantModeHint: 'Workspace-only mode does not send an external user identity; all API sessions use the same workspace-level principal.',
      playgroundDirectModeHint: 'This user ID is sent with the {headerName} header.',
      playgroundSignedModeHint: 'Signed-token mode uses the JWT sub as the external user. The playground signs a short-lived test JWT for this user ID.',
      playgroundQuestion: 'Test question',
      playgroundQuestionPlaceholder: 'Enter a question to send to the agent',
      playgroundRequestPreview: 'Request preview (secrets masked)',
      playgroundRun: 'Run test',
      playgroundStop: 'Stop',
      playgroundNeedApiKey: 'This workspace has no API key.',
      playgroundNeedAgent: 'Select a test agent.',
      playgroundNeedQuestion: 'Enter a test question.',
      playgroundNeedExternalUser: 'Enter an external user ID.',
      playgroundMintTokenFailed: 'Failed to create a short-lived test JWT.',
      playgroundMissingSessionId: 'Session creation succeeded, but the response did not include a session id.',
      playgroundNoStream: 'The chat API did not return a readable SSE stream.',
      playgroundGeneratedToken: 'Generated test token',
      playgroundStepSession: 'Step 1: Create Session',
      playgroundStepChat: 'Step 2: Agent Chat SSE',
      playgroundFinalAnswer: 'Extracted answer',
      playgroundEmptyResult: 'Run a test to show the session response, raw SSE output, and extracted answer here.',
      playgroundSuccess: 'Test completed ({ms}ms)',
      playgroundStopped: 'Test stopped',
      playgroundFailed: 'API Playground test failed',
      loadFailed: 'Failed to load API integration settings',
      saveFailed: 'Failed to save API integration settings',
      saveSuccess: 'API integration settings saved',
      autoSaveNeedSecret: 'Signed-token mode needs an HMAC secret before auto-save can run.'
    },
    selectAgentPlaceholder: 'Choose an agent',
    selectAgentHint: 'Please select an agent first',
    boundAgent: 'Bound agent',
    filterByAgent: 'Filter by agent',
    filterByAgentWithName: 'Filter by agent: {name}',
    filterAllAgents: 'All agents',
    imOverview: {
      title: 'Connected IM channels'
    },
    embedOverview: {
      title: 'Web embed channels'
    },
    agentEditor: {
      label: 'Publish channels',
      desc: 'Publish this agent to IM platforms or websites. Manage in Integrations.'
    },
    chrome: {
      title: 'Knowledge Assistant',
      subtitle: 'For self-hosted WeKnora: ask questions in a sidebar, clip web pages, and save Markdown notes into your knowledge bases while you browse.',
      capabilitiesTitle: 'Core capabilities',
      capabilities: {
        qa: {
          title: 'Knowledge-base Q&A',
          desc: 'Sidebar chat with multi-KB switching and fast/deep/precise answer modes—ask without leaving the page.'
        },
        clip: {
          title: 'One-click web capture',
          desc: 'Save page URLs, AI-extract main content, or manually select regions into a target knowledge base.'
        },
        notes: {
          title: 'Markdown quick notes',
          desc: 'Built-in Markdown editor for ideas and notes, saved to your knowledge base in one click.'
        },
        shortcuts: {
          title: 'Keyboard shortcuts',
          desc: 'Customize shortcuts to ask questions, open the sidebar, and speed up daily workflows.'
        }
      },
      scenarios: {
        research: 'Daily research',
        learning: 'Study notes',
        tech: 'Technical references',
        work: 'Work knowledge'
      },
      stepsTitle: 'Setup steps',
      steps: {
        api: {
          title: 'Get API credentials',
          desc: 'Copy your API Key and base URL from Settings → API Info.'
        },
        port: {
          title: 'Desktop: fixed port (recommended)',
          desc: 'On WeKnora Desktop, set a fixed API port (e.g. 37841) in API Info so the URL stays stable across restarts.'
        },
        install: {
          title: 'Install the extension',
          desc: 'Install “Knowledge Assistant” from the Chrome Web Store.'
        },
        connect: {
          title: 'Connect in the extension',
          desc: 'Open extension settings, choose enterprise/developer mode, and enter the service API URL and API Key. Your current API URL is shown below.'
        }
      },
      openApiSettings: 'Open API Info',
      copy: 'Copy',
      copySuccess: 'API URL copied',
      installCta: 'Chrome Web Store',
      installCtaHint: 'Official extension · opens in a new tab',
      storeMeta: 'Chrome Web Store · v1.0.0'
    },
    claw: {
      title: 'WeKnora Skill',
      subtitle: 'Import documents and run hybrid retrieval (vector + keyword) via the WeKnora REST API—for uploads, URL imports, Markdown entries, and cross-KB search.',
      capabilitiesTitle: 'Skill capabilities',
      capabilities: {
        upload: {
          title: 'Upload files',
          desc: 'Upload PDF, Word, Excel, and more; automatic parsing and vectorization.'
        },
        url: {
          title: 'Import URLs',
          desc: 'Fetch web pages by URL into a knowledge base with parse-status polling.'
        },
        manual: {
          title: 'Write Markdown',
          desc: 'Create or edit knowledge entries as Markdown—ideal for meeting notes.'
        },
        search: {
          title: 'Hybrid search',
          desc: 'Per-KB hybrid-search and cross-KB knowledge-search combining vector and keyword recall.'
        },
        browse: {
          title: 'Browse knowledge',
          desc: 'List knowledge bases and entries, view details, and manage imported content.'
        }
      },
      stepsTitle: 'Setup steps',
      steps: {
        api: {
          title: 'Get API credentials',
          desc: 'Copy API Key and base URL from Settings → API Info.'
        },
        env: {
          title: 'Configure environment',
          desc: 'Set WEKNORA_BASE_URL and WEKNORA_API_KEY in your shell or ~/.zshrc / ~/.bashrc. The example below uses your current API base URL—replace the API Key with your actual value.'
        },
        install: {
          title: 'Install the skill',
          desc: 'Run the command below in an environment with the OpenClaw CLI installed, or follow the ClawHub page instructions.'
        },
        verify: {
          title: 'Verify connection',
          desc: 'Ask the agent to list knowledge bases or run a search to confirm credentials and connectivity.'
        }
      },
      openApiSettings: 'Open API Info',
      copy: 'Copy',
      copyEnvSuccess: 'Environment example copied',
      copyCmdSuccess: 'Install command copied',
      ecosystemNote: 'Skill hosted on ClawHub ({\'@\'}lyingbug/weknora). See the ClawHub page for full API docs and version history.',
      installCta: 'Open ClawHub',
      installCtaHint: 'Install WeKnora Skill · opens in a new tab',
      hubMeta: 'ClawHub · {\'@\'}lyingbug/weknora · MIT-0'
    }
  },
  credential: {
    configured: 'Configured',
    unconfigured: 'Not configured',
    configure: 'Configure',
    update: 'Replace',
    remove: 'Remove',
    inputPlaceholder: 'Enter value',
    savedToast: 'Credential saved',
    saveFailed: 'Failed to save credential',
    removedToast: 'Credential removed',
    removeFailed: 'Failed to remove credential',
    confirmRemovePrompt: 'Remove this credential? This cannot be undone.',
    confirmRemove: 'Confirm remove'
  },
  userProfile: {
    title: 'User Profile',
    description: 'View your account info (user ID, username, email, registration time) and change your password.',
    changePassword: {
      label: 'Change password',
      description: 'Verify your current password, then set a new one. All signed-in sessions will be revoked and you will need to sign in again.',
      currentLabel: 'Current password',
      currentPlaceholder: 'Enter your current password',
      currentRequired: 'Enter your current password',
      newLabel: 'New password',
      newPlaceholder: 'Enter new password',
      confirmLabel: 'Confirm new password',
      confirmPlaceholder: 'Enter the new password again',
      submit: 'Update password',
      success: 'Password updated. Please sign in with your new password.',
      failed: 'Failed to change password. Check that your current password is correct.',
      policyFailed: 'New password must be 8-32 characters and include letters and numbers',
      sameAsCurrent: 'New password must differ from your current password',
      oidcOnlyDescription: 'Your account was created via OIDC sign-in and has no known local password yet.',
      oidcOnlyNotice: 'Ask a system administrator to reset your password, or keep signing in with OIDC. Self-service change requires your current password.',
    },
  },
  tenantMember: {
    title: 'Members',
    sectionDescription: 'Invite teammates to the workspace and manage their roles. Only Owner can add or remove members.',
    learnRbacGuide: 'Learn about RBAC',
    listTitle: 'Workspace members',
    loading: 'Loading members…',
    retry: 'Retry',
    empty: 'No members yet. Invite a teammate to get started.',
    emptySearch: 'No members match "{q}".',
    searchPlaceholder: 'Search by name or email',
    permissions: {
      title: 'Role permissions',
      desc: 'What each role can do inside this workspace. Server-enforced; UI controls reflect the rules but are not the source of truth.',
      iconHint: 'Hover to view role permission details',
      manageMembers: 'Manage members',
      manageTenantConfig: 'Edit workspace settings',
      manageInfra: 'Configure models / vector stores / IM channels',
      createOwnKB: 'Create and edit own KBs and agents',
      readAll: 'Read workspace content'
    },
    columns: {
      member: 'Name & email',
      role: 'Role',
      joinedAt: 'Joined',
      operations: 'Actions'
    },
    role: {
      owner: 'Owner',
      admin: 'Admin',
      contributor: 'Contributor',
      viewer: 'Viewer'
    },
    add: {
      button: 'Add Member',
      dialogTitle: 'Invite Member',
      emailLabel: 'Email',
      emailPlaceholder: 'invitee{\'@\'}example.com',
      roleLabel: 'Role'
    },
    remove: {
      button: 'Remove',
      confirmBody: 'Are you sure you want to remove {name} from this workspace? They will lose access immediately.',
      confirm: 'Remove',
      success: 'Member removed'
    },
    leave: {
      confirmTitle: 'Leave this workspace?',
      confirmBody: 'You will lose access to all knowledge bases and agents in this workspace. You can be re-invited later.',
      confirm: 'Leave',
      success: 'You have left the workspace'
    },
    roleChange: {
      success: 'Role updated'
    },
    errors: {
      emailRequired: 'Email is required',
      emailFormat: 'Invalid email address',
      roleRequired: 'Role is required',
      userNotFound: 'No registered user with this email. Ask them to sign up first.',
      lastOwner: 'Cannot demote, remove, or leave as the last Owner. Promote another member to Owner first.',
      notFound: 'Membership not found.',
      invalidRole: 'Role must be one of owner / admin / contributor / viewer.',
      generic: 'Something went wrong. Please try again.'
    },
    audit: {
      tabLabel: 'Audit log',
      description: 'Records every membership change and access denial in this workspace. Newest first. Repeated denials within a minute are deduplicated.',
      refresh: 'Refresh',
      end: 'End of log.',
      empty: 'No audit events yet.',
      forbidden: 'You do not have permission to view the audit log.',
      systemActor: 'System',
      requiredRole: 'Required role: {role}',
      columns: {
        time: 'Time',
        actor: 'Actor',
        action: 'Action',
        target: 'Target',
        path: 'Request',
        outcome: 'Outcome'
      },
      action: {
        'rbac.member_added': 'Member added',
        'rbac.member_removed': 'Member removed',
        'rbac.member_role_changed': 'Role changed',
        'rbac.member_left': 'Member left',
        'rbac.access_denied': 'Access denied',
        'rbac.invitation_sent': 'Invitation sent',
        'rbac.invitation_accepted': 'Invitation accepted',
        'rbac.invitation_declined': 'Invitation declined',
        'rbac.invitation_revoked': 'Invitation revoked',
        'rbac.invitation_expired': 'Invitation expired'
      },
      outcome: {
        success: 'Success',
        denied: 'Denied'
      },
      expanded: {
        actorId: 'Actor ID',
        targetUserId: 'Target user ID',
        targetType: 'Target type',
        targetId: 'Target ID',
        details: 'Raw details'
      }
    }
  },
  tenantInvitation: {
    inboxTooltip: 'View pending invitations',
    pendingSectionTitle: 'Pending invitations',
    pendingSectionDesc: 'Awaiting the invitee to accept in their inbox. Auto-expires after {days} days.',
    pendingEmpty: 'No pending invitations.',
    inviteSubmit: 'Send invitation',
    inviteSuccess: 'Invitation sent. Waiting for the invitee to accept.',
    confirmInviteTitle: 'Send invitation?',
    confirmInviteBody: 'Send an invitation to {email} (role: {role}). They will join the workspace only after accepting.',
    confirmSend: 'Send',
    copyLink: 'Copy invite link',
    copied: 'Copied to clipboard',
    copyFailed: 'Copy failed; please select the text manually',
    shareLink: {
      button: 'Generate share link',
      cellTitle: 'Invite via link',
      cellAccepted: '{count} joined',
      cellEmpty: 'No one has joined yet',
      dialogTitle: 'Generate share invitation link',
      description: 'Generate a multi-use registration link you can drop in a group chat. Anyone who opens it registers with their own email and joins this workspace. Expires in {days} days, or revoke it any time from the list.',
      generate: 'Generate link',
      resultTitle: 'Invitation link ready',
      resultBody: 'Copy the link below and share it via any private channel. It\'s also saved in the list — you can re-copy or revoke it later.',
      revokeConfirm: 'Revoking will block anyone who hasn\'t registered yet from using this link. Generate a new one to re-share.'
    },
    revoke: {
      button: 'Revoke',
      confirmBody: 'After revoke, {email} can no longer accept this invitation. You can send a new one if needed.',
      confirm: 'Revoke',
      success: 'Invitation revoked.'
    },
    columns: {
      invitee: 'Invitee',
      role: 'Role',
      inviter: 'Inviter',
      expiresAt: 'Expires',
      status: 'Status',
      operations: 'Actions'
    },
    status: {
      pending: 'Pending',
      shareLinkActive: 'Active',
      accepted: 'Accepted',
      declined: 'Declined',
      revoked: 'Revoked',
      expired: 'Expired'
    },
    myInbox: {
      title: 'My invitations',
      description: 'Invitations from other workspaces. Accept to join with the assigned role.',
      empty: 'No pending invitations.',
      acceptButton: 'Accept',
      declineButton: 'Decline',
      acceptSuccess: 'Joined "{tenant}".',
      declineSuccess: 'Invitation declined.',
      from: 'From',
      tenantLabel: 'Workspace',
      expiresIn: 'Expires: {date}',
      messageLabel: 'Message'
    },
    errors: {
      pendingExists: 'A pending invitation for this user already exists.',
      alreadyMember: 'This user is already an active member of the workspace.',
      notPending: 'The invitation is no longer pending.',
      forbidden: 'Only the invitee can accept or decline this invitation.',
      notFound: 'Invitation not found or already withdrawn.',
      generic: 'Something went wrong. Please try again.'
    }
  },
  platformApiKeys: {
    title: 'Platform API Keys',
    description: 'Create platform credentials for cross-workspace automation. Use X-Tenant-ID for workspace APIs.',
    securityNotice: 'Platform API keys can target any workspace. Grant only required capabilities; plaintext is shown once.',
    create: 'Create platform API key',
    createDescription: 'Platform keys are not bound to a workspace; capabilities still limit every operation.',
    loading: 'Loading…',
    empty: 'No platform API keys',
    name: 'Name',
    namePlaceholder: 'For example: central operations automation',
    key: 'Key',
    capability: 'Capabilities',
    capabilityMore: '+{count}',
    viewAllCapabilities: 'View all capabilities',
    capabilityHint: 'Workspace capabilities apply to the X-Tenant-ID target; system capabilities apply to control-plane APIs.',
    lastUsed: 'Last used',
    createdAt: 'Created',
    actions: 'Actions',
    never: 'Never',
    systemCapabilityGroup: 'Platform control plane',
    capabilities: {
      tenantsRead: 'Read workspaces',
      tenantsManage: 'Manage workspaces',
      settingsRead: 'Read system settings',
      settingsManage: 'Manage system settings',
      runtimeRead: 'Read runtime',
      runtimeManage: 'Manage runtime',
      auditRead: 'Read system audit'
    },
    capabilityHints: {
      tenantsRead: 'List, search, and inspect every workspace.',
      tenantsManage: 'Create, update, delete workspaces and apply global workspace settings.',
      settingsRead: 'Read platform runtime settings.',
      settingsManage: 'Update and reset platform runtime settings.',
      runtimeRead: 'Inspect task queues and task details.',
      runtimeManage: 'Retry, run, cancel, or delete runtime tasks.',
      auditRead: 'Read platform audit events.'
    },
    createdTitle: 'Platform API key created',
    createdDescription: 'Copy and store this key now. The full value will not be shown again.',
    copy: 'Copy key',
    copySuccess: 'Key copied',
    deleteConfirm: 'Delete “{name}”? Automation using this key will stop immediately.',
    deleteSuccess: 'Platform API key deleted',
    deleteFailed: 'Failed to delete platform API key',
    nameRequired: 'Enter a name',
    capabilityRequired: 'Select at least one capability',
    loadFailed: 'Failed to load platform API keys',
    createFailed: 'Failed to create platform API key'
  },
  // Display text for the observed image attributes, keyed by attribute name.
  // Attribute names escape their dots (contain.text → contain_text) because
  // vue-i18n walks a key segment by segment on the dots, so a literal
  // 'contain.text' key would never resolve. An attribute without a translation
  // falls back to the registry's own wording.
  //
  // Every value carries a short label for compact controls (a filter
  // checkbox) and a description for wherever there is room (a tooltip). One
  // bundle therefore serves both the settings panel and the image gallery,
  // including the gallery's fallback for attributes it does not declare.
  imageAttr: {
    contain_text: {
      label: 'Text in the image',
      description: 'How much body text the picture itself carries. Decides whether reading its text is worth a separate OCR pass.',
      values: {
        none: { label: 'None', description: 'no text at all' },
        sparse: { label: 'Sparse', description: 'a few words — a logo, a road sign, a single label' },
        block: { label: 'Block', description: 'a block of body text — a screenshot, a table, a document page' }
      }
    },
    contain_data_visual: {
      label: 'Data visual',
      description: 'Whether the picture conveys data as a chart, graph, diagram or infographic. Such images keep their labels on the OCR path even when the text looks sparse.',
      values: {
        'true': { label: 'Yes', description: 'a chart, graph or diagram with plotted values' },
        'false': { label: 'No', description: 'a photo, drawing, icon or decoration' }
      }
    },
    layout_margin: {
      label: 'Non-text area',
      description:
        'How much background surrounds the content. Large margins mean the page can be cropped tighter before OCR reads it.',
      values: {
        'none': { label: 'None', description: 'the text reaches the edges' },
        'small': { label: 'Small', description: 'a thin band of background' },
        'large': { label: 'Large', description: 'plenty of non-text area: a desk, a room, a mostly empty page' }
      }
    },
    layout_upright: {
      label: 'Text orientation',
      description:
        'Whether the text reads the right way up. A rotated or upside-down page is worth straightening before OCR reads it.',
      values: {
        'true': { label: 'Upright', description: 'text reads in its normal orientation' },
        'false': { label: 'Rotated', description: 'text is turned, tilted or upside down' }
      }
    }
  },
  // Overlay wording for the pipeline panel, indexed by pipeline id and field
  // key (the backend registry supplies both; this only translates). Anything
  // not covered here falls back to the backend's own wording, so a new
  // pipeline never shows up as a bare key.
  imagePipeline: {
    errors: {
      noActionEnabled: 'Turn on at least one parsing action, otherwise nothing will be processed.',
    },
    default: {
      name: 'Manual',
      note_actions: {
        label: 'The two actions are independent',
        description:
          'Each can be switched separately: with OCR off the image is still described, with caption off its text is still read. Only switching both off leaves an image untouched, which is why the panel refuses that combination.',
      },
      description: 'Turn the parsing actions on or off to fit the task.',
      caption_enabled: {
        label: 'Image caption',
        description: 'Ask the model for a one-line description of every image and store it as the caption.'
      },
      ocr_enabled: {
        label: 'OCR',
        description: 'Extract the text that appears in the image.'
      },
      caption: {
        thinking_enabled: {
          label: 'Caption with thinking',
          description: 'Let the model think before it writes the caption. In general you do not need thinking; enabling it makes parsing slower and may make the model overthink, so overly long reasoning can run past the limit and truncate the caption, failing the task. Only enable it when you have confirmed it is necessary.',
        },
      },
      ocr: {
        thinking_enabled: {
          label: 'OCR with thinking',
          description: 'Let the model think before it transcribes the text. In general you do not need thinking; enabling it makes parsing slower and may make the model overthink, so overly long reasoning can run past the limit and truncate the transcribed text, failing the task. Only enable it when you have confirmed it is necessary.',
        },
      }
    },
    smartocr: {
      ocr_on_unobserved: {
        label: 'Run OCR when image-attribute observation fails',
        description:
          'When the model fails to observe the image attributes correctly, OCR runs by default so body text is never lost; turn off to skip. (A small vision model such as 4B, or custom image-instruction prompts that conflict with the system prompt, can cause the observation to fail; 8B and above rarely fail, so leaving this on is recommended)',
      },
      name: 'Smart',
      note_flow: {
        label: 'The observation decides',
        description:
          'The image is described and observed first, and the attributes that come back decide whether OCR is worth a second pass. When they say the page needs straightening, it is straightened and its surroundings cropped before reading; when that step is unavailable or declines, the original photograph is read instead — never something worse.',
      },
      preprocess: {
        mode: {
          label: 'Document preprocessing',
          description:
            'Off by default. Straightening and cropping before OCR adds processing time. Auto uses the observed attributes; Always tries preprocessing for every image selected for OCR. Busy or resource-limited requests use the original image.',
          options: {
            auto: 'Auto',
            off: 'Off',
            always: 'Always',
          },
        },
      },
      observation: {
        thinking_enabled: {
          label: 'Describe with thinking',
          description: 'Let the model think before it describes the image and reports its attributes. In general you do not need thinking; enabling it makes parsing slower and may make the model overthink, so overly long reasoning can run past the limit and truncate the description, failing the task. Only enable it when you have confirmed it is necessary.',
        },
      },
      ocr: {
        thinking_enabled: {
          label: 'Text recognition with thinking',
          description: 'Let the model think before it transcribes the text. In general you do not need thinking; enabling it makes parsing slower and may make the model overthink, so overly long reasoning can run past the limit and truncate the transcribed text, failing the task. Only enable it when you have confirmed it is necessary.',
        },
      },
      description:
        'Observe the image attributes and describe the image first, then decide from the attributes whether to run OCR, saving model calls and speeding up parsing. When the image is recognised as a photograph of a correctable page or label, it is straightened and cropped before recognition to improve OCR accuracy; if that fails, the original image is used.'
    }
  }
}