tools.en.ts 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. const translation = {
  2. title: 'Tools',
  3. createCustomTool: 'Create Custom Tool',
  4. type: {
  5. all: 'All',
  6. builtIn: 'Built-in',
  7. custom: 'Custom',
  8. },
  9. contribute: {
  10. line1: 'I\'m interested in ',
  11. line2: 'contributing tools to Dify.',
  12. viewGuide: 'View the guide',
  13. },
  14. author: 'By',
  15. auth: {
  16. unauthorized: 'To Authorize',
  17. authorized: 'Authorized',
  18. setup: 'Set up authorization to use',
  19. setupModalTitle: 'Set Up Authorization',
  20. setupModalTitleDescription: 'After configuring credentials, all members within the workspace can use this tool when orchestrating applications.',
  21. },
  22. includeToolNum: '{{num}} tools included',
  23. addTool: 'Add Tool',
  24. createTool: {
  25. title: 'Create Custom Tool',
  26. editAction: 'Configure',
  27. editTitle: 'Edit Custom Tool',
  28. name: 'Name',
  29. toolNamePlaceHolder: 'Enter the tool name',
  30. schema: 'Schema',
  31. schemaPlaceHolder: 'Enter your OpenAPI schema here',
  32. viewSchemaSpec: 'View the OpenAPI-Swagger Specification',
  33. importFromUrl: 'Import from URL',
  34. importFromUrlPlaceHolder: 'https://...',
  35. urlError: 'Please enter a valid URL',
  36. examples: 'Examples',
  37. exampleOptions: {
  38. json: 'Weather(JSON)',
  39. yaml: 'Pet Store(YAML)',
  40. blankTemplate: 'Blank Template',
  41. },
  42. availableTools: {
  43. title: 'Available Tools',
  44. name: 'Name',
  45. description: 'Description',
  46. method: 'Method',
  47. path: 'Path',
  48. action: 'Actions',
  49. test: 'Test',
  50. },
  51. authMethod: {
  52. title: 'Authorization method',
  53. type: 'Authorization type',
  54. types: {
  55. none: 'None',
  56. api_key: 'API Key',
  57. },
  58. key: 'Key',
  59. value: 'Value',
  60. },
  61. privacyPolicy: 'Privacy policy',
  62. privacyPolicyPlaceholder: 'Please enter privacy policy',
  63. },
  64. test: {
  65. title: 'Test',
  66. parametersValue: 'Parameters & Value',
  67. parameters: 'Parameters',
  68. value: 'Value',
  69. testResult: 'Test Results',
  70. testResultPlaceholder: 'Test result will show here',
  71. },
  72. thought: {
  73. using: 'Using',
  74. used: 'Used',
  75. requestTitle: 'Request to',
  76. responseTitle: 'Response from',
  77. },
  78. setBuiltInTools: {
  79. info: 'Info',
  80. setting: 'Setting',
  81. toolDescription: 'Tool description',
  82. parameters: 'parameters',
  83. string: 'string',
  84. number: 'number',
  85. required: 'Required',
  86. infoAndSetting: 'Info & Settings',
  87. },
  88. noCustomTool: {
  89. title: 'No custom tools!',
  90. content: 'Add and manage your custom tools here for building AI apps.',
  91. createTool: 'Create Tool',
  92. },
  93. noSearchRes: {
  94. title: 'Sorry, no results!',
  95. content: 'We couldn\'t find any tools that match your search.',
  96. reset: 'Reset Search',
  97. },
  98. builtInPromptTitle: 'Prompt',
  99. toolRemoved: 'Tool removed',
  100. notAuthorized: 'Tool not authorized',
  101. }
  102. export default translation