Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Selenium Manager Doc for zh-cn #2255

Merged
merged 3 commits into from
Apr 4, 2025

Conversation

alaahong
Copy link
Member

@alaahong alaahong commented Apr 4, 2025

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

Update Selenium Manager Doc for zh-cn

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)
  • Improved translation
  • Added new translation (and I also added a notice to each document missing translation)

Checklist

  • I have read the contributing document.
  • I have used hugo to render the site/docs locally and I am sure it works.

PR Type

Documentation


Description

  • Translated the Selenium Manager documentation into Simplified Chinese.

  • Updated all sections including usage, configuration, and examples.

  • Added localized descriptions for features, limitations, and roadmap.

  • Improved accessibility for Chinese-speaking users.


Changes walkthrough 📝

Relevant files
Documentation
selenium_manager.zh-cn.md
Full Simplified Chinese translation for Selenium Manager documentation

website_and_docs/content/documentation/selenium_manager.zh-cn.md

  • Translated the entire Selenium Manager documentation into Simplified
    Chinese.
  • Updated all sections including motivation, usage, and configuration.
  • Added localized examples and detailed explanations for features.
  • Included translated tables, commands, and environment variable
    descriptions.
  • +292/-171

    Need help?
  • Type /help how to ... in the comments thread for any questions about Qodo Merge usage.
  • Check out the documentation for more information.
  • Copy link

    netlify bot commented Apr 4, 2025

    👷 Deploy request for selenium-dev pending review.

    Visit the deploys page to approve it

    Name Link
    🔨 Latest commit dfb5e42

    Copy link
    Contributor

    qodo-merge-pro bot commented Apr 4, 2025

    PR Reviewer Guide 🔍

    Here are some key observations to aid the review process:

    ⏱️ Estimated effort to review: 2 🔵🔵⚪⚪⚪
    🧪 No relevant tests
    🔒 No security concerns identified
    ⚡ Recommended focus areas for review

    Translation Consistency

    Verify that technical terms like "Chrome for Testing (CfT)" are consistently translated throughout the document. Some instances use the English abbreviation while others use the full Chinese translation.

    - Chrome浏览器, 基于 [Chrome for Testing (CfT)](https://googlechromelabs.github.io/chrome-for-testing/), 自 Selenium 4.11.0 版本起. 
    - 火狐浏览器. 基于[public Firefox releases](https://ftp.mozilla.org/pub/firefox/releases/), 自 Selenium 4.12.0 版本. 
    Formatting Check

    Ensure that code blocks, command examples, and environment variable names maintain proper formatting in the translated version. Some technical elements might need to be displayed exactly as in the original.

    edge can only be installed in Windows with administrator permissions

    
    因此, 通过 Selenium Manager 在 Windows 系统中自动安装 Edge 浏览器需要管理员权限, 
    并且 Edge 最终会被安装在通常的程序文件夹中(例如 `C:\Program Files (x86)\Microsoft\Edge ). 
    
    

    Copy link
    Contributor

    qodo-merge-pro bot commented Apr 4, 2025

    PR Code Suggestions ✨

    Explore these optional code suggestions:

    CategorySuggestion                                                                                                                                    Impact
    General
    修复本地化链接文本
    Suggestion Impact:提交实现了建议的主要内容,将英文链接文本'set the location directly'翻译成了中文'直接设置位置',并修复了句点问题,虽然空格位置略有不同

    code diff:

    @@ -418,7 +418,7 @@
     如果您在 arm64/aarch64、32 位架构或树莓派上运行 Linux, Selenium Manager 将无法为您服务.  
     对于用户来说, 最大的问题在于他们过去常常获取自定义构建的驱动程序并将其放在 PATH 上, 然后就能正常工作.  
     现在由于 Selenium Manager 负责在 PATH 上查找驱动程序, 
    -这种方法不再奏效, 用户需要使用   `Service`   类并[set the location directly](https://www.selenium.dev/documentation/webdriver/drivers/service/#driver-location)..  
    +这种方法不再奏效, 用户需要使用 `Service` 类并[直接设置位置](https://www.selenium.dev/documentation/webdriver/drivers/service/#driver-location) .

    修复链接文本的本地化问题。当前的链接文本"set the location
    directly"没有被翻译成中文,而且链接末尾有多余的句点。应该将链接文本翻译为中文,并移除多余的句点。

    website_and_docs/content/documentation/selenium_manager.zh-cn.md [418-421]

     如果您在 arm64/aarch64、32 位架构或树莓派上运行 Linux, Selenium Manager 将无法为您服务.  
     对于用户来说, 最大的问题在于他们过去常常获取自定义构建的驱动程序并将其放在 PATH 上, 然后就能正常工作.  
     现在由于 Selenium Manager 负责在 PATH 上查找驱动程序, 
    -这种方法不再奏效, 用户需要使用   `Service`   类并[set the location directly](https://www.selenium.dev/documentation/webdriver/drivers/service/#driver-location)..
    +这种方法不再奏效, 用户需要使用 `Service` 类并[直接设置位置](https://www.selenium.dev/documentation/webdriver/drivers/service/#driver-location).

    [Suggestion has been applied]

    Suggestion importance[1-10]: 7

    __

    Why: 这个建议修复了文档中的一个本地化问题,将英文链接文本"set the location directly"翻译成了中文"直接设置位置",并移除了多余的句点,使文档更加一致和专业。这提高了中文文档的可读性和用户体验。

    Medium
    • Update

    @alaahong alaahong merged commit cb91079 into SeleniumHQ:trunk Apr 4, 2025
    3 checks passed
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    1 participant