New Crowdin translations - zh-CN (#25747)

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
This commit is contained in:
PX4 Build Bot
2025-10-13 09:08:22 +11:00
committed by GitHub
co-authored by Crowdin Bot
parent 7fb8ea051f
commit 87559f717b
13 changed files with 222 additions and 37 deletions
+3 -3
View File
@@ -2,15 +2,15 @@
The _supported platforms_ for PX4 development are:
- [Ubuntu Linux (22.04/20.04/18.04)](../dev_setup/dev_env_linux_ubuntu.md) — Recommended
- [Ubuntu Linux (24.04/22.04)](../dev_setup/dev_env_linux_ubuntu.md) — Recommended
- [Windows (10/11)](../dev_setup/dev_env_windows_wsl.md) — via WSL2
- [Mac OS](../dev_setup/dev_env_mac.md)
- [macOS](../dev_setup/dev_env_mac.md)
## 支持的编译目标
下表显示了您可以在每个操作系统上构建何种 PX平台的固件编译。
| 平台 | Linux (Ubuntu) | Mac | Windows |
| 平台 | Linux (Ubuntu) | macOS | Windows |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | :-------------------------------: | :-------------------------: | :-------------------------: |
| **NuttX based hardware:** [Pixhawk Series](../flight_controller/pixhawk_series.md), [Crazyflie](../complete_vehicles_mc/crazyflie2.md) | &check; | &check; | &check; |
| **Linux-based hardware:** [Raspberry Pi 2/3](../flight_controller/raspberry_pi_navio2.md) | &check; | | |
+4 -4
View File
@@ -1,4 +1,4 @@
# Mac 上的开发环境
# macOS Development Environment
MacOS 是受支持的 PX4 开发平台。
根据本文的指示构建的开发环境可以用编译:
@@ -22,8 +22,8 @@ The "base" macOS setup installs the tools needed for building firmware, and incl
### Environment Setup
:::details
Apple Silicon Macbook users!
If you have an Apple M1, M2 etc. Macbook, make sure to run the terminal as x86 by setting up an x86 terminal:
Apple Silicon MacBook users!
If you have an Apple M1, M2 etc. MacBook, make sure to run the terminal as x86 by setting up an x86 terminal:
1. Locate the Terminal application within the Utilities folder (**Finder > Go menu > Utilities**)
2. Select _Terminal.app_ and right-click on it, then choose **Duplicate**.
@@ -50,7 +50,7 @@ First set up the environment
2. Enforce Python 3 by appending the following lines to `~/.zshenv`
```sh
# Point pip3 to MacOS system python 3 pip
# Point pip3 to macOS system python 3 pip
alias pip3=/usr/bin/pip3
```