文案(订阅/发现/集数映射):在途改下载中、计划改下载,按钮写清动作
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Cxwgnn2pbzQ7rXv3rq7fei
This commit is contained in:
1 parent
9c7ce109ea
commit
cfc9793dcd
11 files changed
+34
-34
No files matched your search
@@ -25,7 +25,7 @@ export const itemTitle = (x: Item) => x.mediaEntityTitle ?? x.titleQuery ?? "未
|
||||
function Flags({ x }: { x: Item }) {
|
||||
return (
|
||||
<>
|
||||
{x.group === "paused" ? <StatusBadge tone="neutral">暂停</StatusBadge> : null}
|
||||
{x.group === "paused" ? <StatusBadge tone="neutral">已暂停</StatusBadge> : null}
|
||||
{x.group === "pending" ? (
|
||||
<StatusBadge tone="warning">{x.mediaEntityId ? "待定" : "不在媒体库"}</StatusBadge>
|
||||
) : null}
|
||||
@@ -45,7 +45,7 @@ export function ProgressBlock({ x, className }: { x: Pick<Item, "progress" | "mo
|
||||
<span className="font-medium text-foreground tabular-nums">
|
||||
{progressText(x.progress)}
|
||||
{x.progress.inflight > 0 ? (
|
||||
<span className="font-normal text-muted-foreground"> · 在途 {x.progress.inflight}</span>
|
||||
<span className="font-normal text-muted-foreground"> · 下载中 {x.progress.inflight}</span>
|
||||
) : null}
|
||||
</span>
|
||||
{unknown ? <span className="text-muted-foreground">持续追踪</span> : null}
|
||||
@@ -57,7 +57,7 @@ export function ProgressBlock({ x, className }: { x: Pick<Item, "progress" | "mo
|
||||
"bg-[repeating-linear-gradient(90deg,var(--color-foreground)_0_4px,transparent_4px_8px)] opacity-20",
|
||||
)}
|
||||
role="img"
|
||||
aria-label={`已整理 ${x.progress.have},在途 ${x.progress.inflight},总 ${x.progress.total ?? "未知"}`}
|
||||
aria-label={`已整理 ${x.progress.have},下载中 ${x.progress.inflight},总 ${x.progress.total ?? "未知"}`}
|
||||
>
|
||||
{unknown ? null : (
|
||||
<>
|
||||
|
||||
Reference in new issue
Block a user