Support OAuth Integration for Plugin Tools (#22550)
Co-authored-by: zxhlyh <jasonapring2015@outlook.com> Co-authored-by: Yeuoly <admin@srmxy.cn>
This commit is contained in:
parent
965e952336
commit
a4ef900916
89 changed files with 5516 additions and 875 deletions
|
|
@ -214,6 +214,29 @@ const translation = {
|
|||
requestAPlugin: 'Request a plugin',
|
||||
publishPlugins: 'Publish plugins',
|
||||
difyVersionNotCompatible: 'The current Dify version is not compatible with this plugin, please upgrade to the minimum version required: {{minimalDifyVersion}}',
|
||||
auth: {
|
||||
default: 'Default',
|
||||
custom: 'Custom',
|
||||
setDefault: 'Set as default',
|
||||
useOAuth: 'Use OAuth',
|
||||
useOAuthAuth: 'Use OAuth Authorization',
|
||||
addOAuth: 'Add OAuth',
|
||||
setupOAuth: 'Setup OAuth Client',
|
||||
useApi: 'Use API Key',
|
||||
addApi: 'Add API Key',
|
||||
useApiAuth: 'API Key Authorization Configuration',
|
||||
useApiAuthDesc: 'After configuring credentials, all members within the workspace can use this tool when orchestrating applications.',
|
||||
oauthClientSettings: 'OAuth Client Settings',
|
||||
saveOnly: 'Save only',
|
||||
saveAndAuth: 'Save and Authorize',
|
||||
authorization: 'Authorization',
|
||||
authorizations: 'Authorizations',
|
||||
authorizationName: 'Authorization Name',
|
||||
workspaceDefault: 'Workspace Default',
|
||||
authRemoved: 'Auth removed',
|
||||
clientInfo: 'As no system client secrets found for this tool provider, setup it manually is required, for redirect_uri, please use',
|
||||
oauthClient: 'OAuth Client',
|
||||
},
|
||||
}
|
||||
|
||||
export default translation
|
||||
|
|
|
|||
|
|
@ -214,6 +214,29 @@ const translation = {
|
|||
requestAPlugin: '申请插件',
|
||||
publishPlugins: '发布插件',
|
||||
difyVersionNotCompatible: '当前 Dify 版本不兼容该插件,其最低版本要求为 {{minimalDifyVersion}}',
|
||||
auth: {
|
||||
default: '默认',
|
||||
custom: '自定义',
|
||||
setDefault: '设为默认',
|
||||
useOAuth: '使用 OAuth',
|
||||
useOAuthAuth: '使用 OAuth 授权',
|
||||
addOAuth: '添加 OAuth',
|
||||
setupOAuth: '设置 OAuth 客户端',
|
||||
useApi: '使用 API Key',
|
||||
addApi: '添加 API Key',
|
||||
useApiAuth: 'API Key 授权配置',
|
||||
useApiAuthDesc: '配置凭据后,工作区内的所有成员在编排应用时都可以使用此工具。',
|
||||
oauthClientSettings: 'OAuth 客户端设置',
|
||||
saveOnly: '仅保存',
|
||||
saveAndAuth: '保存并授权',
|
||||
authorization: '凭据',
|
||||
authorizations: '凭据',
|
||||
authorizationName: '凭据名称',
|
||||
workspaceDefault: '工作区默认',
|
||||
authRemoved: '凭据已移除',
|
||||
clientInfo: '由于未找到此工具提供者的系统客户端密钥,因此需要手动设置,对于 redirect_uri,请使用',
|
||||
oauthClient: 'OAuth 客户端',
|
||||
},
|
||||
}
|
||||
|
||||
export default translation
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue