Repository navigation
docs(zh-CN): add missing book chapters (tui, mcp, debugging, coming_from_powershell) - #2274
Merged
Merged
Conversation
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
…rom_powershell) Translate the four book chapters that had no zh-CN version, bringing the zh-CN book to page parity with the English one (66/66): - zh-CN/book/tui.md, translated from ff1c478 - zh-CN/book/mcp.md, translated from ff1c478 - zh-CN/book/debugging.md, translated from ff1c478 - zh-CN/book/coming_from_powershell.md, translated from e9317a8 Also registers the four files in tools/i18n-meta.json, adds the sidebar entries at the same positions as the English sidebar, and adds the cross-references the English book has (tui/mcp links in advanced.md, $nu.is-mcp/$nu.is-dap links in special_variables.md). The pages were self-reviewed against the English source before submission: all code blocks are identical apart from translated comments, terminology follows the existing zh-CN pages, and every intra-page anchor was checked against the generated heading ids.
passionworkeer
force-pushed
the
docs-zh-cn-mcp
branch
from
October 29, 2026 14:57
b532e09 to
04d00ab
Compare
Contributor
|
Thanks |
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.
Motivation
I've been using Nushell heavily over the past few weeks and recently started contributing to the project itself (nushell/nushell#19309, nushell/nushell#19348, both
dc-globfixes). While reading through the book I found that the zh-CN translation was missing its newest chapters —tui,mcp,debugging, andcoming_from_powershell— so I translated them to bring the Chinese book back to parity with the English one. With this PR every page in the English book has a zh-CN counterpart (66/66).What this PR changes
zh-CN/book/tui.md(from ff1c478)zh-CN/book/mcp.md(from ff1c478)zh-CN/book/debugging.md(from ff1c478)zh-CN/book/coming_from_powershell.md(from e9317a8)tools/i18n-meta.jsonwith their base commitstui/mcplinks inadvanced.md, and$nu.is-mcp/$nu.is-daplinks inspecial_variables.mdTranslation notes
widgetis rendered as 部件.hookis kept in English on the TUI pages: there it is a TUI-specific concept (a closure that reacts to the user), distinct from the config hooks translated as 钩子 inhooks.md. Happy to switch if reviewers prefer 钩子 here as well.coming_from_powershellpage uses the same title pattern (从 PowerShell 到 Nu) and table header (任务) as the existingcoming_from_bash/coming_from_cmdpages.Verification
npm run buildpasses with no new broken-link warnings (the 8 existing warnings are in other files and unchanged)Translation status tracking: #261