Add description to status dialog
This commit is contained in:
@@ -5,6 +5,7 @@ import {
|
|||||||
DialogContent,
|
DialogContent,
|
||||||
DialogHeader,
|
DialogHeader,
|
||||||
DialogTitle,
|
DialogTitle,
|
||||||
|
DialogDescription,
|
||||||
} from '@/components/ui/Dialog'
|
} from '@/components/ui/Dialog'
|
||||||
import StatusCard from './StatusCard'
|
import StatusCard from './StatusCard'
|
||||||
|
|
||||||
@@ -22,6 +23,9 @@ const StatusDialog = ({ open, onOpenChange, status }: StatusDialogProps) => {
|
|||||||
<DialogContent className="sm:max-w-[500px]">
|
<DialogContent className="sm:max-w-[500px]">
|
||||||
<DialogHeader>
|
<DialogHeader>
|
||||||
<DialogTitle>{t('graphPanel.statusDialog.title')}</DialogTitle>
|
<DialogTitle>{t('graphPanel.statusDialog.title')}</DialogTitle>
|
||||||
|
<DialogDescription>
|
||||||
|
{t('graphPanel.statusDialog.description')}
|
||||||
|
</DialogDescription>
|
||||||
</DialogHeader>
|
</DialogHeader>
|
||||||
<StatusCard status={status} />
|
<StatusCard status={status} />
|
||||||
</DialogContent>
|
</DialogContent>
|
||||||
|
@@ -140,7 +140,8 @@
|
|||||||
"graphPanel": {
|
"graphPanel": {
|
||||||
"dataIsTruncated": "تم اقتصار بيانات الرسم البياني على الحد الأقصى للعقد",
|
"dataIsTruncated": "تم اقتصار بيانات الرسم البياني على الحد الأقصى للعقد",
|
||||||
"statusDialog": {
|
"statusDialog": {
|
||||||
"title": "إعدادات خادم LightRAG"
|
"title": "إعدادات خادم LightRAG",
|
||||||
|
"description": "عرض حالة النظام الحالية ومعلومات الاتصال"
|
||||||
},
|
},
|
||||||
"legend": "المفتاح",
|
"legend": "المفتاح",
|
||||||
"nodeTypes": {
|
"nodeTypes": {
|
||||||
|
@@ -140,7 +140,8 @@
|
|||||||
"graphPanel": {
|
"graphPanel": {
|
||||||
"dataIsTruncated": "Graph data is truncated to Max Nodes",
|
"dataIsTruncated": "Graph data is truncated to Max Nodes",
|
||||||
"statusDialog": {
|
"statusDialog": {
|
||||||
"title": "LightRAG Server Settings"
|
"title": "LightRAG Server Settings",
|
||||||
|
"description": "View current system status and connection information"
|
||||||
},
|
},
|
||||||
"legend": "Legend",
|
"legend": "Legend",
|
||||||
"nodeTypes": {
|
"nodeTypes": {
|
||||||
|
@@ -140,7 +140,8 @@
|
|||||||
"graphPanel": {
|
"graphPanel": {
|
||||||
"dataIsTruncated": "Les données du graphe sont tronquées au nombre maximum de nœuds",
|
"dataIsTruncated": "Les données du graphe sont tronquées au nombre maximum de nœuds",
|
||||||
"statusDialog": {
|
"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",
|
"legend": "Légende",
|
||||||
"nodeTypes": {
|
"nodeTypes": {
|
||||||
|
@@ -140,7 +140,8 @@
|
|||||||
"graphPanel": {
|
"graphPanel": {
|
||||||
"dataIsTruncated": "图数据已截断至最大返回节点数",
|
"dataIsTruncated": "图数据已截断至最大返回节点数",
|
||||||
"statusDialog": {
|
"statusDialog": {
|
||||||
"title": "LightRAG 服务器设置"
|
"title": "LightRAG 服务器设置",
|
||||||
|
"description": "查看当前系统状态和连接信息"
|
||||||
},
|
},
|
||||||
"legend": "图例",
|
"legend": "图例",
|
||||||
"nodeTypes": {
|
"nodeTypes": {
|
||||||
|
Reference in New Issue
Block a user