Skip to content

feat: Add Chinese documentation#26

Open
LxHTT wants to merge 16 commits intoiNKORE-NET:mainfrom
LxHTT:main
Open

feat: Add Chinese documentation#26
LxHTT wants to merge 16 commits intoiNKORE-NET:mainfrom
LxHTT:main

Conversation

@LxHTT
Copy link
Copy Markdown

@LxHTT LxHTT commented May 2, 2026

Translated:

  • All existing en-US source articles.

Also fix:

  • English documentation for Window component to correct capitalization and phrasing.
  • Fix some wrong reference of Microsoft Learn.
  • Fix some spellings.
  • Some consistent naming and tranlations.

- Created documentation for Button component in Chinese.
- Created documentation for CheckBox component in Chinese.
- Created documentation for ComboBox component in Chinese.
- Created documentation for DropDownButton component in Chinese.
- Created documentation for HyperlinkButton component in Chinese.
- Created documentation for ToggleSwitch component in Chinese.
- Added Chinese documentation for Window component, detailing its creation, styling, and usage.
- Updated English documentation for Window component to correct capitalization and phrasing.
Copilot AI review requested due to automatic review settings May 2, 2026 08:47
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds Chinese (zh-CN) documentation pages for several WPF Modern UI components and onboarding, plus small wording/capitalization fixes to the existing English Window docs.

Changes:

  • Added new zh-CN docs for: Button, CheckBox, ComboBox, DropDownButton, HyperlinkButton, ToggleSwitch, Window, and Onboarding.
  • Updated en-US Window docs wording/capitalization (“Mica”, “UNCHECK”).

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 15 comments.

Show a summary per file
File Description
data/docs/ui-wpf-modern/03. components/04. dialogs/# window/index.zh-CN.mdx New Chinese Window documentation (examples, remarks, links).
data/docs/ui-wpf-modern/03. components/04. dialogs/# window/index.en-US.mdx Minor wording/capitalization adjustments in Window docs.
data/docs/ui-wpf-modern/03. components/01. basic-input/# toggle-switch/index.zh-CN.mdx New Chinese ToggleSwitch documentation.
data/docs/ui-wpf-modern/03. components/01. basic-input/# hyperlink-button/index.zh-CN.mdx New Chinese HyperlinkButton documentation.
data/docs/ui-wpf-modern/03. components/01. basic-input/# dropdown-button/index.zh-CN.mdx New Chinese DropDownButton documentation.
data/docs/ui-wpf-modern/03. components/01. basic-input/# combo-box/index.zh-CN.mdx New Chinese ComboBox documentation.
data/docs/ui-wpf-modern/03. components/01. basic-input/# check-box/index.zh-CN.mdx New Chinese CheckBox documentation.
data/docs/ui-wpf-modern/03. components/01. basic-input/# button/index.zh-CN.mdx New Chinese Button documentation.
data/docs/ui-wpf-modern/02.# onboarding/index.zh-CN.mdx New Chinese onboarding/quickstart guide.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread data/docs/ui-wpf-modern/02.# onboarding/index.zh-CN.mdx Outdated
Comment thread data/docs/ui-wpf-modern/03. components/04. dialogs/# window/index.zh-CN.mdx Outdated
Comment thread data/docs/ui-wpf-modern/03. components/04. dialogs/# window/index.zh-CN.mdx Outdated
Comment thread data/docs/ui-wpf-modern/03. components/04. dialogs/# window/index.zh-CN.mdx Outdated
Comment thread data/docs/ui-wpf-modern/03. components/04. dialogs/# window/index.zh-CN.mdx Outdated
Comment thread data/docs/ui-wpf-modern/03. components/04. dialogs/# window/index.zh-CN.mdx Outdated
@LxHTT LxHTT marked this pull request as draft May 2, 2026 11:29
@Aris-Offline Aris-Offline self-assigned this May 2, 2026
@NotYoojun NotYoojun requested a review from Aris-Offline May 2, 2026 13:16
LxHTT and others added 2 commits May 2, 2026 21:16
…ontrol components

