文案(下载):重写下载面板、后台任务、下载盘与手动下载文案

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Cxwgnn2pbzQ7rXv3rq7fei
This commit is contained in:
rootandClaude Opus 5.5 committed 2026-10-07 01:48:14 +08:00
1 parent 5aa19a9a9b
commit 3853a65754
7 files changed
+30 -30

No files matched your search

@@ -282,7 +282,7 @@ export function ManualDownloadDialog({
}}
>
<Bot />
委托智能体
交给智能体
</Button>
) : null}
<Button
@@ -329,7 +329,7 @@ export function ResourceSummary({ resource: r }: { resource: ManualDownloadResou
{r.leechers ?? "—"}
</span>
) : null}
{r.publishedAt ? <span title={absTime(r.publishedAt)}>发布 {relTime(r.publishedAt)}</span> : null}
{r.publishedAt ? <span title={absTime(r.publishedAt)}>发布于 {relTime(r.publishedAt)}</span> : null}
</div>
</div>
);
@@ -372,7 +372,7 @@ export function SaveTargetFields({
: !target && dir !== CUSTOM_DIR
? "没有可用的下载器,先在设置里添加下载器和保存目录"
: resolved
? `将保存到:${savePathText(resolved)}`
? `保存到:${savePathText(resolved)}`
: "填写下载器能访问的路径";
return (
<div className="grid items-start gap-x-3 sm:grid-cols-2">
@@ -504,7 +504,7 @@ export function IdentitySection({
<div id={`${formId}-identity`} className="space-y-3 border-t border-border px-3 pt-3 pb-1">
{unrecognized && !changed ? (
<p className="text-caption text-warning">
暂未识别到作品。指定后绑定到这个资源;不指定也能下载,整理时再补全识别和元数据。
没识别出作品。指定后绑定到这个资源;不指定也能下载,整理时再识别。
</p>
) : null}
{picked ? (
@@ -533,7 +533,7 @@ export function IdentitySection({
<FormField
label="TMDB 编号"
htmlFor={`${formId}-tmdb`}
error={tmdbId && !valid ? "TMDB 编号是数字" : preview.error ? errorMessage(preview.error) : null}
error={tmdbId && !valid ? "TMDB 编号只能是数字" : preview.error ? errorMessage(preview.error) : null}
hint={
preview.data
? `${preview.data.title}${preview.data.year ? ` (${preview.data.year})` : ""}${preview.data.localEntityId ? " · 在媒体库" : ""}`
@@ -602,8 +602,8 @@ export function ExistingVersionsSection({
selected: string[];
onSelectedChange: (ids: string[]) => void;
}) {
if (loading) return <p className="text-caption text-muted-foreground">正在读取已有版本…</p>;
if (error) return <p className="text-caption text-destructive">已有版本读取失败,重试后再选洗版</p>;
if (loading) return <p className="text-caption text-muted-foreground">读取已有版本…</p>;
if (error) return <p className="text-caption text-destructive">读取已有版本失败,重新打开后再选洗版</p>;
if (!versions.length) return null;
return (
<div className="min-w-0 space-y-2">
@@ -640,7 +640,7 @@ export function ExistingVersionsSection({
))}
</fieldset>
<p className="text-meta text-muted-foreground">
本次新文件整理成功后替换所选旧文件。剧集只替换成功对应的季集,其余保留。
新文件整理成功后替换所选旧文件。剧集只替换整理成功的季集,其余保留。
</p>
</>
) : null}