文案(订阅/发现/集数映射):在途改下载中、计划改下载,按钮写清动作
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
@@ -27,7 +27,7 @@ export const GROUP_LABEL: Record<SubscriptionGroup, string> = {
|
||||
following: "追更中",
|
||||
waiting: "待搜索",
|
||||
completed: "已完成",
|
||||
paused: "暂停",
|
||||
paused: "已暂停",
|
||||
pending: "待定",
|
||||
};
|
||||
|
||||
@@ -62,7 +62,7 @@ export function slotBadge(s: SubscriptionSlotSummary): ToneLabel {
|
||||
label: s.minPri !== null && s.targetPri !== null ? `洗版中 ${s.minPri}→${s.targetPri}` : "洗版中",
|
||||
tone: "warning",
|
||||
};
|
||||
if (s.inflight > 0) return { label: `在途 ${s.inflight}`, tone: "neutral" };
|
||||
if (s.inflight > 0) return { label: `下载中 ${s.inflight}`, tone: "neutral" };
|
||||
if (s.missing > 0) return { label: `缺 ${s.missing}`, tone: "destructive" };
|
||||
if (s.total !== null && s.total > 0 && s.have >= s.total) return { label: "已齐", tone: "success" };
|
||||
return { label: s.have > 0 ? `已整理 ${s.have}` : "未开始", tone: "neutral" };
|
||||
@@ -79,11 +79,11 @@ export const AUTOFILL_LABEL: Record<AutoFillMode, string> = { inherit: "跟随
|
||||
export const AUTOFILL_SOURCE: Record<"subscription" | "rule_group" | "default", string> = {
|
||||
subscription: "订阅设置",
|
||||
rule_group: "规则组",
|
||||
default: "系统缺省",
|
||||
default: "系统默认",
|
||||
};
|
||||
|
||||
export function autoFillText(a: SubscriptionOverviewItem["autoFill"]): string {
|
||||
return `自动补全${a.enabled ? "开" : "关"}${a.mode === "inherit" ? `(${AUTOFILL_SOURCE[a.source]})` : ""}`;
|
||||
return `自动补全${a.enabled ? "开" : "关"}${a.mode === "inherit" ? `(${AUTOFILL_SOURCE[a.source]})` : ""}`;
|
||||
}
|
||||
|
||||
// ── 覆盖矩阵 ──
|
||||
@@ -123,7 +123,7 @@ export function cellKind(c: CoverageCell): CellKind {
|
||||
export const CELL_LABEL: Record<CellKind, string> = {
|
||||
have: "已整理",
|
||||
upgradable: "可升级",
|
||||
inflight: "在途",
|
||||
inflight: "下载中",
|
||||
deferred: "延后",
|
||||
missing: "缺失",
|
||||
suspected: "疑似缺失",
|
||||
@@ -131,12 +131,12 @@ export const CELL_LABEL: Record<CellKind, string> = {
|
||||
skipped: "不需要",
|
||||
};
|
||||
|
||||
export const PLAN_STAGE: Record<string, string> = { reserved: "已预留", downloading: "下载中", verifying: "核验中" };
|
||||
export const PLAN_STAGE: Record<string, string> = { reserved: "准备下载", downloading: "下载中", verifying: "核验中" };
|
||||
|
||||
export const SKIP_REASON: Record<string, string> = {
|
||||
out_of_range: "集范围外",
|
||||
not_aired: "未播出",
|
||||
not_required: "该收录版本不要求这个内容版本",
|
||||
not_required: "收录版本不要求这个内容版本",
|
||||
suspected: "总集数未知,按已见最高集推断",
|
||||
deferred: "有延后的资源",
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user