Skip to content

Enterprise agent platform for building, deploying, and operating AI teammates.

213 KB
Raw Blame
const en = {
  agentProfile: {
    title: "{name}'s profile",
    subtitle: "General details and configuration",
    name: "Name",
    status: "Status",
    description: "Description",
    rules: "Standing rules",
    readOnly: "You have read-only access to this teammate.",
    loadFailed: "Could not load this profile. Please try again.",
    saveFailed: "Could not save your changes. Please try again.",
    saved: "Profile saved",
    saving: "Saving…",
  },
  taskCompletion: {
    completed: "Completed",
    partial: "Partially completed — see the answer for what is still missing.",
    blocked: "Blocked — see the answer for what is needed to continue.",
  },
  sharedStream: { interrupted: "Live updates were interrupted. The displayed answer may be incomplete; saved results will appear when available." },
  taskInterruption: {
    paused: "This task was paused by a system interruption. Click resume to continue.",
    leaseExpired: "This task was paused because the server running it stopped. Click resume to continue.",
    persistenceFailure: "This task was paused because the database was unavailable. Click resume to continue.",
    llmUnavailable: "This task was paused because the model provider was unavailable. Click resume to continue.",
    modelOutputInvalid: "This task was paused because the model returned an invalid response. Click resume to continue.",
    autoResumeScheduled: "This task was paused by a system interruption and will resume automatically.",
    autoResumeScheduledAt: "This task was paused by a system interruption and will resume automatically at about {time}.",
    autoResumeResuming: "Resuming this task automatically after a system interruption.",
    cancelAutoResume: "Cancel automatic resume",
    cancellingAutoResume: "Cancelling…",
    autoResumeCancelFailed: "Automatic resume could not be cancelled. Please try again.",
    autoResumeCancelRaced: "The task state just changed. Please try again.",
    autoResumeNotCancellable: "Automatic resume cannot be cancelled for this task.",
    autoResumeCancelUnavailable: "This task is no longer available.",
    autoResumeCancelRejected: "Automatic resume could not be cancelled.",
    autoResumeAlreadyStarted: "Automatic resume has already started. Pause the task if you need to stop it.",
    autoResumeNotPending: "There is no scheduled automatic resume to cancel.",
    autoResumeStopped: "Automatic resume stopped. Click resume to continue.",
    autoResumeStoppedLimit: "Automatic resume stopped after repeated attempts. Click resume to continue.",
    autoResumeStoppedExpired: "The automatic-resume window has passed. Click resume to continue.",
    autoResumeStoppedSuperseded: "Automatic resume stopped because a later scheduled run replaced this one.",
    autoResumeStoppedFailed: "Automatic resume could not be started. Click resume to continue.",
    autoResumeStoppedDisabled: "Automatic resume is turned off. Click resume to continue.",
    autoResumeStoppedCancelled: "Automatic resume was cancelled. Click resume to continue.",
    autoResumeStoppedIneligible: "This task cannot resume automatically. Click resume to continue.",
  },
  clientErrors: {
    executionQueueFull: "The team execution queue is full. Please retry shortly.",
    messageProcessingFailed: "The message could not be processed. Please try again.",
    taskExecutionFailed: "Task execution failed.",
    guidanceInProgress: "A previous guidance message is still being applied. Please wait for it to finish.",
    messageRateLimited: "You're sending messages too quickly. Please wait a moment and try again.",
    messageIdConflict: "Message id was already used for different content or files.",
    messageDeliveryFailed: "The message could not be delivered. Please retry the draft.",
    inputReviewBlocked: "This request didn't pass input review. Please rephrase it or ask about a topic this agent supports.",
    inputReviewUnavailable: "I couldn't complete the input safety check. Please try again.",
    messageContinuationUnsupported: "Task does not support message continuation.",
    taskPauseInProgress: "Task pause is still being applied; please retry shortly.",
    messageAcceptancePending: "Message acceptance is still being reconciled. Please retry shortly.",
    taskUnavailable: "Task is no longer available.",
    taskBusy: "Task is currently busy; please wait for the previous turn to finish before sending another message.",
    workforceUnavailable: "This workforce conversation can no longer accept messages; please start a new conversation.",
    workforceArchived: "This workforce has been archived. Unarchive and publish it before starting a new conversation, or select an active workforce.",
    messageAttachmentCorrupt: "A stored file for this message failed its integrity check and must be re-uploaded.",
    messageAttachmentUnavailable: "A stored file for this message could not be read. Please try again.",
    taskCheckpointUnreadable: "The task's saved progress could not be read.",
    authenticationRequired: "Authentication is required to send this message.",
    taskAccessDenied: "You do not have access to this task.",
    invalidMessage: "The message format is invalid.",
    messageOutcomeUnknown: "The message may or may not have been applied. Check the conversation before sending it again.",
    externalTurnInterrupted: "This response was interrupted.",
    externalStopNotApplied: "Stopping this response didn't go through — please try again.",
    uploadTooLarge: "File is too large. Please reduce the upload size and try again.",
    uploadProxyError: "Upload failed before reaching the application. Please check the server upload limit.",
    uploadFailed: "Upload failed. Please try again.",
    uploadRateLimited: "The file could not be uploaded right now. Please try again in a minute.",
    uploadQuotaExceeded: "You have reached the file limit for this chat.",
    uploadRejected: "This file can't be uploaded. Check its name and type.",
    connectionNotReady: "Not connected. Your message was not sent.",
    messageNotAccepted: "The message was not accepted.",
    connectionReconnecting: "Connection lost — reconnecting",
    connectionLost: "Connection lost. Reload the page to reconnect.",
    connectionLostStatus: "Connection lost",
    missingRuntimeContext: "This connector needs additional runtime input before it can run.",
    runtimeSecretUnavailable: "This connector needs a runtime credential that is not available.",
    scheduledSecretUnavailable: "A scheduled run needs a runtime credential that is not available.",
    invalidRuntimeContext: "This connector's runtime input is not valid, so the task could not run.",
    connectorRuntimeUnavailable: "A service this connector needs is unavailable. Please try again later.",
  },
  common: {
    optional: "(Optional)",
    next: "Next",
    back: "Back",
    loading: "Loading...",
    save: "Save",
    cancel: "Cancel",
    delete: "Delete",
    remove: "Remove",
    retry: "Retry",
    confirm: "Confirm",
    deleteConfirm: "Are you sure you want to delete this item?",
    deleteFailed: "Failed to delete",
    notice: "Notice",
    copy: "Copy",
    copied: "Copied!",
    copyFailed: "Failed to copy to clipboard",
    send: "Send",
    pause: "Pause",
    resume: "Resume",
    executing: "Executing",
    planning: "Formulating Plan",
    thinking: "Thinking",
    taskPaused: "Task Paused",
    waitingForUser: "Waiting for your response",
    noData: "No Data",
    code: "Code",
    preview: "Preview",
    refresh: "Refresh",
    expand: "Expand",
    collapse: "Collapse",
    noOptions: "No options available",
    rename: "Rename",
    clear: "Clear",
    or: "Or",
    add: "Add",
    create: "Create",
    edit: "Edit",
    done: "Done",
    statusDone: "Done",
    customPlaceholder: "Custom...",
    errors: {
      unknown: "Unknown error",
      taskFailed: "Something went wrong. Please try again.",
      taskIdReference: "Task ID: {id}",
    },
  },
  voiceConversation: {
    open: "Voice mode",
    title: "Voice conversation",
    end: "End conversation",
    endShort: "End",
    retry: "Try again",
    busy: "Voice mode is available once the current run has finished.",
    mute: "Mute microphone",
    unmute: "Unmute microphone",
    transcriptionModel: "Listening model",
    speechModel: "Speaking model",
    sendFailed: "Your message could not be sent. Check the selected chat model and try again.",
    sessionTimeout: "The voice session timed out. Try again to continue.",
    authenticationRequired: "Your session has ended. Sign in again to continue.",
    playbackFailed: "Part of the reply could not be played. You can keep speaking.",
    checkingModels: "Checking voice models…",
    modelsUnavailable: "Voice models could not be checked. Try again in a moment.",
    needsAsrAndTts: "Add realtime ASR with server VAD (scribe_v2_realtime) and streaming TTS in Models.",
    needsAsr: "Add realtime ASR with server VAD (scribe_v2_realtime) in Models.",
    needsTts: "Add a streaming TTS model in Models.",
    needsLlm: "Select a chat model or an agent before starting voice mode.",
    serverVadOnly: "Using server voice detection. Interruption may take slightly longer.",
    states: {
      connecting: "Connecting…",
      listening: "Listening…",
      thinking: "Thinking…",
      speaking: "Speaking…",
      muted: "Muted",
      stopped: "Stopped",
      error: "Voice connection ended. Check your microphone and models, then try again.",
    },
  },
  voiceInput: {
    start: "Voice input",
    stop: "Stop recording",
    transcribing: "Transcribing voice",
    errors: {
      emptyAudio: "No usable audio was recorded",
      failed: "Voice transcription failed",
      noText: "No text was recognized",
      permissionDenied: "Microphone access was denied",
      unsupported: "This browser does not support recording",
    },
  },
  nav: {
    builder: "Builder",
    builderDescription: "Knowledge, models, API keys, memory and more",
    teammates: "Teammates",
    knowledge: "Knowledge",
    toolsAndApps: "Tools and apps",
    skills: "Skills",
    skillsDescription: "Installed skills and registries",
    home: "Home",
    settings: "Settings",
    dashboard: "Dashboard",
    vibe: "Vibe",
    myTeam: "My Team",
    models: "Models",
    files: "Files",
    memory: "Memory",
    skillHub: "Skill Hub",
    apiKeys: "API Keys",
    monitoring: "Monitoring",
    knowledgeBase: "Knowledge Base",
    knowledgeBaseDetail: "KB Detail",
    userManagement: "User Management",
    adminMcp: "Public MCP Apps",
    login: "Login",
    register: "Register",
    agentStore: "Agent Store",
    tools: "Tools",
    toolConfig: "Tool Config",
    deploy: "Deploy",
    agentDev: "Agent Development",
    task: "Task",
    workforces: "Workforces",
    history: "All Tasks",
    search: "Search Tasks",
    addTeammates: "Add teammates",
    channels: "Channels",
    conversationLogs: "Conversation Logs",
    more: "More",
    menu: "Navigation menu",
    openMenu: "Open navigation",
    sections: {
      agentDevelopment: "Agent Development",
      resources: "Resources",
    },
  },
  conversationLogs: {
    title: "Conversation Logs",
    subtitle:
      "End-user conversations from your deployed agents - across Widget, REST API, Shareable Link, and Webhook channels. Your own workspace tasks stay under All Tasks.",
    readOnly: "Read-only",
    lastActivity: "Last activity:",
    searchPlaceholder: "Search conversations",
    agentFilterLabel: "Agent filter",
    agentFilterAll: "All agents",
    untitled: "Untitled conversation",
    sources: {
      all: "All",
      widget: "Widget",
      restApi: "REST API",
      sharedLink: "Shareable Link",
      webhook: "Webhook",
    },
    empty: {
      title: "No conversation logs yet",
      filteredTitle: "No matching logs",
      detail: "Select a conversation log to inspect its transcript.",
      transcript: "No transcript has been captured for this conversation.",
    },
    expired: {
      detail: "This conversation expired on {date} under the data retention policy.",
      traceEvents: "Execution steps from before {date} were removed under the data retention policy.",
    },
  },
  home: {
    hero: {
      title: "Welcome to {appName}",
      subtitle: "Build, deploy, and scale intelligent agents that work for you — no code required.",
      searchPlaceholder: "What would you like to do?",
    },
    revamp: {
      greeting: "Hello",
      greetingMorning: "Good morning",
      greetingAfternoon: "Good afternoon",
      greetingEvening: "Good evening",
      goalTitle: "What's the goal?",
      start: "Start",
      running: "{count} task running",
      liveView: "View",
      askPlaceholder: "Ask anything — research, write, generate, analyze...",
      fileOnlyPrompt: "Analyze the attached files and summarize the key findings.",
      capabilities: {
        slides: {
          label: "Slides",
          prompt: "Create a 10-slide deck on ",
        },
        sheets: {
          label: "Sheets",
          prompt: "Analyze this spreadsheet: ",
        },
        docs: {
          label: "Docs",
          prompt: "Write a document about ",
        },
        pdf: {
          label: "PDF",
          prompt: "Summarize this PDF: ",
        },
        image: {
          label: "Image",
          prompt: "Generate an image of ",
        },
        research: {
          label: "Research",
          prompt: "Do deep research on ",
        },
      },
      followupTitle: "Need it to run again and again?",
      followupDescription: "Turn this workflow into a reusable agent you can call any time.",
      buildAgent: "Build an agent",
    },
    agents: {
      title: "Your agents",
      subtitle: "Click to chat — these are your published, ready-to-run workers",
      manageAll: "Manage all",
      empty: "No agents yet. Create one to turn repeat work into a reusable workflow.",
      newAgent: "New agent",
      buildTime: "Build in minutes",
    },
    getStarted: {
      title: "Get started",
      video: {
        title: "Video Tutorial",
        description: "Watch a quick overview of {appName}'s core features."
      },
      docs: {
        title: "Documentation",
        description: "Explore the full reference docs for every feature."
      },
      guides: {
        title: "How-to Guides",
        description: "Step-by-step walkthroughs for common use cases."
      },
      whatsNew: {
        title: "What's New",
        description: "See the latest updates, improvements, and releases."
      }
    },
    templates: {
      title: "Templates",
      viewAll: "View all",
      setupTime: "{time} setup",
      subtitle: "Skip the blank page — pre-built agents you can clone in 5 minutes",
      browseLibrary: "Browse library",
      useTemplate: "Use Template"
    },
    recent: {
      title: "Recent",
      subtitle: "Jump back into recent tasks and pick up where you left off.",
      viewTask: "Open task",
      untitledTask: "Untitled Task",
      defaultAgent: "Agent"
    }
  },
  chatPage: {
    page: {
      emptyTitle: "What do you want to do?",
      emptyDescription: "Turn your ideas into working agents automatically. Just describe what you need to get started",
      startWith: "You can start with",
      startConversationFailed: "Couldn't start this conversation. Please try again.",
      quickActions: {
        draft: "Draft a post",
        draftPrompt: "Draft a social post from my notes.",
        plan: "Plan my day",
        planPrompt: "Help me plan today and prioritize what matters.",
        build: "Build an Agent",
        buildPrompt: "Help me build a reusable agent for this job.",
      },
    },
    sections: {
      startingPrompts: "STARTING PROMPTS",
      assignToTeammate: "MY TEAM",
      assignToTeammateLead: "Talk to...",
      assignToTeammateHint: " — or leave it and let {appName} choose.",
      assignToTeammateError: "Couldn't load your team.",
      leadReady: "{name} is ready to lead this task.",
    },
    input: {
      placeholder: "Describe your task...",
      processing: "Processing",
      actions: {
        add: "Add",
        config: "Configure Model",
        upload: "Upload",
      },
      localBrowser: {
        label: "Local browser",
        chipLabel: "Computer use",
        checking: "Checking the Xagent host...",
        chooseWindow: "Choose a browser window",
        windowIdentifier: "Window {id}",
        controlScope: "Controls only this browser window through native accessibility. It does not connect Chrome debugging.",
        unavailable: "Not available on this Xagent host",
      },
      noModel: "No Model",
      noModelAlert: "No model configured. Please configure a model first.",
    },
    message: {
      assistantTitle: "AI Assistant",
    },
    reasoning: {
      title: "Reasoning Process",
      stepsCompleted: "{completed}/{total} steps completed",
      thinking: "Thinking",
      initializing: "Initializing reasoning process...",
      defaultStepTitle: "Step {index}",
    },
    executionPlan: {
      title: "Execution Plan",
      tooltip: "Click to view execution plan",
      dagSection: "DAG execution",
      dagSectionOne: "DAG execution · {count} step",
      dagSectionOther: "DAG execution · {count} steps",
      view: "View plan",
    },
    progressPanel: {
      title: "Progress",
      elapsed: "Elapsed",
      planning: "Generating plan…",
      toggleTooltip: "Show execution progress",
      collapse: "Collapse",
    },
    aiOutput: {
      title: "AI Output",
      subtitle: "Generated response",
      generating: "GeneratingModel Reasoning response",
    },
    tokenUsage: {
      details: "Usage details",
      input: "Input tokens",
      output: "Output tokens",
      cached: "Cached input tokens",
      inputShort: "Input",
      outputShort: "Output",
      cachedShort: "Cached",
      cachedShare: "{pct}% cached",
      oneModel: "{count} model",
      models: "{count} models",
      oneModelWithUnattributed: "{count} model + {unattributed} unattributed",
      modelsWithUnattributed: "{count} models + {unattributed} unattributed",
      unattributedCount: "{count} unattributed",
      byModel: "Usage by model",
      model: "Model",
      unknownModel: "Unknown model",
      unattributed: "Unattributed",
      tokensShort: "tokens",
      unmeasured: "not yet measured",
      mediaByModel: "Media usage",
      mediaCall: "{count} media call",
      mediaCalls: "{count} media calls",
      quantity: "Amount",
      callType: "Type",
      unit: {
        images: { one: "image", other: "images" },
        seconds: { one: "sec", other: "sec" },
        characters: { one: "char", other: "chars" },
        requests: { one: "request", other: "requests" },
        texts: { one: "text", other: "texts" },
      },
      mediaType: {
        generate_image: "Image generation",
        edit_image: "Image editing",
        video: "Video",
        tts: "Text-to-speech",
        asr: "Speech-to-text",
        music: "Music",
        sound_effect: "Sound effect",
        embedding: "Embedding",
        rerank: "Rerank",
      },
    },
    contextUsage: {
      tooltip: "Context window {pct}% ({used}/{total} tokens)",
      full: "Context full — compacting",
    },
    fileUpload: {
      dropHere: "Drop files here",
      uploadDocs: "Upload documents",
      hintDragClick: "Drag & drop or click to browse",
    },
    clarification: {
      yes: "Yes",
      no: "No",
      required: "Please fill in at least one field",
      uploadedFiles: "Uploaded files",
      confirmed: "Confirmed",
      sendFailed: "Failed to send clarification response",
      sendError: "Failed to send response",
      sendNotSent: "Your answers were kept — you can submit again.",
      sendOutcomeUnknown: "Your response may already have been submitted. Reload the conversation before submitting again.",
      selectOption: "Select an option",
      selectOptions: "Select options",
      acceptedFormats: "Accepted formats",
      any: "Any",
      title: "Ask User",
      submitting: "Submitting...",
      submit: "Submit Response",
      recommended: "Recommended",
      useSuggestion: "Use suggestion: {value}",
      notSure: "Not sure / skip for now",
      answerInstead: "Answer this question",
      deferredAnswer: "Not provided yet. This is not consent or acceptance of a suggested default.",
      page: "Questions — page {current} of {total}. Answers are sent together at the end.",
      previous: "Previous",
      next: "Next",
      unsupportedType: "Unsupported field type: {type}",
      websiteUrl: "Website URL",
      connectApps: {
        title: "Connect your apps",
        subtitle: "Connect each app below — one sign-in still covers every app under the same provider.",
        loading: "Loading your apps…",
        retry: "Retry",
        continueWith: "Continue with {provider}",
        connected: "Connected",
        connecting: "Connecting…",
        skip: "I'll do this later",
        connectFailed: "Couldn't connect {provider}. Please try again.",
        popupBlocked: "Popup blocked — please allow popups for this site to connect.",
        privacyNote: "{appName} never sees your password.",
        skippedNote: "Not connected yet — the button is here when you are ready.",
        allConnectedNote: "All set — every app is connected.",
        manualHint: "Needs manual setup",
      },
    },
  },
  branding: {
    tagline: `Run instantly.
Build when you need.`,
    hero_description: "Plan, run and review your agents in one workspace, from instant tasks to fully built workflows.",
  },
  settings: {
    tabs: {
      general: "General",
      voice: "Voice",
      computerAccess: "Computer use",
    },
    voice: {
      description: "Choose the models and voice used for your voice conversations. Changes apply to your next conversation.",
      automatic: "Automatic (first available compatible model)",
      speaker: "Voice",
      modelDefault: "Model default voice",
      savedVoice: "Keep saved voice",
      selectionUnavailable: "Saved selection is unavailable. Choose another option in Voice settings.",
      loadingVoices: "Loading available voices…",
      voicesFailed: "Could not load voices. You can keep the model default and try again later.",
      loadFailed: "Could not load your voice settings. Reopen Settings and try again.",
      saved: "Voice settings saved.",
      saveFailed: "Could not save voice settings. Please try again.",
      openSettings: "Voice settings",
    },
    budget: {
      title: "Execution token budget",
      description: "Limits cumulative input and output tokens for one execution turn, including cached input. Calls already in flight may exceed the limit. This is not a monthly quota.",
      effective: "Effective budget",
      unlimited: "No limit",
      inherit: "Inherit default",
      tokens: "Personal token limit",
      percent: "Soft warning threshold (%)",
      personalHelp: "Leave blank to inherit. Personal settings cannot exceed the administrator maximum. At the soft threshold the agent is asked to wrap up; at the hard limit further work stops. Changes apply on the next execution; resuming never resets usage or increases its allowance.",
      admin: "Administrator defaults",
      defaultTokens: "Default token limit",
      maximumTokens: "Maximum allowed token limit",
      savePersonal: "Save personal budget",
      saveDefaults: "Save administrator defaults",
      saved: "Saved; effective settings refreshed.",
      failed: "Could not load or save budget settings. Please retry.",
      sources: { personal: "Personal", system: "System default", system_maximum: "Administrator maximum", external: "Managed policy" },
    },
    title: "System Settings",
    description: "Manage basic configuration and advanced options",
    language: {
      title: "Language",
      description: "Choose the display language",
    },
    email: {
      title: "Email Settings",
      description: "View and update the email address linked to your account",
      username: "Username",
      current: "Email Address",
      placeholder: "Enter email address",
      submit: "Update Email",
      submitting: "Updating...",
      success: "Email updated successfully",
      unchanged: "Your email address is unchanged.",
      unchangedPending: "Your email is unchanged. The pending change still requires its confirmation code; it has not been cancelled.",
      confirmationCode: "Confirmation code",
      confirmationHint: "Enter the code sent to your new address within {minutes} minutes.",
      pendingAddress: "Pending confirmation: {email}",
      smtpRequired: "Ask your administrator to configure email delivery before changing your address.",
      providerManaged: "Self-service email changes are unavailable for passwordless accounts. Contact your administrator for assistance.",
      confirmationSent: "Confirmation sent. Your current email remains unchanged until you confirm.",
      confirm: "Confirm new email",
      failed: "Email update failed",
      errors: {
        required: "Please enter an email address",
        network: "Network error, please try again later",
      },
    },
    versionControl: {
      title: "Autonomous Planning",
      description: "AI breaks down complex tasks automatically"
    },
    team: {
      title: "Built-in Memory",
      description: "Maintains context across tasks"
    },
    automation: {
      title: "Human in Control",
      description: "Guide and adjust AI execution anytime"
    },
    password: {
      title: "Change Password",
      description: "Update your account password",
      current: "Current Password",
      current_placeholder: "Enter current password",
      new: "New Password",
      new_placeholder: "Enter new password",
      confirm: "Confirm New Password",
      confirm_placeholder: "Re-enter new password",
      submit: "Update Password",
      submitting: "Updating...",
      errors: {
        fill_all: "Please fill in all password fields",
        mismatch: "New password and confirmation do not match",
        too_short: "New password must be at least {min} characters",
        network: "Network error, please try again later",
      },
      sign_in_again: "Password updated. All sign-in sessions have been revoked. Please sign in again with your new password.",
      failed: "Password update failed",
    },
    defaultModels: {
      title: "Default Model Settings",
      description: "Set default models for different task types. These settings apply only to you.",
      types: {
        general: { title: "General Model", description: "Suitable for most tasks" },
        small_fast: { title: "Small & Fast Model", description: "Lightweight and quick responses" },
        visual: { title: "Vision Model", description: "Understands and processes images" },
        compact: { title: "Long Context Model", description: "Handles long contexts and compression" },
        embedding: { title: "Embedding Model", description: "Generates vector embeddings" },
        image: { title: "Image Generation Model", description: "Used for image generation tasks" },
        image_edit: { title: "Image Edit Model", description: "Used for image editing and refinement" },
        video: { title: "Video Generation Model", description: "Used for video generation tasks" },
        asr: { title: "Speech Recognition Model", description: "Used for speech-to-text tasks" },
        tts: { title: "Text-to-Speech Model", description: "Used for text-to-speech tasks" },
        speech: { title: "Speech Model", description: "Supports both recognition and synthesis" },
        sound_effect: { title: "Sound Effect Model", description: "Generates non-speech audio effects" },
        music: { title: "Music Model", description: "Generates songs and instrumental music" },
      },
      actions: {
        clearDefault: "Clear Default",
      },
      labels: {
        selectDefault: "Select Default Model",
        selectModel: "Select a model",
      },
      empty: {
        noModels: "No available models. Please add models on the Models page first.",
      },
      messages: {
        loadFailed: "Failed to load model configuration",
        updated: "Updated: {type}",
        setFailed: "Failed to set default model",
        removed: "Cleared: {type}",
        removeFailed: "Failed to clear default model",
      },
      guide: {
        title: "Usage Guide",
        items: {
          personalOnly: "These settings only apply to you",
          fallbackFirstAvailable: "If no default is set, the system will use the first available model",
          addOnModelsPage: "Add models on the Models management page before selecting",
          adminShared: "Administrators can configure shared models for team use",
        },
      },
    },
  },
  register: {
    mobile_title: "Create Account",
    title: "Register {appName}",
    description: "Create your account to start using the agent platform",
    form: {
      username: "Username",
      username_placeholder: "Enter username",
      email: "Email",
      email_placeholder: "Enter email address",
      password: "Password",
      password_placeholder: "Enter password",
      confirm_password: "Confirm Password",
      confirm_password_placeholder: "Re-enter password",
      submit: "Create Account",
      submitting: "Registering...",
    },
    alerts: {
      success: "Registration successful! Please log in",
      failed: "Registration failed",
      failed_retry: "Registration failed, please try again later",
      password_mismatch: "Passwords do not match",
      password_too_short: "Password must be at least {min} characters",
      invalid_email: "Please enter a valid email address",
    },
    login_hint: {
      has_account: "Already have an account?",
      login_now: "Log in now",
    },
    status: {
      agent_running: "Agent service running",
      open_register: "Registration open",
    },
    features: {
      vbd: {
        title: "Autonomous Planning",
        description: "AI that plans before it acts. Breaks down complex tasks and executes step by step.",
      },
      hitl: {
        title: "Built-in Memory",
        description: "Remembers what matters. Keeps context across tasks and conversations.",
      },
      timetravel: {
        title: "Human in Control",
        description: "You guide. AI executes. Review, adjust, and step in anytime.",
      },
    },
  },
  widgetChat: {
    title: "AI Assistant",
    newConversation: "New conversation",
    minimize: "Minimize",
    moreOptions: "More options",
    expandWindow: "Expand window",
    collapseWindow: "Collapse window",
    status: {
      initializing: "Initializing...",
      connecting: "Connecting...",
      online: "Online"
    },
    messages: {
      welcome: "Hello! How can I help you today?",
      error_init: "Error initializing chat. Please try again later.",
      error_prefix: "Error:"
    },
    input: {
      placeholder: "Type your message..."
    },
    footer: {
      powered_by: "Powered by {appName}"
    }
  },
  widgetSession: {
    startNewConversation: "Start new conversation",
    resetting: "Starting...",
    resetFailed: "Could not start a new conversation. Please try again.",
    startMessageFailed: "Could not send your message. Please try again.",
    reloadRequired: "This conversation's state is unknown. Reload the page before continuing.",
    expiryWarning: "This chat session will expire soon. Refresh the page to continue.",
    stopResponse: "Stop response",
    stoppingResponse: "Stopping...",
    stopTimedOut: "The stop request could not be confirmed.",
    stopNotSent: "The stop request was not sent. Please try again.",
    attachments: {
      typeNotSupported: "This file type isn't supported here.",
      tooManyFiles: "You can attach up to {count} files to one message.",
      noFilesOnAnswer: "Files can't be attached to an answer. Send the answer first, then attach the files.",
      notAvailable: "File attachments are not available in this chat.",
      uploading: "Uploading…",
      uploadFailedRetry: "Upload failed. Retry",
    },
    history: {
      menuLabel: "Conversation history",
      listTitle: "Earlier conversations",
      listEmpty: "No earlier conversations yet.",
      loadMore: "Load more",
      loadFailed: "Couldn't load.",
      retry: "Retry",
      currentConversation: "Current",
      back: "Back",
      viewEmpty: "This conversation has no messages.",
      notFound: "This conversation can no longer be viewed.",
      disabled: "Conversation history is turned off.",
      tryLater: "Please try again in a moment.",
      refreshToLoad: "History can't be loaded right now. Reload the chat to view it.",
      waitForCurrent: "Wait for the current step to finish.",
      continueUnavailable: "This conversation can't be continued right now.",
      sendUnavailable: "You can't continue from here in this chat.",
      continueNotSent: "Your message from the earlier conversation was not sent. Please try again from the history.",
    },
    expired: {
      title: "Chat session expired",
      description: "Refresh the page to start a new chat session.",
    },
    unavailable: {
      title: "Chat unavailable",
      description: "This chat cannot be opened right now. Please try again later.",
    },
  },
  channels: {
    page_title: "Channels Management",
    page_description: "Manage your communication channels and bots.",
    telegram_bots: "Telegram Bots",
    add_telegram: "Add Telegram",
    feishu_bots: "Feishu Bots",
    add_feishu: "Add Feishu",
    slack_bots: "Slack Bots",
    add_slack: "Add Slack",
    connect_slack: "Add to Slack",
    slack_connecting: "Connecting...",
    slack_manual_setup: "Manual setup",
    slack_workspace: "Workspace",
    slack_connected_via_oauth: "Connected securely with Slack OAuth",
    title: "Channels & Bots",
    description: "Configure your personal {platform}.",
    add_channel: "Add Channel",
    no_channels: "No channels configured yet.",
    status: {
      active: "Active",
      inactive: "Inactive"
    },
    actions: {
      edit: "Edit",
      delete: "Delete"
    },
    dialog: {
      add_title: "Add Channel",
      edit_title: "Edit Channel",
      description: "Configure your messaging bot details below.",
      platform: "Platform",
      telegram_bot: "Telegram Bot",
      feishu_bot: "Feishu Bot",
      slack_bot: "Slack Bot",
      name: "Channel Name",
      name_placeholder: "e.g. My Customer Service",
      bot_token: "Bot Token",
      app_id: "App ID",
      app_secret: "App Secret",
      slack_app_token: "App-Level Token",
      slack_socket_mode_help: "Enable Socket Mode and use an app-level token with the connections:write scope.",
      slack_permissions_help: "Bot scopes: app_mentions:read, chat:write, files:read, files:write, im:history, mpim:history, channels:history, groups:history. Subscribe to app_mention, message.im, message.mpim, message.channels, and message.groups events, then reinstall the app.",
      allowed_users: "Allowed Users",
      allowed_users_placeholder: "Comma separated User IDs. Leave empty to allow all.",
      active: "Active",
      cancel: "Cancel",
      save: "Save"
    },
    messages: {
      load_failed: "Failed to load channels",
      create_success: "Channel created successfully",
      update_success: "Channel updated successfully",
      fill_required: "Please fill in all required fields",
      save_failed: "Failed to save channel",
      slack_popup_blocked: "Allow popups to connect a Slack workspace.",
      slack_connect_success: "Slack workspace connected successfully",
      slack_connect_failed: "Failed to connect the Slack workspace",
      delete_confirm: "Are you sure you want to delete this channel?",
      delete_success: "Channel deleted successfully",
      delete_failed: "Failed to delete channel",
      toggle_failed: "Failed to update status",
      name_exists: "Channel name already exists",
      token_exists: "Bot token already exists"
    }
  },
  setup: {
    title: "Initialize {appName}",
    description: "Create the first administrator account to complete setup.",
    features: {
      bootstrap: {
        title: "Guided bootstrap",
        description: "Finish first-time initialization in one step.",
      },
      config: {
        title: "Ready to configure",
        description: "After setup, configure models and tools for your team.",
      },
      security: {
        title: "Admin-first security",
        description: "Create a secure administrator account before opening access.",
      },
    },
    form: {
      username: "Admin username",
      email: "Admin email",
      password: "Admin password",
      confirmPassword: "Confirm password",
      submit: "Create administrator",
      submitting: "Creating...",
    },
    errors: {
      required: "Please fill in username, email, and password",
      invalidEmail: "Please enter a valid email address",
      passwordTooShort: "Password must be at least {min} characters",
      passwordMismatch: "Passwords do not match",
      failed: "Setup failed",
    },
  },
  forgotPassword: {
    mobile_title: "Recover Password",
    mode_label: "Password Reset",
    title: "Recover your {appName} password",
    description: "Enter your email address and we will send you a reset link",
    form: {
      email: "Email",
      email_placeholder: "Enter your email address",
      submit: "Send reset link",
      submitting: "Sending...",
    },
    alerts: {
      success: "If the email exists, we have sent a reset link",
      failed: "Failed to send reset link",
      failed_retry: "Failed to send reset link, please try again later",
      invalid_email: "Please enter a valid email address",
    },
    back_to_login: "Remember your password?",
  },
  resetPassword: {
    mobile_title: "Reset Password",
    mode_label: "New Password",
    title: "Reset your {appName} password",
    description: "Enter and confirm your new password",
    form: {
      password: "New Password",
      password_placeholder: "Enter a new password",
      confirm_password: "Confirm New Password",
      confirm_password_placeholder: "Re-enter your new password",
      submit: "Update password",
      submitting: "Updating...",
    },
    alerts: {
      success: "Password reset successful, redirecting to login",
      failed: "Password reset failed",
      failed_retry: "Password reset failed, please try again later",
      password_mismatch: "Passwords do not match",
      password_too_short: "Password must be at least {min} characters",
      invalid_token: "The reset link is invalid or missing a token",
    },
    back_to_login: "Back to login?",
  },
  login: {
    mobile_title: "Welcome back",
    title: "Login {appName}",
    description: "Please enter your account information to access the agent platform",
    form: {
      username: "Username or email",
      username_placeholder: "Enter username or email",
      password: "Password",
      password_placeholder: "Enter password",
      submit: "Log In",
      submitting: "Logging in...",
    },
    alerts: {
      auth_failed: "Incorrect username/email or password",
      network_failed: "Login failed, please try again later",
      google_failed: "Google login failed, please try again",
      storage_unavailable: "Your browser is blocking local storage. Enable storage and try again.",
      coordination_unavailable: "Your browser does not support the secure sign-in features this application requires.",
      operation_failed: "Your sign-in session could not be updated. Please try again.",
    },
    google: {
      continue: "Continue with Google",
      unavailable: "Google login is not configured",
      completing: "Completing sign-in...",
    },
    oidc_errors: {
      provider_error: "Google login was cancelled or failed",
      invalid_callback: "Google login callback was invalid",
      invalid_state: "Google login expired, please try again",
      not_configured: "Google login is not configured",
      invalid_id_token: "Google login failed, please try again",
      verification_failed: "Google login could not be verified",
      email_unverified: "Google email must be verified",
      setup_required: "Create the first admin account before using Google login",
      registration_disabled: "Registration is disabled for new Google users",
      callback_failed: "Google login failed, please try again",
      exchange_failed: "Google login failed, please try again",
    },
    options: {
      remember_me: "Remember me",
      forgot_password: "Forgot password?",
    },
    register_prompt: "Don't have an account?",
    register_link: "Register now",
    register_closed: "Registration is currently disabled",
    features: {
      version_control: {
        title: "Autonomous Planning",
        description: "AI that plans before it acts. Breaks down complex tasks and executes step by step.",
      },
      team: {
        title: "Built-in Memory",
        description: "Remembers what matters. Keeps context across tasks and conversations.",
      },
      automation: {
        title: "Human in Control",
        description: "You guide. AI executes. Review, adjust, and step in anytime.",
      },
    },
  },
  vibe: {
    title: "Vibe Stage",
    description: "Turn prompts into runnable agents; let LLMs plan automatically and unleash imagination",
    actions: {
      you_can: "You can",
      new_task: "New Task",
      delete_confirm: "Are you sure you want to delete this task?",
    },
    quick_examples: {
      make_ppt: {
        title: "Create PPT",
        description: "Quarterly review, marketing proposal",
      },
      data_analysis: {
        title: "Data Analysis",
        description: "E-commerce sales, customer feedback",
      },
      design_poster: {
        title: "Design Poster",
        description: "Event promotion, social media",
      },
      automation: {
        title: "Automation",
        description: "Email processing, document management",
      },
      more: {
        title: "More",
        description: "Explore endless possibilities",
      },
    },
    list: {
      title: "Task List",
      search_placeholder: "Search tasks...",
      empty: "No task records",
      pagination: {
        summary: "Showing {from}-{to} of {total} tasks",
        prev: "Previous",
        next: "Next",
      },
      status: {
        completed: "Completed",
        running: "Running",
        failed: "Failed",
        pending: "Pending",
        paused: "Paused",
        waitingForUser: "Waiting for user",
      },
      mode: {
        flash: "Flash",
        balanced: "Balanced",
        think: "Think",
        unknown: "Unknown",
      },
    },
  },
  userManagement: {
    title: "User Management",
    description: "Manage all user accounts in the system",
    stats: {
      total_users_prefix: "Total ",
      total_users_suffix: " users",
    },
    list: {
      title: "User List",
      description: "View and manage all users",
      search_placeholder: "Search email or username...",
      table: {
        id: "ID",
        account: "Account",
        role: "Role",
        created_at: "Created At",
        updated_at: "Last Updated",
        actions: "Actions",
        admin: "Admin",
        normal: "User",
        delete: "Delete",
        delete_confirm_title: "Confirm Delete User",
        delete_confirm_description_prefix: "Are you sure you want to delete user \"",
        delete_confirm_description_suffix: "\"? This action cannot be undone and all user data will be permanently removed.",
        cancel: "Cancel",
        confirm_delete: "Delete",
      },
      loading: {
        title: "Loading...",
        description: "Verifying user permissions",
      },
      no_permission: {
        title: "Insufficient Permissions",
        description: "Only administrators can access the user management page",
      },
      alerts: {
        delete_success_prefix: "Deleted successfully: user ",
        delete_success_suffix: " has been removed",
        delete_failed_prefix: "Delete failed: ",
        delete_failed_suffix: "",
      },
      pagination: {
        summary: "Showing {from}-{to} of {total} users",
        prev: "Previous",
        next: "Next",
        page: "Page {current} of {total}",
      },
    },
  },
  dashboard: {
    stats: {
      total_tasks: "Total Tasks",
      active_agents: "Active Agents",
      deployed_apps: "Deployed Apps",
      today_calls: "Calls Today",
    },
    features: {
      title: "Main Features",
      vibe: {
        title: "VIBE",
        description: "Create intelligent agents, auto-planning to unleash imagination",
      },
      build: {
        title: "BUILD",
        description: "Build agent workflows into deployable applications",
      },
      deploy: {
        title: "DEPLOY",
        description: "Deploy applications to production to deliver business value",
      },
      models: {
        title: "Model Management",
        description: "Configure and manage AI models, set default models",
      },
      monitoring: {
        title: "Monitoring",
        description: "Monitor LLM calls, tool usage, and system performance",
      },
      files: {
        title: "File Management",
        description: "Upload, manage, and view project files",
      },
    },
    tasks: {
      title: "Recent Tasks",
      search_placeholder: "Search tasks...",
      new_task: "New Task",
      empty: "No task records",
      delete_confirm: "Are you sure you want to delete this task?",
      status: {
        completed: "Completed",
        running: "Running",
        failed: "Failed",
        pending: "Pending",
      },
    },
    files: {
      title: "Recent Files",
      view_all: "View All",
      empty: "No files",
    },
    welcome: {
      title: "WELCOME TO {appName}",
      heading: "What would you like to do?",
      subtitle: "Pick what you'd like to do first.",
      presentationBuilder: {
        title: "Presentation Builder",
        description: "Turn any topic into a slide deck in seconds.",
      },
      buildAgents: {
        title: "Build agents via Templates",
        description: "Start from a pre-built template and customise to your workflow.",
      },
      createAgent: {
        title: "Create Custom Agent",
        description: "Build and configure agents tailored to your exact needs.",
      },
      skip: "Skip for now",
    },
  },
  monitoring: {
    title: "Monitoring",
    description: "Monitor platform performance, LLM calls, and tool usage",
    cards: {
      totalCalls: "Total Calls",
      successRate: "Success Rate",
      avgResponseTime: "Avg Response Time",
      todayCalls: "Calls Today"
    },
    models: {
      title: "Model Statistics",
      empty: "No model data",
      summary: "Success Rate: {success}% • Total Tasks: {total}",
      usageRate: "Usage Rate"
    },
    tools: {
      title: "Tool Usage",
      empty: "No tool usage data",
      avgDuration: "Average duration: {duration}s",
      usageCount: "{count} uses"
    }
  },
  tools: {
    configHeader: {
      title: "Tool Configuration",
      description: "Configure web-search credentials and SQL connections",
    },
    header: {
      title: "Tool Management",
      description: "Manage built-in tools and MCP server configurations",
    },
    tabs: {
      all: "All Tools",
      webSearch: "Web Search",
      databaseConnections: "Database Connections",
      connectors: "Connectors",
      countOne: "{count} item",
      countOther: "{count} items",
    },
    policy: {
      enabled: "Enabled",
      disabled: "Disabled",
      enableAction: "Enable",
      disableAction: "Disable",
      toggleFailed: "Failed to update tool status",
      toggleSuccessEnabled: "Tool enabled",
      toggleSuccessDisabled: "Tool disabled",
    },
    database: {
      addConnection: "Add Connection",
      manageConnections: "Manage Connections",
      existingConnections: "Existing Connections",
      connectionBadge: "SQL",
      maskedValue: "Connection Preview",
      save: "Save Connection",
      saveSuccess: "SQL connection saved",
      saveFailed: "Failed to save SQL connection",
      deleteSuccess: "SQL connection deleted",
      deleteFailed: "Failed to delete SQL connection",
      deleteConfirm: "Delete SQL connection {name}?",
      connectionName: "Connection Name",
      connectionNamePlaceholder: "e.g. analytics",
      dbType: "Database Type",
      host: "Host",
      hostPlaceholder: "e.g. 127.0.0.1",
      port: "Port",
      portPlaceholder: "e.g. 5432",
      databaseName: "Database Name",
      databaseNamePlaceholder: "e.g. app_db",
      username: "Username",
      usernamePlaceholder: "e.g. db_user",
      password: "Password",
      passwordPlaceholder: "Optional",
      params: "Extra Params",
      paramsPlaceholder: "e.g. sslmode=require&connect_timeout=10",
      sqlitePath: "SQLite File Path",
      sqlitePathPlaceholder: "e.g. /data/app.db",
      types: {
        postgresql: "PostgreSQL",
        mysql: "MySQL",
        mariadb: "MariaDB",
        mssql: "SQL Server",
        sqlite: "SQLite",
      },
      validation: {
        required: "Connection name and URL are required",
        sqlitePathRequired: "SQLite file path is required",
      },
      dialog: {
        title: "Configure SQL Connection",
        description: "Store SQL connection securely for SQL query tool",
      },
      empty: {
        title: "No database connections",
        description: "Click Add Connection to create one",
      },
    },
    credentials: {
      configured: "Configured",
      configOnly: "Config only",
      notConfigured: "Not configured",
      configure: "Configure",
      save: "Save credentials",
      saveSuccess: "Credentials saved",
      saveFailed: "Failed to save credentials",
      currentSource: "Current source",
      validation: {
        required: "Please fill in at least one credential field",
      },
      setup: {
        title: "Search Provider Setup",
        description: "Configure this provider here, even if its runtime tool is not visible yet.",
        helper: "Set up web-search providers from this page before they appear in the runtime tool list.",
      },
      status: {
        db: "Stored in web config",
        env: "From environment variable",
        none: "Not set",
      },
      dialog: {
        title: "Configure Tool Credentials",
        description: "Set credential fields for {tool}",
      },
      empty: {
        title: "No configurable items",
        description: "Check permissions or adjust your search",
      },
    },
    stats: {
      mcpServers: {
        title: "MCP Servers",
        activeCount: "{count} active servers",
      },
      builtinTools: {
        title: "Built-in Tools",
        summary: "{total} tools ({enabled} enabled)",
      },
      totalTools: {
        title: "Total Tools",
        summary: "{total} tools ({enabled} enabled)",
      },
    },
    list: {
      title: "Tool List",
      description: "View and manage all available tools",
      searchPlaceholder: "Search tools...",
      disabledBadge: "Disabled",
      sourcePrefix: "Source: {source}",
      actions: {
        enable: "Enable",
        disable: "Disable",
      },
      empty: {
        title: "No tools found",
        description: "Try adjusting your search or add a new tool",
      },
      noDescription: "No description provided",
      usedByAgents: "Used by {count} agents",
    },
    mcp: {
      title: "MCP Server Management",
      description: "Manage your Model Context Protocol (MCP) server configurations",
      addConnector: "Add Connector",
      badge: "Connector",
      runtime: {
        title: "Runtime Inputs",
        delegatedAuthorization: "Delegated Authorization",
        authorizationRequiresDelegated: "Authorization bindings require delegated authorization.",
        inputs: "Inputs",
        bindings: "Bindings",
        addInput: "Add Input",
        addBinding: "Add Binding",
        noInputs: "No runtime inputs",
        noBindings: "No runtime bindings",
        noSourceKeys: "No keys",
        boundHeaders: "Runtime-bound headers",
        boundBodyFields: "Runtime-bound body fields",
        toolArgumentsHidden: "Runtime-bound tool arguments are hidden from the model and injected only at connector call time.",
        key: "key",
        path: "path",
        required: "Required",
        inputTypes: {
          context: "Context",
          secrets: "Secret",
          auth_selector: "OAuth Selector"
        },
        valueTypes: {
          string: "String",
          object: "Object"
        },
        targetTypes: {
          mcp_meta: "MCP _meta",
          tool_arguments: "Tool Argument",
          transport_headers: "Transport Header",
          headers: "Header",
          body_field: "Body Field"
        },
        errors: {
          sourceMissing: "This binding references an input that is not declared.",
          sourceUnsupported: "This input type is not supported for this connector.",
          targetUnsupported: "This target is not supported for this connector.",
          authSelectorBinding: "OAuth selectors cannot be bound directly to connector targets.",
          secretTarget: "Secrets can only bind to connector headers.",
          contextTarget: "Context cannot bind to this target.",
          objectHeader: "Object values cannot bind to headers.",
          duplicateInput: "Runtime input keys must be unique within the same input type.",
          targetMissing: "This binding needs a target key or path.",
          authorizationRequiresDelegated: "Authorization bindings require delegated authorization."
        }
      },
      signedUploads: {
        title: "File uploads",
        description: "Set this up for a connector whose tools take files through an upload URL from an issuing tool. Choose a mode for each entry.",
        mode: "Mode",
        modeReplacement: "Upload before a tool call",
        modeReplacementHint: "Before the tool that takes the file is called, the issuing tool is called to get an upload URL, and the file is uploaded there.",
        modeIssuer: "Run the issuing tool for the model",
        modeIssuerHint: "When the model calls the issuing tool with a workspace file (attached or generated), the file is uploaded right away and the model gets only the connector's file ID to pass to the tool that takes the file. The model never sees the upload URL.",
        toolName: "Tool that takes the file",
        fileArgument: "File argument",
        issuingToolName: "Issuing tool",
        toolNamesHint: "Use the tool names from your connector provider's documentation.",
        namesNotCheckedHint: "Names are not checked against the connector when you save. If a name does not match, files are not uploaded for that tool.",
        allowedUploadHosts: "Allowed upload hosts",
        allowedUploadHostsHint: "One hostname per line.",
        uploadPathPrefix: "Upload path prefix",
        contentTypes: "File types",
        extension: "Extension",
        contentType: "Content type",
        addContentType: "Add file type",
        removeContentType: "Remove file type",
        addTool: "Add tool",
        removeTool: "Remove tool",
        newTool: "New tool",
        empty: "No upload settings",
        invalid: "These upload settings can't be used, so this connector is unavailable: {error}",
        willBeCleared: "Upload settings will be cleared.",
        invalidBadge: "Upload settings invalid",
        invalidBadgeDescription: "Upload settings are invalid, so this connector is unavailable.",
      },
      memberOAuth: {
        destination: "After you sign in, your account token is sent to {host}",
      },
      // Account identifier step before a builtin OAuth popup, for providers
      // hosted on the customer's own account (oauth-account-dialog.tsx).
      accountStep: {
        continue: "Continue",
        invalid: "Enter only your account name: letters, digits, and hyphens (not at the start or end), up to 63 characters.",
        retryHint: "Not connected yet. If the sign-in window showed an error, check the account name and try again.",
      },
      dialog: {
        addTitle: "Add MCP Server",
        editTitle: "Edit MCP Server",
        description: "Configure MCP server connection parameters",
        connector: "Connector",
        browseLibrary: "Apps",
        customMcp: "Custom MCP",
        customApi: "Custom API",
        addCustomApi: "Add Custom API",
        editCustomApi: "Edit Custom API",
        customApiDescription: "Use Custom API connector to integrate any external service that supports secret or token authorization.",
        customApiName: "Name *",
        customApiNamePlaceholder: "My Custom API",
        customApiNote: "Note (Optional)",
        customApiNotePlaceholder: "Provide API documentation or description to tell the assistant how and when to use this API",
        customApiSecrets: "Secrets (Environment Variables)",
        customApiSecretsDesc: "Saved credentials used by URL, headers, or body templates. Removing one is explicit and permanent after save.",
        noCustomApiSecrets: "No saved secrets",
        customApiSecretName: "Secret Name",
        customApiSecretValue: "Value",
        customApiSecretValuePlaceholder: "Value of the secret, such as sk-example-1234",
        customApiAddSecret: "Add Secret",
        removeSecret: "Remove secret",
        removeSecretConfirm: "Remove the saved secret {key}? This takes effect when you save the connector.",
        removeReferencedSecretConfirm: "The secret {key} is still referenced by the connector configuration. Remove it anyway? This takes effect when you save.",
        location: "Location",
        remote: "Remote",
        local: "Local",
        status: "Status",
        verified: "Verified",
        categories: "Categories",
        all: "All",
        searchPlaceholder: "Search MCPs...",
        serversFound: "{count} apps found",
        noServersFound: "No MCP apps found",
        selected: "{count} selected",
        connect: "Connect",
        connecting: "Connecting...",
        // Card-level trigger for the per-server OAuth flow of an unauthorized
        // custom mcp_oauth connector. Deliberately not "Connect": the select
        // mode footer already uses that label to commit the selection.
        authorize: "Authorize",
        apiKeyOptionalHint: "Enter your API key to connect.",
        apiKeyOverrideHint: "Or enter your own key to override the shared one.",
        sharedKeyConfigured: "A shared key is already configured — you can connect with it directly.",
        useSharedKey: "Use the shared key",
        manageKey: "Manage my key",
        currentlyUsingOwnKey: "Currently using your own key.",
        currentlyUsingSharedKey: "Currently using the shared key.",
        envSource: {
          own: "Use your own key",
          shared: "Use the shared key",
          platform: "Use the platform key",
        },
        ownership: {
          label: "Ownership",
          private: "Only me",
          team: "Belongs to team",
        },
        configure: "Configure",
        reconnect: "Reconnect",
        reconnectNotice: "Your {name} connection needs to be reconnected before agents can use it.",
        connectSuccess: "Connected to {name}",
        disconnect: "Disconnect",
        disconnectSuccess: "Disconnected from {name}",
        disconnectFailed: "Failed to disconnect from {name}",
        errorDisconnecting: "Error disconnecting from {name}",
        deleteService: "Delete Service",
        deleteSuccess: "Successfully deleted {name}",
        deleteFailed: "Failed to delete {name}",
        deleteConfirm: "Remove {name}?",
        fetchFailed: "Failed to fetch MCP apps",
        fetchError: "An error occurred while fetching MCP apps",
        customApiDetailFetchError: "Failed to load the saved Custom API configuration",
        mcpDetailFetchError: "Failed to load the saved MCP server configuration",
        endpointUrl: "Endpoint URL *",
        method: "Method *",
        authentication: "Authentication",
        authTypes: {
          none: "None",
          bearer: "Bearer Token",
          apiKey: "API Key",
          basic: "Basic Auth",
          oauth2: "OAuth 2.0",
          mcpOAuth: "MCP OAuth"
        },
        headerName: "Header Name",
        headerNamePlaceholder: "e.g. X-API-Key",
        apiKey: "API Key *",
        apiKeyPlaceholder: "Enter your API key",
        token: "Token *",
        tokenPlaceholder: "Enter your Bearer Token",
        username: "Username *",
        usernamePlaceholder: "Enter username",
        password: "Password *",
        passwordPlaceholder: "Enter password",
        basicAuthNote: "Basic Auth is currently configured. Enter new credentials to update.",
        advancedOptions: "Advanced Options",
        customHeaders: "Custom Headers",
        customHeadersDesc: "Additional headers sent with every request",
        noCustomHeaders: "No custom headers",
        headerKeyPlaceholder: "Header-Name",
        headerValuePlaceholder: "value",
        addHeader: "Add Header",
        envVariables: "Global Environment Variables",
        globalEnvVariablesDesc: "Shared default for all users; used when you have no override for a key",
        globalEnvVariablesReadonlyDesc: "Shared default set by the owner (read-only); override values above",
        userEnvVariables: "My Environment Variables",
        userEnvVariablesDesc: "Your private values; override the global defaults below",
        noEnvVariables: "No environment variables",
        envKeyPlaceholder: "VARIABLE_NAME",
        envValuePlaceholder: "value",
        addEnvVariable: "Add Variable",
        bodyTemplate: "Body",
        bodyTemplateDesc: "Optional. Provide a JSON template for the request. You can use `$VARIABLE` placeholders, which will be dynamically replaced.",
        bodyTemplatePlaceholder: "{\n  \"key\": \"value\"\n}",
        transport: "Transport *",
        command: "Command *",
        commandPlaceholder: "e.g. npx, python, node",
        arguments: "Arguments",
        argumentsPlaceholder: "e.g. -m my_server or ./server.js",
        url: "URL *",
        clientId: "Client ID *",
        clientIdPlaceholder: "Enter client ID",
        oauthClientId: "Client ID (optional)",
        oauthClientIdPlaceholder: "Optional — leave blank for dynamic registration",
        clientSecret: "Client Secret *",
        clientSecretPlaceholder: "Enter client secret",
        oauthClientSecret: "Client Secret (optional)",
        oauthClientSecretPlaceholder: "Optional for public clients using PKCE",
        tokenUrl: "Token URL *",
        tokenUrlPlaceholder: "https://auth.example.com/token",
        oauthResource: "Resource",
        oauthIssuer: "Issuer",
        oauthScope: "Scope",
        oauthResourceMetadataUrl: "Resource Metadata URL",
        oauthRedirectUri: "Redirect URI",
        oauthTokenEndpointAuthMethod: "Token Endpoint Auth Method",
        oauthStatus: "MCP OAuth Status",
        oauthRefreshStatus: "Refresh status",
        oauthSaveBeforeConnect: "Save this MCP server before connecting OAuth.",
        oauthNoGrants: "No active grants",
        oauthNoScope: "No scope",
        oauthDiscover: "Discover",
        oauthConnect: "Connect",
        oauthReconnect: "Reconnect",
        oauthDisconnectGrant: "Disconnect grant",
        oauthDiscoverySuccess: "MCP OAuth metadata discovered",
        oauthDiscoveryFailed: "Failed to discover MCP OAuth metadata",
        oauthConnectFailed: "Failed to start MCP OAuth authorization",
        oauthStatusFailed: "Failed to load MCP OAuth status",
        oauthDisconnectSuccess: "MCP OAuth grant disconnected",
        oauthDisconnectFailed: "Failed to disconnect MCP OAuth grant",
        timeout: "Timeout",
        timeoutUnit: "seconds",
      },
      sharing: {
        share: "Make team",
        unshare: "Make personal",
        shared: "Team",
        private: "Personal",
        teamTool: "Team tool",
        needsConfig: "Needs config",
        onlyOwnerOrAdmin: "Only the owner or a team admin can make it a team connector; it stays personal.",
        stillUsedByAgent: "Cannot make personal: a team agent still uses this connector.",
      },
      form: {
        nameLabel: "Server Name *",
        namePlaceholder: "Enter server name",
        transportLabel: "Transport *",
        transportPlaceholder: "Select transport",
        descriptionLabel: "Description",
        descriptionPlaceholder: "Enter server description",
        fieldPlaceholderPrefix: "Please enter {field}",
        stdioSandboxHint: "When sandboxing is enabled, `npx` and `uvx` will run inside the sandbox. Other commands will still run in the local environment because their dependencies cannot be determined reliably, so please verify their safety carefully.",
      },
      transports: {
        stdio: { label: "Standard I/O", description: "Communicate via standard input/output streams" },
        sse: { label: "Server-Sent Events", description: "Communicate via Server-Sent Events" },
        websocket: { label: "WebSocket", description: "Communicate via WebSocket protocol" },
        streamable_http: { label: "Streamable HTTP", description: "Communicate via HTTP streaming" },
      },
      buttons: {
        cancel: "Cancel",
        update: "Update",
        create: "Create",
        save: "Save",
        delete: "Delete",
      },
      empty: {
        title: "No MCP server configuration",
        description: "Click \"Add Connector\" to start configuration",
      },
      list: {
        defaultBadge: "Default",
        createdAt: "Created At: {date}",
      },
      alerts: {
        nameRequired: "Server name cannot be empty",
        nameInvalidFormat: "Name can only contain letters, numbers, hyphens and underscores",
        saveFailed: "Save failed",
        connectTimedOut: "Connection timed out — please try again",
        shareTimedOut: "Connected, but sharing with your team timed out — you can share it later from its settings",
        closeBlockedWhileConnecting: "Still connecting — please wait a moment before closing",
        deleteFailed: "Delete failed",
        toggleFailed: "Toggle status failed",
        atLeastOneSecret: "At least one valid secret is required",
        urlRequired: "Endpoint URL is required",
        notConfigured: "This app is not configured for connection",
        providerNotDefined: "App provider is not defined",
      },
      mcpUnavailable: "MCP unavailable",
      needsReconnect: "Needs reconnect",
      needsReconnectDescription: "This connector must be reconnected before agent runs can use it.",
      notConnected: "Not connected, please click connector to configure",
      notSupported: "Platform does not support this app yet",
      delete: {
        confirm: "Are you sure to delete server \"{name}\"?",
      },
    },
    categories: {
      basic: "Basic Tools",
      web_search: "Web Tools",
      browser: "Browser Tools",
      vision: "Vision Tools",
      image: "Image Tools",
      video: "Video Tools",
      ppt: "PPT Tools",
      agent: "Agent Tools",
      other: "Other Tools",
      development: "Development Tools",
      search: "Search Tools",
      knowledge: "Knowledge Base",
      file: "File Operations",
      utility: "Utility Tools",
      creative: "Creative Tools",
      analysis: "Analysis Tools",
      mcp: "MCP Tools",
      database: "Database",
      skill: "Skill Tools",
    },
    badges: {
      types: {
        tool: "Tool",
        basic: "Basic",
        file: "File",
        knowledge: "Knowledge",
        image: "Image",
        video: "Video",
        vision: "Vision",
        audio: "Audio",
        special_image: "Image",
      },
      source: {
        builtin: "Built-in",
      },
      basic: "Basic",
      file: "File",
      knowledge: "Knowledge",
      image: "Image",
      video: "Video",
      vision: "Vision",
      audio: "Audio",
      special_image: "Image",
      builtin: "Built-in",
    },
  },
  files: {
    uploadFailed: "Upload failed",
    fileTooLarge: "File is too large for the configured upload limit",
    uploadProxyError: "Upload failed before reaching the application. Please check the server upload limit.",
    header: {
      title: "File Management",
      description: "Manage project files: upload, preview, download, and delete.",
    },
    search: {
      placeholder: "Search files...",
    },
    actions: {
      upload: "Upload",
      uploading: "Uploading...",
      delete: "Delete",
      download: "Download",
      preview: "Preview",
    },
    attachment: {
      typeUnknown: "Unknown",
      preview: {
        download: "Download",
      },
    },
    sidebar: {
      folders: "Folders",
      allFiles: "All Files",
      tasks: "Tasks",
      noTasks: "No tasks with files found",
      system: "System",
      userUploads: "User Uploads",
    },
    breadcrumb: {
      files: "Files",
      unknownTask: "Unknown Task",
      unknownCategory: "Unknown Category",
    },
    selection: {
      selected: "{count} selected",
    },
    table: {
      name: "Name",
      type: "Type",
      size: "Size",
      dateModified: "Date Modified",
      empty: {
        loading: "Loading files...",
        noMatch: "No files match your search.",
        noFiles: "No files found.",
      },
    },
    time: {
      justNow: "Just now",
      minsAgo: "{count} mins ago",
      hoursAgo: "{count} hours ago",
      daysAgo: "{count} days ago",
      monthsAgo: "{count} months ago",
      yearsAgo: "{count} years ago",
    },
    delete: {
      confirmSingle: "Are you sure you want to delete {name}?",
      confirmMultiple: "Are you sure you want to delete {count} files?",
    },
    pagination: {
      showing: "Showing {start}-{end} of {total}",
      prev: "Prev",
      page: "Page {page} of {pages}",
      next: "Next",
    },
    validation: {
      checking: "Checking file format…",
      valid: "Format readable · content not verified",
      invalid: "File validation failed · repair required",
      unchecked: "File not checked",
      error: "Unable to request file validation · try again",
      recheck: "Recheck",
    },
    previewDialog: {
      buttons: {
        download: "Download",
        open: "Open",
        openInNewWindow: "Open in New Window",
      },
      loading: "Loading file content...",
      imageError: {
        title: "Image failed to load",
        hint: "Try downloading to view",
      },
      emptyContent: "File content is empty",
      formulas: {
        missingResult: "Not calculated",
        missingResults: "Missing formula results on this sheet: {count}. Formulas are shown where available; this preview does not calculate them. Download and open the file in a spreadsheet app to recalculate.",
      },
      errors: {
        loadFailed: "Failed to load file",
        docxRenderFailed: "Failed to render DOCX preview",
        excelRenderFailed: "Failed to render Excel preview",
        pptxRenderFailed: "Failed to render PowerPoint preview",
        cors: "CORS error: Unable to access the file. This might be a browser cache issue, please try refreshing the page.",
        networkErrorWithMsg: "Network error: {msg}",
      },
    },
  },
  memory: {
    loading: "Loading memories...",
    header: {
      backTitle: "Back to Home",
      title: "Memory Center",
      description: "Store, search, and manage agent memory items",
      create: "New Memory",
    },
    createDialog: {
      title: "Create Memory",
      description: "Fill in the content, keywords, tags, and metadata to add a new memory item. The category is \"User Added Memory\" by default.",
    },
    stats: {
      total: "Total Memories",
      categories: "Categories",
      tags: "Tags",
      storeType: "Store Type",
    },
    filters: {
      title: "Filters",
      category: {
        label: "Category",
        all: "All",
        placeholder: "Select category",
      },
      categoryOptions: {
        general: "Memory added by users",
        react_memory: "Execution memory",
        execution_memory: "Task memory",
      },
      search: {
        label: "Search",
        placeholder: "Search content, keywords, or tags...",
      },
      similarity: {
        label: "Similarity Threshold",
        strict: "Strict",
        lenient: "Lenient",
      },
      date: {
        fromLabel: "From",
        toLabel: "To",
        fromPlaceholder: "Start date",
        toPlaceholder: "End date",
      },
    },
    item: {
      keywordPrefix: "Keyword",
      tagPrefix: "Tag",
      addedManually: "Added manually",
      addedAutomatically: "Added automatically",
      keywordsLabel: "Keywords:",
      tagsLabel: "Tags:",
    },
    list: {
      empty: "No memories found",
    },
    viewDialog: {
      title: "View Memory",
      description: "Detailed information of the selected memory item",
      labels: {
        category: "Category",
        time: "Time",
        content: "Content",
        keywords: "Keywords",
        tags: "Tags",
        metadata: "Metadata",
      },
      close: "Close",
      edit: "Edit",
    },
    editDialog: {
      title: "Edit Memory",
      description: "Modify the content, keywords, tags, or metadata",
    },
    deleteDialog: {
      title: "Delete Memory",
      description: "Are you sure you want to delete this memory? This action cannot be undone.",
      bulkDescription: "Are you sure you want to delete {count} memories? This action cannot be undone.",
      delete: "Delete",
    },
    form: {
      contentLabel: "Content",
      contentPlaceholder: "Enter memory content...",
      keywordsLabel: "Keywords",
      keywordsPlaceholder: "Enter keywords, separated by commas",
      keywordsTooltip: "Core vocabulary extracted from the content, primarily used for semantic similarity search and matching.",
      tagsLabel: "Tags",
      tagsPlaceholder: "Enter tags, separated by commas",
      tagsTooltip: "Custom categorization markers, primarily used for precise filtering and grouping of memories.",
      metadataLabel: "Metadata (JSON)",
      metadataPlaceholder: "Enter metadata in JSON format, e.g. {\"source\":\"web\"}",
    },
    sidebar: {
      contextSource: "Context Source",
      allMemories: "All Memories",
      byCategory: "By Category",
    },
    actions: {
      exportSelected: "Export Selected ({count})",
      exportCsv: "Export CSV",
      deleteSelected: "Delete Selected ({count})",
      clearFilter: "Clear Filter",
    },
    empty: {
      title: "No memories found",
      searchHint: "Try adjusting your search query.",
      categoryHint: "There are no memories in this category yet.",
    },
    errors: {
      deleteFailed: "Failed to delete memory",
      deleteBatchFailed: "Failed to delete memories",
      createFailed: "Failed to create memory",
      updateFailed: "Failed to update memory",
      unknown: "Unknown error",
    },
  },
  onboarding: {
    firstChat: {
      greeting: "Hi there — I'm {name}, your {role}.",
      summary: "How your teammate works",
      workingFrom: "Working from",
      inputs: "The brief, messages and files you share in this chat.",
      youGet: "You get",
      dataAccess: "Data access",
      accessApps: "Optional apps: {apps}. Access depends on your existing connections and this teammate's tool permissions.",
      accessFiles: "Your messages and uploaded files. This template requires no app connections.",
      runsAs: "Runs as",
      composerModel: "The model and mode selected in the composer below.",
      prompt: "What should I work on first? Share a brief, paste the source material or upload a file. You can connect apps below when you need them.",
    },
    skip: "Skip setup",
    saving: "Saving…",
    continue: "Continue",
    rail: {
      label: "Setup progress",
      need: "What you need",
      team: "Your team",
      aboutYou: "About you",
      goals: "Goals",
      myTeam: "My team",
      launch: "Launch",
    },
    welcome: {
      titlePrefix: "Welcome to {appName},",
      titleSuffix: ".",
      fallbackName: "there",
      subtitle: "I'll set up your first AI teammate — a few questions about your business, then you can put them to work. It takes about a minute.",
      cta: "Let's go",
    },
    business: {
      titleLine1: "What does",
      titleLine2: "your team do?",
      subtitle: "It's how I decide which agents to put in front of you.",
      industryLabel: "What industry are you in?",
      industryPlaceholder: "e.g. Property management",
    },
    work: {
      marketing: "Marketing",
      sales: "Sales",
      support: "Customer support",
      ops: "Operations",
      finance: "Finance",
      people: "People & hiring",
      product: "Product & engineering",
      other: "Other",
    },
    need: {
      greeting: "Hi {name} — what should",
      title: "we take off your plate?",
      subtitle: "Pick as many as you like. I'll match each one to a teammate and have the first one waiting when you land.",
      skip: "Skip — show me everyone",
    },
    goals: {
      titleLine1: "What should I",
      titleLine2: "take off your plate?",
      subtitle: "Pick everything that sounds like your week — I'll match each one to an agent.",
      skip: "Not sure yet — show me everyone",
    },
    goal: {
      inbox: "Keep my inbox under control",
      social: "Post on social media",
      meetings: "Write up my meetings",
      support: "Answer customer questions",
      leads: "Reply to new leads fast",
      research: "Research accounts and people",
      docs: "Summarise long documents",
      decks: "Build decks and one-pagers",
      linkedin: "Grow my LinkedIn presence",
      ads: "Watch my ad spend",
      kb: "Keep the help centre current",
      blog: "Write blog articles",
    },
    team: {
      title: "Meet your AI team.",
      voice: "Voice",
      voicePreview: "{voice} sounds like",
      connectNext: "{name} can connect to {apps} in the chat. You can do this later.",
      noAccounts: "{name} needs no connected accounts to start.",
      reviewNote: "Start with a brief or a file. Review the results before asking your teammate to send, publish or make changes.",
      teammate: "your teammate",
      loadFailed: "Couldn't load your teammates. Please try again.",
      empty: "No recommended teammates are available. You can browse the catalogue instead.",
      subtitleBase: "Based on what you picked. Choose who you want to start with",
      subtitleEnd: ".",
      subtitleExtraOne: " — the other match is waiting in Templates.",
      subtitleExtraMany: " — the other {count} matches are waiting in Templates.",
    },
    voice: {
      titleLine1: "How should",
      titleLine2: "they sound?",
      subtitle: "Pick a voice — every draft your agents write will use it.",
      soundsLike: "{name} sounds like",
      professional: {
        name: "Professional",
        say: "Thanks for reaching out. I have reviewed your request and will come back to you with an answer by Thursday.",
      },
      friendly: {
        name: "Friendly",
        say: "Thanks so much for getting in touch! I've had a look and I'll get you an answer by Thursday.",
      },
      concise: {
        name: "Concise",
        say: "Reviewed. You will have an answer by Thursday.",
      },
      warm: {
        name: "Warm",
        say: "Thanks for flagging this — I know the timing matters, so I've prioritised it and will have an answer to you by Thursday.",
      },
      playful: {
        name: "Playful",
        say: "Got it — thanks for the nudge! I'm on it, and you'll have an answer by Thursday.",
      },
    },
    done: {
      title: "You're all set.",
      subtitle: "{name} is ready — expect an introduction, and a couple of questions before the first job.",
      // Trailing/leading spaces below are deliberate, not stray whitespace:
      // these strings are composed around a <b> element in JSX (see
      // page.tsx), and English needs a space between words where Chinese's
      // equivalents don't - each locale now owns its own spacing instead of
      // JSX hardcoding an ASCII space that leaked into Chinese copy too.
      workingInPrefix: "Working in ",
      briefedPrefix: "Briefed on ",
      briefedSuffixOne: " job you want done",
      briefedSuffixOther: " jobs you want done",
      writingInPrefix: "Writing in a ",
      writingInSuffix: " voice",
      willConnectPrefix: "Will ask to connect ",
      willConnectAnd: "and",
      willConnectSeparator: ", ",
      willConnectSuffix: " on the way in",
      noAccounts: "No accounts needed to start",
      start: "Start with {name}",
      skip: "Take me to the catalogue instead",
      saveFailed: "Couldn't save your setup — please try again.",
    },
  },
  templates: {
    title: "Templates",
    subtitle: "Jumpstart your workflow with pre-built agents.",
    searchPlaceholder: "Search templates...",
    popular: "Popular",
    useTemplate: "Use Template",
    countOne: "{count} template",
    countOther: "{count} templates",
    runs: "runs",
    defaultSetupTime: "5 min setup",
    noResults: "No templates found matching your criteria.",
    categoryTitles: {
      featured: "Featured Templates",
      all: "All",
      general: "General",
      sales: "Sales",
      marketing: "Marketing",
      support: "Support",
      healthcare_fitness: "Healthcare & Fitness",
      general_productivity: "General & Productivity",
      customer_service: "Customer Service",
      finance_lms_ops: "Finance, LMS & Ops",
      security: "Security",
      operations: "Operations"
    },
    sections: {
      knowledge: "Knowledge & Research",
      sales: "Sales & Outreach"
    },
    typeFilter: {
      all: "All types",
      agent: "Agent",
      workforce: "Workforce"
    },
    workforceBadge: "Workforce",
    agentsCountOne: "{count} agent",
    agentsCountOther: "{count} agents",
    creatingWorkforce: "Creating...",
    errors: {
      useWorkforceFailed: "Couldn't create the workforce from this template. Please try again.",
      useWorkforceAccessDenied: "You don't have permission to create a workforce.",
      useWorkforceRetry: "Too many concurrent requests for this template. Please try again.",
      useWorkforceUnpublishedAgent: "The \"{agentName}\" agent this workforce needs is currently unpublished. Republish it from your Agents list, then try again."
    },
    marketplace: {
      pageTitle: "Add teammates",
      pageSubtitle: "Pick the job you want done and the teammate arrives configured. Each one drafts first and asks before it acts.",
      buildOwn: "Build your own teammate",
      buildOwnDescription: "Describe the job in a sentence and Xagent pre-fills the configuration.",
      describeIt: "Describe it",
      meet: "Meet {name}",
      hire: "Hire {name}",
      hiring: "Hiring…",
      chat: "Chat",
      back: "Back to AI Team Marketplace",
      whatItDoes: "WHAT IT DOES",
      whatsIncluded: "WHAT'S INCLUDED",
      tryAsking: "TRY ASKING",
      thinking: "Thinking",
      tools: "Tools",
      connectedApps: "Connected apps",
      skills: "Skills",
      runsCountOne: "{count} run",
      runsCountOther: "{count} runs",
      hireNote: "Hiring adds {name} to your agents and opens a chat — every setting above stays editable from there.",
      hireFailed: "Couldn't hire {name}. Please try again.",
      notFound: "This teammate could not be found.",
      loadFailed: "Couldn't load this teammate. Please check your connection and try again.",
      retry: "Retry",
      beforeWeStart: "A few things before I start:",
      hireClosingNote: "Answer what you can and I'll use sensible defaults for the rest — you can always change any of this later, or just tell me here.",
      customizeBeforeHiring: "Prefer to customize the setup first?",
      mostUsed: "Most used"
    }
  },
  workspace: {
    openNavigation: "Open navigation",
    closeNavigation: "Close navigation",
    startNew: "Start something new",
    newTask: "New task",
    addTeammate: "Add a teammate",
    pickJob: "Pick the job you want done and the teammate arrives configured.",
    buildOwn: "Build your own teammate",
    buildDescription: "Describe the job, or configure one field by field.",
    build: "Build",
    all: "All",
    featured: "Featured",
    seeAll: "See all teammates",
    searchLabel: "Search your team and conversations",
    searchPlaceholder: "Search teammates and messages",
    clearSearch: "Clear search",
    yourTeam: "Your team",
    recent: "Recent",
    team: "Team",
    manageTeam: "Manage my team",
    showRecent: "Show recent conversations",
    showTeam: "Show my team",
    justJoined: "Just joined — ready for your first job",
    untitledTask: "Untitled task",
    noConversations: "No conversations yet.",
    files: "Files",
    toolsApps: "Tools and apps",
    recurringJobs: "Recurring jobs",
    routinesDescription: "Standing work, and the switch that stops it.",
    routinesEmpty: "Nothing runs on a schedule yet.",
    routinesEmptyHint: "Ask a teammate to do something every morning and it will appear here.",
    routinesIncomplete: "Could not load recurring jobs for {names}. This list may be incomplete; existing schedules have not been stopped.",
    routinesUpdateFailed: "Could not update recurring job",
    toggleRoutine: "Toggle {name}",
    yesterday: "Yesterday",
    conversationOptions: "Options for {title}",
    renameConversation: "Rename conversation",
    deleteConversation: "Delete conversation",
    deleteConversationConfirm: "Delete “{title}”? This cannot be undone.",
    conversationTitle: "Conversation title",
    renameFailed: "Could not rename conversation",
    ready: "Ready",
    draft: "Draft",
    backToTask: "Back to new task",
    aiTeammate: "AI teammate",
    routines: "Routines",
    moreOptions: "More options for {name}",
    profile: "Profile",
    builderSettings: "Builder settings",
    deploy: "Deploy",
    routinesHint: "Review and configure recurring work",
    builderHint: "Instructions, model, knowledge, skills, tools and triggers",
  },
  sidebar: {
    search: {
      conversations: "Conversations",
      failed: "Search failed. Please try again.",
      empty: "No matching teammates or conversations.",
      loadMore: "Load more",
    },
    tasks: {
      empty: "No tasks",
      viewAll: "View All",
    },
    about: {
      menu: "About",
      title: "About Project",
      version: "Version",
      versionLatest: "Latest version",
      versionUpdateAvailable: "Update available",
      versionStatusUnknown: "Version status unknown",
      github: "GitHub Repository",
      stars: "Stars",
      license: "Open Source License",
    },
    user: {
      loggedIn: "Logged in",
      notLoggedIn: "Not logged in",
      logoutTitle: "Logout",
      logoutFailed: "Unable to log out. Please try again.",
      defaultName: "User",
    },
  },
  agentStore: {
    title: "Agent Store",
    loginRequiredTitle: "Please sign in to continue",
    subtitle: "Discover and use professional AI Agents across data analysis, code generation, text processing, and more",
    builtIn: {
      title: "Built-in Agents",
      badgeOfficial: "Official",
    },
    stats: {
      users: "{count} users",
      usesToday: "{count} uses today",
    },
    badges: {
      smartCorrection: "Smart Correction",
    },
    moreBuiltIn: {
      title: "More Built-in Agents",
      comingSoon: "Coming soon...",
      description: "We are building more professional AI Agents, including code assistants, data analysis, and document processing.",
    },
    deployments: {
      title: "VIBD Deployed Agents",
      badgeCommunity: "Community",
      noneTitle: "No deployed agents",
      noneDescription: "Once you deploy custom agents via the VIBE → BUILD → DEPLOY flow, they will appear here.",
      helperText: "Use our VIBE system to build and deploy your own AI Agents",
    },
    actions: {
      createAgent: "Create Agent",
    },
    footer: {
      title: "Get Started with AI Agents",
      description: "Choose the right agent for your needs and start intelligent workflows immediately",
      createCustomAgent: "Create Custom Agent",
    },
  },
  models: {
    header: {
      title: "Model Management",
      description: "Configure and manage AI models, set default models",
      add: "Add Model",
    },
    search: {
      placeholder: "Search models...",
    },
    tabs: {
      llm: "LLM Models",
      embedding: "Embedding Models",
      rerank: "Rerank Models",
      image: "Image Generation Models",
      video: "Video Generation Models",
      audio: "Audio Models",
      speech: "Speech Models",
      sound_effect: "Sound Effect Models",
      music: "Music Models",
    },
    section: {
      enabledModels: "Enabled Models",
      configuredCount: "{count} configured",
      exploreProviders: "Model Providers",
    },
    auto: {
      title: "Auto",
      description: "Route each request to the best fit among model configurations you already connected.",
      configured: "Configured",
      notConfigured: "Not configured",
      defaultBadge: "Default",
      configure: "Configure Auto",
      edit: "Edit Auto",
      summary: "{count} candidates",
      dialogTitle: "Configure Auto",
      dialogDescription: "Choose concrete models from your Models list. Auto will reuse each model's provider, API key, and base URL.",
      mode: "Selection mode",
      modeRouting: "Automatic routing",
      modeRoutingHelp: "Choose a model for each request, with one held-back fallback.",
      modeSequential: "Sequential failover",
      modeSequentialHelp: "Always try compatible models in the displayed order and advance only after an availability failure.",
      candidateModels: "Candidate models",
      selectModels: "Select one or more models",
      noModels: "Connect an LLM model first, then return here to configure Auto.",
      profileBindings: "Routing profile mapping",
      selectProfile: "Select matching model profile",
      duplicateProfile: "Each routing profile can only be mapped once.",
      unknownProfile: "Profile {profile} is no longer available. Select another profile before saving.",
      profileModalityMismatch: "Profile {profile} does not match this model's image, audio or video abilities. Select a matching profile or update the model's abilities before saving.",
      moveUp: "Move candidate up",
      moveDown: "Move candidate down",
      fallback: "Fallback model",
      selectFallback: "Select a fallback model",
      fallbackHelp: "Kept out of routing while other candidates remain. Used only when routing fails, when the selected model is unavailable (provider down, timed out, rate limited, out of quota, credential rejected, model not found), or when no other candidate accepts the attached content. Auto never falls back to an unconfigured provider.",
      setDefault: "Use Auto as the default model",
      setDefaultHelp: "New tasks will start with Auto unless another model is selected explicitly.",
      save: "Save Auto",
      saving: "Saving...",
      saved: "Auto configuration saved",
      errors: {
        loadFailed: "Failed to load Auto configuration",
        profilesFailed: "Failed to load routing profiles",
        saveFailed: "Failed to save Auto configuration",
      },
    },
    deleteConfirm: "Are you sure you want to delete this model?",
    deleteTitle: "Delete Model",
    errors: {
      setDefaultFailed: "Failed to set default model",
      removeDefaultFailed: "Failed to remove default model",
      fetchFailed: "Failed to fetch models",
      saveFailed: "Failed to save model",
      deleteFailed: "Failed to delete model",
      createFailed: "Failed to create model",
    },
    defaults: {
      general: "Default Model",
      fast: "Fast Model",
      visual: "Visual Model",
      compact: "Long Context Model",
      embedding: "Embedding Model",
      image: "Image Generation Model",
      image_edit: "Image Edit Model",
      video: "Video Generation Model",
      asr: "Speech Recognition Model",
      tts: "Text-to-Speech Model",
      sound_effect: "Sound Effect Model",
      music: "Music Model",
      rerank: "Rerank Model",
      shared: "Shared",
      shared_from_others: "Public Model",
      builtin: "Built-in",
    },
    card: {
      owner: "Owner",
      shared: "Shared",
      inactive: "Inactive",
      connectToUse: "Connect to use models from this provider.",
      usedBy: "{count} models",
      fields: {
        provider: "Provider",
        name: "Name",
        temperature: "Temperature",
        not_set: "Not set",
        dimension: "Dimension",
        base_url: "Base URL",
        default: "Default",
        abilities: "Abilities",
        description: "Description",
        created: "Created",
        updated: "Updated",
        unknown: "Unknown",
        contextWindowUnset: "Context window not set",
      },
      actions: {
        edit: "Edit",
        setDefault: "Set Default",
        connect: "Connect",
        manage: "Manage",
      },
      status: {
        connected: "Connected",
      },
    },
    empty: {
      llm: "No configured LLM models",
      embedding: "No configured embedding models",
      image: "No configured image models",
      sound_effect: "No configured sound effect models",
      music: "No configured music models",
      description: "Click 'Add Model' to start configuration",
    },
    dialog: {
      connectProviderTitle: "Connect {provider}",
      connectProviderDescription: "Enter your API Key to fetch available models.",
      fetchingModels: "Fetching models...",
      modelsFetchedAfterConnect: "Models will be fetched after connecting.",
      cancel: "Cancel",
      add: "Create Model",
      editTitle: "Edit Model",
      createTitle: "Create Model",
      editDescription: "Modify the configuration of an existing model",
      createDescription: "Configure a new model to use in the system",
      providerModelsTitle: "{provider} Models",
      manageDescription: "Manage your configured models for this provider.",
      noModelsConfigured: "No models configured.",
      availableModels: "Available Models",
      refreshModels: "Refresh Models",
      connect: {
        title: "Connect an AI Model",
        description: "Add a new AI provider to your workspace",
        step1: "Choose provider",
        step2: "API key",
        step3: "Test & activate",
        step4: "Settings",
        searchPlaceholder: "Search providers... e.g. OpenAI",
        next: "Next",
        apiKeyTitle: "Your {provider} API Key",
        apiKeyPlaceholder: "sk-...",
        apiKeyHint: "Go to provider settings → API keys → Create new secret key → paste above.",
        advancedSettings: "Advanced settings",
        baseUrlPlaceholder: "https://your-endpoint.example.com/v1",
        baseUrlHint: "Point this at any endpoint that implements the OpenAI API — vLLM, Together, a local server, etc.",
        testConnection: "Test Model Connection",
        testSuccess: "Connection successful! The model is working correctly.",
        catalogUnavailable: "This compatible endpoint does not provide a model list. Enter the model name manually, then test the model connection.",
        selectModelWarning: "Please select a model",
        activate: "Activate",
        defaultModels: "Default Models",
        defaultModelsDesc: "Select which default roles this model should fill.",
        currentDefaults: "Current Default Models",
        sharing: "Sharing",
        sharingDesc: "Make this model available to everyone in the workspace."
      },
    },
    form: {
      modelId: "Model ID",
      category: "Category",
      provider: "Provider",
      name: "Model Name",
      temperature: "Temperature",
      contextWindow: "Context Window",
      contextWindowPlaceholder: "e.g. 128000",
      contextWindowHint: "Total context window in tokens. Used to decide when to compact the conversation.",
      dimension: "Vector Dimension",
      apiKey: "API Key",
      apiKeyPlaceholder: "sk-...",
      apiKeyPlaceholderEdit: "Leave blank to keep unchanged",
      baseUrl: "Base URL",
      baseUrlPlaceholder: "https://api.openai.com/v1",
      bedrockEndpointPlaceholder: "https://bedrock-runtime.us-east-1.amazonaws.com",
      region: "AWS Region",
      authMode: "Authentication Mode",
      bedrockApiKey: "Amazon Bedrock API key",
      awsCredentialsChain: "AWS credential chain",
      awsCredentialsChainAdminOnly: "AWS credential chain (administrators only)",
      awsCredentialsChainAdminRequired: "Only an administrator can save or test this credential-chain configuration. Switch to API key authentication to update it.",
      abilities: "Abilities",
      description: "Description",
      selectModel: "Select Model Name",
      searchModels: "Search models...",
      setDefault: "Set as default model",
      defaultPlaceholder: "Select default type...",
      shareWithUsers: "Share this model with all users",
      abilitiesPlaceholder: "Select abilities...",
      update: "Update Model",
      create: "Create Model",
      enterModelName: "Enter model name manually...",
      customModel: "Custom...",
      addCustom: "Add",
    },
    abilities: {
      chat: "Chat",
      vision: "Vision",
      tool_calling: "Tool Calling",
      thinking_mode: "Thinking Mode",
      embedding: "Embedding",
      generate: "Generate",
      edit: "Edit",
      asr: "Speech Recognition (ASR)",
      tts: "Text-to-Speech (TTS)",
      sound_effect: "Sound Effect",
      music: "Music Generation",
      rerank: "Rerank",
    },
    providers: {
      bedrock: {
        description: "Amazon Bedrock models through the native Converse API.",
      },
      openai: {
        description: "Access GPT-4o, GPT-4 Turbo, and DALL-E 3 models. Industry standard for reasoning and creativity.",
      },
      deepseek: {
        description: "DeepSeek v4 models with native tool calling and configurable thinking mode.",
      },
      "minimax-coding-plan": {
        description: "MiniMax Coding Plan endpoint (Anthropic-compatible, minimax.io).",
      },
      "minimax-cn-coding-plan": {
        description: "MiniMax Coding Plan endpoint (Anthropic-compatible, minimaxi.com).",
      },
      "kimi-for-coding": {
        description: "Kimi For Coding endpoint.",
      },
      "zai-coding-plan": {
        description: "GLM Coding Plan endpoints via Z.AI.",
      },
      "zhipuai-coding-plan": {
        description: "GLM Coding Plan endpoints via Zhipu AI.",
      },
      "alibaba-coding-plan": {
        description: "Alibaba Bailian Coding Plan endpoint.",
      },
      "alibaba-coding-plan-cn": {
        description: "Alibaba Bailian Coding Plan endpoint (China).",
      },
      azure_openai: {
        description: "Enterprise-grade OpenAI models hosted on Azure.",
      },
      zhipu: {
        description: "GLM-4 models optimized for Chinese and English tasks. Strong reasoning capabilities.",
      },
      dashscope: {
        description: "Qwen models from Alibaba Cloud. Strong performance in Chinese language tasks.",
      },
      gemini: {
        description: "Multimodal capabilities natively built-in. Excellent for analyzing images, video, and large text corpuses.",
      },
      claude: {
        description: "Claude 3.5 Sonnet and Opus models. Known for high steerability, large context windows, and coding tasks.",
      },
      xinference: {
        description: "Local inference platform for running open-source LLMs, embedding models, and image models. Deploy models on your own infrastructure.",
      },
      openai_embedding: {
        description: "Dedicated embedding models from OpenAI.",
      },
    },
  },
  kb: {
    migration: {
      upgrading: "Knowledge base is upgrading. The upload retries automatically.",
    },
    ownership: {
      label: "Ownership",
      personal: "Personal",
      team: "Team",
      personalDesc: "Only you can see it",
      teamDesc: "Everyone on your team can see it",
      makeTeam: "Share with team",
      makePersonal: "Make personal",
      teamSuccess: "Knowledge base shared with your team.",
      personalSuccess: "Knowledge base is personal again.",
      failed: "Failed to update knowledge base ownership",
      reserveFailed: "Failed to reserve this name for your team",
      releaseFailed: "The team reservation for \"{name}\" was not released. Creating it again under your account reuses it.",
    },
    errors: {
      loadFailed: "Failed to load knowledge base",
      nameRequired: "Knowledge base name is required",
      createFailed: "Failed to create knowledge base",
      uploadFileRequired: "Please select a file to upload",
      uploadFailedFile: "Failed to upload file: {name}",
      uploadFailed: "Upload failed",
      nameUnavailable: "This knowledge base name is unavailable",
      nameUnavailableHint: "Please choose a different knowledge base name and try again.",
      embeddingModelUnavailable: "Knowledge base import failed: no usable embedding model is configured",
      embeddingModelUnavailableHint: "Configure a default embedding model in Model Settings, or choose a valid embedding model in Index Settings before retrying.",
      rollbackFailed: "Knowledge base import failed and cleanup did not fully complete",
      rollbackFailedHint: "The system attempted to roll back this import. Check Processing Results for the detailed error and verify file status.",
      startUrlRequired: "Start URL is required",
      webIngestFailed: "Website import failed",
      cloudIngestFailed: "Cloud import failed",
      deleteFailed: "Failed to delete knowledge base: {name}",
      deleteFailedGeneric: "Failed to delete knowledge base",
      batchDeleteFailed: "Failed to batch delete knowledge bases",
      unsupportedFileType: "Some file formats are not supported and have been skipped",
      failedAtStep: "Failed at step: {step}",
    },
    actions: {
      deleteConfirm: "Are you sure you want to delete knowledge base {name}? This action cannot be undone.",
      deleteConfirmWithName: "Are you sure you want to delete knowledge base \"{name}\"? This action cannot be undone.",
      batchDeleteConfirm: "Are you sure you want to delete {count} selected knowledge bases? This action cannot be undone.",
    },
    loading: {
      loadingKB: "Loading knowledge base...",
    },
    emptyState: {
      title: "How Knowledge Base Works",
      description: "Give your agents access to your own content. Upload files, import websites, and let agents search your knowledge to answer questions accurately.",
      features: {
        fileUpload: {
          title: "File Upload",
          description: "Upload PDFs, docs, spreadsheets, and more to build a searchable knowledge store for your agents."
        },
        websiteImport: {
          title: "Website Import",
          description: "Import any website or documentation page and keep it in sync automatically as content changes."
        },
        semanticSearch: {
          title: "Semantic Search",
          description: "Find the most relevant content using AI-powered embeddings and hybrid search across all your data."
        },
        connectToAgents: {
          title: "Connect to Agents",
          description: "Attach knowledge bases directly to your agents so they always respond with accurate, relevant context."
        }
      },
      action: "+ Create Knowledge Base"
    },
    header: {
      title: "Knowledge Base Management",
      description: "Manage document collections and search indices",
      new: "New Knowledge Base",
      totalCount: "Total {total}",
      matchCount: "Matched {matched} / Total {total}",
    },
    search: {
      placeholder: "Search knowledge base...",
    },
    manage: {
      enter: "Manage",
      exit: "Done",
      selectAll: "Select all",
      deselectAll: "Deselect all",
      deleteSelected: "Delete selected ({count})",
    },
    messages: {
      deleteSuccess: "Knowledge base deleted",
      batchDeleteSuccess: "Deleted {count} knowledge bases",
      batchDeleteFailedCount: "{count} failed to delete",
    },
    card: {
      documentsLabel: "Documents",
      chunksLabel: "Text Chunks",
      embeddingsLabel: "Vectors",
      parsesLabel: "Parses",
      noDescription: "No description",
      ownerLabel: "Owners: {owners}",
      ownerFallbackLabel: "Owners (name load failed, showing IDs): {owners}",
      actions: {
        viewDetail: "View Details",
        delete: "Delete knowledge base",
      },
      status: {
        active: "Active",
      },
    },
    empty: {
      noKB: "No knowledge base",
      searchNoMatch: "No knowledge base matches your search",
      hintSearch: "Try other search keywords",
      hintCreate: "Click 'New Knowledge Base' to create your first knowledge base",
    },
    dialog: {
      steps: {
        stepCount: "Step {currentStep}",
        nameItTitle: "Name your knowledge base",
        addContentTitle: "Add content source",
        reviewTitle: "Review & Create",
        nameIt: "Name it",
        addContent: "Add Content",
        filesSelected: "files selected",
        crawlStartingFrom: "Crawling from"
      },
      createTitle: "New Knowledge Base",
      createButton: "Create Knowledge Base",
      createDescription: "Create a new knowledge base and upload documents or import from website",
      basicInfo: {
        title: "Basic Information",
        nameLabel: "Knowledge Base Name",
        namePlaceholder: "Enter knowledge base name",
        descriptionLabel: "Description",
        descriptionPlaceholder: "Knowledge base description (optional)",
      },
      tabs: {
        file: "File Upload",
        web: "Website Import",
        webDesc: "Import website content by crawling URLs",
        cloud: "Cloud Connect",
        cloudDesc: "Connect cloud storage to sync documents",
      },
      cloudConnect: {
        title: "Cloud Connect",
        description: "Connect your preferred cloud storage to automatically sync documents",
        googleDrive: "Google Drive",
        dropbox: "Dropbox",
        sharePoint: "SharePoint",
        oneDrive: "OneDrive",
        connected: "Successfully connected to {provider}",
        connectionFailed: "Failed to connect to cloud provider",
        connecting: "Connecting...",
        auth: {
          title: "Connect to {provider}",
          selectAccount: "Select connected account",
          addAccount: "+ Add Account",
          expired: "Session expired",
          defaultProvider: "Cloud Provider",
          accountLabel: "Account {id}",
          accountProviderLabel: "{email} - {provider}",
          success: "Connected successfully",
          deleteAccount: "Delete Account",
          deleteConfirm: "Are you sure you want to delete account {email}? This action cannot be undone.",
          deleteSuccess: "Account deleted successfully",
          deleteFailed: "Failed to delete account",
        },
        error: {
          fetchFailed: "Failed to load files",
        },
        picker: {
          open: "Choose files with Google Picker",
          authorized: "Google Drive files authorized",
          reconnect: "Google Drive permission is outdated. Reconnect the account before using Picker.",
          notConfigured: "Google Drive Picker is not configured",
          error: "Google Drive Picker could not be opened",
        },
        search: {
          placeholder: "Search",
        },
        loading: "Loading...",
        fileList: {
          noMatchingFiles: "No matching files found",
          noFiles: "No files found",
          headers: {
            folders: "Folders",
            files: "Files",
          },
        },
        selectedFiles: {
          title: "Selected Files",
          empty: "No files selected",
          clearAll: "Clear All",
          limitReached: "You can select up to {count} files per import.",
        },
        select: {
          driveLabel: "Select Drive",
          folderLabel: "Select Folder/Files",
          selectedCount: "{count} files selected",
          confirm: "Confirm Selection",
          cancel: "Cancel",
          accountPlaceholder: "Select Account",
          drivePlaceholder: "Select Drive",
        },
      },
      fileUpload: {
        title: "Document Upload",
        dropOrClick: "Drag files here or click to select",
        supportedFormats: "Supported formats: PDF, TXT, HTML, MD, Word, Excel, PPT, etc.",
        selectFiles: "Select Files",
        selectedTitle: "Selected Files",
        remove: "Remove",
        uploading: "Uploading...",
        uploadSuccess: "Upload Successful",
        uploadFailed: "Upload Failed",
        progressTitle: "Upload Progress",
        processing: "Processing...",
        reuploadConfirmTitle: "File already exists",
        reuploadConfirmMessage: "The following file(s) already exist in this knowledge base. Re-upload to overwrite?",
        reuploadConfirmCancel: "Cancel",
        reuploadConfirmSubmit: "Re-upload anyway",
        checkFailedProceeding: "Could not check for duplicates, uploading directly.",
        processSuccess: "Processing Success",
        processFailed: "Processing failed",
        processResult: {
          createDocuments: "Create Documents",
          textChunks: "Text Chunks",
          vectors: "Vectors",
        },
      },
      webImport: {
        title: "Website Import",
        description: "Respect robots.txt and crawl target website content, then index",
        basic: {
          title: "Basic Configuration",
          startUrl: "Start URL",
          maxPages: "Max Pages",
          crawlDepth: "Crawl Depth",
          concurrentRequests: "Concurrent Requests",
        },
        advanced: {
          title: "Advanced Configuration",
          urlPatterns: "URL Patterns",
          excludePatterns: "Exclude Patterns",
          contentSelector: "Content Selector",
          removeSelectors: "Remove Selectors",
          requestDelay: "Request Delay (ms)",
          requestDelaySeconds: "Request Delay (seconds)",
          timeout: "Request Timeout (ms)",
          timeoutSeconds: "Request Timeout (seconds)",
          sameDomainOnly: "Same Domain Only",
          respectRobotsTxt: "Respect robots.txt",
          hintMultiple: "Separate multiple patterns with commas",
          hintContentSelector: "CSS selector for main content",
        },
        status: {
          progressTitle: "Crawl Progress",
          crawling: "Crawling website, this may take a few minutes...",
          success: "Crawl Successful",
          done: "Crawl Completed",
          failed: "Crawl Failed",
        },
        result: {
          pages: "Crawled Pages",
          viewWarnings: "View Warnings",
        },
      },
    },
    index: {
      title: "Index Configuration",
      parseMethodDesc: "How documents should be parsed",
      chunkStrategyDesc: "How text should be split",
      embeddingModelDesc: "Model used for vectorization",
      parseMethod: "Parse Method",
      parseOptions: {
        default: "Default",
        pypdf: "PyPDF",
        pdfplumber: "PDFPlumber",
        unstructured: "Unstructured",
        pymupdf: "PyMuPDF",
        deepdoc: "DeepDoc",
      },
      chunkStrategy: "Chunking Strategy",
      chunkOptions: {
        recursive: "Recursive",
        fixed_size: "Fixed Size",
        markdown: "Markdown",
      },
      chunkSize: "Chunk Size",
      chunkOverlap: "Chunk Overlap",
      separators: "Chunk Separators",
      separatorsPlaceholder: "Comma-separated, e.g. \\n\\n,\\n,。,\\s; use \\, for literal comma",
      separatorsTip: "Only used when strategy is Recursive. Escapes: \\n, \\t, \\r, \\,, \\\\.",
      embeddingModelId: "Embedding Model",
      embeddingBatchSize: "Batch Size",
      startImport: "Start Import",
      saveConfig: "Save Configuration",
      savingConfig: "Saving configuration...",
      rerankModelId: "Rerank Model",
      rerankModelHint: "When set, knowledge search adds a rerank stage for this KB. Leave empty to skip reranking.",
      saveRerankModel: "Save Rerank Model",
    },
    detail: {
      viewingDetails: "Viewing details for {name}",
      loadingDetail: "Loading knowledge base detail...",
      notFound: "Knowledge base not found",
      backToList: "Back to Knowledge Bases",
      tabs: {
        files: "Files",
        search: "Search Test",
        settings: "Settings",
      },
      files: {
        title: "Files",
        addSource: "Add Source",
        addDialogTitle: "Add Data Source",
        addDialogDescription: "Choose a data source to add to this knowledge base",
        uploading: "Uploading...",
        upload: "Upload",
      },
      uploaded: {
        title: "Uploaded Files",
        indexed: "Indexed",
        emptyTitle: "No files",
        emptyHint: "Uploaded files will appear here",
        delete: "Delete document",
        confirmDelete: "Are you sure you want to delete this document?",
      },
      process: {
        title: "Processing Results",
        labels: {
          file: "File",
          document: "Document",
          chunk: "Chunk",
          parse: "Parse",
          vector: "Vector",
          error: "Error",
        },
      },
      search: {
        title: "Search Test",
        resultsTitle: "Search Results ({count})",
        score: "Score",
        metadata: "Metadata",
        noResults: "No relevant results found",
        typeLabel: "Search Type",
        topKLabel: "Top K",
        embeddingModelIdLabel: "Embedding Model",
        rerankModelIdLabel: "Rerank Model",
        rerankPlaceholder: "Optional",
        queryPlaceholder: "Enter search query...",
        searchButton: "Search",
        types: {
          hybrid: "Hybrid Search",
          dense: "Dense Search",
          sparse: "Sparse Search"
        }
      },
      edit: {
        title: "Edit Knowledge Base",
        description: "Modify knowledge base name",
        nameLabel: "Knowledge Base Name",
        namePlaceholder: "Enter new knowledge base name",
        updating: "Updating...",
        errors: {
          renameFailed: "Failed to rename knowledge base",
          updateFailed: "Failed to update knowledge base",
        },
      },
      errors: {
        deleteFailed: "Failed to delete document",
        pleaseSelectFiles: "Please select files first",
        uploadFailedWithName: "Failed to upload file: {name}",
        uploadFailedGeneric: "Upload failed",
        enterStartUrl: "Please enter a start URL",
        webImportFailed: "Website import failed",
        searchFailed: "Search failed",
        embeddingNotConfigured: "No usable embedding model is configured",
        partialSuccess: "Partial success: {message}",
        deleteFailedWithMessage: "Delete failed: {message}",
        saveConfigFailed: "Failed to save configuration",
      },
      success: {
        configSaved: "Configuration saved successfully",
      },
    },
  },
  teamPage: {
    tabs: {
      teammates: "Teammates",
      workforces: "Workforces",
    },
  },
  builds: {
    header: {
      title: "Build History",
      description: "View and manage build history",
      newBuild: "New Build"
    },
    filters: {
      search_placeholder: "Search by Build ID or Task name...",
      status: {
        all: "All Statuses"
      }
    },
    emptyState: {
      title: "How Agents Work",
      description: "Agents are AI assistants you configure to handle specific tasks — they can use tools, access knowledge, and run automatically.",
      features: {
        instructions: {
          title: "Instructions",
          description: "Write clear instructions that define your agent's role, tone, goals, and how it should handle different scenarios."
        },
        tools: {
          title: "Tools",
          description: "Equip agents with tools to call APIs, process data, and take actions in the real world."
        },
        knowledgeBase: {
          title: "Knowledge Base",
          description: "Upload files or import a website so your agent can answer questions using your own content and data."
        },
        connectors: {
          title: "Connectors",
          description: "Connect apps like Gmail, Outlook, HubSpot, and more — or plug in your own MCP servers and custom APIs."
        }
      },
      action: "+ Create Your First Agent"
    },
    stats: {
      total: "Total {count} builds"
    },
    status: {
      started: "Started",
      building: "Building",
      completed: "Completed",
      failed: "Failed",
      cancelled: "Cancelled"
    },
    empty: {
      none: "No build records yet",
      createFirst: "Create first Build",
      noMatch: "No matching build records found"
    },
    card: {
      createdAt: "Created",
      updatedAt: "Updated",
      noDescription: "No description",
    },
    list: {
      header: {
        title: "My Team",
        description: "View and manage your agents, their status, and configuration.",
        create: "Add teammate",
      },
      search: {
        placeholder: "Find a teammate...",
      },
      empty: {
        title: "No agents found",
        description: "Get started by creating your first agent",
        create: "Create Agent",
      },
      tabs: {
        all: "All",
        enabled: "Enabled",
        drafts: "Drafts",
      },
      ownership: {
        mine: "My agents",
        others: "Other users' agents",
      },
      pagination: {
        showing: "Showing {start}–{end} of {total}",
        previous: "Previous",
        next: "Next",
        page: "Page {page} of {pages}",
      },
      sort: {
        updated: "Recently updated",
        name: "Name (A–Z)",
      },
      status: {
        draft: "Draft",
        published: "Enabled",
        archived: "Archived",
      },
      actions: {
        chat: "Chat",
        unpublish: "Unpublish",
        publish: "Publish",
        delete: "Delete",
        edit: "Edit",
        viewConfig: "View config",
        apiKey: "API Key",
        triggers: "Triggers",
        deploy: "Deploy",
        deleteConfirm: "Are you sure you want to delete this agent?",
      },
      deleteDialog: {
        title: "Delete agent?",
        description: "Delete \"{name}\"? This action cannot be undone.",
        confirm: "Delete agent",
        blockedTitle: "Agent is used by Workforces",
        blockedDescription: "\"{name}\" cannot be deleted until every Workforce reference is removed.",
        blockedToast: "Cannot delete \"{name}\": it is still used by one or more Workforces.",
        referencesLabel: "Workforces using this agent",
        hiddenReferences: "Additional Workforces use this agent but cannot be shown. Contact a workspace administrator to remove those references.",
        readyToRetry: "The visible blockers are cleared. Retry deletion to confirm that no references remain.",
        roles: {
          manager: "Manager",
          worker: "Worker",
        },
        openWorkforce: "Open \"{name}\"",
        discardDraft: "Discard draft \"{name}\"",
        confirmDiscardDraft: "Confirm discard \"{name}\"",
        retryDelete: "Retry Delete",
        discardFailed: "Failed to discard \"{name}\"",
        discardNotAllowed: "\"{name}\" can no longer be discarded.",
        discardHasRuns: "\"{name}\" has run history and cannot be discarded.",
      },
      createModal: {
        title: "How would you like to create an agent?",
        describeTitle: "By Describing It",
        describeDesc: "Tell us what you want — {appName} will pre-fill the configuration for you",
        placeholder: "e.g. A customer support agent that answers product questions, handles refund requests, and escalates complex issues to human agents...",
        buildBtn: "Start Task",
        startTaskFailed: "Failed to create task. Please try again.",
        manualTitle: "Manually",
        manualDesc: "Open a blank form and configure each field yourself from scratch",
        manualBtn: "Go to Builder",
      },
      chat: {
        welcome: "Hello! I'm {name}. {description}\n\nYou can start a conversation directly, or select a suggested prompt below.",
        inputPlaceholder: "Type your message...",
        loading: "Loading agent...",
        notFound: "Agent not found",
        notFoundDescription: "This agent does not exist or may have been deleted. You can create a new one to get started.",
        failed: "Failed to load agent",
        taskCreated: "Task created. Implementing WebSocket connection...",
        error: "Error: {message}",
        sendFailed: "Failed to send message. Please try again.",
      }
    },
    publication: {
      publishFailed: "Failed to publish agent",
      unpublishFailed: "Failed to unpublish agent",
    },
    editor: {
      aiAssistant: "{appName} Assistant",
      stepGuide: {
        title: "Build Your Agent",
        describe: "Describe your agent",
        configure: "Configure & Connect",
        preview: "Test In Preview",
        completed: "Preview finished. Review the result, then click Create to save a draft.",
      },
      header: {
        title: "Custom Agent",
        subtitle: "Configure your AI agent's behavior and capabilities.",
        create: "Create",
        update: "Update",
        publish: "Publish",
        unpublish: "Unpublish",
        creating: "Creating...",
        updating: "Updating...",
        readOnly: "Read-only (admin view)",
        startChat: "Start chat",
        saveBeforeChat: "Save your changes before starting a chat.",
      },
      viewTabs: {
        configure: "Configure",
        flow: "Flow",
      },
      flow: {
        input: {
          eyebrow: "Input",
          trigger: "Trigger",
          userMessage: "User message",
          userMessageDesc: "Chat, widget & API",
        },
        agent: {
          eyebrow: "Agent",
          edit: "Edit",
          untitled: "Untitled agent",
          plan: "Plan",
          planFromInstructions: "Plan — from your instructions",
          planInferred: "Plan — inferred · click a step to confirm",
          emptyPlan: "No plan yet — the agent responds directly from its instructions. Add a step to make its plan explicit.",
          addStep: "Add step",
          newStep: "New step",
          moveUp: "Move up",
          moveDown: "Move down",
          removeStep: "Remove step",
        },
        output: {
          eyebrow: "Output",
          reply: "Reply to user",
          replyDesc: "Chat · Widget · REST API",
          prompts: "{count} suggested prompts",
          promptsDesc: "Shown to users as quick starters",
        },
        caps: {
          knowledgeBase: "Knowledge Base",
          skills: "Skills",
          tools: "Tools",
          connectors: "Connectors",
          attachKb: "Attach a knowledge base",
          addSkills: "Add skills",
          addToolCategories: "Add tool categories",
          connectIntegrations: "Connect integrations",
        },
        hintBar: "Auto-generated from your configuration · Drag to arrange · Click a node to edit",
        resetLayout: "Reset layout",
        instructionsPopover: {
          title: "Instructions",
          note: "The plan steps on the Agent node are derived from these instructions.",
          cancel: "Cancel",
          save: "Save",
        },
      },
      validation: {
        nameRequired: "Agent name is required",
        instructionsRequired: "Agent instructions are required",
        modelRequired: "Please select a general model",
      },
      success: {
        created: "Agent created successfully",
        createdDesc: "'{name}' is saved as a draft, not published. You can keep testing in Preview. When ready, publish it, then choose Start chat to use it.",
        keepEditing: "Keep editing",
        published: "Agent published successfully",
        unpublished: "Agent unpublished successfully",
      },
      error: {
        failed: "Failed to create agent",
        kbToolsNotEnabled: "Knowledge bases are selected but the Knowledge tool category is not enabled. Please enable the Knowledge tools before saving.",
        unknown: "An unknown error occurred",
        notFound: "Agent not found",
        notFoundDesc: "The agent you are looking for does not exist or has been deleted.",
        templateIsWorkforce: "This template creates a workforce, not a single agent. Use it from the Templates page instead.",
      },
      kbToolWarning: {
        title: "Knowledge Tools Required",
        description: "You have selected knowledge bases but haven't enabled the Knowledge tool category. The agent needs Knowledge tools to search and retrieve content from the knowledge bases.",
        hint: "Click the button below to enable Knowledge tools, then save again.",
        cancel: "Later",
        enableAndContinue: "Enable Knowledge Tools",
        enabled: "Knowledge tools enabled. Please save again.",
      },
    },
    configForm: {
      listLoadFailed: "Couldn't load this list.",
      logo: {
        label: "Logo",
        upload: "Upload Logo",
        remove: "Remove Logo",
      },
      name: {
        label: "Name",
        placeholder: "e.g. Coding Assistant",
      },
      description: {
        label: "Description",
        placeholder: "Describe what this agent does...",
      },
      instructions: {
        label: "Instructions",
        placeholder: "System instructions for the agent...",
        optimize: "Optimize Instructions",
        optimizing: "Optimizing...",
        optimizeError: "Failed to optimize instructions",
        optimizeSuccess: "Instructions optimized successfully",
        maxLengthExceeded: "The instruction length cannot exceed 8 KB; any excess has been truncated.",
      },
      executionMode: {
        label: "Execution Mode",
        unset: "Default",
        auto: {
          title: "Auto",
          description: "Let the agent pick per request",
        },
        flash: {
          title: "Flash",
          description: "Simple, quick tasks",
        },
        balanced: {
          title: "Balanced",
          description: "Most everyday tasks",
        },
        think: {
          title: "Think",
          description: "Complex, multi-step tasks",
        },
      },
      model: {
        label: "Model",
        configure: "Configure Models",
        configureDescription: "Configure other specialized model parameters.",
        noData: "No models available",
        types: {
          general: "Main Model",
          smallFast: "Fast Model",
          visual: "Vision Model",
          compact: "Long Context Model",
        },
        tips: {
          general: "Primary model for all task execution",
          smallFast: "For simple operations",
          visual: "For conversation history compression",
          compact: "For image understanding",
          knowledgeBase: "A collection of documents or data your agent can retrieve from at runtime using semantic search. Attach a knowledge base to give your agent access to domain-specific information beyond its training data.",
          skills: "Reusable, pre-configured capabilities that combine a set of tools with instructions on how to use them. Add skills to extend what your agent can do without writing new logic from scratch.",
          tools: "Categories of actions your agent can execute — such as web search, code execution, or API calls.",
        },
      },
      knowledgeBase: {
        label: "Knowledge Base",
        placeholder: "Select Knowledge Base",
        create: "Create New Knowledge Base",
        noData: "No Knowledge Base available",
        selected: "{count} selected",
        selectAll: "Select All",
      },
      skills: {
        label: "Skills",
        placeholder: "Select Skills",
        create: "Create New Skill",
        noData: "No Skills available",
        selectAll: "Select All",
      },
      tools: {
        label: "Tools",
        placeholder: "Select Tool Categories",
        noData: "No tools available",
        selectedCount: "{count} categories selected ({tools} tools)",
        alwaysAvailable: "The agent may also use these built-in tools: {tools}",
        selectAll: "Select All",
        categories: {
          basic: "Basic Tools",
          codeExecution: "Code Execution",
          webSearch: "Web Tools",
          file: "File Operations",
          vision: "Vision",
          image: "Image Generation",
          video: "Video Generation",
          audio: "Audio Processing",
          knowledge: "Knowledge Base",
          mcp: "MCP Tools",
          browser: "Browser Automation",
          ppt: "PowerPoint",
          office: "Office Tools",
          specialImage: "Image Tools",
          database: "Database",
          skill: "Skill Tools",
          ssh: "SSH",
        },
        categoryDescriptions: {
          codeExecution: "Run Python, JavaScript and shell commands in the execution environment.",
          basic: "Structured questions and JSON field translation. Time and timezone helpers remain built in whenever tools are enabled.",
          webSearch: "Search the web, fetch webpage content, download web assets, and make HTTP API requests.",
          file: "File system operations, supporting reading, writing, searching, listing, and managing files.",
          vision: "Computer vision capabilities, supporting image recognition, analysis, and content extraction.",
          image: "Image generation and processing, supporting text-to-image, image editing, and other creative functions.",
          video: "Video generation capabilities, supporting text-to-video and reference-guided video creation.",
          audio: "Audio capabilities for speech recognition, text-to-speech, sound effects, and music generation.",
          knowledge: "Knowledge base retrieval and management, supporting semantic search and citation of document content.",
          mcp: "Model Context Protocol extensions, connecting external services and data sources.",
          browser: "Web browsing and automation, supporting web content scraping and interactive operations.",
          ppt: "Presentation creation, supporting slide generation, editing, and formatting.",
          office: "Office document processing, supporting operations for common formats like Word and Excel.",
          specialImage: "Advanced image processing, providing professional image analysis and conversion tools.",
          database: "Database operations, supporting SQL query, data export, and database management.",
          skill: "Skill file access, supporting reading and listing files from skill directories.",
        },
      },
      suggestedPrompts: {
        label: "Suggested Prompts",
        description: "Provide some example prompts for users to click and use directly",
        placeholder: "Example prompt {index}",
        add: "+ Add Prompt",
        delete: "Delete",
      },
      promptContextFields: {
        label: "Page reference data fields",
        description: "The embedding page can pass these fields with each conversation, and the agent reads them as reference data. Values are untrusted: do not use them for identity or permissions.",
        tooltip: {
          declaredOnly: "Only declared fields are kept.",
          overLimit: "Values longer than the max length are dropped.",
          instructions: "Refer to a field by name in the instructions, e.g. \"customer.tier in the reference data\".",
          nameRule: "Field names start with a letter or underscore and use only letters, digits, _ . - (up to 64 characters).",
        },
        namePlaceholder: "Field name, e.g. customer.tier",
        descriptionPlaceholder: "Optional, e.g. Customer membership level, VIP or standard",
        nameColumn: "Field name",
        maxLengthColumn: "Max length",
        descriptionColumn: "Description",
        nameLabel: "Field {index} name",
        maxLengthLabel: "Field {index} maximum length",
        descriptionLabel: "Field {index} description",
        add: "+ Add Field",
        delete: "Delete",
        limit: "{count} / {max} fields",
        invalid: "Fix the page reference data fields before saving",
        errors: {
          name: {
            required: "Enter a field name",
            invalid: "Invalid field name",
            duplicate: "Field names must be unique",
          },
          maxLength: "Maximum length must be a whole number from {min} to {max}",
          description: {
            tooLong: "Description is limited to {max} characters",
            invalidChars: "Description cannot contain line breaks, tabs or backticks",
          },
          tooMany: "At most {max} fields",
        },
      },
      visibility: {
        label: "Visibility",
        desc: "Control who in your team can see and use this agent",
        team: "Team — all members can view & use",
        admins: "Admins only — only team admins",
        adminsHint: "Only team admins can choose this.",
      },
      ownership: {
        label: "Agent ownership",
        personal: "Personal (default) — only you",
        team: "Team — shared with your team",
        hint: "Personal agents stay private to you. Sharing with the team lets other members use this agent.",
      },
      promoteTeam: {
        action: "Share with team",
        success: "Agent shared with your team.",
      },
      demote: {
        action: "Make personal",
      },
      connectorNotShared: {
        title: "Share resources first",
        desc: "This agent uses connectors or knowledge bases that are not yet shared with your team. Share them to continue.",
        unresolvedDesc: "This agent references a connector that you cannot resolve. Share the connector with the team first, or remove the reference before continuing.",
        unresolved: "cannot be resolved",
        shareAndContinue: "Share and continue",
        cancel: "Cancel",
      },
      chat: {
        title: "{appName} Assistant",
        subtitle: "Chat to configure your agent",
        initialMessage: "Hello! I am your {appName} Assistant. Describe what kind of agent you want to create, and I'll help you configure it.",
        defaultReply: "I have updated the configuration based on your request.",
        errorCommunicate: "Failed to communicate with {appName} Assistant.",
        errorConnection: "Connection error. Please try again.",
        errorInit: "Failed to initialize connection.",
      },
      actions: {
        save: "Save Config",
        reset: "Reset",
      }
    },
    preview: {
      title: "Preview",
      live: "Live Preview",
      synced: "Config Synced",
      historyLoading: "Loading your last preview…",
      currentConfig: "Preview uses the current configuration. Review the result below.",
      configChanged: "Configuration changed. This result is from an earlier configuration; run the sample again to test your changes.",
      configUnknown: "This older preview has no configuration snapshot. Run the sample again to test the current configuration.",
      viewLast: "View last preview",
      rerunSample: "Run original sample again",
      initialMessage: "Hello! I am the preview of your agent. You can test your configuration here.",
      chat: {
        placeholder: "Chat with your agent...",
        send: "Send",
        you: "You",
        agent: "Test Agent",
      },
      status: {
        connected: "Connected",
        disconnected: "Disconnected",
      },
      errors: {
        noModel: "Please select a general model first",
        requestFailed: "Preview request failed, please check network connection",
        notSent: "The preview message was not sent. You can retry.",
        rejected: "The server did not accept this preview message. You can retry.",
        historyFailed: "Could not load your last preview.",
        filesUnavailable: "An original sample attachment is unavailable. Upload it again before rerunning; no new preview was started.",
        linkFailed: "Agent saved, but its preview could not be linked. Run a new preview to retain a result for this agent.",
      }
    }
  },
  markdownRenderer: {
    tableScrollLabel: "Table (scroll horizontally to see more columns)",
    loadAgentDetailsFailed: "Unable to load agent details",
  },
  agent: {
    logo: "Agent Logo",
    header: {
      backTitle: "Back to Vibe",
      badge: {
        process: "Process",
        task: "Task",
      },
      connection: {
        connected: "Connected",
        disconnected: "Disconnected",
        errorPrefix: "Connection error: {message}",
      },
      buildButton: "Build App",
    },
    build: {
      onlyProcessMode: "Only process mode can build apps",
      onlyProcessModeShort: "Process mode only",
    },
    initial: {
      title: "Start your task",
      subtitle: "Choose a mode and describe what you want to accomplish. AI will plan and execute for you.",
    },
    input: {
      placeholder: {
        default: "Describe your task requirements in detail...",
        continueExecution: "Enter adjustment instructions to modify the execution plan...",
      },
      actions: {
        config: "Configure",
        uploadFile: "Upload File",
        sendWithFiles: "Send and upload files",
        sendMessage: "Send Message",
        pauseTask: "Pause Task",
        resumeTask: "Resume Task",
      },
      status: {
        labels: {
          pending: "Pending",
          running: "Running",
          completed: "Completed",
          failed: "Failed",
          paused: "Paused",
          waitingForUser: "Waiting for user",
        },
        selectedFiles: "Selected {count} files",
        taskStatusPrefix: "Task Status: ",
        processing: "Processing...",
      },
    },
    config: {
      title: "Configure Model",
    },
    configDialog: {
      title: "Agent Configuration",
      description: "Configure the model parameters for the Agent. Changes take effect immediately (current session only).",
      modelSelect: {
        label: "Select Model",
        description: "Choose an AI model from the added models to process your tasks",
        loading: "Loading model list...",
        empty: {
          title: "No available models",
          hint: "Please add models on the Models management page first",
          button: "Open model settings",
        },
        main: {
          label: "Primary Model",
          placeholder: "Select primary model...",
          hint: "Primarily used for complex tasks. Defaults to the default model set on the Models page",
        },
        smallFast: {
          label: "Fast Model (Optional)",
          placeholder: "Select fast model...",
          hint: "Optional configuration for simple tasks to get faster responses",
          options: {
            noneLabel: "Do not use fast model",
            noneDescription: "All tasks will be processed by the primary model",
            tagFast: " • Fast",
          },
        },
        visual: {
          label: "Vision Model (Optional)",
          placeholder: "Select vision model...",
          hint: "Optional configuration for image understanding and processing",
          options: {
            noneLabel: "Do not use vision model",
            noneDescription: "All tasks will be processed by the primary model",
            tagVisual: " • Vision",
          },
        },
        compact: {
          label: "Long Context Model (Optional)",
          placeholder: "Select long context model...",
          hint: "Optional configuration used for long context compression and processing",
          options: {
            noneLabel: "Do not use long context model",
            noneDescription: "All tasks will be processed by the primary model",
            tagCompact: " • Long Context",
          },
        },
      },
      memoryThreshold: {
        label: "Memory similarity threshold",
        subLabel: "Threshold",
        strict: "Strict",
        loose: "Loose",
        hint: "Adjust the threshold for recalling related memories. Lower values mean stricter matching; higher values recall more memories.",
      },
      buttons: {
        close: "Close",
      },
    },
    process: {
      execute: "Start Process",
    },
    hints: {
      taskMode: "Press Enter to send • Shift+Enter for newline • Markdown supported",
      processMode: "Fill in the process description, then click Execute",
    },
    status: {
      running: "Running",
      completed: "Completed",
      failed: "Failed",
      pending: "Pending",
      paused: "Paused",
      waitingForUser: "Waiting for user",
    },
    planDetails: {
      collapsibleTitle: "Details",
      badge: {
        memory: "Memory",
        plan: "Plan",
      },
      memory: {
        title: "Memory Info",
        stats: {
          found: "Found: {count}",
          used: "Used: {count}",
        },
        enhancedGoalTitle: "Enhanced Goal:",
        relatedTitle: "Related Memories:",
        unknownCategory: "Unknown Category",
      },
      plan: {
        title: "Execution Plan",
        goalTitle: "Goal:",
        stepsTitle: "Steps ({count}):",
        dependenciesPrefix: "Dependencies: ",
      },
    },
    vibeMode: {
      tabs: {
        flash: "Flash",
        flashSubtitle: "Simple, quick tasks",
        balanced: "Balanced",
        balancedSubtitle: "Most everyday tasks",
        think: "Think",
        thinkSubtitle: "Complex, multi-step tasks",
      },
      descriptions: {
        flash: {
          title: "Flash Mode",
          text: "Simple, quick tasks that require direct tool calls without complex reasoning.",
        },
        balanced: {
          title: "Balanced Mode",
          text: "Most everyday tasks that benefit from step-by-step reasoning and tool execution.",
        },
        think: {
          title: "Think Mode - Process Description",
          text: "Define the process workflow for building reusable agents. Describe how the agent should approach complex tasks.",
          examplesTitle: "Examples:",
          examplesText: "Describe customer service bot process, audit assistant, etc.",
          examples: {
            apiExample: {
              title: "Token Refresh Demo",
              labels: {
                currentUser: "Current user:",
                defaultUser: "User",
                accessTokenStatus: "Access Token status:",
                refreshTokenStatus: "Refresh Token status:",
                wsStatus: "WebSocket status:",
                wsError: "WebSocket error:",
              },
              status: {
                obtained: "Obtained",
                notObtained: "Not obtained",
              },
              autoApi: {
                title: "API call using auto token refresh",
              },
              common: {
                errorPrefix: "Error:",
              },
              models: {
                success: "Successfully fetched {count} models",
                refetch: "Refetch",
              },
              manualApi: {
                title: "Manual API call (for comparison)",
                button: "Call API manually",
                failed: "API call failed",
              },
              guide: {
                title: "Dual token mechanism explanation:",
                accessToken: "Access Token: expires in 120 minutes, used for API calls",
                refreshToken: "Refresh Token: expires in 7 days, used to refresh access token",
                autoRefresh: "Auto refresh: refreshes 1 minute before access token expiry",
                offlineRecovery: "Offline recovery: come back after hours and still auto restore login",
                wsSupport: "WebSocket support: WebSocket connections also support auto token refresh",
                tokenRotation: "Token rotation: each refresh generates a new refresh token to improve security",
                seamless: "Seamless experience: users never need to re-login due to token expiry",
                smartCache: "Smart cache: prioritize checking refresh token expiry time",
              },
            },
          },
        },
      },
      form: {
        processDescription: {
          label: "Process Description",
          placeholder: "Describe in detail the purpose, applicable scenarios, and expected behavior of this agent process...",
        },
        examples: {
          label: "Input/Output Examples",
          optional: "(Optional)",
          add: "Add Example",
          badge: "Example {index}",
          input: {
            label: "Input:",
            placeholder: "Enter example input...",
          },
          output: {
            label: "Output:",
            placeholder: "Enter example output...",
          },
        },
      },
    },
    layout: {
      common: {
        notStarted: "Not started",
        inProgress: "In progress",
        unknown: "Unknown",
      },
      status: {
        pending: "Pending",
        running: "Running",
        completed: "Completed",
        failed: "Failed",
        skipped: "Skipped",
        interrupted: "Interrupted",
        clarification_invalidated: "Waiting on a new answer",
      },
      right: {
        titles: {
          stepDetail: "Step Details",
          executionLogs: "Execution Logs",
        },
        labels: {
          resultData: "Result Data",
          stepData: "Step Data",
          fileOutputs: "File Outputs",
          executionTime: "Execution Time",
          currentStep: "Current Step:",
          none: "None",
        },
        buttons: {
          previewAll: "Preview All",
          prevStep: "Previous",
          nextStep: "Next",
        },
        tooltips: {
          previewAllFiles: "Preview all files",
          previewFile: "Preview file",
        },
        branch: {
          conditionalNode: "Conditional Branch Node",
          optionalBranches: "Optional Branches",
          branchCondition: "Branch Condition",
          requiredBranch: "Required Branch",
        },
        counts: {
          files: "{count} files",
          logs: "{count} logs",
          fileOutputsWithCount: "File Outputs ({count})",
        },
        empty: {
          selectStepHint: "Select a step to view details",
          noLogs: "No execution logs yet",
        },
        misc: {
          unknownFile: "Unknown File",
        },
      },
      center: {
        titles: {
          dag: "DAG Execution Graph",
        },
        labels: {
          vertical: "Vertical",
          horizontal: "Horizontal",
          layoutVerticalTitle: "Vertical layout (Top-Bottom)",
          layoutHorizontalTitle: "Horizontal layout (Left-Right)",
          phase: "Execution Phase",
          updatedAt: "Updated:",
          status: "Status:",
          conditionalBranchNode: "Conditional Branch Node",
          optionalBranches: "Optional Branches",
          branchCondition: "Branch Condition",
          requiredBranch: "Required Branch:",
          branches: "Branches:",
          tools: "Tools:",
          suggestedTools: "Suggested tools:",
          pureAnalysis: "Pure Analysis",
          description: "Description:",
          result: "Execution Result",
        },
        planning: {
          title: "AI is creating an execution plan",
          subtitle: "Analyzing the task and constructing the optimal execution path",
          steps: {
            analyze: "Analyze requirements",
            buildGraph: "Build execution graph",
            optimizePath: "Optimize path",
          },
          spinner: "Building execution graph...",
        },
        time: {
          title: "Time Information",
          startedAt: "Start Time:",
          completedAt: "Completed Time:",
          duration: "Duration:",
          inProgress: "In progress",
        },
        errors: {
          taskFailedTitle: "Task Execution Failed",
          taskFailedDesc: "An error occurred during execution. Please check the messages on the left for details.",
          checkLeft: "Check error details in the left messages",
          retryTask: "Try resubmitting the task",
        },
      },
      left: {
        title: "Task Execution",
        messageTags: {
          result: "Result",
          file: "File",
        },
      },
    },
    title: "Agent",
    taskId: "Task ID: {id}",
    logs: {
      event: {
        labels: {
          start: "Start",
          success: "Success",
          completed: "Completed",
          failed: "Failed",
          llmCall: "LLM Call",
          llmCompleted: "LLM Completed",
          llmFailed: "LLM Failed",
          toolCall: "Tool Call",
          toolCompleted: "Tool Completed",
          toolFailed: "Tool Failed",
          memoryGenerate: "Memory Generate",
          memoryStore: "Memory Store",
          memoryQuery: "Memory Query",
          compactStart: "Compact Start",
          compactCompleted: "Compact Completed",
          skillSelectStart: "Skill Select",
          skillSelectEnd: "Skill Selected",
          unknown: "Unknown Operation",
        },
        actions: {
          dag_execution: "Getting started",
          task_start_general: "Thinking",
          task_update_general: "Working on it",
          task_completion: "Done",
          dag_step_start: "Starting this step",
          dag_step_end: "Finished this step",
          dag_step_failed: "This step ran into a problem",
          llm_call_start: "Thinking",
          llm_call_end: "Finished thinking",
          llm_call_info: "Still thinking",
          llm_call_result: "Got a response",
          llm_call_failed: "Had trouble with that",
          tool_execution_start: "Working on it",
          tool_execution_end: "Done",
          tool_execution_failed: "That didn't work",
          tool_using: "Using a tool",
          ai_message: "Replying",
          trace_error: "Ran into an issue",
          react_task_start: "Getting started",
          react_task_end: "Wrapped up",
          react_task_failed: "Hit a snag",
          step_start_react: "Starting this step",
          step_end_react: "Finished this step",
          react_action_start: "Taking action",
          react_action_end: "Action complete",
          task_start_memory_generate: "Saving what it learned",
          task_end_memory_generate: "Saved",
          task_start_memory_store: "Storing information",
          task_end_memory_store: "Stored",
          task_start_memory_retrieve: "Recalling relevant info",
          task_end_memory_retrieve: "Found relevant info",
          action_start_compact: "Tidying up context",
          action_end_compact: "Context tidied up",
          skill_select_start: "Choosing the right skill",
          skill_select_end: "Skill selected",
          workforce_delegation_start: "Assigning to a teammate",
          workforce_delegation_end: "Teammate finished",
          workforce_delegation_error: "Teammate ran into an issue",
        },
        messages: {
          planStart: "Start generating execution plan: {phase}",
          planEnd: "Execution plan completed (Plan ID: {planId}, Steps: {stepsCount})",
          taskStart: "Start executing task (Iteration {iteration})",
          taskEnd: "Task execution completed (Iteration {iteration})",
          taskDesc: "Task: {taskPreview}",
          compactStart: "🗜️ Context compact start",
          compactCompleted: "🗜️ Context compact completed",
          compactNotice: "Context compacted ({original}→{compacted} tokens)",
          stepFailed: "Step failed: {stepName}",
          stepSkipped: "⏭️ Step skipped: {stepName}",
          finalAnswerGenerating: "Generating final answer...",
          finalAnswerCompleted: "Final answer generated",
          goalCheckStart: "Start goal check...",
          goalCheck: "Goal Check",
          goalAchieved: "Achieved",
          goalNotAchieved: "Not achieved",
          confidence: "(Confidence: {percent}%)",
          reason: "Reason:",
          reasonLabel: "Reason: {goalReason}",
          memoryWillStore: "Will store execution memory: {memoryReason}",
          taskLLMStart: "Start task-level LLM call: {taskType}",
          taskLLMCompleted: "Task-level LLM call completed: {taskType}",
          planLLMSending: "💭 Plan generation: sending request to LLM ({modelName})",
          planLLMResponseCompleted: "Plan generation: LLM response completed ({modelName})",
          useTool: "🔧 Using tool: {toolName}",
          metaTitle: "Meta Info:",
          fileOutputsGenerated: "Generated {count} output files:",
          previewLabel: "Preview",
          executionResultPrefix: "Execution Result:",
          errorPrefix: "Execution Error:",
          visualUpdate: "Visualization Update: {type}",
          reactTaskStart: "🔄 ReAct task start",
          reactTaskCompleted: "🔄 ReAct task completed",
          reactTaskFailed: "ReAct task failed",
          taskCompleted: "Task completed",
          reactStepStart: "🔄 ReAct step start: {stepName}",
          reactStepCompleted: "🔄 ReAct step completed: {stepName}",
          detailsTitle: "Details",
          memoryBadge: "Memory",
          storeSuggestion: "Store Suggestion:",
          worthStoring: "Worth storing",
          notWorthStoring: "Not worth storing",
          insightsLabel: "Insights generated:",
          storageStatusLabel: "Storage status:",
          notStored: "Not stored",
          decisionLabel: "Decision:",
          taskLabel: "Task:",
          taskInfoLabel: "Task Info:",
          categoryUnknown: "Unknown category",
          stepsCount: "Steps: {count}",
          goalTitle: "Goal:",
          execStepPrefix: "step",
        },
        common: {
          fullData: "Full Data",
          itemsSuffix: " items",
        },
        llm: {
          model: "Model",
          contextMessages: "Context Messages",
          paramsTitle: "Call Parameters",
          temperature: "Temperature:",
          maxTokens: "Max Tokens:",
          topP: "Top P:",
        },
        tool: {
          tool: "Tool",
          paramsCount: "Params Count",
          paramsTitle: "Tool Params",
        },
        compact: {
          type: "Compact Type",
          model: "Compact Model",
          originalTokens: "Original Tokens",
          threshold: "Threshold",
          resultTitle: "Compact Result",
          compactedTokens: "Compacted Tokens",
          compressionRatio: "Compression Ratio",
          errorTitle: "Compact Error",
          types: {
            individual_dependency: "Individual Dependency",
            entire_context: "Entire Context",
          },
        },
        memory: {
          task: "Query Task",
          category: "Memory Category",
          found: "Memory Found",
          used: "Memory Used",
          relatedTitle: "Related Memories",
        },
        skill: {
          task: "Task",
          availableCount: "Available Skills",
          selected: "Selected",
          yes: "Yes",
          no: "No",
          skillName: "Skill Name",
          skill: "available skill",
          skills: "available skills",
        },
      },
      messagesPreview: {
        title: "Context Messages",
        infoTitle: "Context Info",
        actions: {
          expand: "Expand",
          collapse: "Collapse",
        },
        labels: {
          role: {
            system: "System",
            user: "User",
            assistant: "Assistant",
          },
          messageIndex: "Message #{index}",
        },
        parse: {
          error: "Parse Error",
          failed: "Parse Failed",
          errorPrefix: "Parse Error:",
        },
      },
    },
    replay: {
      controls: {
        stop: "Stop Replay",
        pause: "Pause",
        play: "Play",
        speed: "Playback Speed",
        speedSuffix: "x",
      },
    },
  },
  deployments: {
    header: {
      title: "Deployments",
      description: "Manage and monitor deployed agents and their endpoints",
      create: "Create Deployment",
    },
    dialog: {
      createTitle: "Create Deployment",
      selectBuild: "Select Build",
      selectPlaceholder: "Select a build...",
      name: "Deployment Name",
      namePlaceholder: "Enter a deployment name...",
      descriptionOptional: "Description (Optional)",
      descriptionPlaceholder: "Enter description (optional)",
      creating: "Creating...",
      formRequired: "Please select a build and enter a deployment name",
    },
    status: {
      running: "Running",
      stopped: "Stopped",
      creating: "Creating",
      error: "Error",
    },
    empty: {
      title: "No deployments yet",
      description: "Create your first deployment to publish your agent",
    },
    card: {
      executions: "executions",
      last: "Last:",
      created: "Created:",
      copy: "Copy",
      stop: "Stop",
      start: "Start",
      details: "Details",
      deleteConfirm: "Are you sure you want to delete this deployment?",
      never: "Never",
    },
    messages: {
      fetchDeploymentsFailed: "Failed to load deployments",
      fetchBuildsFailed: "Failed to load builds",
      createFailed: "Failed to create deployment",
      startFailed: "Failed to start deployment",
      stopFailed: "Failed to stop deployment",
      deleteFailed: "Failed to delete deployment",
      endpointCopied: "Endpoint copied",
    },
    detail: {
      backTitle: "Back to Deployments",
      notFound: "Deployment not found",
      goBack: "Go back to Deployments",
      info: {
        title: "Deployment Info",
        status: "Status:",
        type: "Type:",
        executions: "Executions:",
        lastExecuted: "Last executed:",
        created: "Created:",
        build: "Build:",
        viewBuild: "View Build",
        endpointLabel: "Endpoint URL:",
      },
      test: {
        title: "Test Execution",
        placeholder: "Enter your test query or task...",
        inputPlaceholder: "Enter {name}...",
        button: {
          execute: "Execute",
          executing: "Executing...",
        },
        resultTitle: "Result:",
        apiUsage: {
          title: "API Usage:",
          endpoint: "Endpoint:",
          requestBody: "Request Body:",
          example: "Example:",
          yourTaskHere: "your task here",
          yourNameHere: "your {name} here",
        },
      },
      yaml: {
        title: "YAML Configuration",
        empty: "No YAML content available",
      },
      executions: {
        title: "Execution History",
        empty: "No executions yet",
        task: "Task:",
        threadId: "Thread ID:",
        output: "Output:",
        timeNodes: "Time: {seconds}s | Nodes: {nodes}",
        error: "Error:",
      },
      misc: {
        na: "N/A",
        deleteExecutionConfirm: "Are you sure you want to delete this execution record?",
        errorPrefix: "Error:",
      },
      messages: {
        fetchFailed: "Failed to fetch deployment detail",
        fetchExecutionsFailed: "Failed to fetch execution history",
        executionFailed: "Execution failed",
        inputRequired: "Please enter a value for {name}",
      },
    },
  },
  traceEventRenderer: {
    skillSelected: "Selected Skill",
    taskExecution: "Thinking",
    thoughtProcess: "Thought process",
    showProcess: "Show process",
    hideProcess: "Hide process",
    callLLM: "Thinking",
    llmResponse: "Finished thinking",
    stepResult: "Step Result",
    unknownTool: "Working on it",
    executeTool: "{tool}",
    sandboxedExecution: "Safely sandboxed",
    toolExecutionFinished: "Done",
    unknownError: "Unknown error",
    executionFailed: "Ran into a problem",
    view: "View",
    codeAndOutput: "Code & Output",
    args: "Args",
    output: "Output",
    executing: "Executing...",
    errorLabel: "Error: ",
    executionCode: "Execution Code:",
    outputResult: "Output Result:",
    toolLabel: "Tool: ",
    argumentsLabel: "Arguments:",
    codeLabel: "Code:",
    outputLabel: "Output:",
    modelLabel: "Model: ",
    reasoningLabel: "Reasoning:",
    noReasoning: "(No reasoning yet)",
    toolCallsLabel: "Tool Calls:",
    errorTitle: "Error:",
    code: "Code",
    command: "Command",
    searchQuery: "Search Query",
    content: "Content",
    toolCallNote: "Tool note",
    progressMessage: "Progress",
    copy: "Copy",
    previewFile: "Preview File",
    filePrefix: "File:",
    queryPrefix: "Query:",
    bashPrefix: "Bash:",
    searchPrefix: "Search:",
    workforceDelegation: "Workforce Delegation",
    delegateToWorker: "Delegate to {worker}",
    workerReturned: "Worker returned result",
    workerFailed: "Worker failed",
    unknownWorker: "Unknown Worker",
    viewAgentExecution: "View Agent details",
    connectorUnavailable: "Connector {connector} is unavailable",
    toolNames: {
      web_search: "Searching the web",
      tavily_web_search: "Searching the web",
      zhipu_web_search: "Searching the web",
      web_crawler: "Reading a webpage",
      browser_use: "Browsing the web",
      python_executor: "Running code",
      javascript_executor: "Running code",
      command_executor: "Running a command",
      bash: "Running a command",
      calculator: "Calculating",
      file_tool: "Working with files",
      workspace_file_tool: "Working with files",
      read_file: "Reading a file",
      write_file: "Writing a file",
      edit_file: "Editing a file",
      append_file: "Updating a file",
      delete_file: "Deleting a file",
      list_files: "Listing files",
      find_and_replace: "Editing a file",
      read_json_file: "Reading a file",
      write_json_file: "Writing a file",
      read_csv_file: "Reading a file",
      write_csv_file: "Writing a file",
      excel: "Working with a spreadsheet",
      document_parser: "Reading a document",
      image_tool: "Working with an image",
      generate_image: "Creating an image",
      edit_image: "Editing an image",
      vision_tool: "Analyzing media",
      understand_media: "Analyzing media",
      audio_tool: "Working with audio",
      transcribe_audio: "Transcribing audio",
      synthesize_speech: "Generating speech",
      video_tool: "Working with video",
      generate_video: "Generating a video",
      music_tool: "Generating music",
      generate_music: "Generating music",
      sql_tool: "Querying the database",
      execute_sql_query: "Querying the database",
      knowledge_search: "Searching the knowledge base",
      list_knowledge_bases: "Checking the knowledge base",
      create_agent: "Creating the agent",
      update_agent: "Updating the agent",
      send_message: "Sending an update",
      read_skill_doc: "Reading skill docs",
      list_skill_docs: "Checking skill docs",
      fetch_skill_file: "Fetching a resource",
      analyze_uploaded_file: "Looking at your file",
      list_uploaded_files: "Checking your files",
      get_file_context: "Looking at your file",
      pptx_tool: "Working with a presentation",
      read_pptx: "Reading a presentation",
      pack_pptx: "Building a presentation",
      unpack_pptx: "Reading a presentation",
      clean_pptx: "Cleaning up a presentation",
      translate_json: "Translating content",
    },
  },
  deployment_config: {
    actions: {
      retry: "Retry"
    },
    messages: {
      load_failed: "Failed to load deployment configuration. Retry before copying deployment details."
    }
  },
  deploy_agent: {
    title: "Deploy Agent",
    tabs: {
      options: "Deploy Options",
      api: "API",
      logs: "Logs"
    },
    options: {
      embed: {
        title: "Embed Widget",
        desc: "Add a chat widget to any website with a single script tag",
        action: "Get snippet"
      },
      rest_api: {
        title: "REST API",
        desc: "Call the agent programmatically from your backend or app",
        action: "View endpoints"
      },
      shareable_link: {
        title: "Shareable Link",
        desc: "Generate a public URL anyone can open to chat with this agent",
        action: "Generate link"
      },
      webhook: {
        title: "Webhook",
        desc: "Trigger agent runs via webhook events from external systems",
        action: "Configure"
      }
    },
    api_coming_soon: "REST API documentation coming soon...",
    logs_coming_soon: "Deployment logs coming soon...",
    back_to_options: "Back to Deploy Options",
    access_control: {
      widget_enabled: "Widget Enabled",
      widget_enabled_desc: "Allow this widget to be accessed externally.",
      allowed_domains: "Allowed Domains",
      allowed_domains_desc: "Restrict widget access to specific domains. Use * for any domain.",
      domain_placeholder: "e.g. example.com",
      add_btn: "Add",
      no_domains: "No domains configured. Widget will block all requests unless * is added."
    },
    embed_snippet: {
      title: "Embed Snippet",
      desc: "Copy and paste this script tag into the <body> of your website.",
      timezone_hint: "Optional: add data-timezone=\"Australia/Perth\" (any IANA name) to the script tag to set the chat's time zone. Precedence: data-timezone → the visitor's browser time zone → UTC. If omitted or empty, the browser time zone is used; an unrecognized value falls back to UTC.",
      copy_btn: "Copy Snippet",
      rotate_key_btn: "Rotate Key",
      rotating_key: "Rotating…",
      rotate_key_confirm: "Rotating the widget key will immediately break all existing embeds. Re-copy and redeploy the snippet after rotation. Continue?"
    },
    share_link: {
      title: "Share Link",
      desc: "Generate a public page anyone can open to chat with this agent.",
      publish_required: "Please publish this agent before generating a share link.",
      public_url: "Public URL",
      anyone_access: "Anyone with this link can start a public chat with this agent.",
      generate_btn: "Generate Link",
      rotate_btn: "Reset Link",
      disable_btn: "Disable Link"
    },
    messages: {
      update_success: "Widget configuration updated",
      update_failed: "Failed to update widget configuration",
      copied: "Copied to clipboard",
      copy_failed: "Failed to copy to clipboard",
      link_copied: "Link copied to clipboard",
      share_enabled: "Share link generated",
      share_rotated: "Share link rotated",
      share_disabled: "Share link disabled",
      share_failed: "Share link action failed",
      widget_key_rotated: "Widget key rotated",
      widget_key_rotate_failed: "Failed to rotate widget key"
    },
    api_panel: {
      title: "Call this agent via REST API",
      desc: "Submit a task to the agent, then poll GET /v1/chat/tasks/{id} for the result.",
      copy_btn: "Copy",
      key_hint: "Replace YOUR_API_KEY with this agent's API key.",
      manage_key: "Manage API Key"
    }
  },
  deploy_workforce: {
    title: "Deploy via REST API / SDK",
    desc: "Create runs on this workforce with a workforce API key, then poll GET /v1/chat/tasks/{id} for results.",
    copy: "Copy",
    copy_failed: "Failed to copy to clipboard",
    new_key: "Copy this key now — it won't be shown again.",
    keys_title: "API keys",
    label_placeholder: "Label (optional), e.g. CI pipeline",
    create_key: "Create key",
    no_keys: "No API keys yet."
  },
  api_key: {
    title: "API Key",
    subtitle: "SDK / REST API credential",
    empty: "No API key yet. Generate one to call this agent via the SDK or REST API.",
    active_key: "Active key",
    created_at: "Created",
    reveal: {
      warning: "Copy this key now — it is shown only once.",
      copy: "Copy"
    },
    actions: {
      generate: "Generate API Key",
      regenerate: "Regenerate",
      revoke: "Revoke",
      cancel: "Cancel"
    },
    confirm: {
      regenerate: "Regenerating immediately invalidates the current key. Any app using it will stop working until updated.",
      revoke: "Revoking invalidates the current key. Any app using it will stop working."
    },
    messages: {
      load_failed: "Failed to load API key",
      generated: "API key generated",
      generate_failed: "Failed to generate API key",
      revoked: "API key revoked",
      revoke_failed: "Failed to revoke API key",
      copied: "Copied to clipboard",
      copy_failed: "Failed to copy to clipboard"
    }
  },
  appWidget: {
    builder: {
      title: "App Widget",
      description: "Embed this agent as a chat bubble on a website",
      saveFirst: "Save the agent before configuring the app widget",
      configure: "Configure app widget",
      toggle: "Toggle app widget"
    },
    dialog: {
      title: "App Widget",
      enabledLabel: "Widget enabled",
      allowedDomains: "Allowed domains",
      domainPlaceholder: "e.g. example.com",
      addDomain: "Add",
      invalidDomain: "Enter a domain like example.com or localhost:3000 (no scheme, path, or wildcard), or * to allow any domain.",
      removeDomain: "Remove domain",
      noDomains: "No domains configured. Widget requests are blocked until a domain or * is added.",
      allowedDomainsSecurityNote: "Allowed domains are a browser-level restriction only, not a security boundary against non-browser clients. The widget key is the real access gate — keep it private and regenerate it if it leaks.",
      embedTitle: "Embed snippet",
      embedDescription: "Copy this script into the page where the chat bubble should appear.",
      copySnippet: "Copy snippet",
      widgetKeyTitle: "Widget key",
      widgetKeyDescription: "The credential that authorizes this widget. It is included in the embed snippet; anyone holding it can reach the agent, so rotate it if it leaks.",
      copyWidgetKey: "Copy widget key",
      rotateWidgetKey: "Regenerate",
      rotateWidgetKeyConfirm: "Regenerate the widget key? Every already-deployed embed snippet stops working until it is replaced with the new one."
    },
    messages: {
      updated: "Widget configuration updated",
      updateFailed: "Failed to update widget configuration",
      copyFailed: "Failed to copy widget snippet",
      widgetKeyLoadFailed: "Failed to load widget key",
      widgetKeyRotated: "Widget key regenerated. Update deployed embed snippets.",
      widgetKeyRotateFailed: "Failed to regenerate widget key"
    }
  },
  apiKeysPage: {
    title: "API Keys",
    subtitle: "Manage API keys for programmatic access to your agents.",
    newKey: "New API Key",
    newKeyDescription: "Create a new SDK / REST API credential for an agent.",
    allKeys: "All Keys",
    searchPlaceholder: "Search keys or agents...",
    noData: "No API keys yet.",
    never: "Never",
    filteredByAgent: "Filtered agent",
    clearFilter: "Clear filter",
    tabs: {
      agent: "Agent Keys",
      personal: "Personal Keys"
    },
    stats: {
      totalKeys: "Total Keys",
      totalKeysHint: "across all agents",
      activeKeys: "Active Keys",
      activeKeysHint: "accepting requests",
      callsThisMonth: "Calls This Month",
      callsThisMonthHint: "includes now-inactive keys",
      lastApiCall: "Last API Call",
      noActivity: "No activity yet"
    },
    columns: {
      label: "Key Label",
      agent: "Agent",
      secretKey: "Secret Key",
      status: "Status",
      lastUsed: "Last Used",
      created: "Created"
    },
    status: {
      active: "Active",
      paused: "Paused",
      revoked: "Revoked"
    },
    actions: {
      copy: "Copy",
      pause: "Pause",
      resume: "Resume",
      regenerate: "Regenerate",
      delete: "Delete"
    },
    form: {
      agent: "Agent",
      selectAgent: "Select an agent",
      label: "Label",
      labelPlaceholder: "e.g. Production",
      create: "Create"
    },
    reveal: {
      title: "API Key Created",
      warning: "Copy this key now — it is shown only once."
    },
    confirm: {
      regenerateTitle: "Regenerate API key?",
      regenerateDescription: "Regenerating immediately invalidates the current secret. Any app using it will stop working until updated.",
      deleteTitle: "Delete API key?",
      deleteDescription: "Deleting immediately invalidates this key. Any app using it will stop working."
    },
    messages: {
      loadFailed: "Failed to load API keys",
      created: "API key created",
      createFailed: "Failed to create API key",
      paused: "API key paused",
      resumed: "API key resumed",
      regenerated: "API key regenerated",
      deleted: "API key deleted",
      actionFailed: "Action failed",
      copied: "Copied to clipboard",
      copyFailed: "Failed to copy to clipboard"
    }
  },
  personalApiKeys: {
    title: "Personal Keys",
    description: "Manage your personal SDK and REST API keys.",
    create: "Create Personal Key",
    createForMe: "Create Personal Key for Me",
    noData: "No personal API keys yet.",
    noResults: "No keys match your search.",
    searchPlaceholder: "Search keys or owners...",
    stats: {
      totalKeys: "Total Keys",
      totalKeysHint: "personal keys",
      activeKeys: "Active Keys",
      activeKeysHint: "accepting requests"
    },
    columns: {
      key: "Secret Key",
      owner: "Owner",
      status: "Status",
      expires: "Expiry",
      created: "Created"
    },
    status: {
      active: "Active",
      expired: "Expired",
      revoked: "Revoked"
    },
    neverExpires: "Never",
    actions: {
      copy: "Copy personal API key",
      revoke: "Revoke"
    },
    reveal: {
      title: "Personal API Key Created",
      warning: "Copy this key now — it is shown only once."
    },
    confirm: {
      revokeTitle: "Revoke personal API key?",
      revokeOwnDescription: "Revoking immediately invalidates this key.",
      revokeOtherDescription: "Revoke this personal key for {owner}?"
    },
    messages: {
      loadFailed: "Failed to load personal API keys",
      created: "Personal API key created",
      createFailed: "Failed to create personal API key",
      revoked: "Personal API key revoked",
      revokeFailed: "Failed to revoke personal API key",
      copied: "Copied to clipboard",
      copyFailed: "Failed to copy to clipboard"
    }
  },
  triggers: {
    title: "Triggers",
    subtitle: "Choose how this agent gets activated",
    deleteConfirm: "Delete this trigger?",
    defaults: {
      webhookName: "API / Webhook",
      scheduledName: "Schedule",
      gmailName: "Gmail"
    },
    cards: {
      webhook: {
        title: "API / Webhook",
        description: "Trigger via REST API call or incoming webhook",
        empty: {
          title: "No webhooks yet",
          description: "Create a webhook so other apps can start this agent — for example when a form is submitted or a new lead comes in.",
          cta: "Create a webhook"
        }
      },
      scheduled: {
        title: "Schedule",
        description: "Run the agent automatically on a recurring interval",
        empty: {
          title: "No schedules yet",
          description: "Create a schedule so this agent can run automatically — for example a daily summary or weekly report.",
          cta: "Add schedule"
        }
      },
      gmail: {
        title: "Gmail",
        description: "Run the agent when a new email arrives in Gmail",
        addTrigger: "Add Gmail trigger",
        empty: {
          title: "No Gmail accounts connected",
          description: "Connect a Gmail account and choose which emails should start this agent. Each account gets its own settings.",
          cta: "Sign in with Google"
        }
      },
      activeCount: "{count} Active"
    },
    builder: {
      title: "Triggers",
      description: "Choose automatic entry points for this agent.",
      tooltip: "Triggers automatically start this agent when an external event or schedule fires.",
      open: "Triggers",
      configure: "Configure trigger"
    },
    staging: {
      webhookPending: "The webhook URL and signing secret will be generated after the agent is created.",
      failedTitle: "Some triggers could not be created. Their configuration is kept — retry or discard."
    },
    type: {
      webhook: "Webhook",
      scheduled: "Scheduled",
      gmail: "Gmail"
    },
    status: {
      enabled: "Enabled",
      disabled: "Disabled"
    },
    runStatus: {
      pending: "Pending",
      running: "Running",
      completed: "Completed",
      failed: "Failed"
    },
    list: {
      title: "Triggers",
      empty: "No triggers yet"
    },
    form: {
      createTitle: "New trigger",
      createSubtitle: "Create a webhook or scheduled trigger for this agent.",
      editTitle: "Trigger settings",
      editSubtitle: "Update the trigger definition and execution prompt.",
      name: "Name",
      namePlaceholder: "Daily report, CRM webhook...",
      type: "Type",
      secret: "Webhook secret",
      secretPlaceholder: "Leave blank to generate one",
      secretEditPlaceholder: "Leave blank to keep the current secret",
      watchLabel: "Watched label or folder (optional)",
      watchLabelPlaceholder: "e.g. Support — leave blank to watch all incoming emails",
      watchLabelHelp: "Blank watches every incoming email (sent, draft, spam, and trash are always excluded). A label is case-insensitive.",
      gmailAccount: "Gmail account",
      gmailAccountPlaceholder: "Select a Gmail account",
      gmailAccountHelp: "This trigger only fires for email in the selected mailbox.",
      webhookNamePlaceholder: "e.g. New lead from website",
      scheduleNamePlaceholder: "e.g. Morning summary report",
      webhookPrompt: "Prompt template — what should the agent do when this webhook is called?",
      webhookPromptPlaceholder: "e.g. A new lead just came in — research the company and draft an intro email",
      schedulePrompt: "What should the agent do on each run?",
      schedulePromptPlaceholder: "e.g. Generate today's daily summary report and email it to the team",
      gmailPrompt: "What should the agent do with each email?",
      gmailPromptPlaceholder: "e.g. Read the email and draft a friendly reply for my review",
      gmailPromptHelp: "The email's sender, subject, and message are automatically shared with the agent on each run.",
      generateSecret: "Generate secret",
      secretGeneratedHint: "This secret is shown only once after saving — copy it now and keep it somewhere safe.",
      senderFilter: "Filter by sender (optional)",
      senderFilterPlaceholder: "e.g. @acme.com or [email protected]",
      subjectKeyword: "Filter by subject keyword (optional)",
      subjectKeywordPlaceholder: "e.g. [SUPPORT] or leave blank for all"
    },
    actions: {
      new: "New",
      edit: "Edit",
      delete: "Delete",
      confirmDelete: "Confirm delete",
      rotateSecret: "Rotate secret",
      test: "Save & test",
      addAnotherWebhook: "Add another webhook",
      addAnotherSchedule: "Add another schedule",
      addAnotherGmail: "Add another Gmail trigger",
      retry: "Retry",
      discard: "Discard",
      confirmDiscard: "Confirm discard",
      saveWebhook: "Save webhook",
      saveSchedule: "Save schedule",
      saveSettings: "Save settings"
    },
    editor: {
      webhookNew: "New webhook",
      webhookEdit: "Edit webhook",
      scheduledNew: "New schedule",
      scheduledEdit: "Edit schedule",
      gmailNew: "New Gmail trigger",
      gmailEdit: "Edit Gmail trigger"
    },
    item: {
      gmailAllEmails: "All incoming emails"
    },
    schedule: {
      nameLabel: "Schedule name",
      recurrenceLabel: "How often should it run?",
      hourly: "Hourly",
      daily: "Daily",
      weekly: "Weekly",
      monthly: "Monthly",
      custom: "Custom",
      atWhatTime: "At what time?",
      onWhichDays: "On which days?",
      onWhichDayOfMonth: "On which day of the month?",
      runEvery: "Run every",
      customHelp: "For example every 30 minutes, or every 3 days.",
      customUnitMinutes: "minutes",
      customUnitHours: "hours",
      customUnitDays: "days",
      startCheckbox: "When should this schedule start?",
      startFrom: "from",
      weekdayMon: "Mon",
      weekdayTue: "Tue",
      weekdayWed: "Wed",
      weekdayThu: "Thu",
      weekdayFri: "Fri",
      weekdaySat: "Sat",
      weekdaySun: "Sun",
      summaryHourly: "Runs every hour",
      summaryDaily: "Runs every day at {time}",
      summaryWeekly: "Runs weekly on {days} at {time}",
      summaryMonthly: "Runs on the {day} of every month at {time}",
      summaryCustom: "Runs every {amount} {unit}",
      summaryStartsOnly: "{base} - starts {date}",
      summaryStartsWithTime: "{base} - starts {date} at {time}",
      summaryWithTimezone: "{base} ({timezone})",
      timezoneLabel: "Timezone: {timezone}",
      runsImmediatelyHint: "This will run immediately after saving, since the start time you picked has already passed."
    },
    secret: {
      title: "Copy this secret now. It is shown only once.",
      dismiss: "I've saved this secret"
    },
    webhook: {
      title: "Webhook endpoint",
      secretHeader: "Sign each request with HMAC-SHA256: put the hex digest of `{timestamp}.{raw body}` keyed by the secret in the x-xagent-signature header, and the unix timestamp in x-xagent-timestamp.",
      pendingSave: "The webhook URL and signing secret are generated when you save."
    },
    gmail: {
      notConnected: "Connect Gmail to activate this trigger",
      notConnectedDescription: "Connect the official Gmail connector before relying on incoming email events.",
      connect: "Connect Gmail",
      noAccounts: "No Gmail accounts connected",
      accountMissing: "The selected Gmail account is no longer connected. Choose another account.",
      changeAccount: "Change account",
      optionalFilters: "Optional filters — only react to certain senders or subjects"
    },
    test: {
      running: "Running test…",
      stagedPreviewNote: "The agent isn't created yet, so this is a local dry run — below is exactly what this trigger will send to the agent.",
      stagedPromptLabel: "Rendered prompt"
    },
    runs: {
      title: "Recent runs",
      nextRun: "Next run",
      noNextRun: "No next run scheduled",
      status: "Status",
      source: "Source",
      task: "Task",
      created: "Created",
      empty: "No runs yet",
      taskExpired: "Conversation expired on {date}",
      viewResult: "View run result",
      hideResult: "Hide run result",
      historyTitle: "Run conversation",
      historyEmpty: "No conversation was recorded for this run",
      historyLoadFailed: "Failed to load run conversation",
      historyExpired: "This run conversation has expired",
      historyUnavailable: "This run conversation is no longer available",
      historyForbidden: "You don't have access to this run conversation",
      openTask: "Open task",
      input: "Routine input",
      result: "Agent response"
    },
    validation: {
      name: "Trigger name is required",
      nameLength: "Trigger name must be at most 200 characters",
      interval: "Interval must be a positive integer",
      nextRunAt: "First run time is invalid",
      scheduleRequired: "Weekly schedules need at least one weekday selected",
      startDate: "Pick a start date for the schedule",
      gmailAccount: "Select the Gmail account this trigger should watch"
    },
    messages: {
      loadFailed: "Failed to load triggers",
      runsLoadFailed: "Failed to load trigger runs",
      created: "Trigger created",
      updated: "Trigger updated",
      staged: "Trigger saved. It will be created together with the agent.",
      stagedCreateFailed: "Failed to create trigger \"{name}\": {error}",
      enabled: "Trigger enabled",
      disabled: "Trigger disabled",
      deleted: "Trigger deleted",
      saveFailed: "Failed to save trigger",
      deleteFailed: "Failed to delete trigger",
      secretRotated: "Webhook secret rotated",
      secretRotateFailed: "Failed to rotate webhook secret",
      testStarted: "Test trigger started",
      testDuplicate: "Duplicate trigger run reused",
      testFailed: "Failed to test trigger",
      copyFailed: "Failed to copy to clipboard"
    }
  },
  workforces: {
    common: {
      noDescription: "No description",
      notAvailable: "N/A",
      notSelected: "Not selected"
    },
    status: {
      draft: "Draft",
      active: "Active",
      archived: "Archived",
      published: "Published",
      enabled: "Enabled",
      disabled: "Disabled",
      completed: "Completed",
      running: "Running",
      failed: "Failed",
      pending: "Pending",
      paused: "Paused",
      waitingForUser: "Waiting for input",
      interrupted: "Interrupted",
    },
    sourceTypes: {
      existing: "Existing Agent"
    },
    actions: {
      new: "New Workforce",
      create: "Create Workforce",
      run: "Run",
      runWorkforce: "Run Workforce",
      details: "Details",
      edit: "Edit",
      canvas: "Canvas",
      saveWorkforce: "Save Workforce",
      addWorker: "Add Worker",
      openAgent: "Open Agent",
      openAgentEditor: "Open Agent Editor",
      editAgent: "Edit Agent",
      remove: "Remove",
      saveWorker: "Save Worker",
      up: "Move up",
      down: "Move down",
      proposeChanges: "Propose Changes",
      applyChanges: "Apply Changes",
      alreadyApplied: "Already Applied",
      readOnly: "Read only",
      publish: "Publish",
      unpublish: "Unpublish",
      archive: "Archive",
      unarchive: "Unarchive",
      delete: "Delete",
      moreActions: "More actions",
      deploy: "Deploy",
      triggers: "Triggers",
      share: "Share",
      embed: "Embed",
      createTeam: "Create Team",
      change: "Change",
      addAgent: "Add Agent",
    },
    delete: {
      confirmTitle: "Delete this workforce?",
      confirmDescription: "\"{name}\" and its run history will be permanently deleted, and any in-progress runs will be stopped. This cannot be undone.",
      confirmAction: "Delete permanently",
    },
    share_link: {
      title: "Share Workforce",
      section_title: "Public Share Link",
      desc: "Generate a public page anyone can open to chat with this workforce.",
      publish_required: "Please publish this workforce before generating a share link.",
      public_url: "Public URL",
      anyone_access: "Anyone with this link can start a public chat with this workforce.",
      generate_btn: "Generate Link",
      rotate_btn: "Reset Link",
      disable_btn: "Disable Link",
      messages: {
        enabled: "Share link generated",
        rotated: "Share link rotated",
        disabled: "Share link disabled",
        failed: "Share link action failed",
        link_copied: "Link copied to clipboard",
        copy_failed: "Failed to copy to clipboard",
      },
    },
    widget: {
      title: "Embed Widget",
      widget_enabled: "Widget Enabled",
      widget_enabled_desc: "Allow this widget to be embedded on external sites.",
      allowed_domains: "Allowed Domains",
      allowed_domains_desc: "Restrict widget embedding to specific domains. Use * for any domain.",
      domain_placeholder: "e.g. example.com",
      add_btn: "Add",
      invalid_domain: "Enter a valid host, e.g. example.com (no scheme or path), or * for any domain.",
      no_domains: "No domains configured. The widget will block all embeds unless * is added.",
      snippet_title: "Embed Snippet",
      snippet_desc: "Copy and paste this script tag into the <body> of your website.",
      snippet_timezone_hint: "Optional: add data-timezone=\"Australia/Perth\" (any IANA name) to the script tag to set the chat's time zone. Precedence: data-timezone → the visitor's browser time zone → UTC. If omitted or empty, the browser time zone is used; an unrecognized value falls back to UTC.",
      rotate_btn: "Rotate Key",
      rotating: "Rotating…",
      rotate_confirm: "Rotating the widget key will immediately break all existing embeds. Re-copy and redeploy the snippet after rotation. Continue?",
      copy_btn: "Copy Snippet",
      publish_required: "Please publish this workforce before enabling the widget.",
      messages: {
        enabled: "Widget enabled",
        disabled: "Widget disabled",
        updated: "Widget configuration updated",
        rotated: "Widget key rotated",
        failed: "Widget action failed",
        copied: "Copied to clipboard",
        copy_failed: "Failed to copy to clipboard",
      },
    },
    deployHub: {
      title: "Deploy Workforce",
      options: {
        embed: {
          title: "Embed Widget",
          desc: "Add a chat widget to any website with a single script tag",
          action: "Get snippet",
        },
        api: {
          title: "REST API",
          desc: "Call this workforce programmatically from your backend or app",
          action: "View endpoints",
        },
        share: {
          title: "Shareable Link",
          desc: "Generate a public URL anyone can open to chat with this workforce",
          action: "Generate link",
        },
        webhook: {
          title: "Webhook",
          desc: "Trigger workforce runs via webhook events from external systems",
          action: "Configure",
        },
      },
    },
    fields: {
      name: "Name",
      description: "Description",
      manager: "Manager",
      workers: "Workers",
      publishedAgent: "Published Agent",
      alias: "Alias",
      assignmentInstructions: "Assignment Instructions",
      enabled: "Enabled",
      order: "Order",
      updated: "Updated",
      delegationPrompt: "Delegation Prompt",
      requireApproval: "Require approval before running",
      requireApprovalHint: "Workforce Lead will ask you before delegating to this agent",
      workforceName: "Workforce Name",
      agentManager: "Agent Manager",
    },
    list: {
      badge: "Workforce",
      title: "Workforces",
      description: "Create manager-led multi-agent work groups, keep worker roles explicit, and run them from a single entry point.",
      searchPlaceholder: "Search workforces...",
      emptyTitle: "No workforces yet",
      noResultsTitle: "No matching workforces",
      noResults: "No workforces match your search.",
      manager: "Manager: {name}",
      workers: "Workers: {count}",
      lastRunTime: "Last run: ",
      noRuns: "No runs yet"
    },
    emptyState: {
      title: "How Workforce Works",
      description: "Orchestrate teams of agents to tackle complex, multi-step work. A Manager agent plans and delegates tasks to sub-agents automatically.",
      features: {
        managerAgent: {
          title: "Manager Agent",
          description: "A lead agent that understands your goal and delegates work to the right sub-agents."
        },
        subAgents: {
          title: "Sub-Agents",
          description: "Specialised agents for each task — research, writing, data processing, and more."
        },
        parallelExecution: {
          title: "Parallel Execution",
          description: "Run multiple agents simultaneously to complete complex workflows faster."
        },
        approvalGates: {
          title: "Approval Gates",
          description: "Require human approval before critical actions are taken by any agent."
        }
      },
      action: "+ Create Workforce"
    },
    pagination: {
      showing: "Showing {start}-{end} of {total}",
      prev: "Prev",
      page: "Page {page} of {pages}",
      next: "Next"
    },
    getStarted: {
      title: "Get started",
      steps: {
        name: "Name your workforce",
        lead: "Choose a Workforce Lead",
        agents: "Add agents to your team",
        delegation: "Set a delegation rule for each agent",
        test: "Send a test message",
        publish: "Publish your workforce",
      },
    },
    create: {
      unsavedBadge: "Unsaved",
      discardDraftConfirm: "This workforce hasn't been created yet — leaving now will discard your draft. Continue?",
      backToWorkforces: "Back to Workforces",
      backToCreate: "Back to Create",
      title: "Create a Workforce",
      subtitle: "Set up a Workforce Lead with a team of sub-agents.",
      description: "Pick the starting point that suits you best.",
      modeSelectPrompt: "How would you like to set up this workforce?",
      modeSelect: {
        aiTitle: "AI-assisted setup",
        aiSubtitle: "Recommended",
        aiRecommended: "RECOMMENDED",
        aiDescription: "Describe the outcome you want. The builder will create a manager, select published workers when they fit, and open a reviewable draft.",
        manualTitle: "Manual setup",
        manualSubtitle: "Full control",
        manualDescription: "Choose an existing manager, add workers, then review the orchestration before saving.",
      },
      prompt: {
        badge: "AI setup",
        title: "Create Workforce",
        describeTitle: "Describe your workforce",
        description: "Describe the outcome you want. The builder will create a manager, select published workers when they fit, and open a reviewable draft.",
        cardTitle: "What should this Workforce do?",
        cardDescription: "The generated manager is created for this Workforce. Workers are selected only from existing published agents.",
        placeholder: "Example: Build a Workforce for weekly competitor monitoring. It should research competitor updates, summarize pricing changes, and draft a concise leadership brief.",
        manualSetup: "Manual setup",
        generate: "Generate Workforce",
        tryAnExample: "Try an example",
        buildWorkforce: "Build Workforce",
        example1: "Weekly content engine — research, write & schedule social posts",
        example2: "Inbound lead handling — qualify, draft outreach & update CRM",
        example3: "Market research brief — gather sources, analyse data & summarise",
      },
      manual: {
        title: "Manual Workforce Setup",
        description: "Choose an existing manager, add workers, then review the orchestration before saving.",
        backToPrompt: "Back to AI setup"
      },
      steps: {
        basics: "Basics",
        nameAndManager: "Name & Manager",
        subAgents: "Sub-agents",
        workers: "Workers",
        review: "Review"
      },
      placeholders: {
        name: "Marketing Launch Workforce",
        description: "Coordinate research, content, and launch tasks.",
      },
      fields: {
        workforceName: "Workforce Name",
        agentManager: "Agent Manager",
        agentManagerHint: "This is the agent your workforce reports to. It understands your instructions and coordinates all sub-agents to get the work done.",
      },
      manager: {
        selectLabel: "Select the manager agent",
        placeholder: "Choose an agent"
      }
    },
    workers: {
      addTitle: "Add Worker",
      manageTitle: "Manage Workers",
      chooseAgent: "Choose a worker agent",
      aliasPlaceholder: "Optional display name",
      instructionsPlaceholder: "Describe what this worker handles inside the workforce.",
      noneSelected: "No workers selected yet.",
      noneConfigured: "No workers configured.",
      noneYet: "No workers yet.",
      fallbackName: "Worker {index}",
      aWorker: "A worker",
      defaultDescription: "Published agent worker",
      publishedAgent: "Published agent",
      disabledHelp: "Disabled workers are kept in the Workforce but skipped at runtime.",
      addAgentsTitle: "Add agents",
      addAgentsHint: "Add agents to your workforce. The Workforce Lead will delegate tasks to them based on their role.",
      searchPlaceholder: "Search agents...",
      noSearchResults: "No agents match your search.",
      noAvailableAgents: "No available agents.",
      addedAgentsTitle: "Added Agents",
      tabMyAgents: "My Agents",
      tabTemplates: "Templates",
      searchTemplatesPlaceholder: "Search templates...",
    },
    templates: {
      loading: "Loading templates...",
      noTemplates: "No templates available.",
      loadError: "Failed to load templates.",
      agentName: "Agent Name",
      agentNamePlaceholder: "Enter a name for this agent",
      createAndAdd: "Create & Add",
      creating: "Creating...",
      createSuccess: "Agent \"{name}\" created and added.",
      createError: "Failed to create agent from template.",
    },
    review: {
      potentialRisks: "Potential Risks",
      untitled: "Untitled Workforce",
      canvasPreview: "Canvas Preview",
      workforceLead: "Workforce Lead",
      subAgentsDelegation: "Sub-agents & Delegation",
      warnings: {
        managerNotPublished: "Manager is not published yet.",
        workerNotPublished: "{name} is not published yet.",
        missingInstructions: "{name} is missing assignment instructions.",
        managerCannotBeWorker: "{name} is already a worker. Choose a different manager or remove that worker."
      }
    },
    summary: {
      enabledCount: "{count} enabled"
    },
    run: {
      testTitle: "Test Workforce",
      live: "Live",
      historyTitle: "Run history",
      newRun: "New run",
      emptyHistory: "No previous runs",
      untitledRun: "Untitled run",
      loadMore: "Load more",
      closeHistory: "Close run history",
      loadingAgentExecution: "Loading Agent execution...",
      agentExecutionResult: "Agent output",
      emptyAgentExecution: "No execution details are available.",
      agentExecutionLoadError: "Unable to load Agent execution details.",
      retryAgentExecution: "Retry",
      placeholder: "Tell {manager} what to do...",
      messageRequired: "Add a message to start the run.",
      inputHint: "Your team lead will coordinate sub-agents automatically.",
      readyTitle: "Ready when you are",
      readyDesc: "Send a message and {manager} will coordinate the team to complete your request.",
      inactiveDisabled: "Publish this workforce before running it.",
      archivedDisabled: "Archived workforces cannot run.",
      createToTest: "Choose a manager and add at least one worker to test it."
    },
    deploy: {
      inactiveDisabled: "Publish this workforce before deploying it.",
      archivedDisabled: "Archived workforces cannot be deployed."
    },
    runs: {
      title: "Runs",
      loading: "Loading runs...",
      loadError: "Failed to load runs",
      retry: "Retry",
      refresh: "Refresh",
      empty: "No runs yet",
      emptyHint: "Runs will appear here after you send this workforce a task.",
      untitled: "Run #{id}",
      previewBadge: "Preview",
      taskDeleted: "Conversation unavailable",
      taskExpired: "Conversation expired on {date}",
      status: {
        pending: "Pending",
        running: "Running",
        paused: "Paused",
        completed: "Completed",
        failed: "Failed",
        waiting_for_user: "Waiting for user",
      }
    },
    builder: {
      archivedReadOnly: "Archived workforces are read-only."
    },
    canvas: {
      title: "Workforce flow",
      configure: "Configure",
      backToDetails: "Back to details",
      connections: "Connections",
      noConnections: "No connections configured.",
      nodeTypes: {
        human: "Human",
        manager: "Manager",
        worker: "Worker"
      },
      legend: {
        reportsTo: "Reports to",
        activeDelegation: "Active delegation",
        completed: "Completed",
      },
      chooseLead: {
        title: "Choose a Workforce Lead",
        hint: "The lead receives your request and delegates tasks to the agents below.",
      },
      addFirstAgent: {
        title: "Add your first agent",
        hint: "Sub-agents the lead can delegate tasks to",
      },
    },
    detail: {
      configure: "Configure",
      description: "Configure your workforce's structure and behavior.",
      editTitle: "Edit Workforce",
      detailsTitle: "Workforce Details",
      noDescription: "No description",
      leadTitle: "Workforce Lead",
      leadHint: "Receives your instructions and delegates tasks to the team.",
      leadBadge: "Workforce Lead",
      membersTitle: "Members",
      membersHint: "Sub-agents the Workforce Lead can delegate tasks to.",
      addMemberTitle: "Add a Member",
      changeLeadTitle: "Choose a Workforce Lead",
      createNewAgent: "Create new agent",
      discardEditConfirm: "You have unsaved changes to the Workforce Details. Switch views and discard them?",
    },
    loading: {
      list: "Loading workforces...",
      agents: "Loading agents...",
      creating: "Creating...",
      detail: "Loading workforce...",
      saving: "Saving...",
      starting: "Starting...",
      runView: "Loading run view...",
      canvas: "Loading canvas..."
    },
    messages: {
      updated: "Workforce updated",
      workerAdded: "Worker added",
      workerUpdated: "Worker updated",
      workerRemoved: "Worker removed",
      published: "Workforce published",
      unpublished: "Workforce unpublished",
      archived: "Workforce archived",
      unarchived: "Workforce unarchived",
      deleted: "Workforce deleted"
    },
    errors: {
      loadList: "Failed to load workforces",
      loadAgents: "Failed to load agents",
      create: "Failed to create workforce",
      load: "Failed to load workforce",
      update: "Failed to update workforce",
      addWorker: "Failed to add worker",
      updateWorker: "Failed to update worker",
      removeWorker: "Failed to remove worker",
      run: "Failed to run workforce",
      loadHistory: "Failed to load run history",
      download: "Failed to download file",
      notFound: "Workforce not found.",
      loadCanvas: "Failed to load workforce canvas",
      canvasUnavailable: "Canvas unavailable.",
      publish: "Failed to publish workforce",
      unpublish: "Failed to unpublish workforce",
      archive: "Failed to archive workforce",
      unarchive: "Failed to unarchive workforce",
      delete: "Failed to delete workforce",
      editDiscardedByArchive: "Workforce was archived before this change could save, so it was discarded."
    }
  },
  adminMcp: {
    pageTitle: "Public MCP Configuration",
    pageDescription: "Manage OAuth providers and the public MCP apps that depend on them.",
    addProvider: "Add OAuth Provider",
    addApp: "Add Public MCP App",
    adminRequired: "Admin access required",
    providers: {
      title: "OAuth Providers",
      description: "Identity sources used by your apps",
      add: "Add Provider",
      edit: "Edit Provider",
      new: "New Provider",
      deleteConfirm: "Are you sure you want to delete this provider?",
      deleteSuccess: "Provider deleted",
      deleteFailed: "Failed to delete provider",
      saveSuccess: "Provider saved",
      saveFailed: "Failed to save provider",
      noData: "No providers configured",
      linkedApps: "{count} linked app",
      linkedAppsPlural: "{count} linked apps",
      form: {
        selectLabel: "Select Provider",
        selectPlaceholder: "Select provider",
        noOAuth: "No OAuth required (stdio/sse)",
        orCreateNew: "Or create a new provider configuration",
        addNew: "Add New Provider",
        providerId: "Provider ID (e.g. google)",
        displayName: "Display Name",
        clientId: "Client ID",
        clientSecret: "Client Secret",
        authUrl: "Auth URL",
        tokenUrl: "Token URL",
        redirectUri: "Redirect URI (Optional)",
        redirectUriPlaceholder: "Leave blank to use environment default",
        userinfoUrl: "UserInfo URL (Optional)",
        userIdPath: "User ID Path (e.g. sub)",
        emailPath: "Email Path",
        defaultScopes: "Default Scopes (comma separated)"
      }
    },
    apps: {
      title: "Public MCP Apps",
      description: "Apps registered in your workspace",
      searchPlaceholder: "Search apps...",
      deleteAction: "Delete app",
      deleteConfirm: "Are you sure you want to delete this app?",
      deleteSuccess: "App deleted",
      deleteFailed: "Failed to delete app",
      saveSuccess: "App saved",
      saveFailed: "Failed to save app",
      noData: "No apps configured",
      columns: {
        appId: "APP ID",
        provider: "PROVIDER",
        transport: "TRANSPORT",
        connectorVisibility: "CONNECTOR VISIBILITY"
      },
      visibility: {
        visible: "Visible",
        hidden: "Hidden",
        showSuccess: "App is now visible in the connector dialog",
        hideSuccess: "App is now hidden from the connector dialog",
        updateFailed: "Failed to update connector visibility"
      },
      form: {
        appId: "App ID (e.g. gmail)",
        displayName: "Display Name",
        description: "Description",
        iconUrl: "Icon URL",
        category: "Category",
        transport: "Transport",
        visibleInConnector: "Show in connector dialog",
        visibleInConnectorDescription: "When disabled, this public app is completely hidden from the connector dialog for all users.",
        oauthScopes: "OAuth Scopes (comma separated)",
        launchConfig: "Launch Config (JSON)",
        launchConfigGuidance: "Provide runtime launch metadata such as the command, arguments, required environment variable names, and mappings. Do not include credential or secret values; configure them through the connector credential flow.",
        managedFieldsDescription: "Identity, transport, OAuth scopes, and launch configuration are managed by the application. Presentation fields remain editable.",
        invalidJson: "Invalid JSON in launch_config"
      }
    },
    modal: {
      step1: "Step 1: OAuth Provider",
      step1Desc: "Select an existing provider or configure a new one.",
      step2: "Step 2: MCP App Details",
      step2Desc: "Configure the application parameters.",
      step3: "Step 3: Test & Finish",
      step3Desc: "App created successfully. You can now test it.",
      next: "Next Step",
      back: "Back",
      saveProvider: "Save Provider",
      saveApp: "Save Application",
      finish: "Finish",
      successTitle: "Configuration Saved!",
      successDesc: "The MCP application has been added to the public registry. Users can now see and connect to this app from their Tools menu."
    }
  },
  skillHub: {
    page: {
      title: "Skill Hub",
      subtitle: "Install Skills from registries or write your own. Agents automatically pick the right Skill for each task.",
      createNew: "Create Skills",
    },
    tabs: {
      discover: "Discover",
      mySkills: "My Skills",
    },
    discover: {
      browseAll: "Browse all",
      installed: "Installed",
      install: "Install",
      installing: "Installing…",
      by: "by {owner}",
      installs: "{count} installs",
      noDescription: "No description.",
      searchPlaceholder: "Search skills…",
      noMatchSearch: "No skills match your search.",
      registryEmpty: "Registry is empty.",
      scanBadge: {
        clean: "Scanned clean",
        flagged: "Flagged",
        malicious: "Malicious",
        notScanned: "Not scanned",
      },
      sort: {
        trending: "Trending",
        newest: "Newest",
        mostInstalled: "Most installed",
        mostStarred: "Most starred",
        recentlyUpdated: "Recently updated",
      },
      source: {
        clawhub: "OpenClaw",
        clawhubDesc: "ClawHub public registry",
        huggingfaceLabel: "Hugging Face (coming soon)",
        huggingfaceDesc: "Browse Claude-format skills on HF Hub",
        anthropicLabel: "Anthropic Skills (coming soon)",
        anthropicDesc: "Official Anthropic skill catalog",
      },
      comingSoon: "{source} isn't wired yet — for now only OpenClaw is supported.",
      pagination: {
        prev: "Prev",
        next: "Next",
        page: "Page {page}",
        of: "of {total}",
        shown: "{count} shown",
        pageOf: "Page {page} of {total}",
        resultFor: "{count} result for \"{query}\"",
        resultsFor: "{count} results for \"{query}\"",
        skillsInSort: "{count} skills in {sort}",
      },
    },
    mySkills: {
      searchPlaceholder: "Search installed skills…",
      skillsInstalled: "{count} skill(s) installed",
      matchSummary: "{shown} of {total} match",
      noInstalled: "No installed skills yet. Browse the {discover} tab or create one from scratch.",
      discover: "Discover",
      noFilterMatch: "No skills match your filter.",
      noDescription: "No description.",
      remove: "Remove",
      removeTitle: "Remove skill",
      removeDescription: "Remove \"{name}\" from your installed skills? This deletes the files under {path}.",
      sort: {
        groupBySource: "Group by source",
        groupBySourceDesc: "User → Built-in → External",
        byName: "Name (A-Z)",
        byNameDesc: "Flat alphabetical",
      },
    },
    sourceLabel: {
      builtin: "Built-in",
      user: "Installed",
      team: "Team",
      external: "External",
    },
    detail: {
      back: "Back to Skill Hub",
      edit: "Edit",
      remove: "Remove",
      cancel: "Cancel",
      save: "Save",
      saving: "Saving…",
      skillMd: "SKILL.md",
      skillMdEmpty: "SKILL.md is empty.",
      files: "Files",
      installedAt: "Installed at:",
      notFound: "Skill not found.",
      teamNote: "Team skills are managed from Team settings.",
      removeTitle: "Remove skill",
      removeDescription: "Remove \"{name}\" from your installed skills? This deletes the files under {path}.",
    },
    newSkill: {
      back: "Back to Skill Hub",
      title: "Create a new skill",
      creating: "Creating…",
      create: "Create",
      skillName: "Skill name",
      nameHint: "Letters, digits, hyphens, underscores only. Becomes the directory name under {path}.",
      nameInvalid: "Name must match {pattern}.",
      placeholder: "Start typing your SKILL.md…",
      importTitle: "Import a skill file",
      importHint: "Drop a .zip skill bundle or a SKILL.md here, or click to browse. A name typed above wins; leave it empty to take the name from the upload.",
      importing: "Uploading…",
      importOneFileOnly: "Drop one file at a time.",
      uploadFailed: "Upload failed (HTTP {status}).",
      uploadNetworkError: "Network error while uploading.",
      createNetworkError: "Network error while creating.",
      uploadTooLarge: "File is too large. Please reduce the upload size and try again.",
      uploadProxyError: "Upload failed before reaching the application. Please check the server upload limit.",
      nameTooLong: "Name must be at most {max} characters.",
    },
    editor: {
      skillMd: "SKILL.md",
      preview: "Preview",
      livePreviewHint: "Live preview will appear here.",
    },
  },
  ssh: {
    bindings: {
      label: "SSH targets",
      add: "Bind target",
      empty: "No SSH targets bound to this agent.",
      loadFailed: "Could not load SSH bindings. Reload before saving to avoid dropping the SSH tools.",
      targetsLoadFailed: "Could not load SSH targets.",
      saveFirst: "Save the agent first, then bind SSH targets.",
      created: "Target bound",
      deleted: "Binding removed",
      confirmDelete: "Remove this SSH target binding?",
      approval: {
        always: "Always require approval",
        risk_based: "Risk-based approval",
        not_required: "No approval required",
      },
      dialog: {
        title: "Bind an SSH target",
        targetLabel: "Target",
        targetPlaceholder: "Select a target",
        capabilitiesLabel: "Capabilities",
        capabilitiesPlaceholder: "Select capabilities",
        approvalLabel: "Approval policy",
        submit: "Bind",
      },
    },
  },
  connectorRuntime: {
    title: "This connector needs more information",
    description: "The last message could not run because a connector it uses is missing some required input.",
    sessionOpenDescription: "A connector this conversation uses is missing some required input. Fill it in before you send your next message.",
    sessionOpenNotFillable: "A connector this conversation uses is missing some required input.",
    firstGateDescription: "Your message has not been sent yet: a connector it uses is missing some required input. Fill it in and save to send the message. If you close this dialog, the message will not be sent; any files you attached stay with this conversation.",
    firstGateReadyDescription: "Your message has not been sent yet, and nothing more can be filled in here. Send it now, or close this dialog to leave it unsent; any files you attached stay with this conversation.",
    firstGateCleared: "Your first message was not sent because the new conversation was closed before its connector inputs were filled.",
    metTitle: "This connector has everything it needs",
    metNotResent: "Nothing is missing for this connector any more. The message that failed was not sent again; send it once more from the message box when you want it to run.",
    metNothingLeft: "Everything this connector needs is saved.",
    contextNote: "Saved in this conversation and cannot be changed.",
    filled: "Already filled",
    unsupportedNote: "This kind of input cannot be filled in from web chat yet.",
    keyNameWarning: "This key name is not accepted by the server, so saving it will fail. Ask the connector's owner to rename it. Until it is renamed, this connector will fail every time.",
    objectInvalid: "Enter a valid JSON object.",
    objectEmpty: "This cannot be an empty object.",
    onlyUnsupportedNotice: "This connector is missing input this dialog cannot collect yet. Use the SDK or the external API instead.",
    onlyUnsupportedRemaining: "This connector still needs {keys}. For now, use the SDK or the external API instead.",
    savedNotResentUnsupported: "The values were saved, but this message was not resent: this connector still needs {keys}. For now, use the SDK or the external API instead.",
    savedNotResentUnavailable: "The values were saved, but this message was not resent: this connector is still unavailable.",
    savedNotResentIncomplete: "The values were saved, but this message was not resent: this connector still needs more input.",
    savedNotResentSuperseded: "The values were saved, but this message was not resent: another failure reopened this dialog before the resend could go out.",
    savedNotResentUnmounted: "The values were saved, but this message was not resent: this dialog closed before the resend could go out.",
    savedNotSent: "The values were saved, but your message has not been sent yet: this connector still needs more input.",
    resendSupersededSent: "The message was sent, but this dialog has since moved on to a new request. Do not resend it again.",
    stillMissingAfterSave: "This connector will still be unavailable after saving; it still needs {keys}.",
    sendFailed: "The values were saved, but the message was not sent.",
    sendOutcomeUnknown: "The values were saved, but whether the message was sent could not be confirmed. Check the conversation before sending it again.",
    refreshing: "Checking what this connector needs right now…",
    readFailed: "What this connector needs could not be checked just now, so the list below may be out of date. Saving is unavailable until it can be read again.",
    actions: {
      saveAndResend: "Save and resend this message",
      saveOnly: "Save only",
      saveAndSend: "Save and send",
      sendHeld: "Send message",
      acknowledge: "Got it",
      retry: "Retry",
      resend: "Resend",
      readAgain: "Check again",
    },
    errors: {
      network: "A network error occurred. Please try again.",
      busyRetry: "Another window just changed this same connector. Please try again.",
      contactAdmin: "The save failed. Please contact an administrator.",
      conflict: "Another window already filled in {key}.",
      conflictNoKey: "Another window already filled in this value.",
      typeNoField: "The server rejected this value. The field it was for is no longer editable here.",
      emptyValueNoField: "The server rejected this value for being empty. The field it was for is no longer editable here.",
      typeString: "This field needs text.",
      typeObject: "This field needs a JSON object.",
      typeUnknown: "The server rejected this value's type. This connector does not say which type it expects.",
      emptyValue: "This field cannot be empty.",
      keyNameRejected: "This connector declares a key name the server does not accept, so saving it will fail. Ask the connector's owner to rename it. Until it is renamed, this connector will fail every time.",
      configChanged: "This connector's configuration just changed.",
      notInSession: "This connector does not belong to this conversation.",
      connectorUnavailable: "This connector is no longer available.",
      tooLarge: "The content is too long.",
    },
  },
} as const

export default en