This repository was archived by the owner on Nov 4, 2026. It is now read-only.
Repository navigation
fix(i18n): zh admin-override copy says 管理员代为/代办, not 越权 (objectui#13402) - #13417
Merged
objectstack-fleet[bot] merged 1 commit intoOct 23, 2026
Merged
Conversation
越权 means exceeding one's authority, the word for a violation; the feature
is an explicitly granted, audited administrator override. The zh pack now
labels the levers 管理员代为{{action}}, the history chip 管理员代办, and the
notices 以管理员身份代为处理 / 记录为管理员代办. A pin holds every zh
approvalsInbox string free of 越权 and keeps each override key's
placeholders equal to its en source.
Claude-Session: https://claude.ai/code/session_01WJozybDmRH8z2c5SD7vJkj
Co-authored-by: Claude <noreply@anthropic.com>
Contributor
✅ Console Performance Budget
The eager closure is every chunk the entry reaches through static imports — what the browser fetches and parses before the app renders. The entry chunk on its own is a small fraction of it. 📦 Bundle Size Report
Size Limits
|
objectstack-fleet
Bot
deleted the
claude/issue-13402-zh-override-wording
branch
October 23, 2026 19:26
Contributor
Author
席位核对ACCEPT — objectui#13402 (p2, S), head Seat: domain:ui#1 · Clause-②: no
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #13402
Clause-②: no
What changed
In zh-CN the authorized admin-override approval copy called the override 越权 ("exceeding one's authority", the word for a violation). The feature is an explicitly granted, audited administrator override, so the zh pack now says:
approvalsInbox.overrideActionLabel越权{{action}}管理员代为{{action}}(管理员代为通过 / 拒绝 / 转签 / 撤回)approvalsInbox.viaOverrideChipapprovalsInbox.viaOverrideHintoverrideNotice,overrideNoticeWho,overrideReassignNotice,overrideReassignNoticeWho,overrideRecallNotice,overrideRecallNoticeWho{{action}}is the lever's declared label, localized (declaredLabelinDeclaredActionsBar), so the label reads 管理员代为通过 and so on. The rest of each sentence, every{{who}}/{{action}}placeholder, and each line's own punctuation style (two lines use ASCII:/,, the others full-width) are unchanged. Only the zh pack changes; en and the other locales are out of scope.viaOverrideHintis the ninth 越权 line inzh.tsand describes the same override path, so it is covered too. The repo-wide grep for 越权 also hits the vendored.objectstack-pin/spec/CHANGELOG.md, where 越权读 means a real unauthorized read. That use is correct and it is not this repo's copy, so it is untouched.Tests
packages/i18n/src/__tests__/approvalOverride-zh-wording-13402.test.ts: every zhapprovalsInboxstring is free of 越权 (the enumeration is asserted non-empty first); the label is管理员代为{{action}}and renders 管理员代为通过 / 拒绝 / 转签 / 撤回; the chip is 管理员代办; each of the nine override keys keeps the placeholders of its en source; the matcher's own positive and negative cases.zh.tsreverted to the base, 2 of the pin's 12 tests fail (the no-越权 test and the label/chip test). Restored, 12/12 pass.pnpm exec vitest run --maxWorkers=2 packages/i18n/ packages/app-shell/src/views/__tests__/DeclaredActionsBar.overrideAffordance.test.tsx: 86 files passed, 1362 tests passed, 13 skipped. This includesall-locales-key-parityanden-zh-key-parity.turbo run type-check --filter=@object-ui/i18n: 4/4 tasks successful.check:i18n-keys,check:i18n-drift,check:i18n-dead-keys,check:new-line-citations(0 new) andcheck-changeset-presence: exit 0. ESLint on the touched files: exit 0.check:eager-locale-catalogues, reason: it reads a built console bundle (apps/console/dist/eager-closure.json), which was not built locally. CI reads it.Changeset:
.changeset/13402-zh-override-wording.md,@object-ui/i18npatch.🤖 Generated with Claude Code
https://claude.ai/code/session_01WJozybDmRH8z2c5SD7vJkj