Skip to content

quotes.zh-Hant.mdx 把 expired 译成「已到期」,语言包 zh-CN.ts 是「已过期」 #793

Description

@yinlianghui

来源:#765 §3(presented 译名对齐)实施过程中的顺带发现。#765 只点名了 presented 一个状态,修完之后同一张状态表里还剩这一处译名与语言包不符,故单独立单。基线 origin/main = cdbd863。

content/docs/sales/quotes.zh-Hant.mdx:19 的状态表把 expired 写作 「已到期」:

| ⚪ **已到期** | 有效期已過但未作出決定 |

而 src/translations/zh-CN.ts:471-472 的 crm_quote.status.options.expired 是 「已过期」(繁体写法为「已過期」):

draft: '草稿', in_review: '审核中', presented: '已提交', accepted: '已接受',
rejected: '已拒绝', expired: '已过期',

「到期」与「过期」不是同一个词(前者是期限届至,后者是已失效),读者按文档里的词在界面上对不上号——与 #765 §3 完全同类。

注意 quotes.zh-Hans.mdx:19 写的是「已过期」,是对的;只有 zh-Hant 这一页需要改。仓库没有 zh-Hant 语言包(src/translations/ 只有 en / zh-CN / es-ES / ja-JP),因此 zh-Hant 页的事实来源仍是 zh-CN.ts,繁体化写作「已過期」。

文件面

content/docs/sales/quotes.zh-Hant.mdx 一处(状态表)。改前请 grep 一遍全页,确认没有别处以「到期」指代这个状态(frontmatter 的 description 里「自動到期」是描述过期机制的动词用法,不是状态名,可保留——但如果改,两处要一起改,不能一半一半)。

⛔ 不要改 src/**:以语言包为准,文档跟语言包(contract-first)。

Refs #765

Activity

  1. yinlianghui commented on Aug 5, 2026

    @yinlianghui
    CollaboratorAuthor

    同一类的第二处,一并记在这里,免得开重复单:

    content/docs/sales/leads.zh-Hans.mdx / leads.zh-Hant.mdx 的「记录存储的内容」表里,沟通偏好行写作「邮件退订、请勿致电」,而 src/translations/zh-CN.ts 的 crm_lead 字段标签是 「拒收邮件」 与 「禁止致电」(:372-373)。成员本身没写错(这两个字段确实在 preferences group),错的只是叫法。

    注意这里有个容易顺手改错的地方:同名字段在两个对象上的中文标签不同 —— crm_contact.email_opt_out 是「拒绝邮件」(zh-CN.ts:178),crm_lead.email_opt_out 是「拒收邮件」(:373)。所以对齐时要各页各按自己对象的包写,不能统一成一个词(要不要把这两个包的用词统一,是另一个决定,不在本单范围)。

    PR #794 已把 contacts.mdx ×3 的这两个开关名对齐到 crm_contact 的包(那两行本来就在 #765 的改动面上);leads 的这一行不在 #765 的改动面上,留给本单一起扫。


    Generated by Claude Code

  2. added
    bugSomething isn't working
    documentationImprovements or additions to documentation
    pm:queueReady for the PM dispatch loop
    pm:dispatchedDispatched to a dev agent by /pm-dispatch
    and removed
    pm:queueReady for the PM dispatch loop
    on Aug 5, 2026
  3. self-assigned this
    on Aug 5, 2026
  4. yinlianghui commented on Aug 5, 2026

    @yinlianghui
    CollaboratorAuthor

    🔒 认领(修复线 PM 派单,窄面):session_01VHrPAGEgFDoHjphqYG4BMa,分支 claude/issue-793-quotes-expired-label,worktree hotcrm-issue-793。文件面:仅 content/docs/sales/quotes.zh-Hant.mdx(expired 对齐 zh-CN.ts 的「已过期」;同页如有其它句子用到该状态名,一并对齐——#794 对 presented 的先例)、changeset。

    范围切分:追评里 leads zh 页「沟通偏好」行的开关名问题归 #792 的派单处理(那两页正在被另一 dev 重写字段表,你去改必相撞)——本单关闭以 quotes.zh-Hant 半边为准,leads 半边由 #792 的 PR 交付,已在两边记录。⛔ 不动 quotes.zh-Hans(已对)、不动 en 页、不动 src/**。


    Generated by Claude Code

  5. yinlianghui commented on Aug 5, 2026

    @yinlianghui
    CollaboratorAuthor

    ✅ 验收通过 — PR #803 已转 ready 并挂 auto-merge(CI 8/8 绿)。

    判定要点:

    越界两单分诊:#801(两半:sales/index.zh-Hant 同一状态名错——跨页消费证明窄面派单扫不尽;quotes.zh-Hans 字段标签错 ×4——与本单互为镜像,两页互不能当校对基准)→ 入队;#802(文档译名 vs 语言包零覆盖的闸设计,含两个必答问题)→ finding 持有,与 #725/#802 一族在下次 findings 分诊轮统筹。#793 随本 PR 关闭(leads 半边由 #792 的 PR 交付,已约定)。


    Generated by Claude Code

  6. added and removed on Sep 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdocumentationImprovements or additions to documentationpm:dispatchedDispatched to a dev agent by /pm-dispatchpriority:p2Medium: important, M3

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions