import type { Locale, TranslationTree } from '../i18n';

export const governTranslations: Record<Locale, TranslationTree> = {
  en: {
    breaker: {
      breadcrumb: {
        parent: 'Governance & Operations',
        current: 'Emergency Circuit Breaker',
      },
      hero: {
        eyebrow: 'Last line of defense',
        title: 'Emergency Circuit Breaker Center',
        subtitle: 'When upper-layer defenses fail or suspicious activity is detected, one click makes all ClawAegisEx pods reject all tool calls (http_get / browser / mcp, etc.). Pods keep running, webchat is accessible, agent cannot perform external actions.',
      },
      stats: {
        currentStatus: 'Current Status',
        statusEnabled: '🚨 Enabled',
        statusClosed: '✓ Closed',
        allCallsRejected: 'All tool calls rejected',
        normalProtection: 'Normal protection per defense_toggle',
        managedInstances: 'Managed Instances',
        allStatuses: 'All statuses included',
        runningInstances: 'Running Instances',
        breakerImpactScope: 'Breaker impact scope',
        lastDispatch: 'Last Dispatch',
        targetCount: 'target_count this session',
      },
      activePanel: {
        breakerActive: 'Breaker Active · ISOLATED',
        systemLevelBreaker: 'System-level Emergency Breaker',
        reason: 'Reason:',
        none: '(none)',
        enabledBy: 'Enabled by:',
        enabledAt: 'Enabled at:',
        disable: 'Deactivate',
        processing: 'Processing…',
      },
      manualTrigger: {
        eyebrow: 'Manual Trigger',
        title: 'System-level Breaker (All Running Instances)',
        alertNote: 'Current implementation is "system-level kill switch", effective for all running ClawAegisEx pods. Host-level breaker (NetworkPolicy / OS agent) is not yet supported.',
        impactPreview: 'Impact Scope Preview (real-time)',
        willAffect: 'Will affect',
        runningInstancesUnit: 'running instances:',
        noRunningInstances: '(No running instances)',
        reasonRequired: 'Breaker Reason (required)',
        reasonPlaceholder: 'e.g., Suspected data exfiltration, breaker first for investigation',
        confirmInstruction: 'Second confirmation: Type ',
        confirmCode: 'CONFIRM',
        confirmCodeHint: ' (uppercase) exactly in the box below',
        confirmPlaceholder: 'Type "CONFIRM"',
        alreadyEnabled: 'Already enabled, please deactivate first',
        pleaseFillReason: 'Please fill in the reason',
        pleaseTypeConfirm: 'Please type CONFIRM in the confirmation box',
        dispatching: 'Dispatching…',
        enabled: 'Enabled',
        executeSystemBreaker: 'Execute System Breaker',
        enableSuccess: '🚨 Emergency breaker activated\nDispatched to {count} running instances. Pods will take effect within 1-10 seconds after receiving install_skill.',
        enableFail: 'Activation failed: ',
        unknownError: 'Unknown error',
      },
      deactivation: {
        eyebrow: 'Deactivate Breaker',
        title: 'Resume Normal Protection',
        afterDeactivation: 'After deactivation, ClawAegisEx will immediately resume normal protection per defense_toggle rules.',
        currentlyInactive: 'Currently not in breaker state.',
        status: 'Status',
        enabled: '🚨 Enabled',
        closed: '✓ Closed',
        reason: 'Reason:',
        enabledAt: 'Enabled at:',
        disable: 'Deactivate Breaker',
        currentlyNotEnabled: 'Currently not enabled',
        disableConfirm: 'Confirm deactivating emergency breaker? All ClawAegisEx pods will resume normal protection within 1-10 seconds.',
        disableSuccess: '✅ Emergency breaker deactivated\nDispatched to {count} instances.',
        disableFail: 'Deactivation failed: ',
        futurePlans: 'Future Plans',
        futurePlansDesc: 'Dual-person review / Host-level NetworkPolicy breaker / Breaker audit history table — not yet implemented.',
      },
    },
    audit: {
      breadcrumb: {
        parent: 'Governance & Operations',
        current: 'Full-chain Audit',
      },
      hero: {
        eyebrow: 'Event Stream Aggregation & Retrospection',
        title: 'Full-chain Audit',
        subtitle: 'Security module event streams unified into the audit event model.',
      },
      stats: {
        events24h: '24h Total Events',
        events24hSub: 'Runtime 8.2k + Host 3.1k + Audit 1.5k',
        highRiskEvents: 'High-Risk Events',
        highRiskEventsSub: 'Correlated & aggregated',
        traceCoverage: 'Trace Coverage',
        traceCoverageSub: 'Cross-product correlation complete',
        persistenceDelay: 'Event Persistence Delay',
        persistenceDelaySub: 'Target ≤ 10s',
      },
      tabs: {
        liveStream: 'Live Event Stream ({count})',
        complianceReport: 'Compliance Report',
        traceQuery: 'Trace Query',
        logArchive: 'Log Archive',
      },
      filters: {
        allSources: 'All Sources',
        runtimeLayer: 'Runtime Layer',
        hostLayer: 'Host Layer',
        auditLayer: 'Audit Layer',
        allScenarios: 'All Scenarios',
        inputSurface: 'Input Surface',
        decisionSurface: 'Decision Surface',
        outputSurface: 'Output Surface',
        outboundGovernance: 'Outbound Governance',
        hostHardening: 'Host Hardening',
        allSeverities: 'All Severities',
        critical: 'Critical',
        high: 'High',
        medium: 'Medium',
        observation: 'Observation',
        searchPlaceholder: '🔍 Trace ID / Instance...',
        exportJsonl: 'Export JSONL',
      },
      table: {
        time: 'Time',
        source: 'Source',
        defenseScenario: 'Defense Scenario',
        rule: 'Rule',
        instance: 'Instance',
        traceId: 'Trace ID',
        action: 'Action',
      },
      sources: {
        runtimeEvents: 'Runtime Layer · Event Stream',
        hostGrpc: 'Host Layer · feeder gRPC',
        auditSecurity: 'Audit · Security Audit',
      },
      sceneHits: {
        title: 'Defense Scenario Hit Count',
        inputSurface: 'Input Surface',
        decisionSurface: 'Decision Surface',
        outboundGovernance: 'Outbound Governance',
        hostAnomaly: 'Host Anomaly',
        componentTrust: 'Component Trust',
        outputSurface: 'Output Surface',
      },
      reports: {
        eyebrow: 'Compliance Export',
        title: 'Audit Report Generation',
        owasp: 'OWASP ASI Coverage Report',
        mitre: 'MITRE ATLAS Coverage',
        csa: 'CSA MAESTRO Report',
        compliance: 'MLPS 2.0 Level 3',
        owaspFull: 'OWASP ASI 10/10 Full Coverage',
      },
    },
  },

  zh: {
    breaker: {
      breadcrumb: {
        parent: '监管与运营治理',
        current: '应急熔断',
      },
      hero: {
        eyebrow: '最后一道兜底',
        title: '应急熔断中心',
        subtitle: '当上层防御失效或出现可疑活动时，一键让所有 ClawAegisEx pod 拒绝所有工具调用（http_get / browser / mcp 等）。Pod 不停，webchat 可访问，agent 无法执行外部动作。',
      },
      stats: {
        currentStatus: '当前状态',
        statusEnabled: '🚨 启用',
        statusClosed: '✓ 关闭',
        allCallsRejected: '所有工具调用被拒绝',
        normalProtection: '按 defense_toggle 正常防护',
        managedInstances: '在管实例',
        allStatuses: '含全部状态',
        runningInstances: 'running 实例',
        breakerImpactScope: '熔断影响范围',
        lastDispatch: '最近一次下发',
        targetCount: '本会话内 target_count',
      },
      activePanel: {
        breakerActive: '熔断进行中 · ISOLATED',
        systemLevelBreaker: '系统级应急熔断',
        reason: '原因：',
        none: '(无)',
        enabledBy: '启用人：',
        enabledAt: '启用时间：',
        disable: '解除熔断',
        processing: '处理中…',
      },
      manualTrigger: {
        eyebrow: '手动触发',
        title: '系统级熔断（所有 running 实例）',
        alertNote: '当前实现为"系统级 kill switch"，对所有 running ClawAegisEx pod 生效。主机级熔断（NetworkPolicy / OS agent）暂未支持。',
        impactPreview: '影响范围预览（real-time）',
        willAffect: '将影响',
        runningInstancesUnit: '个 running 实例：',
        noRunningInstances: '（暂无 running 实例）',
        reasonRequired: '熔断原因（必填）',
        reasonPlaceholder: '例如：发现可疑数据外传，先熔断排查',
        confirmInstruction: '二次确认：在下框中一字不差地输入 ',
        confirmCode: 'CONFIRM',
        confirmCodeHint: '（大写）',
        confirmPlaceholder: '请输入 "CONFIRM"',
        alreadyEnabled: '已启用，请先解除',
        pleaseFillReason: '请填写原因',
        pleaseTypeConfirm: '请在确认框中输入大写 CONFIRM',
        dispatching: '下发中…',
        enabled: '已启用',
        executeSystemBreaker: '执行系统熔断',
        enableSuccess: '🚨 应急熔断已启用\n下发到 {count} 个 running 实例。Pod 收到 install_skill 后 1-10 秒内生效。',
        enableFail: '启用失败：',
        unknownError: '未知错误',
      },
      deactivation: {
        eyebrow: '解除熔断',
        title: '恢复正常防护',
        afterDeactivation: '解除后 ClawAegisEx 将立刻恢复按 defense_toggle 规则的正常防护。',
        currentlyInactive: '当前未处于熔断状态。',
        status: '状态',
        enabled: '🚨 已启用',
        closed: '✓ 已关闭',
        reason: '原因：',
        enabledAt: '启用时间：',
        disable: '解除熔断',
        currentlyNotEnabled: '当前未启用',
        disableConfirm: '确认解除应急熔断？所有 ClawAegisEx pod 1-10 秒内恢复正常防护。',
        disableSuccess: '✅ 应急熔断已解除\n下发到 {count} 个实例。',
        disableFail: '解除失败：',
        futurePlans: '后续规划',
        futurePlansDesc: '双人复核签字 / 主机级 NetworkPolicy 熔断 / 熔断审计历史表，当前未实现。',
      },
    },
    audit: {
      breadcrumb: {
        parent: '监管与运营治理',
        current: '全链路审计',
      },
      hero: {
        eyebrow: '事件流聚合与回溯',
        title: '全链路审计',
        subtitle: '安全模块事件流统一聚合到 审计事件 模型。',
      },
      stats: {
        events24h: '24h 事件总数',
        events24hSub: '运行时层 8.2k + 主机层 3.1k + 审计 1.5k',
        highRiskEvents: '高危事件',
        highRiskEventsSub: '已聚合关联',
        traceCoverage: 'Trace 覆盖',
        traceCoverageSub: '跨产品关联完整',
        persistenceDelay: '事件持久化延迟',
        persistenceDelaySub: '目标 ≤ 10s',
      },
      tabs: {
        liveStream: '实时事件流 ({count})',
        complianceReport: '合规报告',
        traceQuery: 'Trace 链路查询',
        logArchive: '日志归档',
      },
      filters: {
        allSources: '全部来源',
        runtimeLayer: '运行时层',
        hostLayer: '主机层',
        auditLayer: '审计层',
        allScenarios: '全部场景',
        inputSurface: '输入面',
        decisionSurface: '决策面',
        outputSurface: '输出面',
        outboundGovernance: '出站治理',
        hostHardening: '宿主加固',
        allSeverities: '全部严重度',
        critical: '严重',
        high: '高',
        medium: '中',
        observation: '观察',
        searchPlaceholder: '🔍 Trace ID / 实例...',
        exportJsonl: '导出 JSONL',
      },
      table: {
        time: '时间',
        source: '来源',
        defenseScenario: '防护场景',
        rule: '规则',
        instance: '实例',
        traceId: 'Trace ID',
        action: '动作',
      },
      sources: {
        runtimeEvents: '运行时层 · 事件流',
        hostGrpc: '主机层 · feeder gRPC',
        auditSecurity: '审计 · 安全审计',
      },
      sceneHits: {
        title: '防护场景命中次数',
        inputSurface: '输入面',
        decisionSurface: '决策面',
        outboundGovernance: '出站治理',
        hostAnomaly: '宿主异常',
        componentTrust: '组件可信',
        outputSurface: '输出面',
      },
      reports: {
        eyebrow: '合规导出',
        title: '审计报告生成',
        owasp: 'OWASP ASI 覆盖报告',
        mitre: 'MITRE ATLAS 覆盖',
        csa: 'CSA MAESTRO 报告',
        compliance: '等保 2.0 三级',
        owaspFull: 'OWASP ASI 10/10 完整覆盖',
      },
    },
  },

  ja: {
    breaker: {
      breadcrumb: {
        parent: 'ガバナンスと運用',
        current: '緊急サーキットブレーカー',
      },
      hero: {
        eyebrow: '最後の防衛線',
        title: '緊急サーキットブレーカーセンター',
        subtitle: '上位層の防御が失效したり疑わしい活動が検出された場合、ワンクリックですべてのClawAegisExポッドがすべてのツール呼び出しを拒否します（http_get / browser / mcpなど）。Podは停止せず、webchatはアクセス可能で、エージェントは外部アクションを実行できません。',
      },
      stats: {
        currentStatus: '現在のステータス',
        statusEnabled: '🚨 有効',
        statusClosed: '✓ クローズ',
        allCallsRejected: 'すべてのツール呼び出しが拒否されました',
        normalProtection: 'defense_toggleによる通常防護',
        managedInstances: '管理インスタンス',
        allStatuses: '全ステータス含む',
        runningInstances: '実行中インスタンス',
        breakerImpactScope: 'ブレーカー影響範囲',
        lastDispatch: '最終配信',
        targetCount: '今回のセッションのtarget_count',
      },
      activePanel: {
        breakerActive: 'ブレーカー作動中 · ISOLATED',
        systemLevelBreaker: 'システムレベル緊急ブレーカー',
        reason: '理由：',
        none: '(なし)',
        enabledBy: '有効化者：',
        enabledAt: '有効化時刻：',
        disable: 'ブレーカー解除',
        processing: '処理中…',
      },
      manualTrigger: {
        eyebrow: '手動トリガー',
        title: 'システムレベルブレーカー（全実行中インスタンス）',
        alertNote: '現在の実装は「システムレベルキルスイッチ」で、全実行中ClawAegisExポッドに有効です。ホストレベルブレーカー（NetworkPolicy / OSエージェント）はまだサポートされていません。',
        impactPreview: '影響範囲プレビュー（リアルタイム）',
        willAffect: '影響を受ける',
        runningInstancesUnit: '実行中インスタンス：',
        noRunningInstances: '（実行中インスタンスなし）',
        reasonRequired: 'ブレーカー理由（必須）',
        reasonPlaceholder: '例：疑わしいデータ送信を検出、まずブレーカーで調査',
        confirmInstruction: '二段階確認：下のボックスに',
        confirmCode: 'CONFIRM',
        confirmCodeHint: '（大文字）を正確に入力してください',
        confirmPlaceholder: '"CONFIRM"と入力',
        alreadyEnabled: '有効化済み、まず解除してください',
        pleaseFillReason: '理由を入力してください',
        pleaseTypeConfirm: '確認ボックスに大文字CONFIRMを入力してください',
        dispatching: '配信中…',
        enabled: '有効化済み',
        executeSystemBreaker: 'システムブレーカー実行',
        enableSuccess: '🚨 緊急ブレーカー有効化\n{count}実行中インスタンスに配信。install_skill受信後1-10秒で有効化されます。',
        enableFail: '有効化失敗：',
        unknownError: '不明なエラー',
      },
      deactivation: {
        eyebrow: 'ブレーカー解除',
        title: '通常防護を再開',
        afterDeactivation: '解除後、ClawAegisExはdefense_toggleルールに従って通常防護を即座に再開します。',
        currentlyInactive: '現在ブレーカー状態ではありません。',
        status: 'ステータス',
        enabled: '🚨 有効化済み',
        closed: '✓ クローズ済み',
        reason: '理由：',
        enabledAt: '有効化時刻：',
        disable: 'ブレーカー解除',
        currentlyNotEnabled: '現在有効化されていません',
        disableConfirm: '緊急ブレーカーを解除しますか？全ClawAegisExポッドが1-10秒以内に通常防護を再開します。',
        disableSuccess: '✅ 緊急ブレーカー解除\n{count}インスタンスに配信。',
        disableFail: '解除失敗：',
        futurePlans: '今後の計画',
        futurePlansDesc: 'ダブルチェック承認 / ホストレベルNetworkPolicyブレーカー / ブレーカー監査履歴テーブル — 未実装。',
      },
    },
    audit: {
      breadcrumb: {
        parent: 'ガバナンスと運用',
        current: 'フルチェーン監査',
      },
      hero: {
        eyebrow: 'イベントストリーム集約と遡及',
        title: 'フルチェーン監査',
        subtitle: 'セキュリティモジュールイベントストリームを監査イベントモデルに統合。',
      },
      stats: {
        events24h: '24h イベント総数',
        events24hSub: 'ランタイム 8.2k + ホスト 3.1k + 監査 1.5k',
        highRiskEvents: '高危険度イベント',
        highRiskEventsSub: '集約・相関済み',
        traceCoverage: 'Traceカバレッジ',
        traceCoverageSub: 'クロスプロダクト相関完了',
        persistenceDelay: 'イベント永続化遅延',
        persistenceDelaySub: '目標 ≤ 10s',
      },
      tabs: {
        liveStream: 'リアルタイムイベントストリーム ({count})',
        complianceReport: 'コンプライアンスレポート',
        traceQuery: 'Traceクエリ',
        logArchive: 'ログアーカイブ',
      },
      filters: {
        allSources: '全ソース',
        runtimeLayer: 'ランタイム層',
        hostLayer: 'ホスト層',
        auditLayer: '監査層',
        allScenarios: '全シナリオ',
        inputSurface: '入力面',
        decisionSurface: '決定面',
        outputSurface: '出力面',
        outboundGovernance: 'アウトバウンドガバナンス',
        hostHardening: 'ホストハードニング',
        allSeverities: '全重要度',
        critical: '重大',
        high: '高',
        medium: '中',
        observation: '観察',
        searchPlaceholder: '🔍 Trace ID / インスタンス...',
        exportJsonl: 'JSONLエクスポート',
      },
      table: {
        time: '時刻',
        source: 'ソース',
        defenseScenario: '防御シナリオ',
        rule: 'ルール',
        instance: 'インスタンス',
        traceId: 'Trace ID',
        action: 'アクション',
      },
      sources: {
        runtimeEvents: 'ランタイム層 · イベントストリーム',
        hostGrpc: 'ホスト層 · feeder gRPC',
        auditSecurity: '監査 · セキュリティ監査',
      },
      sceneHits: {
        title: '防御シナリオヒット数',
        inputSurface: '入力面',
        decisionSurface: '決定面',
        outboundGovernance: 'アウトバウンドガバナンス',
        hostAnomaly: 'ホスト異常',
        componentTrust: 'コンポーネント信頼',
        outputSurface: '出力面',
      },
      reports: {
        eyebrow: 'コンプライアンスエクスポート',
        title: '監査レポート生成',
        owasp: 'OWASP ASIカバレッジレポート',
        mitre: 'MITRE ATLASカバレッジ',
        csa: 'CSA MAESTROレポート',
        compliance: '等保 2.0 三級',
        owaspFull: 'OWASP ASI 10/10 フルカバレッジ',
      },
    },
  },

  ko: {
    breaker: {
      breadcrumb: {
        parent: '거버넌스 및 운영',
        current: '긴급 서킷 브레이커',
      },
      hero: {
        eyebrow: '마지막 방어선',
        title: '긴급 서킷 브레이커 센터',
        subtitle: '상위 계층 방어가 실패하거나 의심스러운 활동이 감지되면, 원클릭으로 모든 ClawAegisEx 파드가 모든 도구 호출을 거부합니다(http_get / browser / mcp 등). 파드는 계속 실행되고, 웹챗은 접근 가능하며, 에이전트는 외부 동작을 수행할 수 없습니다.',
      },
      stats: {
        currentStatus: '현재 상태',
        statusEnabled: '🚨 활성화',
        statusClosed: '✓ 해제',
        allCallsRejected: '모든 도구 호출 거부됨',
        normalProtection: 'defense_toggle에 따른 정상 보호',
        managedInstances: '관리 인스턴스',
        allStatuses: '모든 상태 포함',
        runningInstances: '실행 중 인스턴스',
        breakerImpactScope: '브레이커 영향 범위',
        lastDispatch: '마지막 배포',
        targetCount: '이 세션의 target_count',
      },
      activePanel: {
        breakerActive: '브레이커 작동 중 · ISOLATED',
        systemLevelBreaker: '시스템 수준 긴급 브레이커',
        reason: '사유:',
        none: '(없음)',
        enabledBy: '활성화자:',
        enabledAt: '활성화 시간:',
        disable: '브레이커 해제',
        processing: '처리 중…',
      },
      manualTrigger: {
        eyebrow: '수동 트리거',
        title: '시스템 수준 브레이커 (모든 실행 중 인스턴스)',
        alertNote: '현재 구현은 "시스템 수준 킬 스위치"로 모든 실행 중 ClawAegisEx 파드에 적용됩니다. 호스트 수준 브레이커(NetworkPolicy / OS 에이전트)는 아직 지원되지 않습니다.',
        impactPreview: '영향 범위 미리보기 (실시간)',
        willAffect: '영향 받을',
        runningInstancesUnit: '실행 중 인스턴스:',
        noRunningInstances: '(실행 중 인스턴스 없음)',
        reasonRequired: '브레이커 사유 (필수)',
        reasonPlaceholder: '예: 의심스러운 데이터 유출 발견, 먼저 브레이커로 조사',
        confirmInstruction: '이중 확인: 아래 상자에 ',
        confirmCode: 'CONFIRM',
        confirmCodeHint: ' (대문자)를 정확히 입력하세요',
        confirmPlaceholder: '"CONFIRM" 입력',
        alreadyEnabled: '이미 활성화됨, 먼저 해제하세요',
        pleaseFillReason: '사유를 입력하세요',
        pleaseTypeConfirm: '확인 상자에 대문자 CONFIRM을 입력하세요',
        dispatching: '배포 중…',
        enabled: '활성화됨',
        executeSystemBreaker: '시스템 브레이커 실행',
        enableSuccess: '🚨 긴급 브레이커 활성화됨\n{count}개 실행 중 인스턴스에 배포. install_skill 수신 후 1-10초 내에 적용됩니다.',
        enableFail: '활성화 실패: ',
        unknownError: '알 수 없는 오류',
      },
      deactivation: {
        eyebrow: '브레이커 해제',
        title: '정상 보호 재개',
        afterDeactivation: '해제 후 ClawAegisEx는 defense_toggle 규칙에 따라 즉시 정상 보호를 재개합니다.',
        currentlyInactive: '현재 브레이커 상태가 아닙니다.',
        status: '상태',
        enabled: '🚨 활성화됨',
        closed: '✓ 해제됨',
        reason: '사유:',
        enabledAt: '활성화 시간:',
        disable: '브레이커 해제',
        currentlyNotEnabled: '현재 활성화되지 않음',
        disableConfirm: '긴급 브레이커를 해제하시겠습니까? 모든 ClawAegisEx 파드가 1-10초 내에 정상 보호를 재개합니다.',
        disableSuccess: '✅ 긴급 브레이커 해제됨\n{count}개 인스턴스에 배포.',
        disableFail: '해제 실패: ',
        futurePlans: '향후 계획',
        futurePlansDesc: '이중 승인 / 호스트 수준 NetworkPolicy 브레이커 / 브레이커 감사 이력 테이블 — 미구현.',
      },
    },
    audit: {
      breadcrumb: {
        parent: '거버넌스 및 운영',
        current: '전체 체인 감사',
      },
      hero: {
        eyebrow: '이벤트 스트림 집계 및 소급',
        title: '전체 체인 감사',
        subtitle: '보안 모듈 이벤트 스트림을 감사 이벤트 모델로 통합.',
      },
      stats: {
        events24h: '24h 총 이벤트',
        events24hSub: '런타임 8.2k + 호스트 3.1k + 감사 1.5k',
        highRiskEvents: '고위험 이벤트',
        highRiskEventsSub: '집계 및 상관 완료',
        traceCoverage: 'Trace 커버리지',
        traceCoverageSub: '크로스 프로덕트 상관 완료',
        persistenceDelay: '이벤트 지속화 지연',
        persistenceDelaySub: '목표 ≤ 10s',
      },
      tabs: {
        liveStream: '실시간 이벤트 스트림 ({count})',
        complianceReport: '컴플라이언스 보고서',
        traceQuery: 'Trace 쿼리',
        logArchive: '로그 아카이브',
      },
      filters: {
        allSources: '전체 소스',
        runtimeLayer: '런타임 계층',
        hostLayer: '호스트 계층',
        auditLayer: '감사 계층',
        allScenarios: '전체 시나리오',
        inputSurface: '입력면',
        decisionSurface: '의사결정면',
        outputSurface: '출력면',
        outboundGovernance: '아웃바운드 거버넌스',
        hostHardening: '호스트 강화',
        allSeverities: '전체 심각도',
        critical: '심각',
        high: '높음',
        medium: '보통',
        observation: '관찰',
        searchPlaceholder: '🔍 Trace ID / 인스턴스...',
        exportJsonl: 'JSONL 내보내기',
      },
      table: {
        time: '시간',
        source: '소스',
        defenseScenario: '방어 시나리오',
        rule: '규칙',
        instance: '인스턴스',
        traceId: 'Trace ID',
        action: '동작',
      },
      sources: {
        runtimeEvents: '런타임 계층 · 이벤트 스트림',
        hostGrpc: '호스트 계층 · feeder gRPC',
        auditSecurity: '감사 · 보안 감사',
      },
      sceneHits: {
        title: '방어 시나리오 적중 횟수',
        inputSurface: '입력면',
        decisionSurface: '의사결정면',
        outboundGovernance: '아웃바운드 거버넌스',
        hostAnomaly: '호스트 이상',
        componentTrust: '컴포넌트 신뢰',
        outputSurface: '출력면',
      },
      reports: {
        eyebrow: '컴플라이언스 내보내기',
        title: '감사 보고서 생성',
        owasp: 'OWASP ASI 커버리지 보고서',
        mitre: 'MITRE ATLAS 커버리지',
        csa: 'CSA MAESTRO 보고서',
        compliance: '등보 2.0 3급',
        owaspFull: 'OWASP ASI 10/10 전체 커버리지',
      },
    },
  },

  de: {
    breaker: {
      breadcrumb: {
        parent: 'Governance und Betrieb',
        current: 'Notfall-Circuit-Breaker',
      },
      hero: {
        eyebrow: 'Letzte Verteidigungslinie',
        title: 'Notfall-Circuit-Breaker-Center',
        subtitle: 'Wenn obere Verteidigungsschichten versagen oder verdächtige Aktivitäten erkannt werden, können alle ClawAegisEx-Pods mit einem Klick alle Tool-Aufrufe ablehnen (http_get / browser / mcp usw.). Pods laufen weiter, Webchat bleibt zugänglich, Agent kann keine externen Aktionen ausführen.',
      },
      stats: {
        currentStatus: 'Aktueller Status',
        statusEnabled: '🚨 Aktiviert',
        statusClosed: '✓ Geschlossen',
        allCallsRejected: 'Alle Tool-Aufrufe abgelehnt',
        normalProtection: 'Normaler Schutz gemäß defense_toggle',
        managedInstances: 'Verwaltete Instanzen',
        allStatuses: 'Alle Status enthalten',
        runningInstances: 'Laufende Instanzen',
        breakerImpactScope: 'Breaker-Auswirkungsbereich',
        lastDispatch: 'Letzter Dispatch',
        targetCount: 'target_count dieser Sitzung',
      },
      activePanel: {
        breakerActive: 'Breaker aktiv · ISOLATED',
        systemLevelBreaker: 'System-Level-Notfall-Breaker',
        reason: 'Grund:',
        none: '(keiner)',
        enabledBy: 'Aktiviert von:',
        enabledAt: 'Aktiviert um:',
        disable: 'Breaker deaktivieren',
        processing: 'Verarbeitung…',
      },
      manualTrigger: {
        eyebrow: 'Manueller Trigger',
        title: 'System-Level-Breaker (Alle laufenden Instanzen)',
        alertNote: 'Aktuelle Implementierung ist "System-Level-Kill-Switch", wirksam für alle laufenden ClawAegisEx-Pods. Host-Level-Breaker (NetworkPolicy / OS-Agent) wird noch nicht unterstützt.',
        impactPreview: 'Auswirkungsbereich-Vorschau (Echtzeit)',
        willAffect: 'Betrifft',
        runningInstancesUnit: 'laufende Instanzen:',
        noRunningInstances: '(Keine laufenden Instanzen)',
        reasonRequired: 'Breaker-Grund (erforderlich)',
        reasonPlaceholder: 'z.B. Verdächtiger Datenabfluss, zuerst Breaker zur Untersuchung',
        confirmInstruction: 'Zweitbestätigung: Geben Sie ',
        confirmCode: 'CONFIRM',
        confirmCodeHint: ' (Großbuchstaben) genau ein',
        confirmPlaceholder: '"CONFIRM" eingeben',
        alreadyEnabled: 'Bereits aktiviert, bitte zuerst deaktivieren',
        pleaseFillReason: 'Bitte Grund angeben',
        pleaseTypeConfirm: 'Bitte bestätigen Sie mit CONFIRM im Bestätigungsfeld',
        dispatching: 'Wird gesendet…',
        enabled: 'Aktiviert',
        executeSystemBreaker: 'System-Breaker ausführen',
        enableSuccess: '🚨 Notfall-Breaker aktiviert\nAn {count} laufende Instanzen gesendet. Pods werden innerhalb von 1-10 Sekunden nach Erhalt von install_skill wirksam.',
        enableFail: 'Aktivierung fehlgeschlagen: ',
        unknownError: 'Unbekannter Fehler',
      },
      deactivation: {
        eyebrow: 'Breaker deaktivieren',
        title: 'Normalen Schutz wiederherstellen',
        afterDeactivation: 'Nach Deaktivierung wird ClawAegisEx den normalen Schutz gemäß defense_toggle-Regeln sofort wiederherstellen.',
        currentlyInactive: 'Derzeit nicht im Breaker-Status.',
        status: 'Status',
        enabled: '🚨 Aktiviert',
        closed: '✓ Geschlossen',
        reason: 'Grund:',
        enabledAt: 'Aktiviert um:',
        disable: 'Breaker deaktivieren',
        currentlyNotEnabled: 'Derzeit nicht aktiviert',
        disableConfirm: 'Notfall-Breaker deaktivieren? Alle ClawAegisEx-Pods werden innerhalb von 1-10 Sekunden den normalen Schutz wiederherstellen.',
        disableSuccess: '✅ Notfall-Breaker deaktiviert\nAn {count} Instanzen gesendet.',
        disableFail: 'Deaktivierung fehlgeschlagen: ',
        futurePlans: 'Zukünftige Pläne',
        futurePlansDesc: 'Doppelpersonen-Freigabe / Host-Level-NetworkPolicy-Breaker / Breaker-Audit-Verlaufstabelle — nicht implementiert.',
      },
    },
    audit: {
      breadcrumb: {
        parent: 'Governance und Betrieb',
        current: 'Full-Chain-Audit',
      },
      hero: {
        eyebrow: 'Ereignisstrom-Aggregation und Retrospektion',
        title: 'Full-Chain-Audit',
        subtitle: 'Sicherheitsmodul-Ereignisströme werden im Audit-Ereignismodell vereinheitlicht.',
      },
      stats: {
        events24h: '24h Gesamt-Ereignisse',
        events24hSub: 'Runtime 8.2k + Host 3.1k + Audit 1.5k',
        highRiskEvents: 'Hochrisiko-Ereignisse',
        highRiskEventsSub: 'Korreliert und aggregiert',
        traceCoverage: 'Trace-Abdeckung',
        traceCoverageSub: 'Cross-Produkt-Korrelation vollständig',
        persistenceDelay: 'Ereignis-Persistenzverzögerung',
        persistenceDelaySub: 'Ziel ≤ 10s',
      },
      tabs: {
        liveStream: 'Live-Ereignisstrom ({count})',
        complianceReport: 'Compliance-Bericht',
        traceQuery: 'Trace-Abfrage',
        logArchive: 'Log-Archiv',
      },
      filters: {
        allSources: 'Alle Quellen',
        runtimeLayer: 'Runtime-Ebene',
        hostLayer: 'Host-Ebene',
        auditLayer: 'Audit-Ebene',
        allScenarios: 'Alle Szenarien',
        inputSurface: 'Eingabeoberfläche',
        decisionSurface: 'Entscheidungsoberfläche',
        outputSurface: 'Ausgabeoberfläche',
        outboundGovernance: 'Outbound-Governance',
        hostHardening: 'Host-Härtung',
        allSeverities: 'Alle Schweregrade',
        critical: 'Kritisch',
        high: 'Hoch',
        medium: 'Mittel',
        observation: 'Beobachtung',
        searchPlaceholder: '🔍 Trace-ID / Instanz...',
        exportJsonl: 'JSONL exportieren',
      },
      table: {
        time: 'Zeit',
        source: 'Quelle',
        defenseScenario: 'Verteidigungsszenario',
        rule: 'Regel',
        instance: 'Instanz',
        traceId: 'Trace-ID',
        action: 'Aktion',
      },
      sources: {
        runtimeEvents: 'Runtime-Ebene · Ereignisstrom',
        hostGrpc: 'Host-Ebene · feeder gRPC',
        auditSecurity: 'Audit · Sicherheits-Audit',
      },
      sceneHits: {
        title: 'Verteidigungsszenario-Trefferzahl',
        inputSurface: 'Eingabeoberfläche',
        decisionSurface: 'Entscheidungsoberfläche',
        outboundGovernance: 'Outbound-Governance',
        hostAnomaly: 'Host-Anomalie',
        componentTrust: 'Komponentenvertrauen',
        outputSurface: 'Ausgabeoberfläche',
      },
      reports: {
        eyebrow: 'Compliance-Export',
        title: 'Audit-Berichtserstellung',
        owasp: 'OWASP ASI-Abdeckungsbericht',
        mitre: 'MITRE ATLAS-Abdeckung',
        csa: 'CSA MAESTRO-Bericht',
        compliance: 'MLPS 2.0 Stufe 3',
        owaspFull: 'OWASP ASI 10/10 Volle Abdeckung',
      },
    },
  },
};
