docs(copy): 全局状态标签、导航说明与账户菜单文案按 human-copy 重写

- 状态统一写「排队中」;「待审批」改「等你批准」,「其它」改「其他」
- 整理结果原因用「已整理 / 部分整理」;去掉引擎旧状态的「(旧)」
- 导航说明去掉「偏好标签」「留痕」等旧称与重复

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:46:30 +08:00
1 parent 542f107566
commit 8918fc268e
5 files changed
+19 -19

No files matched your search

@@ -40,7 +40,7 @@ function ChangePasswordDialog({ open, onOpenChange }: { open: boolean; onOpenCha
setErrors({});
try {
const r = await change.mutateAsync({ currentPassword: form.currentPassword, newPassword: form.newPassword });
toast.success(r.revokedSessions ? `密码已修改,已注销其它 ${r.revokedSessions} 个会话` : "密码已修改");
toast.success(r.revokedSessions ? `密码已修改,其他 ${r.revokedSessions} 个会话已退出` : "密码已修改");
setForm({ currentPassword: "", newPassword: "", confirm: "" });
onOpenChange(false);
} catch (err) {
@@ -58,7 +58,7 @@ function ChangePasswordDialog({ open, onOpenChange }: { open: boolean; onOpenCha
<DialogContent>
<DialogHeader>
<DialogTitle>修改密码</DialogTitle>
<DialogDescription>修改后其它设备上的会话会被注销,当前会话保留。</DialogDescription>
<DialogDescription>其他设备上的会话会退出登录,当前会话保留。</DialogDescription>
</DialogHeader>
<form id="pwd-form" onSubmit={submit} className="grid gap-1" noValidate>
<FormField label="当前密码" htmlFor="pwd-cur" error={errors.currentPassword}>
+5 -5
View File
@@ -51,7 +51,7 @@ export const NAV_GROUPS: NavGroup[] = [
to: "/console",
label: "首页",
icon: House,
description: "在忙什么、要我处理什么、最近整理了什么",
description: "进行中的任务、等你批准的操作、最近的整理",
},
{
to: "/console/agent",
@@ -68,11 +68,11 @@ export const NAV_GROUPS: NavGroup[] = [
to: "/console/sites",
label: "站点",
icon: Globe,
description: "PT 站、公开 BT 站与 RSS 源:账号、资源与 RSS",
description: "PT 站、公开 BT 站和自定义 RSS 源",
},
{ to: "/console/discover", label: "发现", icon: Compass, description: "bgm.tv 每日放送与豆瓣热门" },
{ to: "/console/subscriptions", label: "订阅", icon: CalendarClock, description: "单次收录与持续追踪" },
{ to: "/console/rules", label: "规则", icon: ListChecks, description: "收录策略与偏好标签" },
{ to: "/console/rules", label: "规则", icon: ListChecks, description: "收录策略与规则组" },
],
},
{
@@ -106,7 +106,7 @@ export const NAV_GROUPS: NavGroup[] = [
to: "/console/logs",
label: "日志",
icon: ScrollText,
description: "任务、定时与自动任务、登录与操作留痕,可实时查看",
description: "任务、定时任务、登录与操作记录,可实时查看",
},
{
to: "/console/status",
@@ -131,7 +131,7 @@ const NAV_ALIASES: Record<string, string> = {
/** 不在侧栏但有页面的路由:顶栏标题用 */
const EXTRA_TITLES: Record<string, string> = {
"/console/preferences": "偏好标签",
"/console/preferences": "规则",
"/console/search": "搜索",
};
+1 -1
View File
@@ -5,7 +5,7 @@ import type * as React from "react";
import { cn } from "~/lib/utils.ts";
function Breadcrumb({ ...props }: React.ComponentProps<"nav">) {
return <nav aria-label="breadcrumb" data-slot="breadcrumb" {...props} />;
return <nav aria-label="页面路径" data-slot="breadcrumb" {...props} />;
}
function BreadcrumbList({ className, ...props }: React.ComponentProps<"ol">) {