From 217d117778ff0f54472fed205a27d73362e6a246 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 7 Oct 2026 01:50:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E6=A1=88:=E6=96=87=E4=BB=B6=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E6=A0=87=E8=AE=B0=E6=96=87=E4=BB=B6=E7=BC=BA=E5=A4=B1?= =?UTF-8?q?=E4=B8=8E=E8=BF=90=E8=A1=8C=E7=8A=B6=E6=80=81=E5=90=8C=E4=B8=80?= =?UTF-8?q?=E8=AF=B4=E6=B3=95;=E6=A0=BC=E5=BC=8F=E5=8C=96=E6=94=B9?= =?UTF-8?q?=E5=8A=A8=E8=BF=87=E7=9A=84=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01Cxwgnn2pbzQ7rXv3rq7fei --- apps/web/app/components/library/entity-dialogs.tsx | 4 +--- apps/web/app/components/library/identity-enrich.tsx | 3 +-- apps/web/app/components/library/subscriptions-policy.tsx | 7 ++----- apps/web/app/components/library/subscriptions-slots.tsx | 4 +++- .../web/app/components/subscriptions/subscription-form.tsx | 6 +++++- apps/web/app/routes/console/files.tsx | 2 +- apps/web/app/routes/login.tsx | 4 +--- 7 files changed, 14 insertions(+), 16 deletions(-) diff --git a/apps/web/app/components/library/entity-dialogs.tsx b/apps/web/app/components/library/entity-dialogs.tsx index 45a51fe0..c990e5f1 100644 --- a/apps/web/app/components/library/entity-dialogs.tsx +++ b/apps/web/app/components/library/entity-dialogs.tsx @@ -101,9 +101,7 @@ export function IdentityDialog({ 修改外部身份 - - 旧的 TMDB 身份停用,修订记录保留。加人工锁后,自动匹配和刷新不会再改。 - + 旧的 TMDB 身份停用,修订记录保留。加人工锁后,自动匹配和刷新不会再改。
{usable.length ? ( diff --git a/apps/web/app/components/library/identity-enrich.tsx b/apps/web/app/components/library/identity-enrich.tsx index 0978dd3f..21a6e7ac 100644 --- a/apps/web/app/components/library/identity-enrich.tsx +++ b/apps/web/app/components/library/identity-enrich.tsx @@ -149,8 +149,7 @@ export function EnrichSection({ item }: { item: IdentityPoolItem }) { > {!out ? (

- TMDB - 查不到时,按标题搜索网页,从平台和百科页面抽取字段,附出处和置信度。确认后才建作品。 + TMDB 查不到时,按标题搜索网页,从平台和百科页面抽取字段,附出处和置信度。确认后才建作品。

) : (
diff --git a/apps/web/app/components/library/subscriptions-policy.tsx b/apps/web/app/components/library/subscriptions-policy.tsx index 9d3983d4..1ada5d7c 100644 --- a/apps/web/app/components/library/subscriptions-policy.tsx +++ b/apps/web/app/components/library/subscriptions-policy.tsx @@ -307,8 +307,7 @@ function PolicyGroup({ ) : ( ) } @@ -537,9 +536,7 @@ const scopeText = (scope: JsonObject) => { function PreviewBlock({ value }: { value: JsonObject | null }) { if (!value) return ( -

- 还没有预览。预览用最近识别的资源试算模板,不会下载或整理。 -

+

还没有预览。预览用最近识别的资源试算模板,不会下载或整理。

); const p = PolicyPreview.safeParse(value); if (!p.success) return ; diff --git a/apps/web/app/components/library/subscriptions-slots.tsx b/apps/web/app/components/library/subscriptions-slots.tsx index 63d1d712..db5e9d5a 100644 --- a/apps/web/app/components/library/subscriptions-slots.tsx +++ b/apps/web/app/components/library/subscriptions-slots.tsx @@ -180,7 +180,9 @@ function SlotEditorSheet({ width="lg" title={slot ? `编辑收录版本 ${slot.name}` : "新建收录版本"} description={ - slot ? `当前 r${slot.revision}。保存时如果已被别处修改,会提示刷新。` : "不满足硬条件的资源不收;软偏好决定先收哪个。" + slot + ? `当前 r${slot.revision}。保存时如果已被别处修改,会提示刷新。` + : "不满足硬条件的资源不收;软偏好决定先收哪个。" } footer={ <> diff --git a/apps/web/app/components/subscriptions/subscription-form.tsx b/apps/web/app/components/subscriptions/subscription-form.tsx index 7ca33038..cf369049 100644 --- a/apps/web/app/components/subscriptions/subscription-form.tsx +++ b/apps/web/app/components/subscriptions/subscription-form.tsx @@ -461,7 +461,11 @@ export function SubscriptionFormDialog({ {editing ? "编辑订阅" : "新建订阅"} - {editing ? titleText : initialTarget ? titleText : "从媒体库或 TMDB 选作品;选 TMDB 上的作品会先加入媒体库。"} + {editing + ? titleText + : initialTarget + ? titleText + : "从媒体库或 TMDB 选作品;选 TMDB 上的作品会先加入媒体库。"} {dup ? ( diff --git a/apps/web/app/routes/console/files.tsx b/apps/web/app/routes/console/files.tsx index 9c7d78c8..5cf225f6 100644 --- a/apps/web/app/routes/console/files.tsx +++ b/apps/web/app/routes/console/files.tsx @@ -104,7 +104,7 @@ import { cn, formatBytes } from "~/lib/utils.ts"; const HEALTH_REASON: Record = { root_missing: "挂载点不存在", - sentinel_missing: "目录里没有标记文件,挂载可能没生效", + sentinel_missing: "目录不可访问或未挂载", timeout: "探测超时", permission_denied: "没有读取权限", }; diff --git a/apps/web/app/routes/login.tsx b/apps/web/app/routes/login.tsx index 8bb18304..ca55488b 100644 --- a/apps/web/app/routes/login.tsx +++ b/apps/web/app/routes/login.tsx @@ -255,9 +255,7 @@ export default function LoginPage() {

订阅、下载、整理

-

- 每一步都有记录。拿不准的会停下来等你决定。 -

+

每一步都有记录。拿不准的会停下来等你决定。