Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

plugin.ts 11KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302
  1. const translation = {
  2. category: {
  3. tools: '工具',
  4. models: '模型',
  5. extensions: '擴展',
  6. agents: '代理策略',
  7. all: '都',
  8. bundles: '束',
  9. },
  10. categorySingle: {
  11. model: '型',
  12. extension: '外延',
  13. agent: '代理策略',
  14. tool: '工具',
  15. bundle: '捆',
  16. },
  17. list: {
  18. source: {
  19. local: '從本地包檔安裝',
  20. github: '從 GitHub 安裝',
  21. marketplace: '從 Marketplace 安裝',
  22. },
  23. noInstalled: '未安裝插件',
  24. notFound: '未找到插件',
  25. },
  26. source: {
  27. marketplace: '市場',
  28. local: '本地包檔',
  29. github: 'GitHub 的',
  30. },
  31. detailPanel: {
  32. categoryTip: {
  33. marketplace: '從 Marketplace 安裝',
  34. debugging: '調試插件',
  35. github: '從 Github 安裝',
  36. local: '本地插件',
  37. },
  38. operation: {
  39. info: '插件資訊',
  40. detail: '詳',
  41. remove: '刪除',
  42. install: '安裝',
  43. viewDetail: '查看詳情',
  44. update: '更新',
  45. checkUpdate: '檢查更新',
  46. },
  47. toolSelector: {
  48. uninstalledContent: '此插件是從 local/GitHub 儲存庫安裝的。請在安裝後使用。',
  49. descriptionLabel: '工具描述',
  50. params: '推理配置',
  51. paramsTip2: '當 \'Automatic\' 關閉時,使用預設值。',
  52. descriptionPlaceholder: '工具用途的簡要描述,例如,獲取特定位置的溫度。',
  53. toolLabel: '工具',
  54. unsupportedTitle: '不支援的作',
  55. placeholder: '選擇工具...',
  56. uninstalledTitle: '未安裝工具',
  57. auto: '自動',
  58. title: '添加工具',
  59. unsupportedContent: '已安裝的插件版本不提供此作。',
  60. settings: '用戶設置',
  61. uninstalledLink: '在插件中管理',
  62. empty: '點擊 『+』 按鈕添加工具。您可以新增多個工具。',
  63. unsupportedContent2: '按兩下以切換版本。',
  64. paramsTip1: '控制 LLM 推理參數。',
  65. toolSetting: '工具設定',
  66. unsupportedMCPTool: '目前選定的代理策略插件版本不支持 MCP 工具。',
  67. },
  68. actionNum: '{{num}}{{作}}包括',
  69. switchVersion: 'Switch 版本',
  70. strategyNum: '{{num}}{{策略}}包括',
  71. endpoints: '端點',
  72. endpointDisableTip: '禁用端點',
  73. endpointsTip: '此插件通過終端節點提供特定功能,您可以為當前工作區配置多個終端節點集。',
  74. modelNum: '{{num}}包含的型號',
  75. endpointsEmpty: '按兩下「+」按鈕添加端點',
  76. endpointDisableContent: '您想禁用 {{name}} 嗎?',
  77. configureApp: '配置 App',
  78. endpointDeleteContent: '您想刪除 {{name}} 嗎?',
  79. configureTool: '配置工具',
  80. endpointModalDesc: '配置后,即可使用插件通過 API 端點提供的功能。',
  81. disabled: '禁用',
  82. serviceOk: '服務正常',
  83. endpointDeleteTip: '刪除端點',
  84. configureModel: '配置模型',
  85. endpointModalTitle: '設置終端節點',
  86. endpointsDocLink: '查看文件',
  87. deprecation: {
  88. reason: {
  89. businessAdjustments: '業務調整',
  90. ownershipTransferred: '所有權轉移',
  91. noMaintainer: '沒有維護者',
  92. },
  93. noReason: '此插件已被廢棄,將不再進行更新。',
  94. onlyReason: '此插件因為 {{deprecatedReason}} 而被棄用,將不再更新。',
  95. fullMessage: '由於 {{deprecatedReason}},此插件已被棄用,將不再更新。請改用 <CustomLink href=\'https://example.com/\'>{{-alternativePluginId}}</CustomLink>。',
  96. },
  97. },
  98. debugInfo: {
  99. viewDocs: '查看文件',
  100. title: '調試',
  101. },
  102. privilege: {
  103. whoCanDebug: '誰可以調試插件?',
  104. whoCanInstall: '誰可以安裝和管理插件?',
  105. noone: '沒人',
  106. title: '插件首選項',
  107. everyone: '每個人 都',
  108. admins: '管理員',
  109. },
  110. pluginInfoModal: {
  111. repository: '存儲庫',
  112. release: '釋放',
  113. title: '插件資訊',
  114. packageName: '包',
  115. },
  116. action: {
  117. deleteContentRight: '插件?',
  118. deleteContentLeft: '是否要刪除',
  119. usedInApps: '此插件正在 {{num}} 個應用程式中使用。',
  120. pluginInfo: '插件資訊',
  121. checkForUpdates: '檢查更新',
  122. delete: '刪除插件',
  123. },
  124. installModal: {
  125. labels: {
  126. repository: '存儲庫',
  127. version: '版本',
  128. package: '包',
  129. },
  130. readyToInstallPackage: '即將安裝以下插件',
  131. back: '返回',
  132. installFailed: '安裝失敗',
  133. readyToInstallPackages: '即將安裝以下 {{num}} 個插件',
  134. next: '下一個',
  135. dropPluginToInstall: '將插件包拖放到此處進行安裝',
  136. pluginLoadError: '插件載入錯誤',
  137. installedSuccessfully: '安裝成功',
  138. uploadFailed: '上傳失敗',
  139. installFailedDesc: '插件安裝失敗。',
  140. fromTrustSource: '請確保您只從<trustSource>受信任的來源</trustSource>安裝插件。',
  141. pluginLoadErrorDesc: '此插件將不會被安裝',
  142. installComplete: '安裝完成',
  143. install: '安裝',
  144. installedSuccessfullyDesc: '插件已成功安裝。',
  145. close: '關閉',
  146. uploadingPackage: '正在上傳 {{packageName}}...',
  147. readyToInstall: '即將安裝以下插件',
  148. cancel: '取消',
  149. installPlugin: '安裝插件',
  150. installing: '安裝。。。',
  151. installWarning: '此插件不允許安裝。',
  152. },
  153. installFromGitHub: {
  154. gitHubRepo: 'GitHub 儲存庫',
  155. selectPackagePlaceholder: '請選擇一個套餐',
  156. installFailed: '安裝失敗',
  157. uploadFailed: '上傳失敗',
  158. selectVersion: '選擇版本',
  159. selectVersionPlaceholder: '請選擇一個版本',
  160. updatePlugin: '從 GitHub 更新插件',
  161. installPlugin: '從 GitHub 安裝插件',
  162. installedSuccessfully: '安裝成功',
  163. selectPackage: '選擇套餐',
  164. installNote: '請確保您只從受信任的來源安裝插件。',
  165. },
  166. upgrade: {
  167. close: '關閉',
  168. title: '安裝插件',
  169. upgrade: '安裝',
  170. upgrading: '安裝。。。',
  171. description: '即將安裝以下插件',
  172. usedInApps: '用於 {{num}} 個應用',
  173. successfulTitle: '安裝成功',
  174. },
  175. error: {
  176. noReleasesFound: '未找到版本。請檢查 GitHub 儲存庫或輸入 URL。',
  177. fetchReleasesError: '無法檢索發行版。請稍後重試。',
  178. inValidGitHubUrl: 'GitHub URL 無效。請輸入有效的 URL,格式為:https://github.com/owner/repo',
  179. },
  180. marketplace: {
  181. sortOption: {
  182. recentlyUpdated: '最近更新',
  183. newlyReleased: '新發佈',
  184. firstReleased: '首次發佈',
  185. mostPopular: '最受歡迎',
  186. },
  187. discover: '發現',
  188. noPluginFound: '未找到插件',
  189. empower: '為您的 AI 開發提供支援',
  190. moreFrom: '來自 Marketplace 的更多內容',
  191. and: '和',
  192. sortBy: '排序方式',
  193. viewMore: '查看更多',
  194. difyMarketplace: 'Dify 市場',
  195. pluginsResult: '{{num}} 個結果',
  196. verifiedTip: '由 Dify 驗證',
  197. partnerTip: '由 Dify 合作夥伴驗證',
  198. },
  199. task: {
  200. installingWithError: '安裝 {{installingLength}} 個插件,{{successLength}} 成功,{{errorLength}} 失敗',
  201. installedError: '{{errorLength}} 個插件安裝失敗',
  202. installError: '{{errorLength}} 個插件安裝失敗,點擊查看',
  203. installingWithSuccess: '安裝 {{installingLength}} 個插件,{{successLength}} 成功。',
  204. clearAll: '全部清除',
  205. installing: '安裝 {{installingLength}} 個插件,0 個完成。',
  206. },
  207. requestAPlugin: '申请插件',
  208. publishPlugins: '發佈插件',
  209. findMoreInMarketplace: '在 Marketplace 中查找更多內容',
  210. installPlugin: '安裝插件',
  211. search: '搜索',
  212. allCategories: '全部分類',
  213. from: '從',
  214. searchPlugins: '搜索插件',
  215. searchTools: '搜尋工具...',
  216. installAction: '安裝',
  217. installFrom: '安裝起始位置',
  218. searchInMarketplace: '在 Marketplace 中搜索',
  219. install: '{{num}} 次安裝',
  220. endpointsEnabled: '{{num}} 組已啟用端點',
  221. fromMarketplace: '從 Marketplace',
  222. searchCategories: '搜索類別',
  223. metadata: {
  224. title: '插件',
  225. },
  226. difyVersionNotCompatible: '當前的 Dify 版本與此插件不兼容,請升級至所需的最低版本:{{minimalDifyVersion}}',
  227. auth: {
  228. setDefault: '設置為默認',
  229. useOAuth: '使用 OAuth',
  230. saveAndAuth: '保存並授權',
  231. oauthClientSettings: 'OAuth 客戶端設置',
  232. setupOAuth: '設置 OAuth 客戶端',
  233. saveOnly: '僅保存',
  234. addApi: '添加 API 金鑰',
  235. custom: '自訂',
  236. addOAuth: '添加 OAuth',
  237. useOAuthAuth: '使用 OAuth 授權',
  238. authorization: '授權',
  239. oauthClient: 'OAuth 客戶端',
  240. authRemoved: '授權已被移除',
  241. authorizationName: '授權名稱',
  242. default: '默認',
  243. workspaceDefault: '工作區域默認',
  244. authorizations: '授權',
  245. useApiAuth: 'API 金鑰授權配置',
  246. useApi: '使用 API 金鑰',
  247. clientInfo: '由於未找到此工具提供者的系統客戶端秘密,因此需要手動設置,對於 redirect_uri,請使用',
  248. useApiAuthDesc: '配置完憑證後,工作區內的所有成員在協調應用程式時都可以使用此工具。',
  249. },
  250. deprecated: '不推薦使用的',
  251. autoUpdate: {
  252. strategy: {
  253. disabled: {
  254. description: '插件將不會自動更新',
  255. name: '殘疾的',
  256. },
  257. fixOnly: {
  258. name: '僅修理',
  259. selectedDescription: '僅限於修補版本的自動更新',
  260. },
  261. latest: {
  262. description: '始終更新至最新版本',
  263. name: '最新',
  264. selectedDescription: '始終更新至最新版本',
  265. },
  266. },
  267. upgradeMode: {
  268. all: '更新所有',
  269. exclude: '排除選定的',
  270. partial: '僅選擇',
  271. },
  272. upgradeModePlaceholder: {
  273. partial: '只有選定的插件會自動更新。目前未選定任何插件,因此不會自動更新任何插件。',
  274. exclude: '選定的插件將不會自動更新',
  275. },
  276. operation: {
  277. select: '選擇插件',
  278. clearAll: '清除所有',
  279. },
  280. pluginDowngradeWarning: {
  281. downgrade: '無論如何降級',
  282. title: '插件降級',
  283. exclude: '排除自動更新',
  284. description: '這個插件目前已啟用自動更新。降級版本可能會導致您的更改在下一次自動更新時被覆蓋。',
  285. },
  286. noPluginPlaceholder: {
  287. noInstalled: '沒有安裝插件',
  288. noFound: '未找到任何外掛',
  289. },
  290. automaticUpdates: '自動更新',
  291. updateTime: '更新時間',
  292. updateTimeTitle: '更新時間',
  293. updateSettings: '更新設定',
  294. partialUPdate: '只有以下 {{num}} 個插件將自動更新',
  295. excludeUpdate: '以下 {{num}} 個插件將不會自動更新',
  296. nextUpdateTime: '下次自動更新:{{time}}',
  297. specifyPluginsToUpdate: '指定要更新的插件',
  298. changeTimezone: '要更改時區,請前往<setTimezone>設定</setTimezone>',
  299. },
  300. }
  301. export default translation