Skip to content

docs(zh-CN): complete book translations and add filter reference - #2278

Merged
fdncred merged 1 commit into
nushell:mainfrom
passionworkeer:docs-zh-cn-batch-3
Nov 2, 2026
Merged

fdncred merged 1 commit into
nushell:mainfrom
passionworkeer:docs-zh-cn-batch-3

Conversation

@passionworkeer

Copy link
Copy Markdown
Contributor

Summary

Restore missing sections and update outdated examples across the Chinese book, following the English source at f860098f.

  • Refresh the book and cookbook, including operators, configuration, dataframes, colors, pipelines, and control flow.
  • Update the plugin contributor tutorial from the 0.90-era protocol and examples to the English tutorial's 0.116 version.
  • Add five filter reference chapters (586 translated lines), the Chinese language-guide index, and navigation to the new pages.

Validation

  • Prettier checks passed for the Chinese documentation, changed navigation, and translation metadata.
  • Compared all 701 fenced code blocks in the 32 changed Markdown pages against English, allowing translated comments and existing formatter whitespace differences; table shapes match.
  • Checked local links and anchors; the 21 existing protocol-reference anchor issues remain unchanged.
  • npm run build passed, rendering 1712 pages; no Chinese broken-link warnings.

Related to #261.

…lters

- Align several chapters with the English source, completing missing
  sections and refreshing outdated command output: dataframes (command
  table and query plans), loading_data, working_with_strings, control_flow,
  configuration, sorting, coloring_and_theming, pipelines, plugins,
  variables, moving_around, special_variables, types_of_data, cookbook and
  a full retranslation of operators
- Fix places where the translation diverged from the source in ways that
  would mislead readers: altered or fabricated command output, changed
  command names and config keys, translated string literals and reversed
  semantics
- Rebuild the three color_config tables from the English source, which
  were missing rows and still used the pre-0.90 default color syntax
- Restore sentences and sections missing from the translation, including
  the escape-sequence list, hidden-file and theming notes, short-form
  flags, and several cross references
- Add the first five lang-guide filter chapters and the lang-guide index
  page, together with the missing /zh-CN/lang-guide/ sidebar section and
  the navbar entry pointing at it
- Bring contributor-book/plugins up to date with Nushell 0.116: sync all
  51 code blocks (plugin protocol, Rust and Python examples) and restore
  the surrounding prose, which still described 0.90
- Advance the i18n-meta baselines for the chapters that now fully match
  the English source
Copilot AI balanced review requested due to automatic review settings November 2, 2026 11:53

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

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.

@fdncred
fdncred merged commit 9224ba3 into nushell:main Nov 2, 2026
2 checks passed
@fdncred

fdncred commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants