2024-01-23 19:31:56 +08:00
const translation = {
title : 'Tools' ,
createCustomTool : 'Create Custom Tool' ,
2024-05-27 21:57:08 +08:00
customToolTip : 'Learn more about Dify custom tools' ,
2024-01-23 19:31:56 +08:00
type : {
2025-02-17 17:05:13 +08:00
builtIn : 'Tools' ,
2024-01-23 19:31:56 +08:00
custom : 'Custom' ,
2024-05-27 21:57:08 +08:00
workflow : 'Workflow' ,
2024-01-23 19:31:56 +08:00
} ,
contribute : {
line1 : 'I\'m interested in ' ,
line2 : 'contributing tools to Dify.' ,
viewGuide : 'View the guide' ,
} ,
author : 'By' ,
auth : {
authorized : 'Authorized' ,
setup : 'Set up authorization to use' ,
setupModalTitle : 'Set Up Authorization' ,
setupModalTitleDescription : 'After configuring credentials, all members within the workspace can use this tool when orchestrating applications.' ,
} ,
2025-02-17 17:05:13 +08:00
includeToolNum : '{{num}} {{action}} included' ,
2024-05-27 21:57:08 +08:00
addToolModal : {
type : 'type' ,
category : 'category' ,
added : 'added' ,
2025-07-10 14:14:02 +08:00
custom : {
title : 'No custom tool available' ,
tip : 'Create a custom tool' ,
} ,
workflow : {
title : 'No workflow tool available' ,
tip : 'Publish workflows as tools in Studio' ,
} ,
mcp : {
title : 'No MCP tool available' ,
tip : 'Add an MCP server' ,
} ,
agent : {
title : 'No agent strategy available' ,
} ,
2024-05-27 21:57:08 +08:00
} ,
2024-01-23 19:31:56 +08:00
createTool : {
title : 'Create Custom Tool' ,
editAction : 'Configure' ,
editTitle : 'Edit Custom Tool' ,
name : 'Name' ,
toolNamePlaceHolder : 'Enter the tool name' ,
2024-05-27 21:57:08 +08:00
nameForToolCall : 'Tool call name' ,
nameForToolCallPlaceHolder : 'Used for machine recognition, such as getCurrentWeather, list_pets' ,
nameForToolCallTip : 'Only supports numbers, letters, and underscores.' ,
description : 'Description' ,
descriptionPlaceholder : 'Brief description of the tool\'s purpose, e.g., get the temperature for a specific location.' ,
2024-01-23 19:31:56 +08:00
schema : 'Schema' ,
schemaPlaceHolder : 'Enter your OpenAPI schema here' ,
viewSchemaSpec : 'View the OpenAPI-Swagger Specification' ,
importFromUrl : 'Import from URL' ,
importFromUrlPlaceHolder : 'https://...' ,
urlError : 'Please enter a valid URL' ,
examples : 'Examples' ,
exampleOptions : {
json : 'Weather(JSON)' ,
yaml : 'Pet Store(YAML)' ,
blankTemplate : 'Blank Template' ,
} ,
availableTools : {
title : 'Available Tools' ,
name : 'Name' ,
description : 'Description' ,
method : 'Method' ,
path : 'Path' ,
action : 'Actions' ,
test : 'Test' ,
} ,
authMethod : {
title : 'Authorization method' ,
type : 'Authorization type' ,
2024-02-28 23:19:08 +08:00
keyTooltip : 'Http Header Key, You can leave it with "Authorization" if you have no idea what it is or set it to a custom value' ,
2025-07-11 10:39:20 +08:00
queryParam : 'Query Parameter' ,
queryParamTooltip : 'The name of the API key query parameter to pass, e.g. "key" in "https://example.com/test?key=API_KEY".' ,
2024-01-23 19:31:56 +08:00
types : {
none : 'None' ,
2025-07-11 10:39:20 +08:00
api_key_header : 'Header' ,
api_key_query : 'Query Param' ,
2024-02-23 13:55:43 +08:00
apiKeyPlaceholder : 'HTTP header name for API Key' ,
apiValuePlaceholder : 'Enter API Key' ,
2025-07-11 10:39:20 +08:00
queryParamPlaceholder : 'Query parameter name for API Key' ,
2024-01-23 19:31:56 +08:00
} ,
key : 'Key' ,
value : 'Value' ,
} ,
2024-02-28 23:19:08 +08:00
authHeaderPrefix : {
title : 'Auth Type' ,
types : {
basic : 'Basic' ,
bearer : 'Bearer' ,
custom : 'Custom' ,
} ,
} ,
2024-01-23 19:31:56 +08:00
privacyPolicy : 'Privacy policy' ,
privacyPolicyPlaceholder : 'Please enter privacy policy' ,
2024-05-27 21:57:08 +08:00
toolInput : {
title : 'Tool Input' ,
name : 'Name' ,
required : 'Required' ,
method : 'Method' ,
methodSetting : 'Setting' ,
methodSettingTip : 'User fills in the tool configuration' ,
methodParameter : 'Parameter' ,
methodParameterTip : 'LLM fills during inference' ,
label : 'Tags' ,
labelPlaceholder : 'Choose tags(optional)' ,
description : 'Description' ,
descriptionPlaceholder : 'Description of the parameter\'s meaning' ,
} ,
2025-11-27 16:50:48 +08:00
toolOutput : {
title : 'Tool Output' ,
name : 'Name' ,
reserved : 'Reserved' ,
reservedParameterDuplicateTip : 'text, json, and files are reserved variables. Variables with these names cannot appear in the output schema.' ,
description : 'Description' ,
} ,
2024-05-18 04:52:48 +02:00
customDisclaimer : 'Custom disclaimer' ,
customDisclaimerPlaceholder : 'Please enter custom disclaimer' ,
2024-05-27 21:57:08 +08:00
confirmTitle : 'Confirm to save ?' ,
confirmTip : 'Apps using this tool will be affected' ,
2024-06-26 19:27:22 +08:00
deleteToolConfirmTitle : 'Delete this Tool?' ,
deleteToolConfirmContent : 'Deleting the Tool is irreversible. Users will no longer be able to access your Tool.' ,
2024-01-23 19:31:56 +08:00
} ,
test : {
title : 'Test' ,
parametersValue : 'Parameters & Value' ,
parameters : 'Parameters' ,
value : 'Value' ,
testResult : 'Test Results' ,
testResultPlaceholder : 'Test result will show here' ,
} ,
thought : {
using : 'Using' ,
used : 'Used' ,
2024-10-21 10:32:37 +08:00
requestTitle : 'Request' ,
responseTitle : 'Response' ,
2024-01-23 19:31:56 +08:00
} ,
setBuiltInTools : {
info : 'Info' ,
setting : 'Setting' ,
toolDescription : 'Tool description' ,
parameters : 'parameters' ,
string : 'string' ,
number : 'number' ,
2025-02-17 17:05:13 +08:00
file : 'file' ,
2024-01-23 19:31:56 +08:00
required : 'Required' ,
infoAndSetting : 'Info & Settings' ,
} ,
noCustomTool : {
2024-01-26 12:48:26 +08:00
title : 'No custom tools!' ,
2024-01-23 19:31:56 +08:00
content : 'Add and manage your custom tools here for building AI apps.' ,
createTool : 'Create Tool' ,
} ,
noSearchRes : {
title : 'Sorry, no results!' ,
content : 'We couldn\'t find any tools that match your search.' ,
reset : 'Reset Search' ,
} ,
builtInPromptTitle : 'Prompt' ,
toolRemoved : 'Tool removed' ,
2025-02-17 17:05:13 +08:00
notAuthorized : 'Not authorized' ,
2024-02-05 16:22:30 +08:00
howToGet : 'How to get' ,
2024-05-27 21:57:08 +08:00
openInStudio : 'Open in Studio' ,
toolNameUsageTip : 'Tool call name for agent reasoning and prompting' ,
2025-02-17 17:05:13 +08:00
copyToolName : 'Copy Name' ,
noTools : 'No tools found' ,
2025-07-10 14:14:02 +08:00
mcp : {
create : {
cardTitle : 'Add MCP Server (HTTP)' ,
cardLink : 'Learn more about MCP server integration' ,
} ,
noConfigured : 'Unconfigured' ,
updateTime : 'Updated' ,
toolsCount : '{{count}} tools' ,
noTools : 'No tools available' ,
modal : {
title : 'Add MCP Server (HTTP)' ,
editTitle : 'Edit MCP Server (HTTP)' ,
name : 'Name & Icon' ,
namePlaceholder : 'Name your MCP server' ,
serverUrl : 'Server URL' ,
serverUrlPlaceholder : 'URL to server endpoint' ,
serverUrlWarning : 'Updating the server address may disrupt applications that depend on this server' ,
serverIdentifier : 'Server Identifier' ,
serverIdentifierTip : 'Unique identifier for the MCP server within the workspace. Lowercase letters, numbers, underscores, and hyphens only. Up to 24 characters.' ,
serverIdentifierPlaceholder : 'Unique identifier, e.g., my-mcp-server' ,
2025-09-08 14:10:55 +08:00
serverIdentifierWarning : 'The server won\'t be recognized by existing apps after an ID change' ,
headers : 'Headers' ,
headersTip : 'Additional HTTP headers to send with MCP server requests' ,
headerKey : 'Header Name' ,
headerValue : 'Header Value' ,
headerKeyPlaceholder : 'e.g., Authorization' ,
headerValuePlaceholder : 'e.g., Bearer token123' ,
addHeader : 'Add Header' ,
noHeaders : 'No custom headers configured' ,
maskedHeadersTip : 'Header values are masked for security. Changes will update the actual values.' ,
2025-07-10 14:14:02 +08:00
cancel : 'Cancel' ,
save : 'Save' ,
confirm : 'Add & Authorize' ,
2025-08-12 13:14:00 +08:00
timeout : 'Timeout' ,
sseReadTimeout : 'SSE Read Timeout' ,
2025-09-08 14:10:55 +08:00
timeoutPlaceholder : '30' ,
2025-10-27 17:08:18 +08:00
authentication : 'Authentication' ,
useDynamicClientRegistration : 'Use Dynamic Client Registration' ,
2025-11-20 11:18:16 +08:00
redirectUrlWarning : 'Please configure your OAuth redirect URL to:' ,
2025-10-27 17:08:18 +08:00
clientID : 'Client ID' ,
clientSecret : 'Client Secret' ,
clientSecretPlaceholder : 'Client Secret' ,
configurations : 'Configurations' ,
2025-07-10 14:14:02 +08:00
} ,
delete : 'Remove MCP Server' ,
deleteConfirmTitle : 'Would you like to remove {{mcp}}?' ,
operation : {
edit : 'Edit' ,
remove : 'Remove' ,
} ,
authorize : 'Authorize' ,
authorizing : 'Authorizing...' ,
authorizingRequired : 'Authorization is required' ,
authorizeTip : 'After authorization, tools will be displayed here.' ,
update : 'Update' ,
updating : 'Updating' ,
gettingTools : 'Getting Tools...' ,
updateTools : 'Updating Tools...' ,
toolsEmpty : 'Tools not loaded' ,
getTools : 'Get tools' ,
toolUpdateConfirmTitle : 'Update Tool List' ,
toolUpdateConfirmContent : 'Updating the tool list may affect existing apps. Do you wish to proceed?' ,
toolsNum : '{{count}} tools included' ,
onlyTool : '1 tool included' ,
identifier : 'Server Identifier (Click to Copy)' ,
server : {
title : 'MCP Server' ,
url : 'Server URL' ,
reGen : 'Do you want to regenerator server URL?' ,
addDescription : 'Add description' ,
edit : 'Edit description' ,
modal : {
addTitle : 'Add description to enable MCP server' ,
editTitle : 'Edit description' ,
description : 'Description' ,
descriptionPlaceholder : 'Explain what this tool does and how it should be used by the LLM' ,
parameters : 'Parameters' ,
parametersTip : 'Add descriptions for each parameter to help the LLM understand their purpose and constraints.' ,
parametersPlaceholder : 'Parameter purpose and constraints' ,
confirm : 'Enable MCP Server' ,
} ,
publishTip : 'App not published. Please publish the app first.' ,
} ,
2025-10-20 15:37:30 +08:00
toolItem : {
noDescription : 'No description' ,
parameters : 'Parameters' ,
} ,
2025-07-10 14:14:02 +08:00
} ,
2025-09-18 12:49:10 +08:00
allTools : 'All tools' ,
2024-01-23 19:31:56 +08:00
}
export default translation