fix linting

This commit is contained in:
zrguo
2025-03-11 21:13:50 +08:00
parent 6768f675bf
commit 2ffd7f9111
4 changed files with 19 additions and 20 deletions

View File

@@ -37,7 +37,7 @@ export default function QuerySettings() {
<>
<Text
className="ml-1"
text={t('retrievePanel.querySettings.queryMode')}
text={t('retrievePanel.querySettings.queryMode')}
tooltip={t('retrievePanel.querySettings.queryModeTooltip')}
side="left"
/>

View File

@@ -119,7 +119,7 @@ export default function RetrievalTesting() {
<div className="flex min-h-0 flex-1 flex-col gap-2">
{messages.length === 0 ? (
<div className="text-muted-foreground flex h-full items-center justify-center text-lg">
{t('retrievePanel.retrieval.startPrompt')}
{t('retrievePanel.retrieval.startPrompt')}
</div>
) : (
messages.map((message, idx) => (

View File

@@ -8,8 +8,8 @@
"themeToggle": {
"switchToLight": "Switch to light theme",
"switchToDark": "Switch to dark theme"
}
},
}
},
"documentPanel": {
"clearDocuments": {
"button": "Clear",
@@ -20,7 +20,7 @@
"success": "Documents cleared successfully",
"failed": "Clear Documents Failed:\n{{message}}",
"error": "Clear Documents Failed:\n{{error}}"
},
},
"uploadDocuments": {
"button": "Upload",
"tooltip": "Upload documents",
@@ -32,7 +32,7 @@
"error": "Upload Failed:\n{{name}}\n{{error}}",
"generalError": "Upload Failed\n{{error}}",
"fileTypes": "Supported types: TXT, MD, DOCX, PDF, PPTX, RTF, ODT, EPUB, HTML, HTM, TEX, JSON, XML, YAML, YML, CSV, LOG, CONF, INI, PROPERTIES, SQL, BAT, SH, C, CPP, PY, JAVA, JS, TS, SWIFT, GO, RB, PHP, CSS, SCSS, LESS"
},
},
"documentManager": {
"title": "Document Management",
"scanButton": "Scan",
@@ -81,7 +81,7 @@
"maxLayoutIterations": "Max Layout Iterations",
"apiKey": "API Key",
"enterYourAPIkey": "Enter your API key",
"save": "Save"
"save": "Save"
},
"zoomControl": {
@@ -107,7 +107,7 @@
"fullScreenControl": {
"fullScreen": "Full Screen",
"windowed": "Windowed"
}
}
},
"statusIndicator": {
"connected": "Connected",
@@ -149,7 +149,7 @@
"source": "Source",
"target": "Target",
"properties": "Properties"
}
}
},
"search": {
"placeholder": "Search nodes...",
@@ -161,7 +161,7 @@
"label": "Label",
"placeholder": "Search labels...",
"andOthers": "And {count} others"
}
}
},
"retrievePanel": {
"chatMessage": {
@@ -229,6 +229,6 @@
"streamResponse": "Stream Response",
"streamResponseTooltip": "If True, enables streaming output for real-time responses"
}
}
}
}
}

View File

@@ -8,8 +8,8 @@
"themeToggle": {
"switchToLight": "切换到亮色主题",
"switchToDark": "切换到暗色主题"
}
},
}
},
"documentPanel": {
"clearDocuments": {
"button": "清除",
@@ -103,11 +103,11 @@
"Force Atlas": "力导向图谱布局"
}
},
"fullScreenControl": {
"fullScreen": "全屏",
"windowed": "窗口模式"
}
}
},
"statusIndicator": {
"connected": "已连接",
@@ -149,7 +149,7 @@
"source": "源",
"target": "目标",
"properties": "属性"
}
}
},
"search": {
"placeholder": "搜索节点...",
@@ -161,7 +161,7 @@
"label": "标签",
"placeholder": "搜索标签...",
"andOthers": "以及其它 {count} 个"
}
}
},
"retrievePanel": {
"chatMessage": {
@@ -231,6 +231,5 @@
"streamResponse": "流式响应",
"streamResponseTooltip": "如果为 True则启用流式输出以获得实时响应"
}
}
}
}