mirror of
https://github.com/langbot-app/LangBot.git
synced 2025-11-25 03:15:06 +08:00
feat: add i18n
This commit is contained in:
@@ -282,6 +282,91 @@ const enUS = {
|
||||
markAsReadSuccess: 'Marked as read',
|
||||
markAsReadFailed: 'Mark as read failed',
|
||||
},
|
||||
mcp: {
|
||||
title: 'MCP Management',
|
||||
description: 'Manage Model Context Protocol (MCP) servers to extend AI capabilities',
|
||||
createServer: 'Create MCP Server',
|
||||
editServer: 'Edit MCP Server',
|
||||
deleteServer: 'Delete MCP Server',
|
||||
confirmDeleteServer: 'Are you sure you want to delete this MCP server?',
|
||||
confirmDeleteTitle: 'Delete MCP Server',
|
||||
getServerListError: 'Failed to get MCP server list: ',
|
||||
serverName: 'Server Name',
|
||||
serverMode: 'Connection Mode',
|
||||
stdio: 'Stdio Mode',
|
||||
sse: 'SSE Mode',
|
||||
serverConfig: 'MCP Server Configuration',
|
||||
noServerInstalled: 'No MCP servers configured',
|
||||
serverNameRequired: 'Server name cannot be empty',
|
||||
commandRequired: 'Command cannot be empty',
|
||||
urlRequired: 'URL cannot be empty',
|
||||
command: 'Command',
|
||||
args: 'Arguments',
|
||||
env: 'Environment Variables',
|
||||
url: 'URL',
|
||||
headers: 'Headers',
|
||||
timeout: 'Timeout',
|
||||
addArgument: 'Add Argument',
|
||||
addEnvVar: 'Add Environment Variable',
|
||||
addHeader: 'Add Header',
|
||||
keyName: 'Key Name',
|
||||
value: 'Value',
|
||||
connected: 'Connected',
|
||||
disconnected: 'Disconnected',
|
||||
error: 'Error',
|
||||
testConnection: 'Test Connection',
|
||||
testing: 'Testing...',
|
||||
testSuccess: 'Connection test successful',
|
||||
testFailed: 'Connection test failed: ',
|
||||
connectionSuccess: 'Connection successful',
|
||||
connectionFailed: 'Connection failed',
|
||||
toolsFound: 'tools',
|
||||
deleteSuccess: 'Deleted successfully',
|
||||
deleteError: 'Delete failed: ',
|
||||
saveSuccess: 'Saved successfully',
|
||||
saveError: 'Save failed: ',
|
||||
createSuccess: 'Created successfully',
|
||||
createError: 'Creation failed: ',
|
||||
modifyFailed: 'Modify failed: ',
|
||||
toolCount: 'Tools: {{count}}',
|
||||
statusConnected: 'Connected',
|
||||
statusDisconnected: 'Disconnected',
|
||||
statusError: 'Connection Error',
|
||||
statusDisabled: 'Disabled',
|
||||
serverStatus: 'Server Status',
|
||||
marketplace: 'MCP Marketplace',
|
||||
searchServer: 'Search MCP servers',
|
||||
sortBy: 'Sort by',
|
||||
mostStars: 'Most stars',
|
||||
recentlyAdded: 'Recently added',
|
||||
recentlyUpdated: 'Recently updated',
|
||||
loading: 'Loading...',
|
||||
noMatchingServers: 'No matching MCP servers',
|
||||
starCount: 'Stars: {{count}}',
|
||||
install: 'Install',
|
||||
installing: 'Installing...',
|
||||
installSuccess: 'MCP server installed successfully',
|
||||
installFailed: 'MCP server installation failed',
|
||||
installFromGithub: 'Install MCP Server from GitHub',
|
||||
onlySupportGithub: 'Currently only supports installation from GitHub',
|
||||
enterGithubLink: 'Enter GitHub repository link',
|
||||
add: 'Add',
|
||||
name: 'Name',
|
||||
nameExplained: 'Used to distinguish different MCP server instances',
|
||||
sseURL: 'SSE URL',
|
||||
sseHeaders: 'SSE Headers',
|
||||
nameRequired: 'Name cannot be empty',
|
||||
sseURLRequired: 'SSE URL cannot be empty',
|
||||
enterSSELink: 'Enter SSE URL',
|
||||
timeoutRequired: 'Timeout cannot be empty',
|
||||
headersExample: 'Example: Authorization: Bearer token123',
|
||||
enterTimeout: 'Enter timeout in milliseconds',
|
||||
installFromSSE: 'Install from SSE',
|
||||
sseTimeout: 'SSE Timeout',
|
||||
sseTimeoutDescription: 'Timeout for establishing SSE connection',
|
||||
extraParametersDescription: 'Additional parameters for configuring specific MCP server behavior',
|
||||
updateSuccess: 'Updated successfully',
|
||||
},
|
||||
pipelines: {
|
||||
title: 'Pipelines',
|
||||
description:
|
||||
|
||||
@@ -284,6 +284,91 @@ const jaJP = {
|
||||
markAsReadSuccess: '既読に設定しました',
|
||||
markAsReadFailed: '既読に設定に失敗しました',
|
||||
},
|
||||
mcp: {
|
||||
title: 'MCP管理',
|
||||
description: 'Model Context Protocol (MCP) サーバーを管理してAI機能を拡張',
|
||||
createServer: 'MCPサーバーを作成',
|
||||
editServer: 'MCPサーバーを編集',
|
||||
deleteServer: 'MCPサーバーを削除',
|
||||
confirmDeleteServer: 'このMCPサーバーを削除してもよろしいですか?',
|
||||
confirmDeleteTitle: 'MCPサーバーを削除',
|
||||
getServerListError: 'MCPサーバーリストの取得に失敗しました:',
|
||||
serverName: 'サーバー名',
|
||||
serverMode: '接続モード',
|
||||
stdio: 'Stdioモード',
|
||||
sse: 'SSEモード',
|
||||
serverConfig: 'MCPサーバー設定',
|
||||
noServerInstalled: 'MCPサーバーが設定されていません',
|
||||
serverNameRequired: 'サーバー名は必須です',
|
||||
commandRequired: 'コマンドは必須です',
|
||||
urlRequired: 'URLは必須です',
|
||||
command: 'コマンド',
|
||||
args: '引数',
|
||||
env: '環境変数',
|
||||
url: 'URL',
|
||||
headers: 'ヘッダー',
|
||||
timeout: 'タイムアウト',
|
||||
addArgument: '引数を追加',
|
||||
addEnvVar: '環境変数を追加',
|
||||
addHeader: 'ヘッダーを追加',
|
||||
keyName: 'キー名',
|
||||
value: '値',
|
||||
connected: '接続済み',
|
||||
disconnected: '未接続',
|
||||
error: 'エラー',
|
||||
testConnection: '接続テスト',
|
||||
testing: 'テスト中...',
|
||||
testSuccess: '接続テストに成功しました',
|
||||
testFailed: '接続テストに失敗しました:',
|
||||
connectionSuccess: '接続に成功しました',
|
||||
connectionFailed: '接続に失敗しました',
|
||||
toolsFound: '個のツール',
|
||||
deleteSuccess: '削除に成功しました',
|
||||
deleteError: '削除に失敗しました:',
|
||||
saveSuccess: '保存に成功しました',
|
||||
saveError: '保存に失敗しました:',
|
||||
createSuccess: '作成に成功しました',
|
||||
createError: '作成に失敗しました:',
|
||||
modifyFailed: '変更に失敗しました:',
|
||||
toolCount: 'ツール:{{count}}',
|
||||
statusConnected: '接続済み',
|
||||
statusDisconnected: '未接続',
|
||||
statusError: '接続エラー',
|
||||
statusDisabled: '無効',
|
||||
serverStatus: 'サーバーステータス',
|
||||
marketplace: 'MCPマーケットプレイス',
|
||||
searchServer: 'MCPサーバーを検索',
|
||||
sortBy: '並び順',
|
||||
mostStars: 'スター数順',
|
||||
recentlyAdded: '最近追加',
|
||||
recentlyUpdated: '最近更新',
|
||||
loading: '読み込み中...',
|
||||
noMatchingServers: '一致するMCPサーバーが見つかりません',
|
||||
starCount: 'スター:{{count}}',
|
||||
install: 'インストール',
|
||||
installing: 'インストール中...',
|
||||
installSuccess: 'MCPサーバーのインストールに成功しました',
|
||||
installFailed: 'MCPサーバーのインストールに失敗しました',
|
||||
installFromGithub: 'GitHubからMCPサーバーをインストール',
|
||||
onlySupportGithub: '現在はGitHubからのインストールのみサポートしています',
|
||||
enterGithubLink: 'GitHubリポジトリのリンクを入力',
|
||||
add: '追加',
|
||||
name: '名前',
|
||||
nameExplained: '異なるMCPサーバーインスタンスを区別するために使用',
|
||||
sseURL: 'SSE URL',
|
||||
sseHeaders: 'SSEヘッダー',
|
||||
nameRequired: '名前は必須です',
|
||||
sseURLRequired: 'SSE URLは必須です',
|
||||
enterSSELink: 'SSE URLを入力',
|
||||
timeoutRequired: 'タイムアウトは必須です',
|
||||
headersExample: '例: Authorization: Bearer token123',
|
||||
enterTimeout: 'タイムアウトをミリ秒単位で入力',
|
||||
installFromSSE: 'SSEからインストール',
|
||||
sseTimeout: 'SSEタイムアウト',
|
||||
sseTimeoutDescription: 'SSE接続を確立するためのタイムアウト',
|
||||
extraParametersDescription: 'MCPサーバーの特定の動作を設定するための追加パラメータ',
|
||||
updateSuccess: '更新に成功しました',
|
||||
},
|
||||
pipelines: {
|
||||
title: 'パイプライン',
|
||||
description:
|
||||
|
||||
@@ -268,6 +268,91 @@ const zhHant = {
|
||||
markAsReadSuccess: '已標記為已讀',
|
||||
markAsReadFailed: '標記為已讀失敗',
|
||||
},
|
||||
mcp: {
|
||||
title: 'MCP管理',
|
||||
description: '管理Model Context Protocol (MCP) 伺服器,擴展AI能力',
|
||||
createServer: '建立MCP伺服器',
|
||||
editServer: '編輯MCP伺服器',
|
||||
deleteServer: '刪除MCP伺服器',
|
||||
confirmDeleteServer: '您確定要刪除此MCP伺服器嗎?',
|
||||
confirmDeleteTitle: '刪除MCP伺服器',
|
||||
getServerListError: '取得MCP伺服器清單失敗:',
|
||||
serverName: '伺服器名稱',
|
||||
serverMode: '連接模式',
|
||||
stdio: 'Stdio模式',
|
||||
sse: 'SSE模式',
|
||||
serverConfig: 'MCP伺服器設定',
|
||||
noServerInstalled: '暫未設定任何MCP伺服器',
|
||||
serverNameRequired: '伺服器名稱不能為空',
|
||||
commandRequired: '命令不能為空',
|
||||
urlRequired: 'URL不能為空',
|
||||
command: '命令',
|
||||
args: '參數',
|
||||
env: '環境變數',
|
||||
url: 'URL位址',
|
||||
headers: '請求標頭',
|
||||
timeout: '逾時時間',
|
||||
addArgument: '新增參數',
|
||||
addEnvVar: '新增環境變數',
|
||||
addHeader: '新增請求標頭',
|
||||
keyName: '鍵名',
|
||||
value: '值',
|
||||
connected: '已開啟',
|
||||
disconnected: '未開啟',
|
||||
error: '錯誤',
|
||||
testConnection: '測試連接',
|
||||
testing: '測試中...',
|
||||
testSuccess: '連接測試成功',
|
||||
testFailed: '連接測試失敗:',
|
||||
connectionSuccess: '連接成功',
|
||||
connectionFailed: '連接失敗',
|
||||
toolsFound: '個工具',
|
||||
deleteSuccess: '刪除成功',
|
||||
deleteError: '刪除失敗:',
|
||||
saveSuccess: '儲存成功',
|
||||
saveError: '儲存失敗:',
|
||||
createSuccess: '建立成功',
|
||||
createError: '建立失敗:',
|
||||
modifyFailed: '修改失敗:',
|
||||
toolCount: '工具:{{count}}',
|
||||
statusConnected: '已開啟',
|
||||
statusDisconnected: '未開啟',
|
||||
statusError: '連接錯誤',
|
||||
statusDisabled: '已停用',
|
||||
serverStatus: '伺服器狀態',
|
||||
marketplace: 'MCP商店',
|
||||
searchServer: '搜尋MCP伺服器',
|
||||
sortBy: '排序方式',
|
||||
mostStars: '最多星標',
|
||||
recentlyAdded: '最近新增',
|
||||
recentlyUpdated: '最近更新',
|
||||
loading: '載入中...',
|
||||
noMatchingServers: '沒有找到符合的MCP伺服器',
|
||||
starCount: '星標:{{count}}',
|
||||
install: '安裝',
|
||||
installing: '安裝中...',
|
||||
installSuccess: 'MCP伺服器安裝成功',
|
||||
installFailed: 'MCP伺服器安裝失敗',
|
||||
installFromGithub: '從Github安裝MCP伺服器',
|
||||
onlySupportGithub: '目前僅支援從Github安裝MCP伺服器',
|
||||
enterGithubLink: '輸入Github儲存庫連結',
|
||||
add: '新增',
|
||||
name: '名稱',
|
||||
nameExplained: '用於區分不同的MCP伺服器實例',
|
||||
sseURL: 'SSE URL',
|
||||
sseHeaders: 'SSE Headers',
|
||||
nameRequired: '名稱不能為空',
|
||||
sseURLRequired: 'SSE URL不能為空',
|
||||
enterSSELink: '輸入SSE URL',
|
||||
timeoutRequired: '逾時時間不能為空',
|
||||
headersExample: '範例: Authorization: Bearer token123',
|
||||
enterTimeout: '輸入逾時時間,單位為毫秒',
|
||||
installFromSSE: '從SSE安裝',
|
||||
sseTimeout: 'SSE逾時時間',
|
||||
sseTimeoutDescription: '用於建立SSE連接的逾時時間',
|
||||
extraParametersDescription: '額外參數,用於設定MCP伺服器的特定行為',
|
||||
updateSuccess: '更新成功',
|
||||
},
|
||||
pipelines: {
|
||||
title: '流程線',
|
||||
description: '流程線定義了對訊息事件的處理流程,用於綁定到機器人',
|
||||
|
||||
Reference in New Issue
Block a user