docs: translate scroll wheel actions documentation to Chinese
User description
Thanks for contributing to the Selenium site and documentation! A PR well described will help maintainers to review and merge it quickly
Before submitting your PR, please check our contributing guidelines. Avoid large PRs, and help reviewers by making them as simple and short as possible.
Description
translate scroll wheel actions documentation to Chinese
Motivation and Context
Types of changes
- [ ] Change to the site (I have double-checked the Netlify deployment, and my changes look good)
- [ ] Code example added (and I also added the example to all translated languages)
- [X] Improved translation
- [ ] Added new translation (and I also added a notice to each document missing translation)
Checklist
- [X] I have read the contributing document.
- [X] I have used hugo to render the site/docs locally and I am sure it works.
PR Type
Documentation
Description
-
Translates scroll wheel actions documentation to Chinese
-
Updates all section headings and body text to Chinese
-
Maintains original document structure and code examples
-
Improves formatting with better line breaks for readability
Diagram Walkthrough
flowchart LR
A["English Documentation"] -- "translate content" --> B["Chinese Documentation"]
B -- "preserve structure" --> C["Updated wheel.zh-cn.md"]
File Walkthrough
| Relevant files | |||
|---|---|---|---|
| Documentation |
|
Deploy request for selenium-dev pending review.
Visit the deploys page to approve it
| Name | Link |
|---|---|
| Latest commit | 63705ca8543de129d72c7a4976d72e975f8cc3b5 |
PR Compliance Guide 🔍
Below is a summary of compliance checks for this PR:
| Security Compliance | |
| 🟢 | No security concerns identifiedNo security vulnerabilities detected by AI analysis. Human verification advised for critical code. |
| Ticket Compliance | |
| ⚪ | 🎫 No ticket provided
|
| Codebase Duplication Compliance | |
| ⚪ | Codebase context is not definedFollow the guide to enable codebase context checks. |
| Custom Compliance | |
| 🟢 |
Generic: Meaningful Naming and Self-Documenting CodeObjective: Ensure all identifiers clearly express their purpose and intent, making code Status: Passed
|
Generic: Secure Error HandlingObjective: To prevent the leakage of sensitive system information through error messages while Status: Passed
| |
Generic: Secure Logging PracticesObjective: To ensure logs are useful for debugging and auditing without exposing sensitive Status: Passed
| |
Generic: Security-First Input Validation and Data HandlingObjective: Ensure all data inputs are validated, sanitized, and handled securely to prevent Status: Passed
| |
| ⚪ | Generic: Comprehensive Audit TrailsObjective: To create a detailed and reliable record of critical system actions for security analysis Status: Referred Code
|
Generic: Robust Error Handling and Edge Case ManagementObjective: Ensure comprehensive error handling that provides meaningful context and graceful Status: Referred Code
| |
Compliance status legend
🟢 - Fully Compliant🟡 - Partial Compliant
🔴 - Not Compliant
⚪ - Requires Further Human Verification
🏷️ - Compliance label
PR Code Suggestions ✨
Explore these optional code suggestions:
| Category | Suggestion | Impact |
| Possible issue |
Correct misleading section heading translationCorrect a misleading section heading. The current translation incorrectly states website_and_docs/content/documentation/webdriver/actions_api/wheel.zh-cn.md [146]
Suggestion importance[1-10]: 7__ Why: This suggestion correctly identifies a significant inaccuracy in the documentation. The translated heading, following a misleading original English heading, contradicts the section's description. The proposed change corrects this, making the documentation accurate. | Medium |
| General |
Improve heading translation for clarityImprove the Chinese translation of the heading "Scroll from an element by a website_and_docs/content/documentation/webdriver/actions_api/wheel.zh-cn.md [75]
Suggestion importance[1-10]: 5__ Why: The suggestion correctly identifies that the translated heading is slightly ambiguous and proposes a clearer version that better reflects the original English intent of scrolling from an element, not scrolling the element itself. | Low |
| ||