您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. const translation = {
  2. title: 'Tools',
  3. createCustomTool: 'Create Custom Tool',
  4. customToolTip: 'Learn more about Dify custom tools',
  5. type: {
  6. all: 'All',
  7. builtIn: 'Tools',
  8. custom: 'Custom',
  9. workflow: 'Workflow',
  10. },
  11. contribute: {
  12. line1: 'I\'m interested in ',
  13. line2: 'contributing tools to Dify.',
  14. viewGuide: 'View the guide',
  15. },
  16. author: 'By',
  17. auth: {
  18. authorized: 'Authorized',
  19. setup: 'Set up authorization to use',
  20. setupModalTitle: 'Set Up Authorization',
  21. setupModalTitleDescription: 'After configuring credentials, all members within the workspace can use this tool when orchestrating applications.',
  22. },
  23. includeToolNum: '{{num}} {{action}} included',
  24. addTool: 'Add Tool',
  25. addToolModal: {
  26. type: 'type',
  27. category: 'category',
  28. add: 'add',
  29. added: 'added',
  30. manageInTools: 'Manage in Tools',
  31. emptyTitle: 'No workflow tool available',
  32. emptyTip: 'Go to "Workflow -> Publish as Tool"',
  33. emptyTitleCustom: 'No custom tool available',
  34. emptyTipCustom: 'Create a custom tool',
  35. },
  36. createTool: {
  37. title: 'Create Custom Tool',
  38. editAction: 'Configure',
  39. editTitle: 'Edit Custom Tool',
  40. name: 'Name',
  41. toolNamePlaceHolder: 'Enter the tool name',
  42. nameForToolCall: 'Tool call name',
  43. nameForToolCallPlaceHolder: 'Used for machine recognition, such as getCurrentWeather, list_pets',
  44. nameForToolCallTip: 'Only supports numbers, letters, and underscores.',
  45. description: 'Description',
  46. descriptionPlaceholder: 'Brief description of the tool\'s purpose, e.g., get the temperature for a specific location.',
  47. schema: 'Schema',
  48. schemaPlaceHolder: 'Enter your OpenAPI schema here',
  49. viewSchemaSpec: 'View the OpenAPI-Swagger Specification',
  50. importFromUrl: 'Import from URL',
  51. importFromUrlPlaceHolder: 'https://...',
  52. urlError: 'Please enter a valid URL',
  53. examples: 'Examples',
  54. exampleOptions: {
  55. json: 'Weather(JSON)',
  56. yaml: 'Pet Store(YAML)',
  57. blankTemplate: 'Blank Template',
  58. },
  59. availableTools: {
  60. title: 'Available Tools',
  61. name: 'Name',
  62. description: 'Description',
  63. method: 'Method',
  64. path: 'Path',
  65. action: 'Actions',
  66. test: 'Test',
  67. },
  68. authMethod: {
  69. title: 'Authorization method',
  70. type: 'Authorization type',
  71. 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',
  72. types: {
  73. none: 'None',
  74. api_key: 'API Key',
  75. apiKeyPlaceholder: 'HTTP header name for API Key',
  76. apiValuePlaceholder: 'Enter API Key',
  77. },
  78. key: 'Key',
  79. value: 'Value',
  80. },
  81. authHeaderPrefix: {
  82. title: 'Auth Type',
  83. types: {
  84. basic: 'Basic',
  85. bearer: 'Bearer',
  86. custom: 'Custom',
  87. },
  88. },
  89. privacyPolicy: 'Privacy policy',
  90. privacyPolicyPlaceholder: 'Please enter privacy policy',
  91. toolInput: {
  92. title: 'Tool Input',
  93. name: 'Name',
  94. required: 'Required',
  95. method: 'Method',
  96. methodSetting: 'Setting',
  97. methodSettingTip: 'User fills in the tool configuration',
  98. methodParameter: 'Parameter',
  99. methodParameterTip: 'LLM fills during inference',
  100. label: 'Tags',
  101. labelPlaceholder: 'Choose tags(optional)',
  102. description: 'Description',
  103. descriptionPlaceholder: 'Description of the parameter\'s meaning',
  104. },
  105. customDisclaimer: 'Custom disclaimer',
  106. customDisclaimerPlaceholder: 'Please enter custom disclaimer',
  107. confirmTitle: 'Confirm to save ?',
  108. confirmTip: 'Apps using this tool will be affected',
  109. deleteToolConfirmTitle: 'Delete this Tool?',
  110. deleteToolConfirmContent: 'Deleting the Tool is irreversible. Users will no longer be able to access your Tool.',
  111. },
  112. test: {
  113. title: 'Test',
  114. parametersValue: 'Parameters & Value',
  115. parameters: 'Parameters',
  116. value: 'Value',
  117. testResult: 'Test Results',
  118. testResultPlaceholder: 'Test result will show here',
  119. },
  120. thought: {
  121. using: 'Using',
  122. used: 'Used',
  123. requestTitle: 'Request',
  124. responseTitle: 'Response',
  125. },
  126. setBuiltInTools: {
  127. info: 'Info',
  128. setting: 'Setting',
  129. toolDescription: 'Tool description',
  130. parameters: 'parameters',
  131. string: 'string',
  132. number: 'number',
  133. file: 'file',
  134. required: 'Required',
  135. infoAndSetting: 'Info & Settings',
  136. },
  137. noCustomTool: {
  138. title: 'No custom tools!',
  139. content: 'Add and manage your custom tools here for building AI apps.',
  140. createTool: 'Create Tool',
  141. },
  142. noSearchRes: {
  143. title: 'Sorry, no results!',
  144. content: 'We couldn\'t find any tools that match your search.',
  145. reset: 'Reset Search',
  146. },
  147. builtInPromptTitle: 'Prompt',
  148. toolRemoved: 'Tool removed',
  149. notAuthorized: 'Not authorized',
  150. howToGet: 'How to get',
  151. openInStudio: 'Open in Studio',
  152. toolNameUsageTip: 'Tool call name for agent reasoning and prompting',
  153. copyToolName: 'Copy Name',
  154. noTools: 'No tools found',
  155. }
  156. export default translation