style(copy): fix remaining punctuation violations and make check:copy strict

Auto-fix of 602 string literals across 74 files (half-width punctuation next to
Chinese, parenthesised Chinese, quotes); biome reflow; e2/e6 assertions follow
the new full-width summaries. check:copy now runs with --strict in ci.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
rootandClaude Opus 5.5 committed 2026-09-28 21:34:51 +08:00
1 parent 0fccfe257d
commit fb84a71f80
76 files changed
+582 -570

No files matched your search

@@ -39,7 +39,7 @@ function CopyButton({ text, label }: { text: string; label: string }) {
setDone(true);
toast.success("已复制");
} catch {
toast.error("复制失败,手动选中复制");
toast.error("复制失败,手动选中复制");
}
}}
>
@@ -149,7 +149,7 @@ export function PiOAuthLogin({
waitMs: 25_000,
});
setProgress(r.progress);
if (r.state === "pending") setMessage("还在处理,稍后再提交一次。");
if (r.state === "pending") setMessage("还在处理,稍后再提交一次。");
else finish(r.state, r.message);
} catch (err) {
toast.error(errorMessage(err, "提交失败"));
@@ -213,7 +213,7 @@ export function PiOAuthLogin({
) : session.mode === "device" ? (
<div className="grid gap-2 rounded-lg border border-border/60 p-3">
<p className="text-caption text-muted-foreground">
在任意设备打开验证地址,输入下面的验证码。授权后这里自动完成。
在任意设备打开验证地址,输入下面的验证码。授权后这里自动完成。
</p>
<div className="flex items-center gap-2">
<code className="rounded-md bg-muted px-3 py-1.5 font-mono text-lead tracking-widest select-all">
@@ -256,7 +256,7 @@ export function PiOAuthLogin({
) : (
<form onSubmit={submitPasted} noValidate className="grid gap-2 rounded-lg border border-border/60 p-3">
<p className="text-caption text-muted-foreground">
在浏览器打开授权链接。授权后会跳到 localhost 地址,页面打不开属正常,把地址栏里的完整 URL 粘贴到下面。
在浏览器打开授权链接。授权后会跳到 localhost 地址,页面打不开属正常,把地址栏里的完整 URL 粘贴到下面。
</p>
{session.authorizeUrl ? (
<div className="flex min-w-0 items-center gap-2">