feat: plugin deprecation notice (#22685)

Co-authored-by: Wu Tianwei <30284043+WTW0313@users.noreply.github.com>
Co-authored-by: twwu <twwu@dify.ai>
This commit is contained in:
Junyan Qin (Chin)
2025-07-22 10:27:35 +08:00
committed by GitHub
parent eb06de0921
commit 2d8eace34b
11 changed files with 241 additions and 33 deletions

View File

@@ -29,6 +29,7 @@ const translation = {
searchTools: 'Search tools...',
installPlugin: 'Install plugin',
installFrom: 'INSTALL FROM',
deprecated: 'Deprecated',
list: {
noInstalled: 'No plugins installed',
notFound: 'No plugins found',
@@ -99,6 +100,16 @@ const translation = {
configureApp: 'Configure App',
configureModel: 'Configure model',
configureTool: 'Configure tool',
deprecation: {
fullMessage: 'This plugin has been deprecated due to {{deprecatedReason}}, and will no longer be updated. Please use <CustomLink href=\'https://example.com/\'>{{-alternativePluginId}}</CustomLink> instead.',
onlyReason: 'This plugin has been deprecated due to {{deprecatedReason}} and will no longer be updated.',
noReason: 'This plugin has been deprecated and will no longer be updated.',
reason: {
businessAdjustments: 'business adjustments',
ownershipTransferred: 'ownership transferred',
noMaintainer: 'no maintainer',
},
},
},
install: '{{num}} installs',
installAction: 'Install',