github-actions[bot] aeb68f99bd
chore: translate i18n files (#22526)
Co-authored-by: JzoNgKVO <27049666+JzoNgKVO@users.noreply.github.com>
2025-07-17 13:25:39 +08:00

239 lines
8.0 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

const translation = {
title: '工具',
createCustomTool: '建立自定義工具',
type: {
all: '全部',
builtIn: '內建',
custom: '自定義',
workflow: '工作流',
},
contribute: {
line1: '我有興趣為 ',
line2: 'Dify 貢獻工具。',
viewGuide: '檢視指南',
},
author: '作者',
auth: {
authorized: '已授權',
setup: '要使用請先授權',
setupModalTitle: '設定授權',
setupModalTitleDescription: '配置憑據後,工作區中的所有成員都可以在編排應用程式時使用此工具。',
},
includeToolNum: '包含 {{num}} 個工具',
addTool: '新增工具',
createTool: {
title: '建立自定義工具',
editAction: '編輯',
editTitle: '編輯自定義工具',
name: '名稱',
toolNamePlaceHolder: '輸入工具名稱',
schema: 'Schema',
schemaPlaceHolder: '在此處輸入您的 OpenAPI schema',
viewSchemaSpec: '檢視 OpenAPI-Swagger 規範',
importFromUrl: '從 URL 中匯入',
importFromUrlPlaceHolder: 'https://...',
urlError: '請輸入有效的 URL',
examples: '例子',
exampleOptions: {
json: '天氣 (JSON)',
yaml: '寵物商店 (YAML)',
blankTemplate: '空白模版',
},
availableTools: {
title: '可用工具',
name: '名稱',
description: '描述',
method: '方法',
path: '路徑',
action: '操作',
test: '測試',
},
authMethod: {
title: '鑑權方法',
type: '鑑權型別',
keyTooltip: 'HTTP 頭部名稱,如果你不知道是什麼,可以將其保留為 Authorization 或設定為自定義值',
types: {
none: '無',
api_key: 'API Key',
apiKeyPlaceholder: 'HTTP 頭部名稱,用於傳遞 API Key',
apiValuePlaceholder: '輸入 API Key',
api_key_query: '查詢參數',
queryParamPlaceholder: 'API 金鑰的查詢參數名稱',
api_key_header: '標題',
},
key: '鍵',
value: '值',
queryParam: '查詢參數',
queryParamTooltip: '要傳遞的 API 金鑰查詢參數的名稱,例如在 "https://example.com/test?key=API_KEY" 中的 "key"。',
},
authHeaderPrefix: {
title: '鑑權頭部字首',
types: {
basic: 'Basic',
bearer: 'Bearer',
custom: 'Custom',
},
},
privacyPolicy: '隱私協議',
privacyPolicyPlaceholder: '請輸入隱私協議',
customDisclaimer: '自定義免責聲明',
customDisclaimerPlaceholder: '請輸入自定義免責聲明',
deleteToolConfirmTitle: '刪除這個工具?',
deleteToolConfirmContent: '刪除工具是不可逆的。用戶將無法再訪問您的工具。',
toolInput: {
labelPlaceholder: '選擇標籤(選擇標籤)',
label: '標籤',
required: '必填',
methodSettingTip: '用戶填寫工具配置',
name: '名字',
description: '描述',
methodParameterTip: '推理期間 LLM 填充',
method: '方法',
title: '工具輸入',
methodSetting: '設置',
methodParameter: '參數',
descriptionPlaceholder: '參數含義的描述',
},
description: '描述',
nameForToolCall: '工具調用名稱',
confirmTitle: '確認儲存?',
descriptionPlaceholder: '工具用途的簡要描述,例如,獲取特定位置的溫度。',
nameForToolCallTip: '僅支援數位、字母和下劃線。',
confirmTip: '使用此工具的應用程式將受到影響',
nameForToolCallPlaceHolder: '用於機器識別,例如 getCurrentWeather、list_pets',
},
test: {
title: '測試',
parametersValue: '引數和值',
parameters: '引數',
value: '值',
testResult: '測試結果',
testResultPlaceholder: '',
},
thought: {
using: '使',
used: '使',
requestTitle: '',
responseTitle: '',
},
setBuiltInTools: {
info: '',
setting: '',
toolDescription: '',
parameters: '',
string: '',
number: '',
required: '',
infoAndSetting: '',
file: '',
},
noCustomTool: {
title: '',
content: '便使',
createTool: '',
},
noSearchRes: {
title: '',
content: '',
reset: '',
},
builtInPromptTitle: '',
toolRemoved: '',
notAuthorized: '',
howToGet: '',
addToolModal: {
add: '',
type: '',
added: '',
manageInTools: '',
category: '',
custom: {
title: '',
tip: '',
},
workflow: {
title: '',
tip: ' Studio ',
},
mcp: {
title: ' MCP ',
tip: ' MCP ',
},
agent: {
title: '',
},
},
customToolTip: ' Dify ',
toolNameUsageTip: '調',
openInStudio: ' Studio ',
noTools: '',
copyToolName: '',
mcp: {
create: {
cardTitle: ' MCP (HTTP)',
cardLink: ' MCP ',
},
noConfigured: '',
updateTime: '',
toolsCount: '{{count}} ',
noTools: '',
modal: {
title: ' MCP (HTTP)',
editTitle: ' MCP (HTTP)',
name: '',
namePlaceholder: ' MCP ',
serverUrl: ' URL',
serverUrlPlaceholder: ' URL',
serverUrlWarning: '',
serverIdentifier: '',
serverIdentifierTip: ' MCP 24 ',
serverIdentifierPlaceholder: 'my-mcp-server',
serverIdentifierWarning: ' ID ',
cancel: '',
save: '',
confirm: '',
},
delete: ' MCP ',
deleteConfirmTitle: ' {{mcp}} ',
operation: {
edit: '',
remove: '',
},
authorize: '',
authorizing: '...',
authorizingRequired: '',
authorizeTip: '',
update: '',
updating: '',
gettingTools: '...',
updateTools: '...',
toolsEmpty: '',
getTools: '',
toolUpdateConfirmTitle: '',
toolUpdateConfirmContent: '',
toolsNum: '{{count}} ',
onlyTool: ' 1 ',
identifier: ' ()',
server: {
title: 'MCP ',
url: ' URL',
reGen: ' URL ',
addDescription: '',
edit: '',
modal: {
addTitle: ' MCP ',
editTitle: '',
description: '',
descriptionPlaceholder: ' LLM 使',
parameters: '',
parametersTip: ' LLM ',
parametersPlaceholder: '',
confirm: ' MCP ',
},
publishTip: '',
},
},
}
export default translation