Add description to status dialog

This commit is contained in:
yangdx
2025-04-07 04:13:40 +08:00
parent 01fbb43ab3
commit 74d015fdba
5 changed files with 12 additions and 4 deletions

View File

@@ -5,6 +5,7 @@ import {
DialogContent,
DialogHeader,
DialogTitle,
DialogDescription,
} from '@/components/ui/Dialog'
import StatusCard from './StatusCard'
@@ -22,6 +23,9 @@ const StatusDialog = ({ open, onOpenChange, status }: StatusDialogProps) => {
<DialogContent className="sm:max-w-[500px]">
<DialogHeader>
<DialogTitle>{t('graphPanel.statusDialog.title')}</DialogTitle>
<DialogDescription>
{t('graphPanel.statusDialog.description')}
</DialogDescription>
</DialogHeader>
<StatusCard status={status} />
</DialogContent>

View File

@@ -140,7 +140,8 @@
"graphPanel": {
"dataIsTruncated": "تم اقتصار بيانات الرسم البياني على الحد الأقصى للعقد",
"statusDialog": {
"title": "إعدادات خادم LightRAG"
"title": "إعدادات خادم LightRAG",
"description": "عرض حالة النظام الحالية ومعلومات الاتصال"
},
"legend": "المفتاح",
"nodeTypes": {

View File

@@ -140,7 +140,8 @@
"graphPanel": {
"dataIsTruncated": "Graph data is truncated to Max Nodes",
"statusDialog": {
"title": "LightRAG Server Settings"
"title": "LightRAG Server Settings",
"description": "View current system status and connection information"
},
"legend": "Legend",
"nodeTypes": {

View File

@@ -140,7 +140,8 @@
"graphPanel": {
"dataIsTruncated": "Les données du graphe sont tronquées au nombre maximum de nœuds",
"statusDialog": {
"title": "Paramètres du Serveur LightRAG"
"title": "Paramètres du Serveur LightRAG",
"description": "Afficher l'état actuel du système et les informations de connexion"
},
"legend": "Légende",
"nodeTypes": {

View File

@@ -140,7 +140,8 @@
"graphPanel": {
"dataIsTruncated": "图数据已截断至最大返回节点数",
"statusDialog": {
"title": "LightRAG 服务器设置"
"title": "LightRAG 服务器设置",
"description": "查看当前系统状态和连接信息"
},
"legend": "图例",
"nodeTypes": {