diff --git a/lightrag_webui/src/components/retrieval/QuerySettings.tsx b/lightrag_webui/src/components/retrieval/QuerySettings.tsx index f3ec98fb..ee785fc8 100644 --- a/lightrag_webui/src/components/retrieval/QuerySettings.tsx +++ b/lightrag_webui/src/components/retrieval/QuerySettings.tsx @@ -37,7 +37,7 @@ export default function QuerySettings() { <> diff --git a/lightrag_webui/src/features/RetrievalTesting.tsx b/lightrag_webui/src/features/RetrievalTesting.tsx index 84955aa1..c7fdf2a9 100644 --- a/lightrag_webui/src/features/RetrievalTesting.tsx +++ b/lightrag_webui/src/features/RetrievalTesting.tsx @@ -119,7 +119,7 @@ export default function RetrievalTesting() {
{messages.length === 0 ? (
- {t('retrievePanel.retrieval.startPrompt')} + {t('retrievePanel.retrieval.startPrompt')}
) : ( messages.map((message, idx) => ( diff --git a/lightrag_webui/src/locales/en.json b/lightrag_webui/src/locales/en.json index 6a1e122b..31df1fe4 100644 --- a/lightrag_webui/src/locales/en.json +++ b/lightrag_webui/src/locales/en.json @@ -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" - } - } + } + } } diff --git a/lightrag_webui/src/locales/zh.json b/lightrag_webui/src/locales/zh.json index 17c6ec9d..e9a98240 100644 --- a/lightrag_webui/src/locales/zh.json +++ b/lightrag_webui/src/locales/zh.json @@ -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,则启用流式输出以获得实时响应" } - } + } } -