From 8918fc268e0f1068c4e5d51b739e2c3b7f0bbdee Mon Sep 17 00:00:00 2001 From: root Date: Wed, 7 Oct 2026 01:46:30 +0800 Subject: [PATCH] =?UTF-8?q?docs(copy):=20=E5=85=A8=E5=B1=80=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E6=A0=87=E7=AD=BE=E3=80=81=E5=AF=BC=E8=88=AA=E8=AF=B4?= =?UTF-8?q?=E6=98=8E=E4=B8=8E=E8=B4=A6=E6=88=B7=E8=8F=9C=E5=8D=95=E6=96=87?= =?UTF-8?q?=E6=A1=88=E6=8C=89=20human-copy=20=E9=87=8D=E5=86=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 状态统一写「排队中」;「待审批」改「等你批准」,「其它」改「其他」 - 整理结果原因用「已整理 / 部分整理」;去掉引擎旧状态的「(旧)」 - 导航说明去掉「偏好标签」「留痕」等旧称与重复 Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01Cxwgnn2pbzQ7rXv3rq7fei --- .../app/components/console/account-menu.tsx | 4 ++-- apps/web/app/components/console/nav.ts | 10 +++++----- apps/web/app/components/ui/breadcrumb.tsx | 2 +- apps/web/app/lib/form-errors.ts | 2 +- apps/web/app/lib/labels.ts | 20 +++++++++---------- 5 files changed, 19 insertions(+), 19 deletions(-) diff --git a/apps/web/app/components/console/account-menu.tsx b/apps/web/app/components/console/account-menu.tsx index f50d6dfa..5b8ac43c 100644 --- a/apps/web/app/components/console/account-menu.tsx +++ b/apps/web/app/components/console/account-menu.tsx @@ -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 修改密码 - 修改后其它设备上的会话会被注销,当前会话保留。 + 其他设备上的会话会退出登录,当前会话保留。
diff --git a/apps/web/app/components/console/nav.ts b/apps/web/app/components/console/nav.ts index e5b63e39..8c51e4ec 100644 --- a/apps/web/app/components/console/nav.ts +++ b/apps/web/app/components/console/nav.ts @@ -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 = { /** 不在侧栏但有页面的路由:顶栏标题用 */ const EXTRA_TITLES: Record = { - "/console/preferences": "偏好标签", + "/console/preferences": "规则", "/console/search": "搜索", }; diff --git a/apps/web/app/components/ui/breadcrumb.tsx b/apps/web/app/components/ui/breadcrumb.tsx index 0f81a397..86360cf5 100644 --- a/apps/web/app/components/ui/breadcrumb.tsx +++ b/apps/web/app/components/ui/breadcrumb.tsx @@ -5,7 +5,7 @@ import type * as React from "react"; import { cn } from "~/lib/utils.ts"; function Breadcrumb({ ...props }: React.ComponentProps<"nav">) { - return