- Updated the "See also" sections in the FontIcon and Frame documentation to improve related articles visibility.
- Added a new Chinese (zh-CN) documentation file for FontIcon with comprehensive examples and usage guidelines.
- Enhanced the Frame documentation with examples for navigation and transition styles, including keyboard navigation handling.
- Introduced a new Chinese (zh-CN) documentation file for NavigationView, detailing its usage, examples, and customization options.
- Updated the NavigationView documentation to clarify inheritance and added related articles.
- Improved the TabControl documentation by adding related articles for better navigation and context.

Co-authored-by: Copilot <copilot@github.com>
…ontrol components

- Updated the "See also" sections in the FontIcon and Frame documentation to improve related articles visibility.
- Added a new Chinese (zh-CN) documentation file for FontIcon with comprehensive examples and usage guidelines.
- Enhanced the Frame documentation with examples for navigation and transition styles, including keyboard navigation handling.
- Introduced a new Chinese (zh-CN) documentation file for NavigationView, detailing its usage, examples, and customization options.
- Updated the NavigationView documentation to clarify inheritance and added related articles.
- Improved the TabControl documentation by adding related articles for better navigation and context.
Aris-Offline and others added 3 commits May 2, 2026 21:18
Polish several Chinese documentation pages: standardize code fences to XML, correct wording and punctuation (e.g. capitalize “Issue”, change phrasing to “以极少的努力”), and improve translations (e.g. Elevation → 层级) and links to theming docs. Update DropDownButton example: replace bitmap-saving snippet with a MenuItem handler that sets TextBox text alignment. Rework ToggleSwitch section to clarify usage and styles and add the DefaultToggleSwitchStyleKey reference. Miscellaneous small copy edits and typo fixes across multiple component and window docs.
Comment thread data/docs/ui-wpf-modern/01.# introduction/index.zh-CN.mdx
LxHTT and others added 4 commits May 2, 2026 21:38
- Updated DropDownButton documentation in Chinese for better readability.
- Removed unnecessary style information from ToggleSwitch documentation in English.
- Enhanced ToggleSwitch documentation in Chinese for consistency and clarity.
- Clarified MessageBox reference in Window documentation in English.
- Improved phrasing in Window documentation in Chinese for better understanding.
- Adjusted FontIcon documentation in Chinese for consistent punctuation and clarity.
- Enhanced Frame navigation documentation in English and Chinese for better understanding of navigation transitions.
- Updated NavigationView documentation in English and Chinese for consistency in layout terminology.
- Added TabControl documentation in Chinese to provide comprehensive examples and usage guidelines.
- Improved system awareness documentation for clarity on platform dependencies and synchronization features.

Co-authored-by: Copilot <copilot@github.com>
…ontent on new topics

Co-authored-by: Copilot <copilot@github.com>
- Updated links and descriptions in the Window, FontIcon, Frame, NavigationView, TabControl, and theming sections to use simplified Chinese.
- Added new sections for WindowHelper, ToggleSwitch, BackdropType, and WindowCornerStyle with detailed descriptions and examples.
- Improved consistency in terminology and formatting across various documentation files.
- Added new JSON category files for theming and overrides sections to enhance navigation.

Co-authored-by: Copilot <copilot@github.com>
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 50 out of 50 changed files in this pull request and generated 13 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread data/docs/ui-wpf-modern/02.# onboarding/index.zh-CN.mdx
Comment thread CONTRIBUTING.zh-CN.md Outdated
Comment thread data/docs/ui-wpf-modern/03. components/04. dialogs/# window/index.en-US.mdx Outdated
…ze terminology and enhance content consistency.
@LxHTT LxHTT marked this pull request as ready for review May 2, 2026 16:08
LxHTT and others added 3 commits May 3, 2026 00:10
Make small copy edits across Chinese docs: change the onboarding sample button from “你好世界!” to “Hello World!”, clarify ComboBox wording by adding “且没有紧凑状态”, and adjust the blog post summary. Note: the blog post file contains unresolved merge conflict markers (<<<<<<<, =======, >>>>>>>) and requires manual resolution.
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