mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-27 07:54:19 +00:00
feat: add i18n
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
import { MCPMarketCardVO } from '@/app/home/plugins/mcp-server/mcp-market-card/MCPServerCardVO';
|
import { MCPMarketCardVO } from '@/app/home/plugins/mcp-server/mcp-server-card/MCPServerCardVO';
|
||||||
import { Button } from '@/components/ui/button';
|
import { Button } from '@/components/ui/button';
|
||||||
import { useTranslation } from 'react-i18next';
|
import { useTranslation } from 'react-i18next';
|
||||||
|
|
||||||
@@ -299,8 +299,8 @@ const zhHans = {
|
|||||||
addHeader: '添加请求头',
|
addHeader: '添加请求头',
|
||||||
keyName: '键名',
|
keyName: '键名',
|
||||||
value: '值',
|
value: '值',
|
||||||
connected: '已连接',
|
connected: '已打开',
|
||||||
disconnected: '未连接',
|
disconnected: '未打开',
|
||||||
error: '错误',
|
error: '错误',
|
||||||
testConnection: '测试连接',
|
testConnection: '测试连接',
|
||||||
testing: '测试中...',
|
testing: '测试中...',
|
||||||
@@ -317,8 +317,8 @@ const zhHans = {
|
|||||||
createError: '创建失败:',
|
createError: '创建失败:',
|
||||||
modifyFailed: '修改失败:',
|
modifyFailed: '修改失败:',
|
||||||
toolCount: '工具:{{count}}',
|
toolCount: '工具:{{count}}',
|
||||||
statusConnected: '已连接',
|
statusConnected: '已打开',
|
||||||
statusDisconnected: '未连接',
|
statusDisconnected: '未打开',
|
||||||
statusError: '连接错误',
|
statusError: '连接错误',
|
||||||
statusDisabled: '已禁用',
|
statusDisabled: '已禁用',
|
||||||
serverStatus: '服务器状态',
|
serverStatus: '服务器状态',
|
||||||
@@ -353,6 +353,7 @@ const zhHans = {
|
|||||||
sseTimeout: 'SSE超时时间',
|
sseTimeout: 'SSE超时时间',
|
||||||
sseTimeoutDescription: '用于建立SSE连接的超时时间',
|
sseTimeoutDescription: '用于建立SSE连接的超时时间',
|
||||||
extraParametersDescription: '额外参数,用于配置MCP服务器的特定行为',
|
extraParametersDescription: '额外参数,用于配置MCP服务器的特定行为',
|
||||||
|
updateSuccess:'更新成功',
|
||||||
},
|
},
|
||||||
pipelines: {
|
pipelines: {
|
||||||
title: '流水线',
|
title: '流水线',
|
||||||
|
|||||||
Reference in New Issue
Block a user