mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-07-25 22:07:39 +08:00
docs(i18n): PX4 guide translations (Crowdin) - uk (#27811)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
This commit is contained in:
@@ -246,16 +246,19 @@ If the airframe is for a **new group** you additionally need to:
|
||||
|
||||
3. Update _QGroundControl_:
|
||||
- Add the svg image for the group into: [src/AutopilotPlugins/Common/images](https://github.com/mavlink/qgroundcontrol/tree/master/src/AutoPilotPlugins/Common/Images)
|
||||
- Add reference to the svg image into [qgcimages.qrc](https://github.com/mavlink/qgroundcontrol/blob/master/qgcimages.qrc), following the pattern below:
|
||||
- Add a reference to the svg image into [CMakeLists.txt](https://github.com/mavlink/qgroundcontrol/blob/master/src/AutoPilotPlugins/Common/CMakeLists.txt), following the pattern below:
|
||||
|
||||
```xml
|
||||
<qresource prefix="/qmlimages">
|
||||
...
|
||||
<file alias="Airframe/AirframeSimulation">src/AutoPilotPlugins/Common/Images/AirframeSimulation.svg</file>
|
||||
<file alias="Airframe/AirframeUnknown">src/AutoPilotPlugins/Common/Images/AirframeUnknown.svg</file>
|
||||
<file alias="Airframe/Boat">src/AutoPilotPlugins/Common/Images/Boat.svg</file>
|
||||
<file alias="Airframe/FlyingWing">src/AutoPilotPlugins/Common/Images/FlyingWing.svg</file>
|
||||
...
|
||||
```cmake
|
||||
qt_add_resources(${CMAKE_PROJECT_NAME} autopilot_plugin_common_airframes
|
||||
PREFIX "/qmlimages/Airframe"
|
||||
BASE "${CMAKE_SOURCE_DIR}/src/AutoPilotPlugins/Common/Images"
|
||||
FILES
|
||||
"${CMAKE_SOURCE_DIR}/src/AutoPilotPlugins/Common/Images/AirframeSimulation.svg"
|
||||
"${CMAKE_SOURCE_DIR}/src/AutoPilotPlugins/Common/Images/AirframeUnknown.svg"
|
||||
"${CMAKE_SOURCE_DIR}/src/AutoPilotPlugins/Common/Images/Boat.svg"
|
||||
"${CMAKE_SOURCE_DIR}/src/AutoPilotPlugins/Common/Images/FlyingWing.svg"
|
||||
...
|
||||
)
|
||||
```
|
||||
|
||||
::: info
|
||||
|
||||
Reference in New Issue
Block a user