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

@@ -34,6 +34,11 @@ const AppsFull: FC<{ loc: string; className?: string }> = ({ loc, className }) =
const percent = total > 0 ? (usage / total) * 100 : 0
const tone: MeterTone = percent >= 80 ? 'error' : percent >= 50 ? 'warning' : 'neutral'
const buildAppsLabel = t(($) => $['usagePage.buildApps'], { ns: 'billing' })
const supportHref = mailToSupport(
accountProfile.email,
billing.plan,
accountProfile.currentVersion ?? '',
)
return (
<div
className={cn(
@@ -65,15 +70,11 @@ const AppsFull: FC<{ loc: string; className?: string }> = ({ loc, className }) =
{(billing.plan === 'sandbox' || billing.plan === 'professional') && (
<UpgradeBtn isShort loc={loc} />
)}
{billing.plan !== 'sandbox' && billing.plan !== 'professional' && (
{billing.plan !== 'sandbox' && billing.plan !== 'professional' && supportHref && (
<a
target="_blank"
rel="noopener noreferrer"
href={mailToSupport(
accountProfile.email,
billing.plan,
accountProfile.currentVersion ?? '',
)}
href={supportHref}
className={buttonVariants({ variant: 'secondary-accent' })}
>
{t(($) => $['apps.contactUs'], { ns: 'billing' })}