diff --git a/dashboard/src/i18n/locales/en-US/core/common.json b/dashboard/src/i18n/locales/en-US/core/common.json index 4aff41001..37b384199 100644 --- a/dashboard/src/i18n/locales/en-US/core/common.json +++ b/dashboard/src/i18n/locales/en-US/core/common.json @@ -72,7 +72,8 @@ "enabled": "Enabled", "disabled": "Disabled", "delete": "Delete", + "copy": "Copy", "edit": "Edit", "noData": "No data available" } -} \ No newline at end of file +} diff --git a/dashboard/src/i18n/locales/en-US/core/header.json b/dashboard/src/i18n/locales/en-US/core/header.json index 41c5ac0dc..718cc60e6 100644 --- a/dashboard/src/i18n/locales/en-US/core/header.json +++ b/dashboard/src/i18n/locales/en-US/core/header.json @@ -32,7 +32,6 @@ "issueLink": "GitHub Issues" }, "tip": "💡 TIP:", - "tipLink": "", "tipContinue": "By default, the corresponding version of the WebUI files will be downloaded when switching versions. The WebUI code is located in the dashboard directory of the project, and you can use npm to build it yourself.", "dockerTip": "When switching versions, it will try to update both the bot main program and the dashboard. If you are using Docker deployment, you can also re-pull the image or use", "dockerTipLink": "watchtower", @@ -91,4 +90,4 @@ "updateFailed": "Update failed, please try again" } } -} \ No newline at end of file +} diff --git a/dashboard/src/i18n/locales/en-US/core/navigation.json b/dashboard/src/i18n/locales/en-US/core/navigation.json index 809b10183..9351d1da4 100644 --- a/dashboard/src/i18n/locales/en-US/core/navigation.json +++ b/dashboard/src/i18n/locales/en-US/core/navigation.json @@ -5,8 +5,8 @@ "persona": "Persona", "toolUse": "MCP Tools", "config": "Config", - "extension": "Extensions", "chat": "Chat", + "extension": "Extensions", "conversation": "Conversations", "sessionManagement": "Session Management", "console": "Console", @@ -20,4 +20,4 @@ "groups": { "more": "More Features" } -} \ No newline at end of file +} diff --git a/dashboard/src/i18n/locales/en-US/features/config.json b/dashboard/src/i18n/locales/en-US/features/config.json index c6fee467f..eebab4a73 100644 --- a/dashboard/src/i18n/locales/en-US/features/config.json +++ b/dashboard/src/i18n/locales/en-US/features/config.json @@ -30,7 +30,11 @@ "configApplyError": "Configuration not applied, JSON format error.", "saveSuccess": "Configuration saved successfully", "saveError": "Failed to save configuration", - "loadError": "Failed to load configuration" + "loadError": "Failed to load configuration", + "deleteSuccess": "Deleted successfully", + "deleteError": "Failed to delete", + "updateSuccess": "Updated successfully", + "updateError": "Failed to update" }, "sections": { "general": "General Settings", @@ -59,4 +63,4 @@ "rateLimit": "Rate Limit", "encryption": "Encryption Settings" } -} \ No newline at end of file +} diff --git a/dashboard/src/i18n/locales/en-US/features/knowledge-base/detail.json b/dashboard/src/i18n/locales/en-US/features/knowledge-base/detail.json index 1ae3c09da..90d3e6158 100644 --- a/dashboard/src/i18n/locales/en-US/features/knowledge-base/detail.json +++ b/dashboard/src/i18n/locales/en-US/features/knowledge-base/detail.json @@ -74,6 +74,30 @@ "urlHint": "The main content will be automatically extracted from the target URL as a document. Currently supports {supported} pages. Before use, please ensure that the target web page allows crawler access.", "beta": "Beta" }, + "retrieval": { + "title": "Retrieval", + "subtitle": "Test the knowledge base using dense and sparse retrieval methods", + "query": "Query", + "queryPlaceholder": "Enter a query...", + "search": "Search", + "searching": "Searching...", + "results": "Results", + "noResults": "No results found", + "tryDifferentQuery": "Try a different query", + "settings": "Retrieval Settings", + "topK": "Number of Results", + "topKHint": "Maximum number of results to return", + "enableRerank": "Enable Rerank", + "enableRerankHint": "Use a rerank model to improve retrieval quality", + "score": "Relevance Score", + "document": "Document", + "chunk": "Chunk #{index}", + "content": "Content", + "charCount": "{count} characters", + "searchSuccess": "Search completed, found {count} results", + "searchFailed": "Search failed", + "queryRequired": "Please enter a query" + }, "settings": { "title": "Knowledge Base Settings", "basic": "Basic Settings", diff --git a/dashboard/src/i18n/locales/en-US/features/knowledge-base/document.json b/dashboard/src/i18n/locales/en-US/features/knowledge-base/document.json index 35c430aad..d3a3b65c9 100644 --- a/dashboard/src/i18n/locales/en-US/features/knowledge-base/document.json +++ b/dashboard/src/i18n/locales/en-US/features/knowledge-base/document.json @@ -22,7 +22,10 @@ "preview": "Preview", "search": "Search Chunks", "searchPlaceholder": "Enter keywords to search chunks...", - "showing": "Showing" + "showing": "Showing", + "deleteConfirm": "Are you sure you want to delete this chunk?", + "deleteSuccess": "Chunk deleted successfully", + "deleteFailed": "Failed to delete chunk" }, "edit": { "title": "Edit Chunk", diff --git a/dashboard/src/i18n/locales/en-US/features/tool-use.json b/dashboard/src/i18n/locales/en-US/features/tool-use.json index 2887d78fa..8a6ccd492 100644 --- a/dashboard/src/i18n/locales/en-US/features/tool-use.json +++ b/dashboard/src/i18n/locales/en-US/features/tool-use.json @@ -96,6 +96,42 @@ }, "confirmDelete": "Are you sure you want to delete server {name}?" }, + "syncProvider": { + "title": "Sync MCP Servers", + "subtitle": "Sync MCP server configurations from providers to local", + "steps": { + "selectProvider": "Step 1: Select Provider", + "configureAuth": "Step 2: Configure Authentication", + "syncServers": "Step 3: Sync Servers" + }, + "providers": { + "modelscope": "ModelScope", + "description": "ModelScope is an open model community providing MCP servers for various machine learning and AI services" + }, + "fields": { + "provider": "Select Provider", + "accessToken": "Access Token", + "tokenRequired": "Access token is required", + "tokenHint": "Please enter your ModelScope access token" + }, + "buttons": { + "cancel": "Cancel", + "previous": "Previous", + "next": "Next", + "sync": "Start Sync", + "getToken": "Get Token" + }, + "status": { + "selectProvider": "Please select an MCP server provider", + "enterToken": "Please enter the access token to continue", + "readyToSync": "Ready to sync server configurations" + }, + "messages": { + "syncSuccess": "MCP servers synced successfully!", + "syncError": "Sync failed: {error}", + "tokenHelp": "How to get a ModelScope access token? Click the button on the right for instructions" + } + }, "messages": { "getServersError": "Failed to get MCP server list: {error}", "getToolsError": "Failed to get function tools list: {error}", @@ -117,4 +153,4 @@ "toggleToolError": "Failed to toggle tool status: {error}", "testError": "Test connection failed: {error}" } -} \ No newline at end of file +}