import type { Translations } from "./index";

const zh: Translations = {
  common: {
    auto: "自动",
    manual: "手动",
    cancel: "取消",
    retry: "重试",
    load: "加载",
    loading: "加载中...",
    running: "运行中...",
    creating: "创建中...",
    processing: "处理中",
    getStarted: "开始使用",
    next: "下一步",
    skip: "跳过",
    exportMd: "导出 MD",
    confidence: "置信度",
    status: "状态",
    title: "标题",
    summary: "摘要",
    source: "来源",
    type: "类型",
    accepted: "已采纳",
    rejected: "已驳回",
    pending: "待处理",
    completed: "已完成",
    failed: "失败",
    save: "保存",
    saving: "保存中...",
    delete: "删除",
  },
  nav: {
    dashboard: "控制台",
    assistant: "战略助手",
    workbench: "决策工作台",
    simulation: "推演仿真",
    debate: "辩论中心",
    evidence: "情报中心",
    predictions: "预测追踪",
    monitoring: "监测看板",
    providers: "模型配置",
    sources: "数据源",
    agents: "智能体",
    batch: "批量任务",
  },
  layout: {
    platform: "决策智能平台",
    systemOnline: "系统在线",
    user: "用户",
    collapseSidebar: "收起侧边栏",
    expandSidebar: "展开侧边栏",
  },
  notifications: {
    title: "通知",
    empty: "暂无通知",
    open: "打开",
  },
  language: {
    switchToEnglish: "切换为英文",
    switchToChinese: "切换为中文",
  },
  dashboard: {
    welcome: "欢迎使用明鉴",
    tagline: "证据驱动的智能平台——洞察明鉴，决策千里",
    taglineSubtitle: "实时监控预测、追踪准确率，一览战略情报全局。",
    activeSessions: "活跃会话",
    strategicAnalyses: "战略分析",
    predictionAccuracy: "预测准确率",
    queueHealth: "队列健康",
    pendingItems: "待处理项",
    watchRules: "监控规则",
    activeMonitors: "活跃监控",
    quickActions: "快捷操作",
    newAnalysis: "新建分析",
    newAnalysisDescription: "发起实时证据采集的战略分析",
    runSimulation: "运行推演",
    runSimulationDescription: "执行带分支与对比的情景推演",
    startDebate: "发起辩论",
    startDebateDescription: "启动多智能体辩论，校验决策判断",
    predictionScoreboard: "预测记分板",
    totalHypotheses: "假设总数",
    confirmed: "已证实",
    refuted: "已驳回",
    pending: "待验证",
    vsHuman: "相较人工",
    recentSessions: "最近会话",
    viewAll: "查看全部",
    noSessions: "暂无会话",
    noSessionsDescription: "新建一次战略分析后，会话将显示在这里",
    brier: "Brier",
    sessionName: "会话名称",
    createdAt: "创建时间",
  },
  assistant: {
    title: "战略助手",
    subtitle: "融合证据综合与多智能体辩论的 AI 分析工作台",
    missionInput: "任务输入",
    topicPlaceholder: "请输入分析主题...",
    quickStartExamples: "快速示例",
    domain: "领域",
    autoDetect: "自动识别",
    corporate: "企业",
    military: "军事",
    ticks: "推演步数",
    subjectName: "主体名称",
    subjectPlaceholder: "可选主体名称",
    runAnalysis: "执行分析",
    recentSessions: "最近会话",
    noSessions: "暂无会话",
    process: "过程",
    reasoning: "推理",
    sources: "来源",
    panel: "专家组",
    debate: "辩论",
    liveReasoning: "实时推理",
    waitingForAnalysis: "等待分析",
    waitingForAnalysisDescription: "执行分析后，可在此查看 AI 实时推理过程",
    noSources: "暂无来源",
    noSourcesDescription: "AI 采集证据后，来源信息将显示在这里",
    panelDiscussion: "专家组讨论",
    noPanelDiscussion: "暂无专家组讨论",
    noPanelDiscussionDescription: "分析过程中，专家组成员会在此讨论关键发现",
    debateTrace: "辩论轨迹",
    noDebate: "暂无辩论",
    noDebateDescription: "AI 模型围绕分析结论展开讨论后，辩论轮次将显示在这里",
    analysisComplete: "分析完成",
    keyFindings: "关键发现",
    simulation: "推演",
    verdict: "裁决",
    step: "步骤",
    recommendation: "建议",
    round: "轮次",
    roleAdvocate: "支持方",
    roleChallenger: "质询方",
    roleArbitrator: "裁决方",
    onboardingTitle: "欢迎使用 明鉴",
    onboardingSubtitle: "您的 AI 决策智能平台",
    onboardingEnterTopic: "输入主题",
    onboardingEnterTopicDesc: "描述需要分析的战略问题",
    onboardingAiAnalysis: "AI 分析",
    onboardingAiAnalysisDesc: "实时观察 AI 智能体采集证据并展开分析",
    onboardingDebate: "多智能体辩论",
    onboardingDebateDesc: "专家智能体从不同视角进行交锋",
    onboardingInsights: "获取洞察",
    onboardingInsightsDesc: "接收包含建议的综合分析结论",
    exampleTaiwan: "分析台海局势未来3年发展趋势",
    exampleEv: "评估新能源汽车行业投资机会",
    exampleSemiconductor: "分析全球半导体供应链风险",
    exampleMiddleEast: "评估中东地区地缘政治风险",
    sessionDetail: "会话详情",
    backToAnalysis: "返回分析",
    dailyBriefs: "每日简报",
    recentRuns: "近期分析记录",
    noDailyBriefs: "暂无每日简报",
    noRecentRuns: "暂无分析记录",
    createdAt: "创建时间",
    sessionInfo: "会话信息",
    topic: "主题",
    autoRefresh: "自动刷新",
    enabled: "已启用",
    disabled: "已禁用",
    clickSessionToView: "点击左侧会话查看详情",
    runResult: "分析结果",
    briefSummary: "简报摘要",
    debateVerdict: "辩论裁决",
    sseError: "分析过程发生错误",
    analysisCompleteToast: "分析完成",
    viewFullDebate: "查看完整辩论",
    confidence: "置信度",
    actionRecommendations: "行动建议",
    actionItems: "行动项",
    recommendations: "建议",
    riskFactors: "风险因素",
    alternativeScenarios: "参考方案",
    expectedOutcome: "预期结果",
    debateDetails: "辩论详情",
    winningArguments: "关键论点",
    decisiveEvidence: "决定性证据",
    minorityOpinion: "少数意见",
    conditions: "裁定条件",
    latestReport: "最新报告",
    keyPoints: "关键要点",
    ingestStarted: "数据采集完成",
    simulationStarted: "情景推演完成",
    reanalyze: "重新分析",
    pause: "暂停",
    resume: "恢复",
    paused: "已暂停",
    streaming: "实时更新",
    eventsPending: "条待处理",
    applyAll: "全部应用",
    applyAllImmediately: "立即应用所有事件",
    playSequential: "逐条播放",
    playOneByOne: "每秒播放一条事件",
    discard: "丢弃",
    discardAndContinue: "丢弃缓存事件并继续",
    compactMode: "简洁模式",
    defaultMode: "默认模式",
    viewHistory: "查看历史",
    viewDetails: "查看详情",
    viewSources: "查看来源",
  },
  process: {
    analysisProcess: "分析过程",
    analysisComplete: "分析完成",
    show: "显示",
    hide: "隐藏",
    modelOutput: "模型输出",
    details: "条详情",
    sources: "来源",
    multiAgentDebate: "多智能体辩论",
    debateDescription: "AI 模型围绕不同视角展开辩论",
    round: "第",
    confidence: "置信度",
    arguments: "论点",
    rebuttals: "反驳",
    processingAnalysis: "正在处理分析...",
    stages: {
      ingest: "数据采集",
      extract: "信息抽取",
      analyze: "深度分析",
      simulate: "情景推演",
      debate: "多智能体辩论",
      synthesis: "报告综合",
    },
    roleDescriptions: {
      advocate: "支持当前分析",
      challenger: "质询关键假设",
      arbitrator: "作出最终判断",
    },
  },
  simulation: {
    title: "推演仿真",
    subtitle: "运行并分析带分支路径的情景推演",
    newSimulation: "新建推演",
    createNewSimulation: "创建新推演",
    domain: "领域",
    corporate: "企业",
    military: "军事",
    timeSteps: "时间步",
    createAndRun: "创建并运行",
    simulationRuns: "推演记录",
    ticks: "步",
    noSimulations: "暂无推演",
    noSimulationsDescription: "创建一次新推演即可开始",
    kpiComparator: "KPI 对比器",
    overall: "总体",
    timeline: "时间线",
    geoAssets: "地理资产",
    selectRun: "选择一次推演记录",
    selectRunDescription: "从左侧列表选择推演，查看工作台与分析结果",
    actorTemplate: "角色模板",
  },
  evidence: {
    title: "情报中心",
    subtitle: "浏览证据、声明、知识图谱与来源信誉",
    evidence: "证据",
    claims: "声明",
    knowledgeGraph: "知识图谱",
    sourceReputation: "来源信誉",
    calibration: "校准",
    statement: "陈述",
    confidence: "置信度",
    status: "状态",
    noEvidence: "暂无证据",
    noEvidenceDescription: "系统摄取数据后，证据将显示在这里",
    noClaims: "暂无声明",
    noClaimsDescription: "系统会自动从证据中抽取声明",
    searchPlaceholder: "搜索知识图谱...",
    searchResults: "搜索结果",
    nodes: "节点",
    edges: "边",
    reputation: "信誉",
    confirmed: "已证实",
    refuted: "已驳回",
    noReputation: "暂无信誉数据",
    noReputationDescription: "证据被验证后，来源信誉将在这里持续更新",
    totalHypotheses: "假设总数",
    accuracy: "准确率",
    brierScore: "Brier 分数",
    vsHuman: "相较人工",
    loadingCalibration: "正在加载校准数据...",
  },
  debate: {
    title: "辩论中心",
    subtitle: "查看多智能体辩论轨迹与最终裁决",
    loadDebate: "加载辩论",
    debateIdPlaceholder: "请输入辩论 ID...",
    debateNotFound: "未找到辩论",
    trigger: "触发方式",
    rounds: "轮次",
    finalVerdict: "最终裁决",
    outcome: "结果",
    confidence: "置信度",
    winningArgs: "胜出论点",
    winningArguments: "胜出论点",
    minorityOpinion: "少数意见",
    round: "轮次",
    enterDebateId: "请输入辩论 ID",
    enterDebateIdDescription: "加载辩论后，可查看完整的多智能体讨论轨迹",
    position: "立场",
    arguments: "论点",
    rebuttals: "反驳",
    advocate: "支持方",
    challenger: "质询方",
    arbitrator: "裁决方",
    recentDebates: "最近辩论",
    total: "场辩论",
    inProgress: "辩论进行中",
    roundProgress: "第{round}/4轮",
    roleAdvocate: "支持方",
    roleChallenger: "挑战方",
    roleArbitrator: "仲裁方",
    speaking: "{role}发言中...",
    verdictPending: "等待裁决...",
    startLiveDebate: "发起实时辩论",
    interrupt: "插话",
    interruptPlaceholder: "输入您的补充信息或修正方向...",
    interruptType: "插话类型",
    supplementaryInfo: "补充信息",
    directionCorrection: "方向修正",
    newEvidence: "新证据",
    generalInterrupt: "一般意见",
    interruptSuccess: "插话已提交，将在下一轮辩论中注入",
    interruptFailed: "插话提交失败",
    alreadyInterrupted: "已插话",
    viewReplay: "查看回放",
    replay: "辩论回放",
    replayLoading: "正在加载回放...",
    replayError: "回放加载失败",
    roundLabel: "第 {round} 轮",
    interruptEvent: "插话事件",
    positionChange: "立场变化",
    stanceSupport: "支持",
    stanceOppose: "反对",
    stanceNeutral: "中立",
  },
  welcome: {
    open: "打开欢迎指南",
    title: "欢迎使用 明鉴",
    subtitle: "您的 AI 决策智能平台",
    strategicAssistant: "战略助手",
    strategicAssistantDescription: "输入任意主题，获取带多智能体辩论的实时 AI 分析",
    scenarioSimulation: "情景推演",
    scenarioSimulationDescription: "运行包含分支时间线与 KPI 跟踪的假设推演",
    evidenceIntelligence: "证据智能",
    evidenceIntelligenceDescription: "从多来源采集、验证并综合证据",
    step1Title: "欢迎使用明鉴",
    step1Description: "证据驱动的决策智能平台，帮助您洞察明鉴，决策千里",
    step2Title: "核心功能",
    step2Description: "战略助手、辩论系统、情景推演 — 三位一体的决策支持",
    step3Title: "9个智能体",
    step3Description: "从不同角色和视角为您提供全方位分析",
    step4Title: "实时监控",
    step4Description: "持续更新的证据采集和分析过程，随时掌握最新动态",
    step5Title: "快速开始",
    step5Description: "选择一个示例问题，立即体验明鉴的强大能力",
    agentsTitle: "智能体介绍",
    previousStep: "上一步",
    nextStep: "下一步",
    skipGuide: "跳过",
    finishGuide: "开始使用",
    stepProgress: "步骤",
  },
  predictions: {
    title: "预测追踪",
    subtitle: "查看预测版本演化轨迹",
    series: "预测系列",
    versions: "版本",
    timeline: "时间线",
    probability: "概率",
    confidence: "置信度",
    triggerType: "触发类型",
    status: "状态",
    noPredictions: "暂无预测数据",
    versionHistory: "版本历史",
  },
  workbench: {
    title: "决策工作台",
    subtitle: "统一决策工作台",
    description: "集中查看当前建议、置信度、证据、预测时间线与风险态势。",
    selectSession: "选择会话",
    selectSessionPlaceholder: "请选择一个会话...",
    currentRecommendation: "当前建议",
    keyFindings: "关键发现",
    riskFactors: "风险因素",
    recommendations: "行动建议",
    evidenceStrength: "证据强度",
    evidenceCount: "证据数",
    claimsCount: "声明数",
    confidence: "置信度",
    evidenceItems: "条证据",
    claimItems: "条声明",
    integratedConfidence: "综合置信度",
    decisiveEvidence: "决定性证据",
    predictionTimeline: "预测时间线",
    versions: "个版本",
    alternativeScenarios: "替代方案",
    decisionActions: "决策操作",
    adoptRecommendation: "采纳建议",
    deferAction: "暂不行动",
    needMoreInfo: "需要更多信息",
    adopt: "已采纳",
    defer: "已暂缓",
    needMoreInfoDecision: "需补充信息",
    adopted: "已采纳",
    deferred: "已暂缓",
    needsMoreInfo: "需补充信息",
    adoptedToast: "已标记为采纳建议",
    deferredToast: "已标记为暂不行动",
    moreInfoToast: "已标记为需要更多信息",
    savingDecision: "保存中...",
    decisionSaveFailed: "保存决策失败",
    decisionNote: "决策会写入用户决策记录，后续可补充实际结果以形成闭环追踪。",
    noSessions: "暂无会话",
    noSessionsDescription: "请先在战略助手中运行一次分析，工作台会在这里汇总结果。",
    noFindings: "暂无关键发现。",
    noRisks: "暂无风险因素。",
    noRecommendations: "暂无行动建议。",
    noPredictions: "暂无预测版本。",
    noScenarios: "暂无替代方案。",
    loadFailed: "加载决策工作台失败",
    refreshAdvice: "刷新建议",
    refreshInProgress: "正在刷新...",
    refreshComplete: "建议已更新",
    lastRefresh: "上次刷新",
    reAnalyze: "重新分析",
  },
  monitoring: {
    title: "监测看板",
    subtitle: "实时监测系统状态",
    watchRules: "监测规则",
    recentChanges: "最近变更",
    revisionJobs: "修正任务",
    predictions: "预测统计",
    eventFeed: "事件流",
    noEvents: "暂无事件",
    healthy: "健康",
    unhealthy: "异常",
    lastPoll: "上次轮询",
    failures: "失败次数",
    active: "活跃",
    superseded: "已替换",
    verified: "已验证",
    calibration: "校准概览",
    ruleAccuracyDistribution: "规则准确率分布",
    sourceTrustDistribution: "来源可信度分布",
    avgCalibrationScore: "平均校准分数",
    avgTrust: "平均可信度",
    high: "高",
    medium: "中",
    low: "低",
  },
  commandPalette: {
    title: "命令面板",
    description: "搜索命令或页面...",
    placeholder: "输入命令或搜索...",
    empty: "未找到结果",
    navigation: "导航",
    actions: "操作",
    recent: "最近访问",
    toggleTheme: "切换主题",
    switchLanguage: "切换语言",
    currentDark: "当前：深色",
    currentLight: "当前：浅色",
    currentSystem: "当前：跟随系统",
  },
  agent: {
    title: "Agent工作面板",
    newsAgent: "新闻探员",
    socialAgent: "社媒探员",
    dataAgent: "数据探员",
    webAgent: "网页探员",
    searching: "搜索中",
    completed: "已完成",
    failed: "失败",
    collectedItems: "条情报",
    clickToExpand: "点击查看详情",
  },
  providers: {
    title: "模型供应商",
    subtitlePrefix: "配置 AI 模型接入",
    configured: "已配置",
    providers: "个供应商",
    configuredBadge: "已配置",
    notConfiguredBadge: "未配置",
    editHint: "点击配置",
    apiFormat: "API 格式",
    openaiCompatible: "OpenAI 兼容",
    anthropicNative: "Anthropic 原生",
    model: "模型",
    apiKeyPlaceholder: "请输入 API Key...",
    getApiKey: "获取 API Key",
    chooseModelPlaceholder: "验活后选择可用模型",
    modelInputPlaceholder: "验活后自动加载可用模型",
    testToLoadModels: "填写 API Key 后点击「验活测试」自动拉取可用模型列表",
    testing: "测试连接中...",
    testConnection: "验活测试",
    connectionSuccess: "连接成功",
    latency: "延迟",
    modelsAvailable: "个模型可用",
    connectionFailed: "连接失败",
    customProvider: "自定义供应商",
    customProviderDescription: "填入任意 Base URL + API Key",
    customProviderSubtitle: "填入任意 OpenAI 兼容或 Anthropic 格式的接口",
    providerName: "供应商名称",
    providerNamePlaceholder: "例如: My Local LLM / 公司内部模型",
    requiredFields: "请填写供应商名称、Base URL 和 API Key",
    deleteConfirmPrefix: "确定删除配置：",
    saveFailed: "保存失败",
    hintTitle: "提示：",
    hint: "只需配置一个供应商即可开始使用。系统会自动将未配置的槽位回退到已配置的供应商。所有供应商均使用 OpenAI 兼容格式（/chat/completions），Anthropic 也支持原生格式。也可以点击「自定义供应商」接入任意兼容接口。",
  },
  update: {
    newResults: "有新的分析结果",
    predictionUpdated: "预测已更新",
    debateCompleted: "新辩论已完成",
    viewNow: "立即查看",
    dismiss: "忽略",
  },
  sources: {
    title: "数据源管理",
    subtitle: "查看数据源信誉评分、管理自定义数据源",
    reputation: "信誉评分",
    customSources: "自定义数据源",
    sourceName: "名称",
    sourceType: "类型",
    endpointUrl: "端点 URL",
    reputationScore: "信誉分数",
    noiseRate: "噪声率",
    addSource: "添加数据源",
    editSource: "编辑数据源",
    deleteSource: "删除数据源",
    deleteConfirm: "确定要删除该数据源吗？",
    noSources: "暂无自定义数据源",
    noSourcesDescription: "添加自定义数据源以扩展数据采集能力",
    noReputation: "暂无信誉数据",
    noReputationDescription: "数据源信誉将在数据验证后自动更新",
    namePlaceholder: "请输入数据源名称",
    endpointPlaceholder: "请输入端点 URL",
    configJson: "配置 JSON（可选）",
    configPlaceholder: '{"key": "value"}',
    configInvalid: "JSON 格式不正确",
    enabled: "已启用",
    disabled: "已禁用",
    searchPlaceholder: "搜索数据源...",
  },
  agents: {
    title: "智能体管理",
    subtitle: "查看系统默认智能体与管理自定义智能体角色",
    defaultAgents: "系统默认智能体",
    defaultAgentsDescription: "系统内置的默认智能体角色，不可编辑",
    customAgents: "自定义智能体",
    customAgentsDescription: "创建和管理自定义智能体角色",
    addAgent: "添加智能体",
    editAgent: "编辑智能体",
    deleteConfirm: "确定要删除该自定义智能体吗？",
    noCustomAgents: "暂无自定义智能体",
    noCustomAgentsDescription: "添加自定义智能体以扩展分析能力",
    agentName: "中文名称",
    agentNameEn: "英文名称",
    agentIcon: "图标 Emoji",
    agentDescription: "描述",
    priority: "优先级",
    priorityHigh: "高优先级",
    priorityLow: "低优先级",
    roleKey: "角色标识",
    iconPlaceholder: "例如: 🔍",
    namePlaceholder: "例如: 行业分析员",
    nameEnPlaceholder: "例如: Industry Analyst",
    descriptionPlaceholder: "请输入智能体描述...",
    customBadge: "自定义",
    defaultBadge: "默认",
    agentsCount: "个智能体",
  },
  batch: {
    title: "批量任务",
    subtitle: "同时提交多个方案进行并行辩论评估",
    newBatch: "新建批量任务",
    createNewBatch: "创建批量任务",
    batchTitle: "任务标题",
    batchTitlePlaceholder: "请输入批量任务标题...",
    decisionPoint: "决策点",
    decisionPointPlaceholder: "请描述需要做出的决策...",
    proposals: "方案列表",
    addProposal: "添加方案",
    proposalTitle: "方案标题",
    proposalTitlePlaceholder: "请输入方案标题...",
    proposalDescription: "方案描述",
    proposalDescriptionPlaceholder: "请详细描述该方案...",
    removeProposal: "移除",
    submit: "提交批量任务",
    submitting: "提交中...",
    progress: "进度",
    completed: "已完成",
    failed: "失败",
    pending: "等待中",
    processing: "处理中",
    cancelled: "已取消",
    partial: "部分完成",
    cancel: "取消任务",
    cancelConfirm: "确定要取消该批量任务吗？尚未开始的子任务将被取消。",
    cancelSuccess: "批量任务已取消",
    cancelFailed: "取消失败",
    submitSuccess: "批量任务已提交",
    submitFailed: "提交失败",
    subTaskResults: "子任务结果",
    verdict: "裁决",
    confidence: "置信度",
    resultSummary: "结果摘要",
    errorMessage: "错误信息",
    noBatches: "暂无批量任务",
    noBatchesDescription: "创建批量任务以同时评估多个方案",
    viewDetail: "查看详情",
    batchHistory: "历史任务",
    progressOverview: "进度概览",
    proposalCount: "个方案",
    atLeastOneProposal: "至少需要一个方案",
    titleRequired: "请输入任务标题",
    decisionPointRequired: "请输入决策点",
    proposalTitleRequired: "请输入方案标题",
    proposalDescRequired: "请输入方案描述",
  },
};

export default zh;
