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',

View File

@@ -84,6 +84,16 @@ const translation = {
actionNum: '{{num}} {{action}} が含まれています',
endpointsDocLink: 'ドキュメントを表示する',
switchVersion: 'バージョンの切り替え',
deprecation: {
fullMessage: 'このプラグインは{{deprecatedReason}}のため非推奨となり、新しいバージョンはリリースされません。代わりに<CustomLink href=\'https://example.com/\'>{{-alternativePluginId}}</CustomLink>をご利用ください。',
onlyReason: 'このプラグインは{{deprecatedReason}}のため非推奨となり、新しいバージョンはリリースされません。',
noReason: 'このプラグインは廃止されており、今後更新されることはありません。',
reason: {
businessAdjustments: '事業調整',
ownershipTransferred: '所有権移転',
noMaintainer: 'メンテナーの不足',
},
},
},
debugInfo: {
title: 'デバッグ',
@@ -198,6 +208,7 @@ const translation = {
install: '{{num}} インストール',
installAction: 'インストール',
installFrom: 'インストール元',
deprecated: '非推奨',
searchPlugins: '検索プラグイン',
search: '検索',
endpointsEnabled: '{{num}} セットのエンドポイントが有効になりました',

View File

@@ -29,6 +29,7 @@ const translation = {
searchTools: '搜索工具...',
installPlugin: '安装插件',
installFrom: '安装源',
deprecated: '已弃用',
list: {
noInstalled: '无已安装的插件',
notFound: '未找到插件',
@@ -99,6 +100,16 @@ const translation = {
configureApp: '应用设置',
configureModel: '模型设置',
configureTool: '工具设置',
deprecation: {
fullMessage: '由于{{deprecatedReason}},此插件已被弃用,将不再发布新版本。请使用<CustomLink href=\'https://example.com/\'>{{-alternativePluginId}}</CustomLink>替代。',
onlyReason: '由于{{deprecatedReason}},此插件已被弃用,将不再发布新版本。',
noReason: '此插件已被弃用,将不再发布新版本。',
reason: {
businessAdjustments: '业务调整',
ownershipTransferred: '所有权转移',
noMaintainer: '无人维护',
},
},
},
install: '{{num}} 次安装',
installAction: '安装',