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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238
  1. const translation = {
  2. title: '工具',
  3. createCustomTool: '建立自定義工具',
  4. type: {
  5. all: '全部',
  6. builtIn: '內建',
  7. custom: '自定義',
  8. workflow: '工作流',
  9. },
  10. contribute: {
  11. line1: '我有興趣為 ',
  12. line2: 'Dify 貢獻工具。',
  13. viewGuide: '檢視指南',
  14. },
  15. author: '作者',
  16. auth: {
  17. authorized: '已授權',
  18. setup: '要使用請先授權',
  19. setupModalTitle: '設定授權',
  20. setupModalTitleDescription: '配置憑據後,工作區中的所有成員都可以在編排應用程式時使用此工具。',
  21. },
  22. includeToolNum: '包含 {{num}} 個工具',
  23. addTool: '新增工具',
  24. createTool: {
  25. title: '建立自定義工具',
  26. editAction: '編輯',
  27. editTitle: '編輯自定義工具',
  28. name: '名稱',
  29. toolNamePlaceHolder: '輸入工具名稱',
  30. schema: 'Schema',
  31. schemaPlaceHolder: '在此處輸入您的 OpenAPI schema',
  32. viewSchemaSpec: '檢視 OpenAPI-Swagger 規範',
  33. importFromUrl: '從 URL 中匯入',
  34. importFromUrlPlaceHolder: 'https://...',
  35. urlError: '請輸入有效的 URL',
  36. examples: '例子',
  37. exampleOptions: {
  38. json: '天氣 (JSON)',
  39. yaml: '寵物商店 (YAML)',
  40. blankTemplate: '空白模版',
  41. },
  42. availableTools: {
  43. title: '可用工具',
  44. name: '名稱',
  45. description: '描述',
  46. method: '方法',
  47. path: '路徑',
  48. action: '操作',
  49. test: '測試',
  50. },
  51. authMethod: {
  52. title: '鑑權方法',
  53. type: '鑑權型別',
  54. keyTooltip: 'HTTP 頭部名稱,如果你不知道是什麼,可以將其保留為 Authorization 或設定為自定義值',
  55. types: {
  56. none: '無',
  57. api_key: 'API Key',
  58. apiKeyPlaceholder: 'HTTP 頭部名稱,用於傳遞 API Key',
  59. apiValuePlaceholder: '輸入 API Key',
  60. api_key_query: '查詢參數',
  61. queryParamPlaceholder: 'API 金鑰的查詢參數名稱',
  62. api_key_header: '標題',
  63. },
  64. key: '鍵',
  65. value: '值',
  66. queryParam: '查詢參數',
  67. queryParamTooltip: '要傳遞的 API 金鑰查詢參數的名稱,例如在 "https://example.com/test?key=API_KEY" 中的 "key"。',
  68. },
  69. authHeaderPrefix: {
  70. title: '鑑權頭部字首',
  71. types: {
  72. basic: 'Basic',
  73. bearer: 'Bearer',
  74. custom: 'Custom',
  75. },
  76. },
  77. privacyPolicy: '隱私協議',
  78. privacyPolicyPlaceholder: '請輸入隱私協議',
  79. customDisclaimer: '自定義免責聲明',
  80. customDisclaimerPlaceholder: '請輸入自定義免責聲明',
  81. deleteToolConfirmTitle: '刪除這個工具?',
  82. deleteToolConfirmContent: '刪除工具是不可逆的。用戶將無法再訪問您的工具。',
  83. toolInput: {
  84. labelPlaceholder: '選擇標籤(選擇標籤)',
  85. label: '標籤',
  86. required: '必填',
  87. methodSettingTip: '用戶填寫工具配置',
  88. name: '名字',
  89. description: '描述',
  90. methodParameterTip: '推理期間 LLM 填充',
  91. method: '方法',
  92. title: '工具輸入',
  93. methodSetting: '設置',
  94. methodParameter: '參數',
  95. descriptionPlaceholder: '參數含義的描述',
  96. },
  97. description: '描述',
  98. nameForToolCall: '工具調用名稱',
  99. confirmTitle: '確認儲存?',
  100. descriptionPlaceholder: '工具用途的簡要描述,例如,獲取特定位置的溫度。',
  101. nameForToolCallTip: '僅支援數位、字母和下劃線。',
  102. confirmTip: '使用此工具的應用程式將受到影響',
  103. nameForToolCallPlaceHolder: '用於機器識別,例如 getCurrentWeather、list_pets',
  104. },
  105. test: {
  106. title: '測試',
  107. parametersValue: '引數和值',
  108. parameters: '引數',
  109. value: '值',
  110. testResult: '測試結果',
  111. testResultPlaceholder: '測試結果將顯示在這裡',
  112. },
  113. thought: {
  114. using: '正在使用',
  115. used: '已使用',
  116. requestTitle: '請求來自',
  117. responseTitle: '響應來自',
  118. },
  119. setBuiltInTools: {
  120. info: '資訊',
  121. setting: '設定',
  122. toolDescription: '工具描述',
  123. parameters: '引數',
  124. string: '字串',
  125. number: '數字',
  126. required: '必填',
  127. infoAndSetting: '資訊和設定',
  128. file: '檔',
  129. },
  130. noCustomTool: {
  131. title: '沒有自定義工具!',
  132. content: '在此統一新增和管理你的自定義工具,方便構建應用時使用。',
  133. createTool: '建立工具',
  134. },
  135. noSearchRes: {
  136. title: '抱歉,沒有結果!',
  137. content: '我們找不到任何與您的搜尋相匹配的工具。',
  138. reset: '重置搜尋',
  139. },
  140. builtInPromptTitle: '提示詞',
  141. toolRemoved: '工具已被移除',
  142. notAuthorized: '工具未授權',
  143. howToGet: '如何獲取',
  144. addToolModal: {
  145. add: '加',
  146. type: '類型',
  147. added: '添加',
  148. manageInTools: '在工具中管理',
  149. category: '類別',
  150. custom: {
  151. title: '沒有可用的自訂工具',
  152. tip: '創建一個自訂工具',
  153. },
  154. workflow: {
  155. title: '沒有可用的工作流程工具',
  156. tip: '在 Studio 中將工作流程發佈為工具',
  157. },
  158. mcp: {
  159. title: '沒有可用的 MCP 工具',
  160. tip: '新增一個 MCP 伺服器',
  161. },
  162. agent: {
  163. title: '沒有可用的代理策略',
  164. },
  165. },
  166. customToolTip: '瞭解有關 Dify 自訂工具的更多資訊',
  167. toolNameUsageTip: '用於代理推理和提示的工具調用名稱',
  168. openInStudio: '在 Studio 中打開',
  169. noTools: '未找到工具',
  170. copyToolName: '複製名稱',
  171. mcp: {
  172. create: {
  173. cardTitle: '新增 MCP 伺服器 (HTTP)',
  174. cardLink: '了解更多關於 MCP 伺服器整合',
  175. },
  176. noConfigured: '未配置的伺服器',
  177. updateTime: '已更新',
  178. toolsCount: '{{count}} 個工具',
  179. noTools: '沒有可用的工具',
  180. modal: {
  181. title: '新增 MCP 伺服器 (HTTP)',
  182. editTitle: '編輯 MCP 伺服器 (HTTP)',
  183. name: '名稱與圖示',
  184. namePlaceholder: '為您的 MCP 伺服器命名',
  185. serverUrl: '伺服器 URL',
  186. serverUrlPlaceholder: '伺服器端點的 URL',
  187. serverUrlWarning: '更新伺服器地址可能會干擾依賴於此伺服器的應用程式',
  188. serverIdentifier: '伺服器識別碼',
  189. serverIdentifierTip: '在工作區內 MCP 伺服器的唯一識別碼。僅限小寫字母、數字、底線和連字符。最多 24 個字元。',
  190. serverIdentifierPlaceholder: '唯一識別碼,例如:my-mcp-server',
  191. serverIdentifierWarning: '更改 ID 之後,現有應用程式將無法識別伺服器',
  192. cancel: '取消',
  193. save: '儲存',
  194. confirm: '新增並授權',
  195. },
  196. delete: '刪除 MCP 伺服器',
  197. deleteConfirmTitle: '您確定要刪除 {{mcp}} 嗎?',
  198. operation: {
  199. edit: '編輯',
  200. remove: '移除',
  201. },
  202. authorize: '授權',
  203. authorizing: '正在授權...',
  204. authorizingRequired: '需要授權',
  205. authorizeTip: '授權後,這裡將顯示工具。',
  206. update: '更新',
  207. updating: '更新中',
  208. gettingTools: '獲取工具...',
  209. updateTools: '更新工具...',
  210. toolsEmpty: '工具未加載',
  211. getTools: '獲取工具',
  212. toolUpdateConfirmTitle: '更新工具列表',
  213. toolUpdateConfirmContent: '更新工具列表可能會影響現有應用程式。您要繼續嗎?',
  214. toolsNum: '{{count}} 個工具包含',
  215. onlyTool: '包含 1 個工具',
  216. identifier: '伺服器識別碼 (點擊複製)',
  217. server: {
  218. title: 'MCP 伺服器',
  219. url: '伺服器 URL',
  220. reGen: '您想要重新生成伺服器 URL 嗎?',
  221. addDescription: '新增描述',
  222. edit: '編輯描述',
  223. modal: {
  224. addTitle: '新增描述以啟用 MCP 伺服器',
  225. editTitle: '編輯描述',
  226. description: '描述',
  227. descriptionPlaceholder: '說明此工具的用途及如何被 LLM 使用',
  228. parameters: '參數',
  229. parametersTip: '為每個參數添加描述,以幫助 LLM 理解其目的和約束。',
  230. parametersPlaceholder: '參數的目的和約束',
  231. confirm: '啟用 MCP 伺服器',
  232. },
  233. publishTip: '應用程式尚未發布。請先發布應用程式。',
  234. },
  235. },
  236. }
  237. export default translation