feat(dify): 把本地控制台的中文与去外链改动入库

这些界面改动和专家服务草稿停在工作区,没有随上一笔主分支提交进入仓库。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
wuzilongandCursor committed 2026-11-23 09:44:09 +08:00
1 parent 9c7c80e194
commit c2cb845a32
211 files changed
+3030 -2794

No files matched your search

@@ -5,7 +5,6 @@ import * as React from 'react'
import { useMemo } from 'react'
import { Trans } from 'react-i18next'
import { useTranslation } from '#i18n'
import Link from '@/next/link'
type DeprecationNoticeProps = {
status: 'deleted' | 'active'
@@ -32,7 +31,6 @@ const DeprecationNotice: FC<DeprecationNoticeProps> = ({
status,
deprecatedReason,
alternativePluginId,
alternativePluginURL,
className,
}) => {
const { t } = useTranslation(['plugin'])
@@ -58,14 +56,7 @@ const DeprecationNotice: FC<DeprecationNoticeProps> = ({
i18nKey={($) => $[`${i18nPrefix}.fullMessage`]}
ns="plugin"
components={{
CustomLink: (
<Link
href={alternativePluginURL}
target="_blank"
rel="noopener noreferrer"
className="underline"
/>
),
CustomLink: <span />,
}}
values={{
deprecatedReason: deprecatedReasonKey