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/console/workspace-placeholder.tsx b/apps/web/app/components/console/workspace-placeholder.tsx index 189e3b69..0caf0dc3 100644 --- a/apps/web/app/components/console/workspace-placeholder.tsx +++ b/apps/web/app/components/console/workspace-placeholder.tsx @@ -11,7 +11,7 @@ export function WorkspacePlaceholder({ milestone = "W3" }: { milestone?: string return ( <> - + ); } diff --git a/apps/web/app/components/logs/labels.ts b/apps/web/app/components/logs/labels.ts index 3adc2970..9e7b5948 100644 --- a/apps/web/app/components/logs/labels.ts +++ b/apps/web/app/components/logs/labels.ts @@ -70,10 +70,10 @@ const ACTION_LABEL: Record = { "pi_upstream.oauth_start": "开始订阅登录", "pi_upstream.oauth_login": "完成订阅登录", "pi_upstream.oauth_logout": "退出订阅登录", - "schedule.run_now": "立即执行定时任务", + "schedule.run_now": "立即运行定时任务", "schedule.skip": "跳过定时任务", "schedule.update": "修改定时任务", - "storage.cleanup": "立即清理存储", + "storage.cleanup": "清理存储", "acquisition_plan.manual_submit": "手动提交下载", "acquisition_plan.cancel": "取消下载", "capability.invoke": "智能体操作", @@ -81,7 +81,7 @@ const ACTION_LABEL: Record = { "site.created": "登记站点", "site.updated": "修改站点", "feed_source.created": "新建 RSS", - "identity.release_assigned": "指定资源身份", + "identity.release_assigned": "为资源指定作品", "files.mkdir": "新建目录", "files.rename": "重命名", "files.move": "移动文件", @@ -149,13 +149,13 @@ const SCHEDULE_STATUS: Record = { running: { label: "进行中", tone: "neutral" }, }; const AGENT_STATUS: Record = { - queued: { label: "排队", tone: "neutral" }, - waiting: { label: "等待", tone: "neutral" }, + queued: { label: "排队中", tone: "neutral" }, + waiting: { label: "等待中", tone: "neutral" }, cancelled: { label: "已停止", tone: "warning" }, budget_exceeded: { label: "超出预算", tone: "warning" }, }; const ENGINE_STATUS: Record = { - pending: { label: "排队", tone: "neutral" }, + pending: { label: "排队中", tone: "neutral" }, canceled: { label: "已取消", tone: "warning" }, }; diff --git a/apps/web/app/components/logs/log-detail.tsx b/apps/web/app/components/logs/log-detail.tsx index 146cefff..659f1742 100644 --- a/apps/web/app/components/logs/log-detail.tsx +++ b/apps/web/app/components/logs/log-detail.tsx @@ -115,7 +115,7 @@ function ScheduleRunBody({ e }: { e: LogEntry }) { { to: logsPath({ tab: "schedules", job: jobId }), label: "定时任务设置" }, { to: objectLogsPath("scheduled_job", jobId), - label: "这个定时任务的全部运行", + label: "这个定时任务的全部运行记录", icon: , }, ] @@ -240,7 +240,7 @@ function RunSheet({ {entry ? : null} diff --git a/apps/web/app/components/schedules/agent-check-card.tsx b/apps/web/app/components/schedules/agent-check-card.tsx index bd07be18..2fb6cd6f 100644 --- a/apps/web/app/components/schedules/agent-check-card.tsx +++ b/apps/web/app/components/schedules/agent-check-card.tsx @@ -199,7 +199,7 @@ export function AgentCheckCard({