From 398e7cf496fe222b30013ebef39ec2323433ffab Mon Sep 17 00:00:00 2001 From: Gus Grubba Date: Sat, 13 May 2017 11:43:25 -0400 Subject: [PATCH] Initial localization work. --- localization/README.md | 25 + localization/gen_translation_source.sh | 5 + localization/qgc.ts | 9388 ++++++++++++++++++++++ src/AnalyzeView/GeoTagController.cc | 6 +- src/AnalyzeView/LogDownloadController.cc | 22 +- src/AnalyzeView/ULogParser.cc | 2 +- src/QGCQFileDialog.h | 3 +- 7 files changed, 9435 insertions(+), 16 deletions(-) create mode 100644 localization/README.md create mode 100755 localization/gen_translation_source.sh create mode 100644 localization/qgc.ts diff --git a/localization/README.md b/localization/README.md new file mode 100644 index 000000000..a63f9e5d1 --- /dev/null +++ b/localization/README.md @@ -0,0 +1,25 @@ +To generate (or update) a source translation file, use the "lupdate" command line tool. It can be found in the Qt distribution. + +(Easiest to just run the `gen_translation_source.sh` script, or get the commands from within the script and run them manually) + +This will parse all the source files and generate a language translation file called qgc.ts. This file should be copied into whatever language it is to be translated to and sent to translation. The translation can either be done directly within the (XML) file, using Qt's "Linguist" tool, or uploaded to crowdin. + +For instance, to localize to Germany German as an example you first copy the original source: +``` +cp qgc.ts qgc_de-DE.ts +``` +The German localization is then performed in qgc_de-DE.ts + +Once localization is complete, you "compile" it using the "lrelease" command line tool. +``` +lrelease qgc_de-DE.ts +``` +This will generate the ("compiled") localization file `qgc_de-DE.qm`, which should be shipped with QGroundControl. + +Further documentation can be found at: + +http://doc.qt.io/qt-5/qtlinguist-index.html + +Note about crowdin: + +If you build the project and download the resulting ZIP file, the translated (.ts) files all come with the same name "qgc.ts". They each reside in a different directory named after the language for which it was translated into. Care must be taken to rename these files before moving them to the locale directory so you don't override the original, English source file. diff --git a/localization/gen_translation_source.sh b/localization/gen_translation_source.sh new file mode 100755 index 000000000..02061caa1 --- /dev/null +++ b/localization/gen_translation_source.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# This is set to find lupdate in my particular installation. You will need to set the path +# where you have Qt installed. +QT_PATH=~/Applications/Qt/5.7/clang_64/bin +$QT_PATH/lupdate ../src -ts qgc.ts diff --git a/localization/qgc.ts b/localization/qgc.ts new file mode 100644 index 000000000..b779377fc --- /dev/null +++ b/localization/qgc.ts @@ -0,0 +1,9388 @@ + + + + + APMAirframeComponent + + + + Select your drone to load the default parameters for it. + + + + + Please select your airframe type + + + + + + + + Load common parameters + + + + + Frame Class: + + + + + Frame Type: + + + + + Airframe Setup is used to select the airframe which matches your vehicle. You can also the load default parameter values associated with known vehicle types. + + + + + APMAirframeComponentController + + + Param file github json download failed: %1 + + + + + Param file download failed: %1 + + + + + APMAirframeComponentSummary + + + + Frame Type: + + + + + Frame Class: + + + + + Firmware Version: + + + + + Unknown + + + + + APMCameraComponent + + + Disabled + + + + + Channel 5 + + + + + Channel 6 + + + + + Channel 7 + + + + + Channel 8 + + + + + Channel 9 + + + + + Channel 10 + + + + + Channel 11 + + + + + Channel 12 + + + + + Channel 13 + + + + + Channel 14 + + + + + Gimbal + + + + + Stabilize + + + + + Servo reverse + + + + + Output channel: + + + + + Input channel: + + + + + Gimbal angle limits: + + + + + + min + + + + + + max + + + + + Servo PWM limits: + + + + + Gimbal Settings + + + + + Type: + + + + + Gimbal Type changes takes affect next reboot of autopilot + + + + + Default Mode: + + + + + Tilt + + + + + Roll + + + + + Pan + + + + + Camera + + + + + Camera setup is used to adjust camera and gimbal settings. + + + + + APMCameraComponentSummary + + + Gimbal type: + + + + + Tilt input channel: + + + + + Pan input channel: + + + + + Roll input channel: + + + + + APMFirmwarePlugin + + + Error during Solo video link setup: %1 + + + + + APMFlightModesComponent + + + Flight Mode Settings + + + + + (Channel 5) + + + + + Flight mode channel: + + + + + Not assigned + + + + + Channel 1 + + + + + Channel 2 + + + + + Channel 3 + + + + + Channel 4 + + + + + Channel 5 + + + + + Channel 6 + + + + + Channel 7 + + + + + Channel 8 + + + + + Flight Mode + + + + + Channel Options + + + + + Channel option %1 : + + + + + Flight Modes + + + + + Flight Modes Setup is used to configure the transmitter switches associated with Flight Modes. + + + + + APMFlightModesComponentSummary + + + Flight Mode 1: + + + + + Flight Mode 2: + + + + + Flight Mode 3: + + + + + Flight Mode 4: + + + + + Flight Mode 5: + + + + + Flight Mode 6: + + + + + APMLightsComponent + + + Disabled + + + + + Channel 5 + + + + + Channel 6 + + + + + Channel 7 + + + + + Channel 8 + + + + + Channel 9 + + + + + Channel 10 + + + + + Channel 11 + + + + + Channel 12 + + + + + Channel 13 + + + + + Channel 14 + + + + + Light Output Channels + + + + + Lights 1: + + + + + Lights 2: + + + + + Brightness Steps: + + + + + Lights + + + + + Lights setup is used to adjust light output channels. + + + + + APMLightsComponentSummary + + + Disabled + + + + + Channel 5 + + + + + Channel 6 + + + + + Channel 7 + + + + + Channel 8 + + + + + Channel 9 + + + + + Channel 10 + + + + + Channel 11 + + + + + Channel 12 + + + + + Channel 13 + + + + + Channel 14 + + + + + Lights Output 1: + + + + + Lights Output 2: + + + + + APMNotSupported + + + Not supported + + + + + APMPowerComponent + + + Power Module 90A + + + + + Power Module HV + + + + + Other + + + + + Battery monitor: + + + + + Battery capacity: + + + + + Power sensor: + + + + + Current pin: + + + + + Voltage pin: + + + + + Voltage multiplier: + + + + + + Calculate + + + + + Calculate Voltage Multiplier + + + + + If the battery voltage reported by the vehicle is largely different than the voltage read externally using a voltmeter you can adjust the voltage multiplier value to correct this. Click the Calculate button for help with calculating a new value. + + + + + Amps per volt: + + + + + Calculate Amps per Volt + + + + + If the current draw reported by the vehicle is largely different than the current read externally using a current meter you can adjust the amps per volt value to correct this. Click the Calculate button for help with calculating a new value. + + + + + The Power Component is used to setup battery parameters. + + + + + APMPowerComponentSummary + + + Battery monitor: + + + + + Battery capacity: + + + + + APMRadioComponent + + + Radio + + + + + The Radio Component is used to setup which channels on your RC Transmitter you will use for each vehicle control such as Roll, Pitch, Yaw and Throttle. It also allows you to assign switches and dials to the various flight modes. Prior to flight you must also calibrate the extents for all of your channels. + + + + + APMRadioComponentSummary + + + Roll: + + + + + + + + Setup required + + + + + + + + Channel %1 + + + + + Pitch: + + + + + Yaw: + + + + + Throttle: + + + + + APMSafetyComponent + + + Safety + + + + + Safety Setup is used to setup failsafe actions, geofence limits, leak detection, and arming checks. + + + + + Safety Setup is used to setup triggers for Return to Land as well as the settings for Return to Land itself. + + + + + APMSafetyComponentCopter + + + Failsafe Triggers + + + + + Ground Station failsafe: + + + + + Throttle failsafe: + + + + + + Disabled + + + + + Always RTL + + + + + Continue with Mission in Auto Mode + + + + + Always Land + + + + + PWM threshold: + + + + + Battery failsafe: + + + + + Land + + + + + + Return to Launch + + + + + Voltage threshold: + + + + + MAH threshold: + + + + + GeoFence + + + + + Circle GeoFence enabled + + + + + Altitude GeoFence enabled + + + + + Report only + + + + + RTL or Land + + + + + Max radius: + + + + + Max altitude: + + + + + Return at current altitude + + + + + Return at specified altitude: + + + + + Loiter above Home for: + + + + + Land with descent speed: + + + + + Final loiter altitude: + + + + + Arming Checks + + + + + Warning: Turning off arming checks can lead to loss of Vehicle control. + + + + + APMSafetyComponentPlane + + + Failsafe Triggers + + + + + Throttle PWM threshold: + + + + + Voltage threshold: + + + + + MAH threshold: + + + + + GCS failsafe + + + + + Return to Launch + + + + + Return at current altitude + + + + + Return at specified altitude: + + + + + APMSafetyComponentRover + + + Not supported + + + + + APMSafetyComponentSub + + + Failsafe Actions + + + + + Ground Station failsafe: + + + + + Leak failsafe: + + + + + GeoFence + + + + + Depth GeoFence enabled +(report only) + + + + + Max depth: + + + + + Leak Detector + + + + + Pin: + + + + + Logic (when dry): + + + + + Arming Checks + + + + + Warning: Turning off arming checks can lead to loss of Vehicle control. + + + + + APMSafetyComponentSummaryCopter + + + + + Disabled + + + + + Always RTL + + + + + Continue with Mission in Auto Mode + + + + + Always Land + + + + + + + Unknown + + + + + + Land + + + + + Return to Launch + + + + + Arming Checks: + + + + + Enabled + + + + + Some disabled + + + + + Throttle failsafe: + + + + + Battery failsafe: + + + + + + GeoFence: + + + + + Altitude + + + + + Circle + + + + + Altitude,Circle + + + + + Report only + + + + + RTL or Land + + + + + RTL min alt: + + + + + current + + + + + RTL loiter time: + + + + + RTL final alt: + + + + + Descent speed: + + + + + APMSafetyComponentSummaryPlane + + + Throttle failsafe: + + + + + + + Disabled + + + + + Voltage failsafe: + + + + + mAh failsafe: + + + + + RTL min alt: + + + + + current + + + + + APMSafetyComponentSummaryRover + + + Not supported + + + + + APMSafetyComponentSummarySub + + + Arming Checks: + + + + + Enabled + + + + + Some disabled + + + + + GCS failsafe: + + + + + Leak failsafe: + + + + + Leak detector: + + + + + + GeoFence: + + + + + Disabled + + + + + Depth + + + + + Circle + + + + + Depth,Circle + + + + + Report only + + + + + APMSensorsComponent + + + + Calibrate Compass + + + + + Calibrate Accelerometer + + + + + + Sensor Settings + + + + + Calibration Cancel + + + + + Waiting for Vehicle to response to Cancel. This may take a few seconds. + + + + + + + Calibration complete + + + + + Accelerometer calibration complete. + + + + + Compass calibration complete. + + + + + Shown in the indicator bars is the quality of the calibration for each compass. + + + + + + + - Green indicates a well functioning compass. + + + + + + - Yellow indicates a questionable compass or calibration. + + + + + + - Red indicates a compass which should not be used. + + + + + + + YOU MUST REBOOT YOUR VEHICLE AFTER EACH CALIBRATION. + + + + + Orientation: + + + + + Autopilot Orientation: + + + + + To level the horizon you need to place the vehicle in its level flight position and press Ok. + + + + + Pressure calibration will set the depth to zero at the current pressure reading. + + + + + Accelerometer + + + + + Compass + + + + + Accelerometer must be calibrated prior to Compass. + + + + + Level Horizon + + + + + Accelerometer must be calibrated prior to Level Horizon. + + + + + Calibrate Pressure + + + + + CompassMot + + + + + CompassMot - Compass Motor Interference Calibration + + + + + Next + + + + + Cancel + + + + + + + + + + Rotate + + + + + + + + + + Hold Still + + + + + Sensors + + + + + Sensors Setup is used to calibrate the sensors within your vehicle. + + + + + APMSensorsComponentController + + + Rotate the vehicle randomly around all axes until the progress bar fills all the way to the right . + + + + + Raise the throttle slowly to between 50% ~ 75% (the props will spin!) for 5 ~ 10 seconds. + + + + + Quickly bring the throttle back down to zero + + + + + Press the Next button to complete the calibration + + + + + Hold the vehicle in its level flight position. + + + + + Requesting pressure calibration... + + + + + Level horizon complete + + + + + Level horizon failed + + + + + Pressure calibration success + + + + + Pressure calibration fail + + + + + Compass %1 calibration complete + + + + + Compass %1 calibration below quality threshold + + + + + All compasses calibrated successfully + + + + + YOU MUST REBOOT YOUR VEHICLE NOW FOR NEW SETTINGS TO TAKE AFFECT + + + + + Compass calibration failed + + + + + YOU MUST REBOOT YOUR VEHICLE NOW AND RETRY COMPASS CALIBRATION PRIOR TO FLIGHT + + + + + Continue rotating... + + + + + APMSensorsComponentSummary + + + Compass + + + + + + Setup required + + + + + Not installed + + + + + Accelerometer(s): + + + + + Ready + + + + + APMSubFrameComponent + + + Frame + + + + + Frame setup allows you to choose your vehicle's motor configuration. Install clockwise +propellers on the green thrusters and counter-clockwise propellers on the blue thrusters +(or vice-versa). The flight controller will need to be rebooted to apply changes. + + + + + APMSubFrameComponentSummary + + + Frame Type: + + + + + Firmware Version: + + + + + + Unknown + + + + + Git Revision: + + + + + APMTuningComponent + + + Tuning Setup is used to tune the flight characteristics of the Vehicle. + + + + + APMTuningComponentCopter + + + Basic Tuning + + + + + Throttle Hover + + + + + How much throttle is needed to maintain a steady hover + + + + + Roll/Pitch Sensitivity + + + + + Slide to the right if the copter is sluggish or slide to the left if the copter is twitchy + + + + + Climb Sensitivity + + + + + Slide to the right to climb more aggressively or slide to the left to climb more gently + + + + + RC Roll/Pitch Feel + + + + + Slide to the left for soft control, slide to the right for crisp control + + + + + AutoTune + + + + + Axes to AutoTune: + + + + + Channel for AutoTune switch: + + + + + None + + + + + Channel 7 + + + + + Channel 8 + + + + + Channel 9 + + + + + Channel 10 + + + + + Channel 11 + + + + + Channel 12 + + + + + In Flight Tuning + + + + + Channel Option 6 (Tuning): + + + + + Min: + + + + + Max: + + + + + AirframeComponent + + + Custom Airframe Config + + + + + Your vehicle is using a custom airframe configuration. + + + + + This configuration can only be modified through the Parameter Editor. + + + + + + + If you want to reset your airframe configuration and select a standard configuration, click 'Reset' above. + + + + + Clicking “Apply” will save the changes you have made to your airframe configuration.<br><br>All vehicle parameters other than Radio Calibration will be reset.<br><br>Your vehicle will also be restarted in order to complete the process. + + + + + You've connected a %1. + + + + + Airframe is not set. + + + + + To change this configuration, select the desired airframe below then click “Apply and Restart”. + + + + + + Apply and Restart + + + + + Airframe + + + + + Airframe Setup is used to select the airframe which matches your vehicle. This will in turn set up the various tuning values for flight parameters. + + + + + AirframeComponentSummary + + + System ID: + + + + + Airframe type: + + + + + + Setup required + + + + + Vehicle: + + + + + Firmware Version: + + + + + Unknown + + + + + AnalyzeView + + + Analyze + + + + + Log Download + + + + + GeoTag Images + + + + + Mavlink Console + + + + + AppMessages + + + Log files (*.txt) + + + + + All Files (*) + + + + + Select log save file + + + + + Save App Log + + + + + Show Latest + + + + + Set logging + + + + + Turn on logging categories + + + + + AppSettings + + + Application Settings + + + + + ArduCopterFirmwarePlugin + + + Unable to takeoff: Vehicle failed to arm. + + + + + ArmedIndicator + + + Armed + + + + + Disarmed + + + + + BatteryIndicator + + + Battery Status + + + + + Voltage: + + + + + Accumulated Consumption: + + + + + BluetoothSettings + + + Bluetooth Not Available + + + + + Bluetooth Link Settings + + + + + Device: + + + + + Address: + + + + + Bluetooth Devices: + + + + + Scan + + + + + Stop + + + + + Bootloader + + + Write failed: %1 + + + + + Incorrect number of bytes returned for write: actual(%1) expected(%2) + + + + + Timeout waiting for bytes to be available + + + + + Read failed: error: %1 + + + + + Invalid sync response: 0x%1 0x%2 + + + + + This board is using a microcontroller with faulty silicon and an incorrect configuration and should be put out of service. + + + + + Unknown response code + + + + + Command failed: 0x%1 (%2) + + + + + Board erase failed: %1 + + + + + + Unable to open firmware file %1: %2 + + + + + + Firmware file read failed: %1 + + + + + Flash failed: %1 at address 0x%2 + + + + + + Read failed: %1 at address: 0x%2 + + + + + Compare failed: expected(0x%1) actual(0x%2) at address: 0x%3 + + + + + CRC mismatch: board(0x%1) file(0x%2) + + + + + Open failed on port %1: %2 + + + + + Found unsupported bootloader version: %1 + + + + + CameraComponent + + + Vehicle must be restarted for changes to take effect. + + + + + Apply and Restart + + + + + Camera Trigger Settings + + + + + Trigger mode + + + + + Trigger interface + + + + + Time Interval + + + + + Distance Interval + + + + + Hardware Settings + + + + + AUX Pin Assignment + + + + + Trigger Pin Polarity + + + + + Trigger Period + + + + + Camera + + + + + Camera setup is used to adjust camera and gimbal settings. + + + + + CameraComponentSummary + + + Trigger interface: + + + + + Trigger mode: + + + + + Time interval: + + + + + Distance interval: + + + + + AUX pins: + + + + + AUX pin polarity: + + + + + CameraSection + + + Camera + + + + + Time + + + + + Distance + + + + + Pitch + + + + + Yaw + + + + + Gimbal + + + + + Mode + + + + + CameraWidget + + + Camera Controls + + + + + Trigger Camera + + + + + CenterMapDropButton + + + Center map on: + + + + + Mission + + + + + All items + + + + + Home + + + + + Current Location + + + + + Vehicle + + + + + Follow Vehicle + + + + + CenterMapDropPanel + + + Center map on: + + + + + Mission + + + + + All items + + + + + Home + + + + + Current Location + + + + + Vehicle + + + + + CustomCommandWidget + + + Load Custom Qml file... + + + + + Reset + + + + + DebugWindow + + + Qt Platform: + + + + + Font Point Size 10 + + + + + Default font width: + + + + + Font Point Size 10.5 + + + + + Default font height: + + + + + Font Point Size 11 + + + + + Default font pixel size: + + + + + Font Point Size 11.5 + + + + + Default font point size: + + + + + Font Point Size 12 + + + + + QML Screen Desktop: + + + + + Font Point Size 12.5 + + + + + QML Screen Size: + + + + + Font Point Size 13 + + + + + QML Pixel Density: + + + + + Font Point Size 13.5 + + + + + QML Pixel Ratio: + + + + + Font Point Size 14 + + + + + Default Point: + + + + + Font Point Size 14.5 + + + + + Computed Font Height: + + + + + Font Point Size 15 + + + + + ESP8266Component + + + controller WiFi Bridge + + + + + Error fetching WiFi Bridge Status: %1 + + + + + ESP WiFi Bridge Settings + + + + + WiFi Mode + + + + + WiFi Channel + + + + + WiFi AP SSID + + + + + WiFi AP Password + + + + + WiFi STA SSID + + + + + WiFi STA Password + + + + + UART Baud Rate + + + + + QGC UDP Port + + + + + ESP WiFi Bridge Status + + + + + Bridge/Vehicle Link + + + + + Bridge/QGC Link + + + + + QGC/Bridge Link + + + + + + + Messages Received + + + + + + + Messages Lost + + + + + + + Messages Sent + + + + + Restore Defaults + + + + + Restart WiFi Bridge + + + + + Reboot WiFi Bridge + + + + + This will restart the WiFi Bridge so the settings you've changed can take effect. Note that you may have to change your computer WiFi settings and QGroundControl link settings to match these changes. Are you sure you want to restart it? + + + + + Reset Counters + + + + + WiFi Bridge + + + + + The ESP8266 WiFi Bridge Component is used to setup the WiFi link. + + + + + ESP8266ComponentSummary + + + Firmware Version: + + + + + WiFi Mode: + + + + + WiFi Channel: + + + + + WiFi AP SSID: + + + + + WiFi AP Password: + + + + + UART Baud Rate: + + + + + FWLandingPatternEditor + + + Loiter point + + + + + + Altitude relative to home + + + + + Loiter clockwise + + + + + Landing point + + + + + WIP (NOT FOR REAL FLIGHT!) + + + + + Click in map to set landing point. + + + + + FactCheckBox + + + Label + + + + + FactPanel + + + Parameters(s) missing: %1 + + + + + FactTextField + + + Invalid Value + + + + + Value Details + + + + + FileManager + + + Unable to open local file for writing (%1) + + + + + Unable to write data to local file (%1) + + + + + Download: Incorrect session returned + + + + + Download: Offset returned (%1) differs from offset requested/expected (%2) + + + + + List: Offset returned (%1) differs from offset requested (%2) + + + + + Incorrectly formed list entry: '%1' + + + + + Missing NULL termination in list entry + + + + + Write: Incorrect session returned + + + + + Write: Offset returned (%1) differs from offset requested (%2) + + + + + Write: Returned invalid size of write size data + + + + + Write: Size returned (%1) differs from size requested (%2) + + + + + Bad sequence number on received message: expected(%1) received(%2) + + + + + Nak received creating file, error: %1 + + + + + Nak received, error: %1 + + + + + Unknown opcode returned from server: %1 + + + + + + + Command not sent. Waiting for previous command to complete. + + + + + + + + Command not sent. No Vehicle links. + + + + + UAS File manager busy. Try again later + + + + + File (%1) is not readable for upload + + + + + Unable to open local file for upload (%1) + + + + + Unable to read data from local file (%1) + + + + + + Timeout waiting for ack: Download failed + + + + + + Timeout waiting for ack: Upload failed + + + + + FirmwarePlugin + + + Typhoon H CGO3+ + + + + + Sony ILCE-QX1 + + + + + Canon S100 PowerShot + + + + + Canon G9 X PowerShot + + + + + Canon SX260 HS PowerShot + + + + + Canon EOS-M 22mm + + + + + Sony a6000 16mm + + + + + FirmwareUpgrade + + + %1 can upgrade the firmware on Pixhawk devices, SiK Radios and PX4 Flow Smart Cameras. + + + + + All %1 connections to vehicles must be + + + + + Upgrade cancelled + + + + + Found device + + + + + + PX4 Flight Stack + + + + + + Standard Version (stable) + + + + + Beta Testing (beta) + + + + + Developer Build (master) + + + + + + + Custom firmware file... + + + + + Standard Version + + + + + Detected PX4 Flow board. You can select from the following firmware: + + + + + Detected Pixhawk board. You can select from the following flight stacks: + + + + + Press Ok to upgrade your vehicle. + + + + + ArduPilot Flight Stack + + + + + Advanced settings + + + + + Select which version of the firmware you would like to install: + + + + + Select which version of the above flight stack you would like to install: + + + + + WARNING: BETA FIRMWARE. + + + + + This firmware version is ONLY intended for beta testers. + + + + + Although it has received FLIGHT TESTING, it represents actively changed code. + + + + + Do NOT use for normal operation. + + + + + WARNING: CONTINUOUS BUILD FIRMWARE. + + + + + This firmware has NOT BEEN FLIGHT TESTED. + + + + + It is only intended for DEVELOPERS. + + + + + Run bench tests without props first. + + + + + Do NOT fly this without additional safety precautions. + + + + + Follow the mailing list actively when using it. + + + + + FirmwareUpgradeController + + + Connect not allowed during Firmware Upgrade. + + + + + FixedWingLandingComplexItem + + + %1 does not support loading this complex mission item type: %2:%3 + + + + + FlightDisplayView + + + Joystick support requires MAVLink MANUAL_CONTROL support. + + + + + The firmware you are running does not normally support this. + + + + + It will only work if you have modified the firmware to add MANUAL_CONTROL support. + + + + + Flight complete + + + + + Do you want to remove the mission from the vehicle? + + + + + Single + + + + + Multi-Vehicle (WIP) + + + + + Fly + + + + + Action + + + + + FlightDisplayViewMap + + + R + rally point map item label + + + + + G + Goto here waypoint + + + + + FlightDisplayViewVideo + + + WAITING FOR VIDEO + + + + + FlightDisplayViewWidgets + + + No GPS Lock for Vehicle + + + + + FlightModeDropdown + + + N/A + No data to display + + + + + FlightModeMenu + + + N/A + No data to display + + + + + FlightModesComponent + + + Flight Modes + + + + + Flight Modes Setup is used to configure the transmitter switches associated with Flight Modes. + + + + + FlightModesComponentSummary + + + + Mode switch: + + + + + + Setup required + + + + + Flight Mode %1 : + + + + + Position Ctl switch: + + + + + + + Disabled + + + + + Loiter switch: + + + + + Return switch: + + + + + Form + + + Form + + + + + GPSIndicator + + + GPS Status + + + + + GPS Data Unavailable + + + + + GPS Count: + + + + + + N/A + No data to display + + + + + GPS Lock: + + + + + HDOP: + + + + + + + --.-- + No data to display + + + + + VDOP: + + + + + Course Over Ground: + + + + + GeneralSettings + + + (Requires Restart) + + + + + Units (Requires Restart) + + + + + Distance: + + + + + Area: + + + + + Speed: + + + + + Miscellaneous + + + + + Font size: + + + + + Color scheme: + + + + + Map Provider: + + + + + Map Type: + + + + + Mute all audio output + + + + + Save telemetry log after each flight + + + + + Save telemetry log even if vehicle was not armed + + + + + Clear all settings on next start + + + + + Clear Settings + + + + + All saved settings will be reset the next time you start %1. Is this really what you want? + + + + + Announce battery lower than: + + + + + Virtual Joystick + + + + + Default mission altitude: + + + + + AutoLoad missions + + + + + File save path: + + + + + + <not set> + + + + + Choose the location to save files: + + + + + RTK GPS (Requires Restart) + + + + + Survey in accuracy: + + + + + Minimum observation duration: + + + + + AutoConnect to the following devices: + + + + + Pixhawk + + + + + SiK Radio + + + + + PX4 Flow + + + + + LibrePilot + + + + + UDP + + + + + RTK GPS + + + + + Video + + + + + Video Source: + + + + + UDP Port: + + + + + RTSP URL: + + + + + Aspect Ratio: + + + + + Grid Lines: + + + + + Save path: + + + + + %1 Version: %2 + + + + + GeoFenceController + + + GeoFence: %1 + + + + + GeoFenceEditor + + + GeoFence + + + + + GeoFencing allows you to set a virtual ‘fence’ around the area you want to fly in. + + + + + Add fence polygon + + + + + Remove fence polygon + + + + + GeoTagController + + + Select log file load + + + + + ULog file (*.ulg);;PX4 log file (*.px4log);;All Files (*.*) + + + + + Select image directory + + + + + Select save directory + + + + + Cannot find the image directory + + + + + Images have alreay been tagged. + + + + + The images have already been tagged. Do you want to replace the previously tagged images? + + + + + + Replace + + + + + Images have already been tagged + + + + + Couldn't replace the previously tagged images + + + + + Cannot find the save directory + + + + + Save folder not empty. + + + + + The save folder already contains images. Do you want to replace them? + + + + + Save folder not empty + + + + + Couldn't replace the existing images + + + + + GeoTagPage + + + GeoTag Images + + + + + GeoTag Images is used to tag a set of images from a survey mission with gps coordinates. You must provide the binary log from the flight as well as the directory which contains the images to tag. + + + + + Select log file + + + + + Select image directory + + + + + (Optionally) Select save directory + + + + + Cancel Tagging + + + + + Start Tagging + + + + + GeoTagWorker + + + The image directory doesn't contain images, make sure your images are of the JPG format + + + + + + Geotagging failed. Couldn't open an image. + + + + + + + + + + Tagging cancelled + + + + + Geotagging failed. Couldn't open log file. + + + + + Log parsing failed - tagging cancelled + + + + + Geotagging failed in trigger filtering + + + + + Geotagging failed. Couldn't write to image. + + + + + Geotagging failed. Couldn't write to an image. + + + + + GuidedActionConfirm + + + Slide to confirm + + + + + GuidedActionList + + + Select Action + + + + + GuidedActionsController + + + Emergency Stop + + + + + Arm + + + + + Disarm + + + + + RTL + + + + + Takeoff + + + + + Land + + + + + Start Mission + + + + + Continue Mission + + + + + Resume Mission + + + + + Pause + + + + + Change Altitude + + + + + Orbit + + + + + Land Abort + + + + + Set Waypoint + + + + + Goto Location + + + + + Arm the vehicle. + + + + + Disarm the vehicle + + + + + WARNING: This will stop all motors. If vehicle is currently in air it will crash. + + + + + Takeoff from ground and hold position. + + + + + Takeoff from ground and start the current mission. + + + + + Continue the mission from the current waypoint. + + + + + Resume the current mission. This will re-generate the mission from waypoint %1, takeoff and continue the mission. + + + + + Review the modified mission. Confirm if you want to takeoff and begin mission. + + + + + Land the vehicle at the current position. + + + + + Return to the home position of the vehicle. + + + + + Change the altitude of the vehicle up or down. + + + + + Move the vehicle to the location clicked on the map. + + + + + Adjust current waypoint to %1. + + + + + Orbit the vehicle around the current location. + + + + + Abort the landing sequence. + + + + + Pause the vehicle at it's current position. + + + + + Internal error: unknown actionCode + + + + + GuidedAltitudeSlider + + + New Alt(rel) + + + + + JoystickConfig + + + Joystick + + + + + Joystick Setup is used to configure a calibrate joysticks. + + + + + Not Mapped + + + + + Attitude Controls + + + + + Lateral + + + + + Roll + + + + + Forward + + + + + Pitch + + + + + Yaw + + + + + Throttle + + + + + Skip + + + + + Cancel + + + + + Calibrate + + + + + Additional Joystick settings: + + + + + Enable joystick input + + + + + Enable not allowed (Calibrate First) + + + + + Active joystick: + + + + + Active joystick name not in combo + + + + + Center stick is zero throttle + + + + + Spring loaded throttle smoothing + + + + + Full down stick is zero throttle + + + + + Exponential: + + + + + Advanced settings (careful!) + + + + + Joystick mode: + + + + + Deadbands + + + + + Button actions: + + + + + Buttons 0-%1 reserved for firmware use + + + + + # + + + + + Function: + + + + + Shift Function: + + + + + Axis Monitor + + + + + Button Monitor + + + + + JoystickIndicator + + + Joystick Status + + + + + Connected: + + + + + Enabled: + + + + + LinechartWidget + + + Name + + + + + Val + + + + + Unit + + + + + Mean + + + + + Variance + + + + + LOG + + + + + + Set logarithmic scale for Y axis + + + + + + Sliding window size to calculate mean and variance + + + + + + Start to log curve data into a CSV or TXT file + + + + + Start Logging + + + + + Ground Time + + + + + + Overwrite timestamp of data from vehicle with ground receive time. Helps if the plots are not visible because of missing or invalid onboard time. + + + + + No curves selected for logging. + + + + + Please check all curves you want to log. Currently no data would be logged. Aborting the logging. + + + + + Save Log File + + + + + Log Files (*.log) + + + + + Stop logging + + + + + Starting Log Compression + + + + + Should empty fields (e.g. due to packet drops) be filled with the previous value of the same variable (zero order hold)? + + + + + Start logging + + + + + + Enable the curve in the graph window + + + + + + Current value of %1 in %2 units + + + + + + Unit of + + + + + + Arithmetic mean of %1 in %2 units + + + + + + Variance of %1 in (%2)^2 units + + + + + LinkManager + + + + + + %1 on %2 (AutoConnect) + + + + + Please check to make sure you have an SD Card inserted in your Vehicle and try again. + + + + + Your Vehicle is not responding. If this continues, shutdown %1, restart the Vehicle letting it boot completely, then start %1. + + + + + LinkSettings + + + Delete + + + + + Remove Link Configuration + + + + + Remove %1. Is this really what you want? + + + + + Edit + + + + + Add + + + + + Connect + + + + + Disconnect + + + + + Edit Link Configuration Settings (WIP) + + + + + Create New Link Configuration (WIP) + + + + + Name: + + + + + Type: + + + + + OK + + + + + Cancel + + + + + LogCompressor + + + Log Compressor: Cannot start/compress log file, since input file %1 is not readable + + + + + Log Compressor: Cannot start/compress log file, since output file %1 is not writable + + + + + Log compressor: Dataset contains dimensions: + + + + + Log Compressor + + + + + LogDownloadController + + + Available + + + + + + Canceled + + + + + + + Error + + + + + Downloaded + + + + + Timed Out + + + + + Log Download Directory + + + + + Waiting + + + + + LogDownloadPage + + + Log Download + + + + + Log Download allows you to download binary log files from your vehicle. Click Refresh to get list of available logs. + + + + + Id + + + + + Date + + + + + Date Unknown + + + + + Size + + + + + Status + + + + + Refresh + + + + + Log Refresh + + + + + You must be connected to a vehicle in order to download logs. + + + + + Download + + + + + Select save directory + + + + + Erase All + + + + + Delete All Log Files + + + + + All log files will be erased permanently. Is this really what you want? + + + + + Cancel + + + + + LogReplayLink + + + Connect not allowed during Flight Data replay. + + + + + LogReplaySettings + + + Log Replay Link Settings + + + + + Log File: + + + + + Browse + + + + + Please choose a file + + + + + MAVLinkProtocol + + + + + MAVLink Protocol + + + + + There is a MAVLink Version or Baud Rate Mismatch. Please check if the baud rates of %1 and your autopilot are the same. + + + + + MAVLink Logging failed. Could not write to file %1, logging disabled. + + + + + MAVLink protocol + + + + + Opening Flight Data file for writing failed. Unable to write to %1. Please choose a different file location. + + + + + MainToolBarIndicators + + + Advanced Mode + + + + + Waiting For Vehicle Connection + + + + + Disconnect + + + + + COMMUNICATION LOST + + + + + MainWindow + + + MGMainWindow + + + + + File + + + + + Widgets + + + + + Exit + + + + + Ctrl+Q + + + + + Manage Communication Links + + + + + Advanced Mode + + + + + Replay Flight Data + + + + + Setting up user interface + + + + + Building common widgets. + + + + + Building common actions + + + + + + Initializing 3D mouse interface + + + + + Restoring last view state + + + + + Restoring last window size + + + + + Done + + + + + MainWindowInner + + + + %1 close + + + + + You have a mission edit in progress which has not been saved/sent. If you close you will lose changes. Are you sure you want to close? + + + + + There are still active connections to vehicles. Do you want to disconnect these before closing? + + + + + No Messages + + + + + MapScale + + + km + + + + + m + + + + + mile + + + + + miles + + + + + ft + + + + + MavlinkConsolePage + + + Mavlink Console + + + + + Mavlink Console provides a connection to the vehicle's system shell. + + + + + MavlinkSettings + + + MAVLink Logging + + + + + Please enter an email address before uploading MAVLink log files. + + + + + Ground Station + + + + + MAVLink System ID: + + + + + Emit heartbeat + + + + + Only accept MAVs with same protocol version + + + + + MAVLink 2.0 Logging (PX4 Firmware Only) + + + + + Manual Start/Stop: + + + + + Start Logging + + + + + Stop Logging + + + + + Enable automatic logging + + + + + MAVLink 2.0 Log Uploads (PX4 Firmware Only) + + + + + Email address for Log Upload: + + + + + Default Description: + + + + + Default Upload URL + + + + + Video URL: + + + + + Wind Speed: + + + + + Flight Rating: + + + + + Additional Feedback: + + + + + Make this log publicly available + + + + + Enable automatic log uploads + + + + + Delete log file after uploading + + + + + Saved Log Files + + + + + Uploaded + + + + + Check All + + + + + Check None + + + + + Delete Selected + + + + + Delete Selected Log Files + + + + + Confirm deleting selected log files? + + + + + Upload Selected + + + + + Upload Selected Log Files + + + + + Confirm uploading selected log files? + + + + + Cancel + + + + + Cancel Upload + + + + + Confirm canceling the upload process? + + + + + MissionCommandDialog + + + Category: + + + + + MissionCommandTree + + + All commands + + + + + MissionController + + + Survey + + + + + Fixed Wing Landing + + + + + Mission item %1 is not an object + + + + + Unsupported complex item type: %1 + + + + + Unknown item type: %1 + + + + + Could not find doJumpId: %1 + + + + + + + Mission: %1 + + + + + MissionItem + + + Type found: %1 must be: %2 + + + + + %1 key must contains 4 values + + + + + Param %1 incorrect type %2, must be double or null + + + + + MissionItemEditor + + + Insert waypoint + + + + + Insert pattern + + + + + Insert + + + + + Delete + + + + + Change command... + + + + + Show all values + + + + + Mission Edit + + + + + You have made changes to the mission item which cannot be shown in Simple Mode + + + + + Select Mission Command + + + + + MissionItemStatus + + + Altitude + + + + + MissionManager + + + Unable to generate resume mission due to MAV_CMD_DO_JUMP command. + + + + + MissionSettingsEditor + + + Firmware + + + + + Vehicle + + + + + Mission Defaults + + + + + Waypoint alt + + + + + Flight speed + + + + + RTL after mission end + + + + + Vehicle Info + + + + + Cruise speed + + + + + Hover speed + + + + + Planned Home Position + + + + + Altitude + + + + + Actual position set by vehicle at flight time. + + + + + Set Home To Map Center + + + + + MixersComponent + + + Lot of Qml code goes here... + + + + + Mixers + + + + + Mixers tuning is used to blah, blah, blah... [WIP] + + + + + MockLink + + + PX4 Vehicle + + + + + APM ArduCopter Vehicle + + + + + APM ArduPlane Vehicle + + + + + APM ArduSub Vehicle + + + + + Generic Vehicle + + + + + Send status text + voice + + + + + Stop All MockLinks + + + + + MockLinkSettings + + + Mock Link Settings + + + + + Send Status Text and Voice + + + + + PX4 Firmware + + + + + APM Firmware + + + + + Generic Firmware + + + + + APM Vehicle Type + + + + + ArduCopter + + + + + ArduPlane + + + + + ModeIndicator + + + N/A + No data to display + + + + + ModeSwitchDisplay + + + Monitor: + + + + + Threshold: + + + + + MotorComponent + + + All + + + + + Moving the sliders will causes the motors to spin. Make sure you remove all props. + + + + + Propellers are removed - Enable motor sliders + + + + + Motors + + + + + Motors Setup is used to manually test motor control and direction. + + + + + Mouse6dofInput + + + No 3DxWare driver is running. + + + + + Enter in Terminal 'sudo /etc/3DxWare/daemon/3dxsrv -d usb' and then restart QGroundControl. + + + + + MultiVehicleDockWidget + + + Form + + + + + MultiVehicleManager + + + Connected to Vehicle %1 + + + + + OfflineMap + + + Error Message + + + + + Max Cache Disk Size (MB): + + + + + Max Cache Memory Size (MB): + + + + + Memory cache changes require a restart to take effect. + + + + + MapBox Access Token + + + + + With an access token, you can use MapBox Maps. + + + + + Esri Access Token + + + + + With an access token, you can use Esri Maps. + + + + + This will delete all tiles INCLUDING the tile sets you have created yourself. + +Is this really what you want? + + + + + Delete %1 and all its tiles. + +Is this really what you want? + + + + + System Wide Tile Cache + + + + + Zoom Levels: + + + + + Total: + + + + + Unique: + + + + + Downloaded: + + + + + Error Count: + + + + + Size: + + + + + + Tile Count: + + + + + Resume Download + + + + + Cancel Download + + + + + Delete + + + + + Confirm Delete + + + + + + + + + Close + + + + + Min Zoom: %1 + + + + + Max Zoom: %1 + + + + + Add New Set + + + + + Name: + + + + + Map type: + + + + + Min/Max Zoom Levels + + + + + Est Size: + + + + + Too many tiles + + + + + Download + + + + + + + Cancel + + + + + Add new set + + + + + Import + + + + + Export + + + + + Options + + + + + Offline Maps Options + + + + + Select Tile Sets to Export + + + + + Select All + + + + + Select None + + + + + Export to Disk + + + + + Export to Device + + + + + Tile Set Export Progress + + + + + Tile Set Export Completed + + + + + Map Tile Set Import + + + + + Map Tile Set Import Progress + + + + + Map Tile Set Import Completed + + + + + Append to existing set + + + + + Replace existing set + + + + + Import From Disk + + + + + Import From Device + + + + + Map Tile Set Import From Device + + + + + + NOT YET IMPLEMENTED + + + + + Map Tile Set Export To Device + + + + + PX4AdvancedFlightModes + + + FLIGHT MODES + + + + + Assign Flight Modes to radio control channels and adjust the thresholds for triggering them. + + + + + Assign Flight Modes to radio control channels and adjust the thresholds for triggering them. + + + + + You can assign multiple flight modes to a single channel. + + + + + Turn your radio control on to test switch settings. + + + + + The following channels: + + + + + are not available for Flight Modes since they are already in use for other functions. + + + + + Manual/Main + + + + + Stabilized/Main + + + + + The pilot has full control of the aircraft, no assistance is provided. + + + + + + The Main mode switch must always be assigned to a channel in order to fly + + + + + The pilot has full control of the aircraft, only attitude is stabilized. + + + + + Assist + + + + + If Position Control is placed on a separate channel from the Main mode channel, an additional 'Assist' mode is added to the Main switch. + + + + + In order for the Attitude Control/Position Control switch to be active, the Main switch must be in Assist mode. + + + + + Auto + + + + + If Loiter is placed on a separate channel from the Main mode channel, an additional 'Auto' mode is added to the Main switch. + + + + + In order for the Mission/Loiter switch to be active, the Main switch must be in Auto mode. + + + + + Stabilized + + + + + Acro + + + + + Roll/pitch angles and rudder deflection are controlled. + + + + + The angular rates are controlled, but not the attitude. + + + + + Altitude + + + + + Roll stick controls banking, pitch stick altitude + + + + + Throttle stick controls speed. + + + + + With no stick inputs the plane holds heading, but drifts off in wind. + + + + + Same as Stablized mode except that Throttle controls climb/sink rate. Centered Throttle holds altitude steady. + + + + + Position Control + + + + + Roll stick controls banking, pitch stick controls altitude. + + + + + Throttle stick controls speed. + + + + + With no stick inputs the plane flies a straight line, even in wind. + + + + + Roll and Pitch sticks control sideways and forward speed + + + + + Throttle stick controls climb / sink rade. + + + + + Mission + + + + + The aircraft obeys the programmed mission sent by QGroundControl. + + + + + Hold + + + + + The aircraft flies in a circle around the current position at the current altitude. + + + + + The multirotor hovers at the current position and altitude. + + + + + Return + + + + + The vehicle returns to the home position, loiters and then lands. + + + + + Offboard + + + + + All flight control aspects are controlled by an offboard system. + + + + + Flight Mode Config is disabled since you have a Joystick enabled. + + + + + Use Single Channel Mode Selection + + + + + Generate Thresholds + + + + + PX4FirmwarePlugin + + + Manual + + + + + Acro + + + + + Stabilized + + + + + Rattitude + + + + + Altitude + + + + + Position + + + + + Offboard + + + + + Ready + + + + + Takeoff + + + + + Hold + + + + + Mission + + + + + Return + + + + + Land + + + + + Return to Groundstation + + + + + Follow Me + + + + + Simple + + + + + Unknown %1:%2 + + + + + Unable to takeoff, vehicle position not known. + + + + + Unable to takeoff, MIS_TAKEOFF_ALT parameter missing. + + + + + Unable to go to location, vehicle position not known. + + + + + Unable to change altitude, home position unknown. + + + + + Unable to change altitude, home position altitude unknown. + + + + + Unable to start mission: Vehicle failed to arm. + + + + + PX4FlowSensor + + + PX4Flow Camera + + + + + PX4ParameterMetaData + + + Enabled + + + + + Disabled + + + + + PX4RadioComponent + + + Radio + + + + + Radio Setup is used to calibrate your transmitter. It also assign channels for Roll, Pitch, Yaw and Throttle vehicle control as well as determining whether they are reversed. + + + + + PX4RadioComponentSummary + + + Roll: + + + + + + + + Setup required + + + + + Pitch: + + + + + Yaw: + + + + + Throttle: + + + + + Flaps: + + + + + + + Disabled + + + + + Aux1: + + + + + Aux2: + + + + + PX4SimpleFlightModes + + + Flight Mode Settings + + + + + Mode channel: + + + + + Flight Mode %1 + + + + + Switch Settings + + + + + PX4TuningComponent + + + Tuning Setup is used to tune the flight characteristics of the Vehicle. + + + + + PX4TuningComponentCopter + + + Hover Throttle + + + + + Adjust throttle so hover is at mid-throttle. Slide to the left if hover is lower than throttle center. Slide to the right if hover is higher than throttle center. + + + + + Manual minimum throttle + + + + + Slide to the left to start the motors with less idle power. Slide to the right if descending in manual flight becomes unstable. + + + + + Roll sensitivity + + + + + Slide to the left to make roll control faster and more accurate. Slide to the right if roll oscillates or is too twitchy. + + + + + Pitch sensitivity + + + + + Slide to the left to make pitch control faster and more accurate. Slide to the right if pitch oscillates or is too twitchy. + + + + + Altitude control sensitivity + + + + + Slide to the left to make altitude control smoother and less twitchy. Slide to the right to make altitude control more accurate and more aggressive. + + + + + Position control sensitivity + + + + + Slide to the left to make flight in position control mode smoother and less twitchy. Slide to the right to make position control more accurate and more aggressive. + + + + + PX4TuningComponentVTOL + + + Hover Roll sensitivity + + + + + Slide to the left to make roll control during hover faster and more accurate. Slide to the right if roll oscillates or is too twitchy. + + + + + Hover Pitch sensitivity + + + + + Slide to the left to make pitch control during hover faster and more accurate. Slide to the right if pitch oscillates or is too twitchy. + + + + + Hover Altitude control sensitivity + + + + + Slide to the left to make altitude control during hover smoother and less twitchy. Slide to the right to make altitude control more accurate and more aggressive. + + + + + Hover Position control sensitivity + + + + + Slide to the left to make flight during hover in position control mode smoother and less twitchy. Slide to the right to make position control more accurate and more aggressive. + + + + + Plane Roll sensitivity + + + + + Slide to the left to make roll control faster and more accurate. Slide to the right if roll oscillates or is too twitchy. + + + + + Plane Pitch sensitivity + + + + + Slide to the left to make pitch control faster and more accurate. Slide to the right if pitch oscillates or is too twitchy. + + + + + Plane Cruise throttle + + + + + This is the throttle setting required to achieve the desired cruise speed. Most planes need 50-60%. + + + + + Hover Throttle + + + + + Adjust throttle so hover is at mid-throttle. Slide to the left if hover is lower than throttle center. Slide to the right if hover is higher than throttle center. + + + + + Hoever manual minimum throttle + + + + + Slide to the left to start the motors with less idle power. Slide to the right if descending in manual flight becomes unstable. + + + + + Plane Mission mode sensitivity + + + + + Slide to the left to make position control more accurate and more aggressive. Slide to the right to make flight in mission mode smoother and less twitchy. + + + + + ParameterEditor + + + Parameter Load Errors + + + + + Search: + + + + + Clear + + + + + Tools + + + + + Refresh + + + + + Reset all to defaults + + + + + Reset All + + + + + Load from file... + + + + + Select Parameter File + + + + + + Parameter Files (*.%1) + + + + + + All Files (*.*) + + + + + Save to file... + + + + + Save Parameters + + + + + Clear RC to Param + + + + + + Reboot Vehicle + + + + + Component #: %1 + + + + + Parameter Editor + + + + + Select Reset to reset all parameters to their defaults. + + + + + Select Ok to reboot vehicle. + + + + + ParameterEditorDialog + + + Reset to default + + + + + Min: + + + + + Max: + + + + + Default: + + + + + Parameter name: + + + + + Warning: Modifying values while vehicle is in flight can lead to vehicle instability and possible vehicle loss. + + + + + Make sure you know what you are doing and double-check your values before Save! + + + + + Force save (dangerous!) + + + + + Advanced settings + + + + + Manual Entry + + + + + Set RC to Param... + + + + + ParameterManager + + + Parameter write failed: veh:%1 comp:%2 param:%3 + + + + + Parameter read failed: veh:%1 comp:%2 param:%3 + + + + + %1 was unable to retrieve the full set of parameters from vehicle %2. This will cause %1 to be unable to display its full user interface. If you are using modified firmware, you may need to resolve any vehicle startup errors to resolve the issue. If you are using standard firmware, you may need to upgrade to a newer version to resolve the issue. + + + + + Vehicle %1 did not respond to request for parameters. This will cause %2 to be unable to display its full user interface. + + + + + %1 key is not a json object + + + + + PlanMasterController + + + Error reading Plan file (%1). %2 + + + + + Plan save error %1 : %2 + + + + + Supported types (*.%1 *.%2 *.%3 *.%4) + + + + + + All Files (*.*) + + + + + Plan Files (*.%1) + + + + + PlanToolBar + + + Selected Waypoint + + + + + Alt diff: + + + + + Azimuth: + + + + + + Distance: + + + + + Gradient: + + + + + Heading: + + + + + Total Mission + + + + + Max telem dist: + + + + + Time: + + + + + Battery + + + + + Batteries required: + + + + + Swap waypoint: + + + + + Upload Required + + + + + Upload + + + + + PlanView + + + Vehicle is currently armed. Do you want to upload the mission to the vehicle? + + + + + Apply new alititude + + + + + You have changed the default altitude for mission items. Would you like to apply that altitude to all the items in the current mission? + + + + + Your vehicle is currently flying a mission. In order to upload a new or modified mission the current mission will be paused. + + + + + After the mission is uploaded you can adjust the current waypoint and start the mission. + + + + + Pause and Upload + + + + + Plan Upload + + + + + Select Plan File + + + + + Save Plan + + + + + Move the selected mission item to the be after following mission item: + + + + + Plan + + + + + Mission + + + + + Fence + + + + + Rally + + + + + You have unsaved/unsent changes. Loading from the Vehicle will lose these changes. Are you sure you want to load from the Vehicle? + + + + + You have unsaved/unsent changes. Loading from a file will lose these changes. Are you sure you want to load from a file? + + + + + Are you sure you want to remove all items? + + + + + This will also remove all items from the vehicle. + + + + + Create complex pattern: + + + + + Mission overwrite + + + + + GeoFence overwrite + + + + + Rally Points overwrite + + + + + You have unsaved changes. You should upload to your vehicle, or save to a file: + + + + + Sync: + + + + + Upload + + + + + Download + + + + + Save To File... + + + + + Load From File... + + + + + Remove All + + + + + Remove all + + + + + PolygonEditor + + + Click to add point %1 + + + + + - Right Click to end polygon + + + + + Click to add point + + + + + Click to add point - Right Click to end polygon + + + + + Adjust polygon by dragging corners + + + + + PowerComponent + + + + + + + ESC Calibration + + + + + %1 cannot perform ESC Calibration with this version of firmware. You will need to upgrade to a newer firmware. + + + + + %1 cannot perform ESC Calibration with this version of firmware. You will need to upgrade %1. + + + + + Performing calibration. This will take a few seconds.. + + + + + + ESC Calibration failed + + + + + Calibration complete. You can disconnect your battery now if you like. + + + + + WARNING: Props must be removed from vehicle prior to performing ESC calibration. + + + + + Connect the battery now and calibration will begin. + + + + + You must disconnect the battery prior to performing ESC Calibration. Disconnect your battery and try again. + + + + + Battery + + + + + Number of Cells (in Series) + + + + + Full Voltage (per cell) + + + + + Battery Max: + + + + + Empty Voltage (per cell) + + + + + Battery Min: + + + + + Voltage divider + + + + + Calculate Voltage Divider + + + + + Amps per volt + + + + + Calculate Amps per Volt + + + + + ESC PWM Minimum and Maximum Calibration + + + + + WARNING: Propellers must be removed from vehicle prior to performing ESC calibration. + + + + + You must use USB connection for this operation. + + + + + Calibrate + + + + + Show UAVCAN Settings + + + + + UAVCAN Bus Configuration + + + + + Change required restart + + + + + UAVCAN Motor Index and Direction Assignment + + + + + WARNING: Propellers must be removed from vehicle prior to performing UAVCAN ESC configuration. + + + + + ESC parameters will only be accessible in the editor after assignment. + + + + + Start the process, then turn each motor into its turn direction, in the order of their motor indices. + + + + + Start Assignment + + + + + Stop Assignment + + + + + Show Advanced Settings + + + + + Advanced Power Settings + + + + + Voltage Drop on Full Load (per cell) + + + + + Batteries show less voltage at high throttle. Enter the difference in Volts between idle throttle and full + + + + + throttle, divided by the number of battery cells. Leave at the default if unsure. + + + + + If this value is set too high, the battery might be deep discharged and damaged. + + + + + Compensated Minimum Voltage: + + + + + V + + + + + Power + + + + + Power Setup is used to setup battery parameters as well as advanced settings for propellers. + + + + + PowerComponentSummary + + + Battery Full: + + + + + Battery Empty: + + + + + Number of Cells: + + + + + QGCApplication + + + You are running %1 as root. You should not do this since it will cause other issues with %1. %1 will now exit. If you are having serial port issues on Ubuntu, execute the following commands to fix most issues: +sudo usermod -a -G dialout $USER +sudo apt-get remove modemmanager + + + + + + Telemetry save error + + + + + Unable to save telemetry log. Error copying telemetry to '%1': '%2'. + + + + + Unable to save telemetry log. Application save directory is not set. + + + + + Unable to save telemetry log. Telemetry save directory "%1" does not exist. + + + + + QGCCorePlugin + + + General + + + + + Comm Links + + + + + Offline Maps + + + + + MAVLink + + + + + Console + + + + + Mock Link + + + + + Debug + + + + + WARNING: You are about to enter Advanced Mode. If used incorrectly, this may cause your vehicle to malfunction thus voiding your warranty. You should do so only if instructed by customer support. Are you sure you want to enable Advanced Mode? + + + + + QGCFileDialog + + + No files + + + + + New file name: + + + + + File names must end with .%1 file extension. If missing it will be added. + + + + + The file %1 exists. Click Save again to replace it. + + + + + Save to existing file: + + + + + QGCFlightGearLink + + + FlightGear 3.0+ Link (port:%1) + + + + + + FlightGear Failed to Start + + + + + FlightGear Crashed + + + + + This is a FlightGear-related problem. Please upgrade FlightGear + + + + + FlightGear Start Timed Out + + + + + + + Please check if the path and command is correct + + + + + + Could not Communicate with FlightGear + + + + + FlightGear Error + + + + + Please check if the path and command is correct. + + + + + + + + + + + + + + + + FlightGear HIL + + + + + Flight Gear protocol file '%1' is out of date. Quit %2. Delete the file and restart %2 to fix. + + + + + + FlightGear failed to start. There are mismatched quotes in specified command line options + + + + + FlightGear application not found + + + + + FlightGear application not found at: %1 + + + + + I'll specify directory + + + + + Please select directory of FlightGear application : + + + + + --fg-root directory specified from ui option not found: %1 + + + + + Unable to automatically determine --fg-root directory location. You will need to specify --fg-root=<directory> as an additional command line parameter from ui. + + + + + --fg-scenery directory specified from ui option not found: %1 + + + + + Unable to automatically determine --fg-scenery directory location. You will need to specify --fg-scenery=directory as an additional command line parameter from ui. + + + + + Incorrect %1 installation. Aircraft directory is missing: '%2'. + + + + + Incorrect FlightGear setup. Protocol directory is missing: '%1'. Command line parameter for --fg-root may be set incorrectly. + + + + + Incorrect installation. Protocol directory is missing (%1). + + + + + Incorrect installation. FlightGear protocol file missing: %1 + + + + + Unable to verify that protocol file %1 is current. If file is out of date, you may experience problems. Safest approach is to delete the file manually and allow %2 install the latest file. + + + + + FlightGear protocol file %1 is out of date. It will be deleted, which will cause %2 to install the latest version of the file. + + + + + Delete of protocol file failed. You will have to manually delete the file. + + + + + FlightGear Failed to Start. %1 protocol (%2) not installed to FlightGear Protocol directory (%3) + + + + + Fix it for me + + + + + Copy failed + + + + + Copy from (%1) to (%2) failed, possibly due to permissions issue. You will need to perform manually. Try pasting the following command into a Command Prompt which was started with Run as Administrator: + + + + + + + Copy from (%1) to (%2) failed, possibly due to permissions issue. You will need to perform manually. Try pasting the following command into a shell: + + + + + + + Copy to Clipboard + + + + + QGCHilConfiguration + + + HIL Config + + + + + Simulator + + + + + FlightGear 3.0+ + + + + + X-Plane 10 + + + + + X-Plane 9 + + + + + QGCHilFlightGearConfiguration + + + Form + + + + + <html><head/><body><p>Additional Options:</p></body></html> + + + + + Airframe: + + + + + Start + + + + + Stop + + + + + Sensor HIL + + + + + Barometer Offset [kPa]: + + + + + 0 + + + + + Reset to default options + + + + + QGCHilJSBSimConfiguration + + + Form + + + + + Airframe: + + + + + <html><head/><body><p>Additional Options:</p></body></html> + + + + + --in-air --roll=0 --pitch=0 --vc=90 --heading=300 --timeofday=noon --disable-hud-3d --disable-fullscreen --geometry=400x300 --disable-anti-alias-hud --wind=0@0 --turbulence=0.0 --prop:/sim/frame-rate-throttle-hz=30 --control=mouse --disable-intro-music --disable-sound --disable-random-objects --disable-ai-models --shading-flat --fog-disable --disable-specular-highlight --disable-random-objects --disable-panel --disable-clouds --fdm=jsb --units-meters --prop:/engines/engine/running=true + + + + + Start + + + + + Stop + + + + + QGCHilXPlaneConfiguration + + + Form + + + + + Start + + + + + Host + + + + + Enable sensor level HIL + + + + + 127.0.0.1:49000 + + + + + Use newer actuator format + + + + + + Connect + + + + + Disconnect + + + + + QGCJSBSimLink + + + JSBSim Link (port:%1) + + + + + JSBSim failed to start. JSBSim was not found at %1 + + + + + JSBSim failed to start. JSBSim data directory was not found at %1 + + + + + JSBSim Failed to start. Please check if the path and command is correct + + + + + JSBSim crashed. This is a JSBSim-related problem, check for JSBSim upgrade. + + + + + JSBSim start timed out. Please check if the path and command is correct + + + + + Could not communicate with JSBSim. Please check if the path and command are correct + + + + + JSBSim error occurred. Please check if the path and command is correct. + + + + + QGCLogEntry + + + Pending + + + + + QGCMAVLinkInspector + + + MAVLink Inspector + + + + + System + + + + + Component + + + + + Clear + + + + + + + All + + + + + Name + + + + + Value + + + + + Type + + + + + QGCMAVLinkLogPlayer + + + Form + + + + + + + Start to replay Flight Data + + + + + ... + + + + + Time + + + + + No Flight Data selected.. + + + + + + + Select the Flight Data to replay + + + + + Replay Flight Data + + + + + Log Replay + + + + + You must close all connections prior to replaying a log. + + + + + Load Telemetry Log File + + + + + MAVLink Log Files (*.tlog);;All Files (*) + + + + + QGCMapRCToParamDialog + + + Dialog + + + + + Bind + + + + + Parameter Tuning ID + + + + + + 1 + + + + + 2 + + + + + 3 + + + + + Parameter + + + + + TextLabel + + + + + with + + + + + Scale (keep default) + + + + + Center value + + + + + Minimum Value + + + + + Maximum Value + + + + + Waiting for parameter refresh,,, + + + + + Tuning IDs can be mapped to channels in the RC settings + + + + + QGCPluginHost + + + Form + + + + + Loaded Plugins + + + + + Plugin Log + + + + + QGCQFileDialog + + + File Exists + + + + + %1 already exists. +Do you want to replace it? + + + + + Replace + + + + + QGCQmlWidgetHolder + + + Form + + + + + QGCTabbedInfoView + + + Info View + + + + + QGCUASFileView + + + Form + + + + + List Files + + + + + Download File + + + + + Upload File + + + + + QGCUASFileViewMulti + + + Onboard Files + + + + + QGCUnconnectedInfoWidget + + + Form + + + + + QGCView + + + Ok + + + + + + Open + + + + + Save + + + + + Apply + + + + + Save All + + + + + Yes + + + + + Yes to All + + + + + Retry + + + + + Reset + + + + + Restore to Defaults + + + + + Ignore + + + + + Cancel + + + + + Close + + + + + No + + + + + No to All + + + + + Abort + + + + + showDialog called before QGCView.completed signalled + + + + + QGCWebView + + + Form + + + + + about:blank + + + + + QGCXPlaneLink + + + X-Plane Link (localPort:%1) + + + + + Waiting for XPlane.. + + + + + X-Plane Failed to start. Please check if the path and command is correct + + + + + X-Plane crashed. This is an X-Plane-related problem, check for X-Plane upgrade. + + + + + X-Plane start timed out. Please check if the path and command is correct + + + + + Could not communicate with X-Plane. Please check if the path and command are correct + + + + + X-Plane error occurred. Please check if the path and command is correct. + + + + + X-Plane HIL + + + + + Receiving from XPlane at %1 Hz + + + + + Receiving from XPlane. + + + + + QMap3D + + + Form + + + + + Map + + + + + Vehicle + + + + + QObject + + + Unknown + + + + + Pixhawk + + + + + SiK Radio + + + + + PX4 Flow + + + + + OpenPilot + + + + + RTK GPS + + + + + The following required keys are missing: %1 + + + + + value for coordinate is not array + + + + + Coordinate array must contain %1 values + + + + + Coordinate array may only contain double values, found: %1 + + + + + Coordinate is invalid: %1 + + + + + Incorrect value type - key:type:expected %1:%2:%3 + + + + + enum strings/values count mismatch strings:values %1:%2 + + + + + Incorrect file type key expected:%1 actual:%2 + + + + + Incorrect type for version value, must be integer + + + + + File version %1 is no longer supported + + + + + File version %1 is newer than current supported version %2 + + + + + value for coordinate array is not array + + + + + Unknown type: %1 + + + + + QmlTest + + + Window Color + + + + + Light + + + + + Dark + + + + + + Disabled + + + + + + Enabled + + + + + + Value + + + + + + Label + + + + + + + + + + Button + + + + + + + Item 1 + + + + + + + Item 2 + + + + + + + Item 3 + + + + + + Radio + + + + + + Check Box + + + + + + SUB MENU + + + + + RCRSSIIndicator + + + RC RSSI Status + + + + + RC RSSI Data Unavailable + + + + + N/A + No data available + + + + + RSSI: + + + + + RadioComponent + + + Radio + + + + + Reboot required + + + + + Your stick mappings have changed, you must reboot the vehicle for correct operation. + + + + + Throttle channel reversed + + + + + Calibration failed. The throttle channel on your transmitter is reversed. You must correct this on your transmitter in order to complete calibration. + + + + + Center your sticks and move throttle all the way down, then press Ok to copy trims. After pressing Ok, reset the trims on your radio back to zero. + + + + + Before calibrating you should zero all your trims and subtrims. Click Ok to start Calibration. + +%1 + + + + + Please ensure all motor power is disconnected AND all props are removed from the vehicle. + + + + + Please turn on transmitter. + + + + + %1 channels or more are needed to fly. + + + + + Click Ok to place your Spektrum receiver in the bind mode. Select the specific receiver type below: + + + + + DSM2 Mode + + + + + DSMX (7 channels or less) + + + + + DSMX (8 channels or more) + + + + + Not Mapped + + + + + Attitude Controls + + + + + Roll + + + + + Pitch + + + + + Yaw + + + + + Throttle + + + + + Skip + + + + + Cancel + + + + + + Calibrate + + + + + Additional Radio setup: + + + + + Spektrum Bind + + + + + Copy Trims + + + + + Mode 1 + + + + + Mode 2 + + + + + RallyPointController + + + Rally: %1 + + + + + RallyPointEditorHeader + + + Rally Points + + + + + Rally Points provide alternate landing points when performing a Return to Launch (RTL). + + + + + Click in the map to add new rally points. + + + + + This vehicle does not support Rally Points. + + + + + RallyPointItemEditor + + + Rally Point + + + + + Delete + + + + + RallyPointMapVisuals + + + R + rally point map item label + + + + + SafetyComponent + + + Low Battery Failsafe Trigger + + + + + + + Failsafe Action: + + + + + Battery Warn Level: + + + + + Battery Failsafe Level: + + + + + RC Loss Failsafe Trigger + + + + + RC Loss Timeout: + + + + + Data Link Loss Failsafe Trigger + + + + + Data Link Loss Timeout: + + + + + Geofence Failsafe Trigger + + + + + Action on breach: + + + + + Max radius: + + + + + Max altitude: + + + + + Return Home Settings + + + + + Climb to altitude of: + + + + + Return home, then: + + + + + Land immediately + + + + + Loiter and do not land + + + + + Loiter and land after specified time + + + + + Loiter Time + + + + + Loiter Altitude + + + + + Land Mode Settings + + + + + Landing Descent Rate: + + + + + Disarm After: + + + + + Safety + + + + + Safety Setup is used to setup triggers for Return to Land as well as the settings for Return to Land itself. + + + + + SafetyComponentSummary + + + RTL min alt: + + + + + RTL home alt: + + + + + RC loss RTL: + + + + + RC loss action: + + + + + Link loss action: + + + + + Low battery action: + + + + + SensorsComponent + + + + If the orientation is in the direction of flight, select ROTATION_NONE. + + + + + For Compass calibration you will need to rotate your vehicle through a number of positions. Click Ok to start calibration. + + + + + For Gyroscope calibration you will need to place your vehicle on a surface and leave it still. Click Ok to start calibration. + + + + + For Accelerometer calibration you will need to place your vehicle on all six sides on a perfectly level surface and hold it still in each orientation for a few seconds. Click Ok to start calibration. + + + + + To level the horizon you need to place the vehicle in its level flight position and press OK. + + + + + For Airspeed calibration you will need to keep your airspeed sensor out of any wind and then blow across the sensor. + + + + + Start the individual calibration steps by clicking one of the buttons to the left. + + + + + Set Compass Rotation(s) + + + + + Calibration Cancel + + + + + Waiting for Vehicle to response to Cancel. This may take a few seconds. + + + + + + Autopilot Orientation: + + + + + External Compass Orientation: + + + + + External Compass 1 Orientation: + + + + + Compass 2 Orientation + + + + + Compass + + + + + Calibrate Compass + + + + + Gyroscope + + + + + Calibrate Gyro + + + + + Accelerometer + + + + + Calibrate Accelerometer + + + + + + Level Horizon + + + + + Airspeed + + + + + Calibrate Airspeed + + + + + Cancel + + + + + + Set Orientations + + + + + + + + + + Rotate + + + + + + + + + + Hold Still + + + + + Sensors + + + + + Sensors Setup is used to calibrate the sensors within your vehicle. + + + + + SensorsComponentSummary + + + Compass 0: + + + + + + + Setup required + + + + + + + + + Ready + + + + + Compass 1: + + + + + Compass 2: + + + + + Gyro: + + + + + Accelerometer: + + + + + SensorsComponentSummaryFixedWing + + + Compass: + + + + + + + + Setup required + + + + + + + + Ready + + + + + Gyro: + + + + + Accelerometer: + + + + + Airspeed: + + + + + SerialLink + + + Could not send data - link %1 is disconnected! + + + + + Link Error + + + + + SerialSettings + + + Serial Link Settings + + + + + Serial Port: + + + + + No serial ports available + + + + + Serial Port not present + + + + + Baud Rate: + + + + + Baud rate name not in combo box + + + + + Show Advanced Serial Settings + + + + + Enable Flow Control + + + + + Parity: + + + + + None + + + + + Even + + + + + Odd + + + + + Stop Bits: + + + + + SetupPage + + + Setup + + + + + SetupView + + + This operation cannot be performed while vehicle is armed. + + + + + Connect vehicle to your device and %1 will automatically detect it. + + + + + Vehicle Setup + + + + + SimpleItemEditor + + + Provides advanced access to all commands/parameters. Be very careful! + + + + + Flight Speed + + + + + SimpleMissionItem + + + Unknown: %1 + + + + + SurveyItemEditor + + + Manual Grid (no camera specs) + + + + + Custom Camera Grid + + + + + Camera + + + + + Trigger Distance + + + + + Hover and capture image + + + + + Width + + + + + Height + + + + + Sensor + + + + + Image + + + + + Focal length + + + + + Frontal + + + + + Side + + + + + Overlap + + + + + + Grid + + + + + + Angle + + + + + + Turnaround dist + + + + + + Refly at 90 degree offset + + + + + Select one: + + + + + + Altitude + + + + + Ground res + + + + + Spacing + + + + + Relative altitude + + + + + Statistics + + + + + Survey area + + + + + Photo count + + + + + Photo interval + + + + + N/A + + + + + secs + + + + + SurveyMissionItem + + + %1 does not support this version of survey items + + + + + %1 does not support loading this complex mission item type: %2:%3 + + + + + %1 but %2 object is missing + + + + + SyslinkComponent + + + Radio Settings + + + + + Channel + + + + + Address + + + + + Data Rate + + + + + Syslink + + + + + The Syslink Component is used to setup the radio connection on Crazyflies. + + + + + TCPLink + + + + Link Error + + + + + TcpSettings + + + TCP Link Settings + + + + + Host Address: + + + + + TCP Port: + + + + + TelemetryRSSIIndicator + + + Telemetry RSSI Status + + + + + Local RSSI: + + + + + Remote RSSI: + + + + + RX Errors: + + + + + Errors Fixed: + + + + + TX Buffer: + + + + + Local Noise: + + + + + Remote Noise: + + + + + UAS + + + UNINIT + + + + + Unitialized, booting up. + + + + + BOOT + + + + + Booting system, please wait. + + + + + CALIBRATING + + + + + Calibrating sensors, please wait. + + + + + ACTIVE + + + + + Active, normal operation. + + + + + STANDBY + + + + + Standby mode, ready for launch. + + + + + CRITICAL + + + + + FAILURE: Continuing operation. + + + + + EMERGENCY + + + + + EMERGENCY: Land Immediately! + + + + + SHUTDOWN + + + + + Powering off system. + + + + + UNKNOWN + + + + + Unknown system state + + + + + UASMessageHandler + + + EMERGENCY: + + + + + ALERT: + + + + + Critical: + + + + + Error: + + + + + Warning: + + + + + Notice: + + + + + Info: + + + + + Debug: + + + + + UASMessageView + + + Form + + + + + UASMessageViewWidget + + + Clear Messages + + + + + UASQuickViewItemSelect + + + Select Item + + + + + UDPLink + + + UDP Link Error + + + + + Error binding UDP port: %1 + + + + + UdpSettings + + + UDP Link Settings + + + + + Listening Port: + + + + + Target Hosts: + + + + + Add + + + + + Remove + + + + + ValuesWidget + + + Value Widget Setup + + + + + Show large compass + + + + + Select the values you want to display: + + + + + Vehicle must be connected to assign values. + + + + + Large + + + + + Vehicle + + + MAVLink Generic + + + + + Fixed Wing + + + + + Multi-Rotor + + + + + VTOL + + + + + Rover + + + + + Sub + + + + + Unknown + + + + + %1 command temporarily rejected + + + + + %1 command denied + + + + + %1 command not supported + + + + + %1 command failed + + + + + AutoLoad%1.%2 + + + + + Generic micro air vehicle + + + + + Fixed wing aircraft + + + + + Quadrotor + + + + + Coaxial helicopter + + + + + Normal helicopter with tail rotor. + + + + + Ground installation + + + + + Operator control unit / ground control station + + + + + Airship, controlled + + + + + Free balloon, uncontrolled + + + + + Rocket + + + + + Ground rover + + + + + Surface vessel, boat, ship + + + + + Submarine + + + + + Hexarotor + + + + + + Octorotor + + + + + + Flapping wing + + + + + Onboard companion controller + + + + + Two-rotor VTOL using control surfaces in vertical operation in addition. Tailsitter + + + + + Quad-rotor VTOL using a V-shaped quad config in vertical operation. Tailsitter + + + + + Tiltrotor VTOL + + + + + VTOL reserved 2 + + + + + VTOL reserved 3 + + + + + VTOL reserved 4 + + + + + VTOL reserved 5 + + + + + Onboard gimbal + + + + + Onboard ADSB peripheral + + + + + Vehicle did not respond to command: %1 + + + + + VehicleHealthWidget + + + Vehicle Health + + + + + All systems healthy + + + + + VehicleRotationCal + + + Hold Still + + + + + Completed + + + + + Incomplete + + + + + VehicleSummary + + + Below you will find a summary of the settings for your vehicle. To the left are the setup menus for each component. + + + + + WARNING: Your vehicle requires setup prior to flight. Please resolve the items marked in red using the menu on the left. + + + + + VibrationWidget + + + Vibe + + + + + Clip count + + + + + Accel 1: + + + + + + Accel 2: + + + + + Not Available + + + + + ViewWidget + + + missing connected implementation + + + + + no vehicle connected + + + + + linechart + + + Form + + + + + Filter... (Ctrl+F) + + + + + All MAVs + + + + + Display only variable names in curve list + + + + + Short names + + + + + + Display variable units in curve list + + + + + Show units + + + + + Rotate color scheme for all curves + + + + + Recolor + + + + diff --git a/src/AnalyzeView/GeoTagController.cc b/src/AnalyzeView/GeoTagController.cc index bf846bc0d..97079d67c 100644 --- a/src/AnalyzeView/GeoTagController.cc +++ b/src/AnalyzeView/GeoTagController.cc @@ -38,7 +38,7 @@ GeoTagController::~GeoTagController() void GeoTagController::pickLogFile(void) { - QString filename = QGCQFileDialog::getOpenFileName(MainWindow::instance(), "Select log file load", QString(), "ULog file (*.ulg);;PX4 log file (*.px4log);;All Files (*.*)"); + QString filename = QGCQFileDialog::getOpenFileName(MainWindow::instance(), tr("Select log file load"), QString(), tr("ULog file (*.ulg);;PX4 log file (*.px4log);;All Files (*.*)")); if (!filename.isEmpty()) { _worker.setLogFile(filename); emit logFileChanged(filename); @@ -47,7 +47,7 @@ void GeoTagController::pickLogFile(void) void GeoTagController::pickImageDirectory(void) { - QString dir = QGCQFileDialog::getExistingDirectory(MainWindow::instance(), "Select image directory"); + QString dir = QGCQFileDialog::getExistingDirectory(MainWindow::instance(), tr("Select image directory")); if (!dir.isEmpty()) { _worker.setImageDirectory(dir); emit imageDirectoryChanged(dir); @@ -56,7 +56,7 @@ void GeoTagController::pickImageDirectory(void) void GeoTagController::pickSaveDirectory(void) { - QString dir = QGCQFileDialog::getExistingDirectory(MainWindow::instance(), "Select save directory"); + QString dir = QGCQFileDialog::getExistingDirectory(MainWindow::instance(), tr("Select save directory")); if (!dir.isEmpty()) { _worker.setSaveDirectory(dir); emit saveDirectoryChanged(dir); diff --git a/src/AnalyzeView/LogDownloadController.cc b/src/AnalyzeView/LogDownloadController.cc index 50943863e..8d490d60a 100644 --- a/src/AnalyzeView/LogDownloadController.cc +++ b/src/AnalyzeView/LogDownloadController.cc @@ -95,7 +95,7 @@ QGCLogEntry::QGCLogEntry(uint logId, const QDateTime& dateTime, uint logSize, bo , _received(received) , _selected(false) { - _status = "Pending"; + _status = tr("Pending"); } //---------------------------------------------------------------------------------------- @@ -180,7 +180,7 @@ LogDownloadController::_logEntry(UASInterface* uas, uint32_t time_utc, uint32_t entry->setSize(size); entry->setTime(QDateTime::fromTime_t(time_utc)); entry->setReceived(true); - entry->setStatus(QString("Available")); + entry->setStatus(QString(tr("Available"))); } else { qWarning() << "Received log entry for out-of-bound index:" << id; } @@ -227,7 +227,7 @@ LogDownloadController::_resetSelection(bool canceled) if(entry) { if(entry->selected()) { if(canceled) { - entry->setStatus(QString("Canceled")); + entry->setStatus(QString(tr("Canceled"))); } entry->setSelected(false); } @@ -274,7 +274,7 @@ LogDownloadController::_findMissingEntries() for(int i = 0; i < num_logs; i++) { QGCLogEntry* entry = _logEntriesModel[i]; if(entry && !entry->received()) { - entry->setStatus(QString("Error")); + entry->setStatus(QString(tr("Error"))); } } //-- Give up @@ -360,7 +360,7 @@ LogDownloadController::_logData(UASInterface* uas, uint32_t ofs, uint16_t id, ui _timer.start(timeout_time); //-- Do we have it all? if(_logComplete()) { - _downloadData->entry->setStatus(QString("Downloaded")); + _downloadData->entry->setStatus(QString(tr("Downloaded"))); //-- Check for more _receivedAllData(); } else if (_chunkComplete()) { @@ -379,7 +379,7 @@ LogDownloadController::_logData(UASInterface* uas, uint32_t ofs, uint16_t id, ui qWarning() << "Received log offset greater than expected"; } if(!result) { - _downloadData->entry->setStatus(QString("Error")); + _downloadData->entry->setStatus(QString(tr("Error"))); } } @@ -425,7 +425,7 @@ LogDownloadController::_findMissingData() } if(_retries++ > 2) { - _downloadData->entry->setStatus(QString("Timed Out")); + _downloadData->entry->setStatus(QString(tr("Timed Out"))); //-- Give up qWarning() << "Too many errors retreiving log data. Giving up."; _receivedAllData(); @@ -516,7 +516,7 @@ LogDownloadController::download(QString path) if(dir.isEmpty()) { dir = QGCQFileDialog::getExistingDirectory( MainWindow::instance(), - "Log Download Directory", + tr("Log Download Directory"), QDir::homePath(), QGCQFileDialog::ShowDirsOnly | QGCQFileDialog::DontResolveSymlinks); } @@ -543,7 +543,7 @@ void LogDownloadController::downloadToDirectory(const QString& dir) QGCLogEntry* entry = _logEntriesModel[i]; if(entry) { if(entry->selected()) { - entry->setStatus(QString("Waiting")); + entry->setStatus(QString(tr("Waiting"))); } } } @@ -634,7 +634,7 @@ LogDownloadController::_prepareLogDownload() if (_downloadData->file.exists()) { _downloadData->file.remove(); } - _downloadData->entry->setStatus(QString("Error")); + _downloadData->entry->setStatus(QString(tr("Error"))); delete _downloadData; _downloadData = NULL; } @@ -688,7 +688,7 @@ LogDownloadController::cancel(void) _receivedAllEntries(); } if(_downloadData) { - _downloadData->entry->setStatus(QString("Canceled")); + _downloadData->entry->setStatus(QString(tr("Canceled"))); if (_downloadData->file.exists()) { _downloadData->file.remove(); } diff --git a/src/AnalyzeView/ULogParser.cc b/src/AnalyzeView/ULogParser.cc index 36169a243..8399c65f7 100644 --- a/src/AnalyzeView/ULogParser.cc +++ b/src/AnalyzeView/ULogParser.cc @@ -1,4 +1,4 @@ - #include "ULogParser.h" +#include "ULogParser.h" #include #include diff --git a/src/QGCQFileDialog.h b/src/QGCQFileDialog.h index 652f3b0e1..cc828c80c 100644 --- a/src/QGCQFileDialog.h +++ b/src/QGCQFileDialog.h @@ -15,6 +15,7 @@ #error Should not be included in mobile builds #endif +#include #include /// @file @@ -40,7 +41,7 @@ */ class QGCQFileDialog : public QFileDialog { - + Q_DECLARE_TR_FUNCTIONS(QGCQFileDialog) public: //! Static helper that will return an existing directory selected by the user. -- 2.22.0