docs(copy): 日志、计划、运行状态文案按 human-copy 重写
- 「立即执行」统一为「立即运行」,Toast 写「已加入队列」 - 巡检不再提「待处理」:触发条件写「有需要处理的事项时」,开关叫「生成巡检报告」 - 下载巡检触发条件写清包含失败的下载 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Cxwgnn2pbzQ7rXv3rq7fei
This commit is contained in:
1 parent
8918fc268e
commit
89795802b5
11 files changed
+27
-27
No files matched your search
@@ -54,7 +54,7 @@ export function Sparkline({
|
||||
if (!has)
|
||||
return (
|
||||
<div className="flex items-center text-meta text-muted-foreground" style={{ height }}>
|
||||
正在采样…
|
||||
采样中…
|
||||
</div>
|
||||
);
|
||||
return (
|
||||
|
||||
@@ -118,7 +118,7 @@ function CleanupTable({ rows }: { rows: CleanupRow[] }) {
|
||||
const run = (t: StorageCleanupTarget) =>
|
||||
clean.mutate(t, {
|
||||
onSuccess: (r) =>
|
||||
r.queued ? toast.success(`已排入清理:${CLEANUP_LABEL[t]}`) : toast.info(`${CLEANUP_LABEL[t]}已在排队或运行中`),
|
||||
r.queued ? toast.success(`已加入队列:${CLEANUP_LABEL[t]}`) : toast.info(`${CLEANUP_LABEL[t]}已在排队或运行中`),
|
||||
onError: (e) => toast.error(errorMessage(e)),
|
||||
});
|
||||
return (
|
||||
@@ -470,7 +470,7 @@ export function StorageSection({ health }: { health: SystemHealth }) {
|
||||
|
||||
<StatementsInfo st={s.db.statements} />
|
||||
|
||||
<Panel title="清理任务" note="立即清理会把对应的维护任务排入执行,结果看运行记录">
|
||||
<Panel title="清理任务" note="立即清理会把维护任务加入队列,结果在运行记录里看">
|
||||
<CleanupTable rows={s.cleanup} />
|
||||
</Panel>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user