Repository navigation
Commit c7aa9cd
fix(i18n): zh sign-out menu item reads 退出登录, not 注销 (#26045)
<!-- claude-projects-attribution: {"github_login":"os-steve"} -->
_Requested by **Steve** · [project
thread](https://claude.ai/code/project/chan_01FdL1XeUyvVNxLreh3F4Qi9?thread=cmsg_01FdL1XeUyvVNxLreh3F4Qi95wmrfZ1NLxKfZkRLtH7cbp)_
Fixes #25871
Clause-②: no
Metadata-protocol: none
## What
The Chinese (`zh`) pack's `user.logout`, the sign-out item in the
console's user menu, read 「注销」. A Chinese reader takes that as "cancel /
delete my account". It now reads 「退出登录」, the wording the same pack
already uses for signing out (the admin-session `notRestored` message
and the `signOut` row).
- `ui/packages/i18n/src/locales/zh.ts`: `user.logout` 注销 → 退出登录. No key
added or removed; other locales unchanged.
- `.changeset/25871-zh-logout-label.md`: `@object-ui/i18n` patch, in the
root `.changeset/`.
- `scripts/sdui-manifest.record.json`: registry-source hash re-recorded
with `node scripts/gen-sdui-manifest-node.mjs` (any `ui/packages/**`
source edit moves it). `sdui.manifest.json` itself is byte-identical.
## Premise check
At `origin/main` 39a78b1, `git grep -n 注销 -- ui apps packages` has
exactly one hit, this row, so no other surface uses 注销 to mean sign-out.
## Verification (head ca2aff6)
- `pnpm --filter @object-ui/i18n test --maxWorkers=2`: Test Files 87
passed (87), Tests 1353 passed, 13 skipped.
- `node scripts/pm/dispatch-gates.mjs --commands --repo
objectstack-ai/objectstack`: 41 derived commands, each exit 0; `--ran`
reconciles "41 run, 0 NOT-MEASURED (a DERIVED zero)".
- `node scripts/check-sdui-manifest.mjs`: intact, generated from the
in-tree registry as it stands.
- Type-check of `@object-ui/i18n` not run locally (a one-string value
change); left to CI `Type Check UI`.
## Acceptance notes
None.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01BMQ3sr49DvPmm6nkE28YFf
---
_Generated by [Claude
Code](https://claude.ai/code/session_01BMQ3sr49DvPmm6nkE28YFf)_
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent 365fe5e commit c7aa9cd
3 files changed
Lines changed: 12 additions & 2 deletions
File tree
- .changeset
- scripts/sdui-manifest.sources
- ui/packages/i18n/src/locales
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3420 | 3420 | | |
3421 | 3421 | | |
3422 | 3422 | | |
3423 | | - | |
| 3423 | + | |
3424 | 3424 | | |
3425 | 3425 | | |
3426 | 3426 | | |
| |||
0 commit comments