Repository navigation
fix(i18n): correct zh translation of "Pin Tab" to 固定标签 - #9157
Merged
AmethystLiang merged 1 commit intoJul 18, 2026
Merged
Conversation
The Chinese catalog rendered the "Pin Tab" tab context-menu action as "引脚标签" (a literal noun reading of "pin"), which is wrong for the action. Use "固定标签" to match its paired "Unpin Tab" (取消固定标签) and the existing "已固定" pinned-state wording elsewhere in the catalog. Adds a "Pin Tab" entry to ZH_VALUE_OVERRIDES so catalog regeneration keeps the fix, and applies the corrected value to the three generated occurrences in zh.json (EditorTabContextMenu, EditorFileTabContextMenu, SortableTabContextMenu). Co-Authored-By: Claude Opus 4.8 <[email protected]>
Contributor
|
Caution Review failedAn error occurred during the review process. Please try again later. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
8 of 9 tasks
enrick-dev
pushed a commit
to enrick-dev/orca
that referenced
this pull request
Oct 15, 2026
Co-authored-by: weixin <[email protected]> Co-authored-by: Claude Opus 4.8 <[email protected]>
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
The Simplified Chinese catalog rendered the "Pin Tab" tab context-menu action as "引脚标签" — a literal noun reading of pin ("图钉/引脚"), which is wrong for the action. It should read "固定标签", matching:
Changes
'Pin Tab': '固定标签'entry toZH_VALUE_OVERRIDES(config/scripts/locale-zh-value-overrides.mjs) so catalog regeneration keeps the fix — the locale files are machine-generated and then patched by these override files.src/renderer/src/i18n/locales/zh.json:EditorTabContextMenuEditorFileTabContextMenuSortableTabContextMenuVerification
npx vitest run config/scripts/locale-translation-policy.zh-round5.test.mjs→ 7 passed引脚occurrences in the locale files.🤖 Generated with Claude Code