You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303
  1. const translation = {
  2. metadata: {
  3. title: '插件',
  4. },
  5. category: {
  6. all: '全部',
  7. models: '模型',
  8. tools: '工具',
  9. agents: 'Agent 策略',
  10. extensions: '扩展',
  11. bundles: '插件集',
  12. },
  13. categorySingle: {
  14. model: '模型',
  15. tool: '工具',
  16. agent: 'Agent 策略',
  17. extension: '扩展',
  18. bundle: '插件集',
  19. },
  20. search: '搜索',
  21. allCategories: '所有类别',
  22. searchCategories: '搜索类别',
  23. searchPlugins: '搜索插件',
  24. from: '来自',
  25. findMoreInMarketplace: '在 Marketplace 中查找更多',
  26. searchInMarketplace: '在 Marketplace 中搜索',
  27. fromMarketplace: '来自市场',
  28. endpointsEnabled: '{{num}} 组端点已启用',
  29. searchTools: '搜索工具...',
  30. installPlugin: '安装插件',
  31. installFrom: '安装源',
  32. deprecated: '已弃用',
  33. list: {
  34. noInstalled: '无已安装的插件',
  35. notFound: '未找到插件',
  36. source: {
  37. marketplace: '从 Marketplace 安装',
  38. github: '从 GitHub 安装',
  39. local: '本地插件',
  40. },
  41. },
  42. source: {
  43. marketplace: 'Marketplace',
  44. github: 'GitHub',
  45. local: '本地插件',
  46. },
  47. detailPanel: {
  48. switchVersion: '切换版本',
  49. categoryTip: {
  50. marketplace: '从 Marketplace 安装',
  51. github: '从 Github 安装',
  52. local: '本地插件',
  53. debugging: '调试插件',
  54. },
  55. operation: {
  56. install: '安装',
  57. detail: '详情',
  58. update: '更新',
  59. info: '插件信息',
  60. checkUpdate: '检查更新',
  61. viewDetail: '查看详情',
  62. remove: '移除',
  63. },
  64. actionNum: '包含 {{num}} 个 {{action}}',
  65. strategyNum: '包含 {{num}} 个 {{strategy}}',
  66. endpoints: 'API 端点',
  67. endpointsTip: '此插件通过 API 端点提供特定功能,您可以为当前工作区配置多个 API 端点集。',
  68. endpointsDocLink: '查看文档',
  69. endpointsEmpty: '点击 \'+\' 按钮添加 API 端点',
  70. endpointDisableTip: '停用 API 端点',
  71. endpointDisableContent: '是否要停用 {{name}} 的 API 端点?',
  72. endpointDeleteTip: '移除 API 端点',
  73. endpointDeleteContent: '是否要移除 {{name}} ?',
  74. endpointModalTitle: '设置 API 端点',
  75. endpointModalDesc: '完成配置后可使用插件 API 端点提供的功能',
  76. serviceOk: '服务正常',
  77. disabled: '停用',
  78. modelNum: '{{num}} 模型已包含',
  79. toolSelector: {
  80. title: '添加工具',
  81. toolSetting: '工具设置',
  82. toolLabel: '工具',
  83. descriptionLabel: '工具描述',
  84. descriptionPlaceholder: '简要描述工具目的,例如,获取特定位置的温度。',
  85. placeholder: '选择工具',
  86. settings: '用户设置',
  87. params: '推理配置',
  88. paramsTip1: '控制 LLM 推理参数。',
  89. paramsTip2: '当“自动”关闭时,使用默认值。',
  90. auto: '自动',
  91. empty: '点击 "+" 按钮添加工具。您可以添加多个工具。',
  92. uninstalledTitle: '工具未安装',
  93. uninstalledContent: '此插件安装自 本地 / GitHub 仓库,请安装后使用。',
  94. uninstalledLink: '在插件中管理',
  95. unsupportedTitle: '不支持的 Action',
  96. unsupportedContent: '已安装的插件版本不提供这个 action。',
  97. unsupportedContent2: '点击切换版本',
  98. unsupportedMCPTool: '当前选定的 Agent 策略插件版本不支持 MCP 工具。',
  99. },
  100. configureApp: '应用设置',
  101. configureModel: '模型设置',
  102. configureTool: '工具设置',
  103. deprecation: {
  104. fullMessage: '由于{{deprecatedReason}},此插件已被弃用,将不再发布新版本。请使用<CustomLink href=\'https://example.com/\'>{{-alternativePluginId}}</CustomLink>替代。',
  105. onlyReason: '由于{{deprecatedReason}},此插件已被弃用,将不再发布新版本。',
  106. noReason: '此插件已被弃用,将不再发布新版本。',
  107. reason: {
  108. businessAdjustments: '业务调整',
  109. ownershipTransferred: '所有权转移',
  110. noMaintainer: '无人维护',
  111. },
  112. },
  113. },
  114. install: '{{num}} 次安装',
  115. installAction: '安装',
  116. debugInfo: {
  117. title: '调试',
  118. viewDocs: '查看文档',
  119. },
  120. privilege: {
  121. title: '插件偏好',
  122. whoCanInstall: '谁可以安装和管理插件?',
  123. whoCanDebug: '谁可以调试插件?',
  124. everyone: '所有人',
  125. admins: '管理员',
  126. noone: '无人',
  127. },
  128. autoUpdate: {
  129. automaticUpdates: '自动更新',
  130. updateTime: '更新时间',
  131. specifyPluginsToUpdate: '指定要更新的插件',
  132. strategy: {
  133. disabled: {
  134. name: '禁用',
  135. description: '插件将不会自动更新',
  136. },
  137. fixOnly: {
  138. name: '仅修复',
  139. description: '仅自动更新补丁版本(例如,1.0.1 → 1.0.2)。次要版本更改不会触发更新。',
  140. selectedDescription: '仅自动更新补丁版本',
  141. },
  142. latest: {
  143. name: '最新',
  144. description: '始终更新到最新版本',
  145. selectedDescription: '始终更新到最新版本',
  146. },
  147. },
  148. updateTimeTitle: '更新时间',
  149. upgradeMode: {
  150. all: '更新全部',
  151. exclude: '排除选定',
  152. partial: '仅选定',
  153. },
  154. upgradeModePlaceholder: {
  155. exclude: '选定的插件将不会自动更新',
  156. partial: '仅选定的插件将自动更新。目前未选择任何插件,因此不会自动更新任何插件。',
  157. },
  158. excludeUpdate: '以下 {{num}} 个插件将不会自动更新',
  159. partialUPdate: '仅以下 {{num}} 个插件将自动更新',
  160. operation: {
  161. clearAll: '清除所有',
  162. select: '选择插件',
  163. },
  164. nextUpdateTime: '下次自动更新时间: {{time}}',
  165. pluginDowngradeWarning: {
  166. title: '插件降级',
  167. description: '此插件目前已启用自动更新。降级版本可能会导致您的更改在下次自动更新时被覆盖。',
  168. downgrade: '仍然降级',
  169. exclude: '从自动更新中排除',
  170. },
  171. noPluginPlaceholder: {
  172. noFound: '未找到插件',
  173. noInstalled: '未安装插件',
  174. },
  175. updateSettings: '更新设置',
  176. changeTimezone: '要更改时区,请前往<setTimezone>设置</setTimezone>',
  177. },
  178. pluginInfoModal: {
  179. title: '插件信息',
  180. repository: '仓库',
  181. release: '发布版本',
  182. packageName: '包',
  183. },
  184. action: {
  185. checkForUpdates: '检查更新',
  186. pluginInfo: '插件信息',
  187. delete: '移除插件',
  188. deleteContentLeft: '是否要移除 ',
  189. deleteContentRight: ' 插件?',
  190. usedInApps: '此插件正在 {{num}} 个应用中使用。',
  191. },
  192. installModal: {
  193. installPlugin: '安装插件',
  194. installComplete: '安装完成',
  195. installedSuccessfully: '安装成功',
  196. installedSuccessfullyDesc: '插件已成功安装。',
  197. uploadFailed: '上传失败',
  198. installFailed: '安装失败',
  199. installFailedDesc: '插件安装失败。',
  200. install: '安装',
  201. installing: '安装中...',
  202. uploadingPackage: '上传 {{packageName}} 中...',
  203. readyToInstall: '即将安装以下插件',
  204. readyToInstallPackage: '即将安装以下插件',
  205. readyToInstallPackages: '即将安装以下 {{num}} 个插件',
  206. fromTrustSource: '请保证仅从<trustSource>可信源</trustSource>安装插件。',
  207. dropPluginToInstall: '拖放插件包到此处安装',
  208. labels: {
  209. repository: '仓库',
  210. version: '版本',
  211. package: '包',
  212. },
  213. close: '关闭',
  214. cancel: '取消',
  215. back: '返回',
  216. next: '下一步',
  217. pluginLoadError: '插件加载错误',
  218. pluginLoadErrorDesc: '此插件将不会被安装',
  219. installWarning: '此插件不允许安装。',
  220. },
  221. installFromGitHub: {
  222. installPlugin: '从 GitHub 安装插件',
  223. updatePlugin: '更新来自 GitHub 的插件',
  224. installedSuccessfully: '安装成功',
  225. installFailed: '安装失败',
  226. uploadFailed: '上传失败',
  227. gitHubRepo: 'GitHub 仓库',
  228. selectVersion: '选择版本',
  229. selectVersionPlaceholder: '请选择一个版本',
  230. installNote: '请确保只从可信源安装插件。',
  231. selectPackage: '选择包',
  232. selectPackagePlaceholder: '请选择一个包',
  233. },
  234. upgrade: {
  235. title: '安装插件',
  236. successfulTitle: '安装成功',
  237. description: '即将安装以下插件',
  238. usedInApps: '在 {{num}} 个应用中使用',
  239. upgrade: '安装',
  240. upgrading: '安装中...',
  241. close: '关闭',
  242. },
  243. error: {
  244. inValidGitHubUrl: '无效的 GitHub URL。请输入格式为 https://github.com/owner/repo 的有效 URL',
  245. fetchReleasesError: '无法获取发布版本。请稍后再试。',
  246. noReleasesFound: '未找到发布版本。请检查 GitHub 仓库或输入的 URL。',
  247. },
  248. marketplace: {
  249. empower: '助力您的 AI 开发',
  250. discover: '探索',
  251. and: '和',
  252. difyMarketplace: 'Dify 市场',
  253. moreFrom: '更多来自市场',
  254. noPluginFound: '未找到插件',
  255. pluginsResult: '{{num}} 个插件结果',
  256. sortBy: '排序方式',
  257. sortOption: {
  258. mostPopular: '最受欢迎',
  259. recentlyUpdated: '最近更新',
  260. newlyReleased: '最新发布',
  261. firstReleased: '首次发布',
  262. },
  263. viewMore: '查看更多',
  264. verifiedTip: '此插件由 Dify 认证',
  265. partnerTip: '此插件由 Dify 合作伙伴认证',
  266. },
  267. task: {
  268. installing: '{{installingLength}} 个插件安装中,0 已完成',
  269. installingWithSuccess: '{{installingLength}} 个插件安装中,{{successLength}} 安装成功',
  270. installingWithError: '{{installingLength}} 个插件安装中,{{successLength}} 安装成功,{{errorLength}} 安装失败',
  271. installError: '{{errorLength}} 个插件安装失败,点击查看',
  272. installedError: '{{errorLength}} 个插件安装失败',
  273. clearAll: '清除所有',
  274. },
  275. requestAPlugin: '申请插件',
  276. publishPlugins: '发布插件',
  277. difyVersionNotCompatible: '当前 Dify 版本不兼容该插件,其最低版本要求为 {{minimalDifyVersion}}',
  278. auth: {
  279. default: '默认',
  280. custom: '自定义',
  281. setDefault: '设为默认',
  282. useOAuth: '使用 OAuth',
  283. useOAuthAuth: '使用 OAuth 授权',
  284. addOAuth: '添加 OAuth',
  285. setupOAuth: '设置 OAuth 客户端',
  286. useApi: '使用 API Key',
  287. addApi: '添加 API Key',
  288. useApiAuth: 'API Key 授权配置',
  289. useApiAuthDesc: '配置凭据后,工作区内的所有成员在编排应用时都可以使用此工具。',
  290. oauthClientSettings: 'OAuth 客户端设置',
  291. saveOnly: '仅保存',
  292. saveAndAuth: '保存并授权',
  293. authorization: '凭据',
  294. authorizations: '凭据',
  295. authorizationName: '凭据名称',
  296. workspaceDefault: '工作区默认',
  297. authRemoved: '凭据已移除',
  298. clientInfo: '由于未找到此工具提供者的系统客户端密钥,因此需要手动设置,对于 redirect_uri,请使用',
  299. oauthClient: 'OAuth 客户端',
  300. },
  301. }
  302. export default translation