diff --git a/web-app/src/containers/dialogs/ToolApproval.tsx b/web-app/src/containers/dialogs/ToolApproval.tsx index ed5a843fd..da4690d9a 100644 --- a/web-app/src/containers/dialogs/ToolApproval.tsx +++ b/web-app/src/containers/dialogs/ToolApproval.tsx @@ -10,7 +10,6 @@ import { Button } from '@/components/ui/button' import { useToolApproval } from '@/hooks/useToolApproval' import { AlertTriangle } from 'lucide-react' import { useTranslation } from '@/i18n/react-i18next-compat' -import { Trans } from 'react-i18next' export default function ToolApproval() { const { t } = useTranslation() @@ -52,11 +51,8 @@ export default function ToolApproval() {
{t('tools:toolApproval.title')} - }} - /> + {t('tools:toolApproval.description')}{' '} + {toolName}
diff --git a/web-app/src/locales/en/common.json b/web-app/src/locales/en/common.json index ff098eb39..500e6094c 100644 --- a/web-app/src/locales/en/common.json +++ b/web-app/src/locales/en/common.json @@ -1,7 +1,7 @@ { "assistants": "Assistants", "hardware": "Hardware", - "mcp-servers": "Mcp Servers", + "mcp-servers": "MCP Servers", "local_api_server": "Local API Server", "https_proxy": "HTTPS Proxy", "extensions": "Extensions", diff --git a/web-app/src/locales/en/tools.json b/web-app/src/locales/en/tools.json index ad7470fcc..da7f6ad66 100644 --- a/web-app/src/locales/en/tools.json +++ b/web-app/src/locales/en/tools.json @@ -1,10 +1,10 @@ { "toolApproval": { "title": "Tool Approval Required", - "description": "The assistant wants to use {{toolName}}", - "securityNotice": "This tool wants to perform an action. Please review and approve.", + "description": "The assistant wants to use", + "securityNotice": "Malicious tools or conversation content could potentially trick the assistant into attempting harmful actions. Review each tool call carefully before approving.", "deny": "Deny", "allowOnce": "Allow Once", "alwaysAllow": "Always Allow" } -} \ No newline at end of file +} diff --git a/web-app/src/locales/id/tool-approval.json b/web-app/src/locales/id/tool-approval.json index 37422f452..05714e9f0 100644 --- a/web-app/src/locales/id/tool-approval.json +++ b/web-app/src/locales/id/tool-approval.json @@ -1,7 +1,7 @@ { "title": "Permintaan Panggilan Alat", "description": "Asisten ingin menggunakan alat: {{toolName}}", - "securityNotice": "Pemberitahuan Keamanan: Alat berbahaya atau konten percakapan berpotensi menipu asisten untuk mencoba tindakan berbahaya. Tinjau setiap panggilan alat dengan cermat sebelum menyetujui.", + "securityNotice": "Pemberitahuan Keamanan: Alat berbahaya atau konten percakapan dapat menipu asisten untuk mencoba melakukan tindakan yang merugikan. Tinjau setiap permintaan penggunaan alat dengan cermat sebelum menyetujui.", "deny": "Tolak", "allowOnce": "Izinkan Sekali", "alwaysAllow": "Selalu Izinkan", diff --git a/web-app/src/locales/vn/common.json b/web-app/src/locales/vn/common.json index 654b2814c..6d5edbf94 100644 --- a/web-app/src/locales/vn/common.json +++ b/web-app/src/locales/vn/common.json @@ -1,7 +1,7 @@ { "assistants": "Trợ lý", "hardware": "Phần cứng", - "mcp-servers": "Máy chủ Mcp", + "mcp-servers": "Máy chủ MCP", "local_api_server": "Máy chủ API cục bộ", "https_proxy": "Proxy HTTPS", "extensions": "Tiện ích mở rộng", diff --git a/web-app/src/routes/settings/general.tsx b/web-app/src/routes/settings/general.tsx index 68919e1a7..941cd8239 100644 --- a/web-app/src/routes/settings/general.tsx +++ b/web-app/src/routes/settings/general.tsx @@ -5,7 +5,6 @@ import HeaderPage from '@/containers/HeaderPage' import { Switch } from '@/components/ui/switch' import { Button } from '@/components/ui/button' import { Card, CardItem } from '@/containers/Card' -import LanguageSwitcher from '@/containers/LanguageSwitcher' import { useTranslation } from '@/i18n/react-i18next-compat' import { useGeneralSetting } from '@/hooks/useGeneralSetting' import { useAppUpdater } from '@/hooks/useAppUpdater' @@ -239,10 +238,10 @@ function General() { } /> - } - /> + /> */} {/* Advanced */}