fix(web): 完成 P2-411 治理卡片繁中化
Some checks failed
Code Review / ai-code-review (push) Successful in 13s
CD Pipeline / tests (push) Successful in 1m47s
Ansible / Reboot Recovery Contract / validate (push) Has been cancelled
CD Pipeline / post-deploy-checks (push) Has been cancelled
CD Pipeline / build-and-deploy (push) Has been cancelled

This commit is contained in:
Your Name
2026-06-19 02:35:44 +08:00
parent ff8aec9ccd
commit ecc0ef3d3f
3 changed files with 103 additions and 103 deletions

View File

@@ -5198,23 +5198,23 @@ export function AutomationInventoryTab() {
<div style={{ marginTop: 8 }}>
<GateMatrixRow
label={t('actionOwnerEventBus.labels.eventBus')}
value={String(actionOwnerAcceptanceEventBus.activation_boundaries.event_bus_publish_enabled)}
value={actionOwnerAcceptanceEventBus.activation_boundaries.event_bus_publish_enabled ? '是' : '否'}
detail={t('actionOwnerEventBus.labels.publishTotal', { count: actionOwnerAcceptanceEventBus.rollups.event_bus_publish_count })}
tone="ok"
/>
<GateMatrixRow
label={t('actionOwnerEventBus.labels.ragWrite')}
value={String(actionOwnerAcceptanceEventBus.activation_boundaries.km_write_enabled || actionOwnerAcceptanceEventBus.activation_boundaries.playbook_trust_write_enabled)}
value={(actionOwnerAcceptanceEventBus.activation_boundaries.km_write_enabled || actionOwnerAcceptanceEventBus.activation_boundaries.playbook_trust_write_enabled) ? '是' : '否'}
detail={t('actionOwnerEventBus.labels.ragDetail', { count: actionOwnerEventBusRag })}
tone="ok"
/>
<GateMatrixRow
label={t('actionOwnerEventBus.labels.telegram')}
value={String(actionOwnerAcceptanceEventBus.activation_boundaries.telegram_send_enabled)}
value={actionOwnerAcceptanceEventBus.activation_boundaries.telegram_send_enabled ? '是' : '否'}
detail={t('actionOwnerEventBus.labels.queueBotWorker', {
queue: String(actionOwnerAcceptanceEventBus.activation_boundaries.gateway_queue_write_enabled),
bot: String(actionOwnerAcceptanceEventBus.activation_boundaries.bot_api_call_enabled),
worker: String(actionOwnerAcceptanceEventBus.activation_boundaries.worker_dispatch_enabled),
queue: actionOwnerAcceptanceEventBus.activation_boundaries.gateway_queue_write_enabled ? '是' : '否',
bot: actionOwnerAcceptanceEventBus.activation_boundaries.bot_api_call_enabled ? '是' : '否',
worker: actionOwnerAcceptanceEventBus.activation_boundaries.worker_dispatch_enabled ? '是' : '否',
})}
tone="ok"
/>
@@ -5275,7 +5275,7 @@ export function AutomationInventoryTab() {
<Chip value={t('actionOwnerEventBus.labels.generated', {
generated: formatDateTime(actionOwnerAcceptanceEventBus.generated_at),
})} muted />
<Chip value={t('actionOwnerEventBus.labels.redaction', { value: String(actionOwnerAcceptanceEventBus.display_redaction_contract.redaction_required) })} muted />
<Chip value={t('actionOwnerEventBus.labels.redaction', { value: actionOwnerAcceptanceEventBus.display_redaction_contract.redaction_required ? '是' : '否' })} muted />
<Chip value={t('actionOwnerEventBus.labels.ownerAccepted', { count: actionOwnerEventBusAccepted })} muted />
</div>
</div>