From 822d4e7c635975da839eb835b9d77449b629c003 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 7 Oct 2026 01:48:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E6=A1=88(=E6=90=9C=E7=B4=A2):?= =?UTF-8?q?=E6=8C=89=20human-copy=20=E9=87=8D=E5=86=99=E6=90=9C=E7=B4=A2?= =?UTF-8?q?=E4=B8=8E=E5=91=BD=E4=BB=A4=E9=9D=A2=E6=9D=BF=E6=96=87=E6=A1=88?= 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/search/command-palette.tsx | 4 ++-- .../app/components/search/release-results.tsx | 20 +++++++++---------- .../app/components/search/search-sections.tsx | 2 +- .../components/search/site-picker-dialog.tsx | 4 ++-- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/apps/web/app/components/search/command-palette.tsx b/apps/web/app/components/search/command-palette.tsx index 96ace446..a99a1154 100644 --- a/apps/web/app/components/search/command-palette.tsx +++ b/apps/web/app/components/search/command-palette.tsx @@ -194,7 +194,7 @@ function PaletteBody({ initial }: { initial: string }) { }} />

- 输入作品名、别名或页面名称。选中作品打开详情页。 + 输入作品名、别名或页面名

) : ( @@ -320,7 +320,7 @@ function actionItem(a: SearchAction, run: () => void): Item { icon: actionIcon(a.kind), title: a.title, meta: a.group, - hint: "前往", + hint: "打开", run, }; } diff --git a/apps/web/app/components/search/release-results.tsx b/apps/web/app/components/search/release-results.tsx index d18f9ce2..bc385026 100644 --- a/apps/web/app/components/search/release-results.tsx +++ b/apps/web/app/components/search/release-results.tsx @@ -181,7 +181,7 @@ export function ReleaseResults({ {first ? (

- {first.sites.length} 个站点 · {first.cached ? "缓存结果" : "站点实时结果"} · 抓取于{" "} + {first.sites.length} 个站点 · {first.cached ? "缓存结果" : "实时结果"} · 上次抓取{" "} {relTime(first.fetchedAt)}

) : null} @@ -199,7 +199,7 @@ export function ReleaseResults({ onClick={() => refresh.mutate(api, { onError: (e) => toast.error(errorMessage(e, "刷新失败")) })} > - {refresh.isPending ? "查询中…" : "刷新"} + {refresh.isPending ? "刷新中…" : "刷新"} @@ -240,7 +240,7 @@ export function ReleaseResults({
{res.isPending ? (
-

正在查询各站点,最慢约 15 秒…

+

查询各站点中,最长约 15 秒…

) : res.isError && !rows.length ? ( @@ -361,7 +361,7 @@ function CoverageNotice({ page }: { page: ReleaseSearchPage }) {
    {page.failedSites.map((s) => (
  • - {s.siteName}:{SITE_STATUS[s.status]} + {s.siteName}:{SITE_STATUS[s.status]} {s.error ? `(${s.error})` : ""}
  • ))} @@ -384,7 +384,7 @@ function CoverageNotice({ page }: { page: ReleaseSearchPage }) {
      {skipped.map((s) => (
    • - {s.siteName}:{s.error ?? "站点不支持搜索"} + {s.siteName}:{s.error ?? "不支持搜索"}
    • ))}
    @@ -650,11 +650,11 @@ function ReleaseRow({ r, onOpen, onDownload }: { r: SearchRelease; onOpen: () => {r.sizeBytes === null ? "—" : formatBytes(r.sizeBytes, 1)} - + {r.seeders ?? "—"} - + {r.leechers ?? "—"} {r.sourceReleaseId ? ( ) : null}
diff --git a/apps/web/app/components/search/site-picker-dialog.tsx b/apps/web/app/components/search/site-picker-dialog.tsx index eceb2327..4ae5675d 100644 --- a/apps/web/app/components/search/site-picker-dialog.tsx +++ b/apps/web/app/components/search/site-picker-dialog.tsx @@ -134,7 +134,7 @@ export function SitePickerDialog({ ))} {sitesQ.isPending ? ( -

加载站点…

+

加载中…

) : sites.length === 0 ? (

还没有启用的站点。 @@ -156,7 +156,7 @@ export function SitePickerDialog({ .filter((s) => ids.includes(s.id)) .map((s) => s.name) .join("、") - : "没有站点勾选「默认参与搜索」。在站点页打开,或改选全部站点。"} + : "没有站点勾选「默认参与搜索」。到站点页勾选,或改选「全部站点」。"}

)}