style(copy): punctuation rules and site-wide fix with a CI check (QA U11)

- glossary: 10 punctuation rules (full-width in Chinese, CJK/Latin spacing,
  full-width parens around Chinese, single ellipsis, 「」 quotes, period rules)
- scripts/check-copy-punctuation.mjs: checks string literals, templates and JSX
  text (not comments, types, keys, match/compare strings); --fix, --strict,
  --by-file; wired into deno task ci as check:copy in warn mode
- --fix applied to web, server and contracts; files other lanes were editing
  (subscriptions, sites, browser, agent, auth/account, inventory) left for them
- tests updated for the changed messages

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
rootandClaude Opus 5.5 committed 2026-09-28 20:09:29 +08:00
1 parent 9b017906cf
commit 52402864d6
143 files changed
+985 -606

No files matched your search

+2 -2
View File
@@ -82,7 +82,7 @@ const ACTION_OPTIONS = [
"downloader_instance",
"media_server_instance",
"path_mapping",
].map((p) => ({ value: `${p}.*`, label: `${p}.*(全部)` })),
].map((p) => ({ value: `${p}.*`, label: `${p}.*(全部)` })),
...AuditAction.options.map((a) => ({ value: a, label: `${actionLabel(a)} · ${a}` })),
];
@@ -134,7 +134,7 @@ export default function AuditPage() {
<>
<PageHeader title="审计" description="登录、设置、密钥与实例变更,新的在前。不记录凭证内容。" />
<FilterBar
search={{ value: target, onChange: setTarget, placeholder: "对象类型,如 downloader_instance" }}
search={{ value: target, onChange: setTarget, placeholder: "对象类型,如 downloader_instance" }}
onReset={
filtered
? () => {