From a67e388369eb9fe1c7c395ced89a278d5825529c Mon Sep 17 00:00:00 2001 From: zhengkunwang223 <1paneldev@sina.com> Date: Fri, 15 May 2026 18:54:48 +0800 Subject: [PATCH] feat: add some translate --- frontend/src/lang/modules/en.ts | 5 ++++- frontend/src/lang/modules/es-es.ts | 5 ++++- frontend/src/lang/modules/ja.ts | 5 ++++- frontend/src/lang/modules/ko.ts | 5 ++++- frontend/src/lang/modules/ms.ts | 5 ++++- frontend/src/lang/modules/pt-br.ts | 5 ++++- frontend/src/lang/modules/ru.ts | 5 ++++- frontend/src/lang/modules/tr.ts | 5 ++++- frontend/src/lang/modules/zh-Hant.ts | 5 ++++- frontend/src/lang/modules/zh.ts | 5 ++++- 10 files changed, 40 insertions(+), 10 deletions(-) diff --git a/frontend/src/lang/modules/en.ts b/frontend/src/lang/modules/en.ts index 1c5a3c63bee1..8a7205ceadeb 100644 --- a/frontend/src/lang/modules/en.ts +++ b/frontend/src/lang/modules/en.ts @@ -935,6 +935,10 @@ const message = { streamIdleTimeoutSeconds: 'Stream Idle Timeout (s)', maxBodyMb: 'Max Body Size (MB)', runtimeRefreshSeconds: 'Runtime Refresh Interval (s)', + logRetention: 'Log Retention', + usageRetentionDays: 'Usage Statistics Retention (days)', + contentAuditRetentionDays: 'Content Compliance Audit Retention (days)', + logCleanupIntervalHours: 'Log Cleanup Interval (hours)', statusTitle: 'AI Gateway Status', serviceEnabled: 'Service Auto-start', proxyEnabled: 'Gateway Enabled', @@ -976,7 +980,6 @@ const message = { input: 'Input', output: 'Output', total: 'Total', - durationMs: 'Duration (ms)', healthHealthy: 'Healthy', healthCooldown: 'Cooldown', healthUnhealthy: 'Unhealthy', diff --git a/frontend/src/lang/modules/es-es.ts b/frontend/src/lang/modules/es-es.ts index 328e81b9bdab..7d04ddb89df8 100644 --- a/frontend/src/lang/modules/es-es.ts +++ b/frontend/src/lang/modules/es-es.ts @@ -950,6 +950,10 @@ const message = { streamIdleTimeoutSeconds: 'Timeout de inactividad streaming (s)', maxBodyMb: 'Tamaño máximo del cuerpo (MB)', runtimeRefreshSeconds: 'Intervalo de actualización runtime (s)', + logRetention: 'Retención de logs', + usageRetentionDays: 'Retención de estadísticas de uso (días)', + contentAuditRetentionDays: 'Retención de auditoría de cumplimiento de contenido (días)', + logCleanupIntervalHours: 'Intervalo de limpieza de logs (horas)', statusTitle: 'Estado del gateway de IA', serviceEnabled: 'Inicio automático del servicio', proxyEnabled: 'Gateway habilitado', @@ -990,7 +994,6 @@ const message = { input: 'Entrada', output: 'Salida', total: 'Total', - durationMs: 'Duración (ms)', healthHealthy: 'Saludable', healthCooldown: 'En enfriamiento', healthUnhealthy: 'Anómalo', diff --git a/frontend/src/lang/modules/ja.ts b/frontend/src/lang/modules/ja.ts index dce99bbd6d36..5ef6cb60fee2 100644 --- a/frontend/src/lang/modules/ja.ts +++ b/frontend/src/lang/modules/ja.ts @@ -940,6 +940,10 @@ const message = { streamIdleTimeoutSeconds: 'ストリーミングアイドルタイムアウト(秒)', maxBodyMb: '最大リクエスト本文(MB)', runtimeRefreshSeconds: 'Runtime 更新間隔(秒)', + logRetention: 'ログ保持', + usageRetentionDays: '使用統計保持日数', + contentAuditRetentionDays: 'コンテンツコンプライアンス監査ログ保持日数', + logCleanupIntervalHours: 'ログクリーンアップ間隔(時間)', statusTitle: 'AI ゲートウェイ状態', serviceEnabled: 'サービス自動起動', proxyEnabled: 'ゲートウェイ有効', @@ -980,7 +984,6 @@ const message = { input: '入力', output: '出力', total: '合計', - durationMs: '所要時間(ms)', healthHealthy: '正常', healthCooldown: 'クールダウン', healthUnhealthy: '異常', diff --git a/frontend/src/lang/modules/ko.ts b/frontend/src/lang/modules/ko.ts index 345c9499d152..328ea5dae9f5 100644 --- a/frontend/src/lang/modules/ko.ts +++ b/frontend/src/lang/modules/ko.ts @@ -924,6 +924,10 @@ const message = { streamIdleTimeoutSeconds: '스트리밍 유휴 시간 초과(초)', maxBodyMb: '최대 요청 본문(MB)', runtimeRefreshSeconds: 'Runtime 새로고침 간격(초)', + logRetention: '로그 보관', + usageRetentionDays: '사용 통계 보관 일수', + contentAuditRetentionDays: '콘텐츠 컴플라이언스 감사 로그 보관 일수', + logCleanupIntervalHours: '로그 정리 간격(시간)', statusTitle: 'AI 게이트웨이 상태', serviceEnabled: '서비스 자동 시작', proxyEnabled: '게이트웨이 활성화', @@ -964,7 +968,6 @@ const message = { input: '입력', output: '출력', total: '합계', - durationMs: '소요 시간(ms)', healthHealthy: '정상', healthCooldown: '쿨다운', healthUnhealthy: '비정상', diff --git a/frontend/src/lang/modules/ms.ts b/frontend/src/lang/modules/ms.ts index 467e5d5932ab..07b43e583920 100644 --- a/frontend/src/lang/modules/ms.ts +++ b/frontend/src/lang/modules/ms.ts @@ -949,6 +949,10 @@ const message = { streamIdleTimeoutSeconds: 'Tamat masa melahu penstriman (s)', maxBodyMb: 'Saiz badan maksimum (MB)', runtimeRefreshSeconds: 'Selang segar semula runtime (s)', + logRetention: 'Pengekalan Log', + usageRetentionDays: 'Pengekalan Statistik Penggunaan (hari)', + contentAuditRetentionDays: 'Pengekalan Audit Pematuhan Kandungan (hari)', + logCleanupIntervalHours: 'Selang Pembersihan Log (jam)', statusTitle: 'Status gateway AI', serviceEnabled: 'Auto mula perkhidmatan', proxyEnabled: 'Gateway diaktifkan', @@ -989,7 +993,6 @@ const message = { input: 'Input', output: 'Output', total: 'Jumlah', - durationMs: 'Tempoh (ms)', healthHealthy: 'Sihat', healthCooldown: 'Cooldown', healthUnhealthy: 'Tidak sihat', diff --git a/frontend/src/lang/modules/pt-br.ts b/frontend/src/lang/modules/pt-br.ts index 4cce6262bcef..8618505e0523 100644 --- a/frontend/src/lang/modules/pt-br.ts +++ b/frontend/src/lang/modules/pt-br.ts @@ -945,6 +945,10 @@ const message = { streamIdleTimeoutSeconds: 'Timeout de inatividade do streaming (s)', maxBodyMb: 'Tamanho máximo do corpo (MB)', runtimeRefreshSeconds: 'Intervalo de atualização do runtime (s)', + logRetention: 'Retenção de logs', + usageRetentionDays: 'Retenção de estatísticas de uso (dias)', + contentAuditRetentionDays: 'Retenção de auditoria de conformidade de conteúdo (dias)', + logCleanupIntervalHours: 'Intervalo de limpeza de logs (horas)', statusTitle: 'Status do gateway de IA', serviceEnabled: 'Inicialização automática do serviço', proxyEnabled: 'Gateway habilitado', @@ -985,7 +989,6 @@ const message = { input: 'Entrada', output: 'Saída', total: 'Total', - durationMs: 'Duração (ms)', healthHealthy: 'Saudável', healthCooldown: 'Cooldown', healthUnhealthy: 'Anormal', diff --git a/frontend/src/lang/modules/ru.ts b/frontend/src/lang/modules/ru.ts index d834003fd7bb..4bf2b6d776e7 100644 --- a/frontend/src/lang/modules/ru.ts +++ b/frontend/src/lang/modules/ru.ts @@ -939,6 +939,10 @@ const message = { streamIdleTimeoutSeconds: 'Тайм-аут простоя stream (с)', maxBodyMb: 'Максимальный размер тела (MB)', runtimeRefreshSeconds: 'Интервал обновления runtime (с)', + logRetention: 'Хранение журналов', + usageRetentionDays: 'Хранение статистики использования (дни)', + contentAuditRetentionDays: 'Хранение аудита соответствия контента (дни)', + logCleanupIntervalHours: 'Интервал очистки журналов (часы)', statusTitle: 'Статус AI-шлюза', serviceEnabled: 'Автозапуск сервиса', proxyEnabled: 'Шлюз включен', @@ -979,7 +983,6 @@ const message = { input: 'Вход', output: 'Выход', total: 'Итого', - durationMs: 'Длительность (ms)', healthHealthy: 'Исправен', healthCooldown: 'Cooldown', healthUnhealthy: 'Неисправен', diff --git a/frontend/src/lang/modules/tr.ts b/frontend/src/lang/modules/tr.ts index 202f6e556d80..648e0f77314e 100644 --- a/frontend/src/lang/modules/tr.ts +++ b/frontend/src/lang/modules/tr.ts @@ -947,6 +947,10 @@ const message = { streamIdleTimeoutSeconds: 'Akış boşta zaman aşımı (sn)', maxBodyMb: 'Maksimum gövde boyutu (MB)', runtimeRefreshSeconds: 'Runtime yenileme aralığı (sn)', + logRetention: 'Log Saklama', + usageRetentionDays: 'Kullanım İstatistikleri Saklama (gün)', + contentAuditRetentionDays: 'İçerik Uyumluluğu Denetim Saklama (gün)', + logCleanupIntervalHours: 'Log Temizleme Aralığı (saat)', statusTitle: 'AI Ağ Geçidi durumu', serviceEnabled: 'Servis otomatik başlatma', proxyEnabled: 'Ağ geçidi etkin', @@ -987,7 +991,6 @@ const message = { input: 'Girdi', output: 'Çıktı', total: 'Toplam', - durationMs: 'Süre (ms)', healthHealthy: 'Sağlıklı', healthCooldown: 'Cooldown', healthUnhealthy: 'Sağlıksız', diff --git a/frontend/src/lang/modules/zh-Hant.ts b/frontend/src/lang/modules/zh-Hant.ts index 7c5d84268cd8..e71cb4d0c11e 100644 --- a/frontend/src/lang/modules/zh-Hant.ts +++ b/frontend/src/lang/modules/zh-Hant.ts @@ -884,6 +884,10 @@ const message = { streamIdleTimeoutSeconds: '串流空閒逾時(秒)', maxBodyMb: '最大請求體(MB)', runtimeRefreshSeconds: 'Runtime 刷新間隔(秒)', + logRetention: '日誌保留', + usageRetentionDays: '用量統計保留天數', + contentAuditRetentionDays: '內容合規審計日誌保留天數', + logCleanupIntervalHours: '日誌清理間隔(小時)', statusTitle: 'AI 閘道狀態', serviceEnabled: '服務自啟', proxyEnabled: '閘道啟用', @@ -924,7 +928,6 @@ const message = { input: '輸入', output: '輸出', total: '總計', - durationMs: '耗時(ms)', healthHealthy: '健康', healthCooldown: '冷卻', healthUnhealthy: '異常', diff --git a/frontend/src/lang/modules/zh.ts b/frontend/src/lang/modules/zh.ts index 11879a0d80e8..36552c2737f1 100644 --- a/frontend/src/lang/modules/zh.ts +++ b/frontend/src/lang/modules/zh.ts @@ -877,6 +877,10 @@ const message = { streamIdleTimeoutSeconds: '流式空闲超时(秒)', maxBodyMb: '最大请求体(MB)', runtimeRefreshSeconds: 'Runtime 刷新间隔(秒)', + logRetention: '日志保留', + usageRetentionDays: '用量统计保留天数', + contentAuditRetentionDays: '内容合规审计日志保留天数', + logCleanupIntervalHours: '日志清理间隔(小时)', statusTitle: 'AI 网关状态', serviceEnabled: '服务自启', proxyEnabled: '网关启用', @@ -918,7 +922,6 @@ const message = { input: '输入', output: '输出', total: '总计', - durationMs: '耗时(ms)', healthHealthy: '健康', healthCooldown: '冷却', healthUnhealthy: '异常',