fix(panel): extract hardcoded security note into i18n keys

This commit is contained in:
Lemon-miaow committed 2026-06-27 21:20:47 +08:00
1 parent 665841bebc
commit cf88bcc3aa
3 files changed
+3 -1

No files matched your search

@@ -32,6 +32,7 @@
"spec_failed_ratio": "Failed Rate",
"no_servers_monitor": "No active instances in the cluster",
"images_count": "Whitelisted backend images available",
"images_security_note": ". All backend images undergo Trivy CVE vulnerability scanning before deployment and run in isolated security containers.",
"legend_title": "3D Node Monitor Legend",
"legend_running": "Running",
"legend_starting": "Starting",
@@ -32,6 +32,7 @@
"spec_failed_ratio": "节点故障率",
"no_servers_monitor": "当前集群暂无服务器实例",
"images_count": "个支持的白名单镜像环境",
"images_security_note": "。所有后端镜像运行前均通过 Trivy CVE 漏洞扫描,强制在隔离的安全容器中托管。",
"legend_title": "3D 节点监控图例",
"legend_running": "运行中",
"legend_starting": "启动中",
+1 -1
View File
@@ -314,7 +314,7 @@ function FleetView({
<ShieldCheck className="h-4.5 w-4.5 text-primary shrink-0" />
<div>
<span className="font-semibold text-foreground mr-1">{images.length}</span>
{t("images_count")}。所有后端镜像运行前均通过 Trivy CVE 漏洞扫描,强制在隔离的安全容器中托管。
{t("images_count")}{t("images_security_note")}
</div>
</div>
</CardContent>