Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
c20c359f
Commit
c20c359f
authored
Mar 24, 2016
by
Tomaz Canabrava
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Translate FlightDisplay
Signed-off-by:
Tomaz Canabrava
<
tomaz.canabrava@intel.com
>
parent
1957086f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
23 deletions
+23
-23
FlightDisplayView.qml
src/FlightDisplay/FlightDisplayView.qml
+3
-3
FlightDisplayViewMap.qml
src/FlightDisplay/FlightDisplayViewMap.qml
+1
-1
FlightDisplayViewVideo.qml
src/FlightDisplay/FlightDisplayViewVideo.qml
+1
-1
FlightDisplayViewWidgets.qml
src/FlightDisplay/FlightDisplayViewWidgets.qml
+18
-18
No files found.
src/FlightDisplay/FlightDisplayView.qml
View file @
c20c359f
...
...
@@ -113,9 +113,9 @@ QGCView {
MessageDialog
{
id
:
px4JoystickSupport
text
:
"
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.
"
text
:
qsTr
(
"
Joystick support requires MAVLink MANUAL_CONTROL support.
"
)
+
qsTr
(
"
The firmware you are running does not normally support this.
"
)
+
qsTr
(
"
It will only work if you have modified the firmware to add MANUAL_CONTROL support.
"
)
}
Connections
{
...
...
src/FlightDisplay/FlightDisplayViewMap.qml
View file @
c20c359f
...
...
@@ -119,7 +119,7 @@ FlightMap {
sourceItem
:
MissionItemIndexLabel
{
isCurrentItem
:
true
label
:
"
G
"
label
:
qsTr
(
"
G
"
,
"
Goto here waypoint
"
)
// second string is translator's hint.
}
}
...
...
src/FlightDisplay/FlightDisplayViewVideo.qml
View file @
c20c359f
...
...
@@ -42,7 +42,7 @@ Item {
color
:
Qt
.
rgba
(
0
,
0
,
0
,
0.75
)
visible
:
!
_controller
.
videoRunning
QGCLabel
{
text
:
"
NO VIDEO
"
text
:
qsTr
(
"
NO VIDEO
"
)
font.weight
:
Font
.
DemiBold
color
:
"
white
"
font.pixelSize
:
_mainIsMap
?
12
*
ScreenTools
.
fontHRatio
:
20
*
ScreenTools
.
fontHRatio
...
...
src/FlightDisplay/FlightDisplayViewWidgets.qml
View file @
c20c359f
...
...
@@ -172,7 +172,7 @@ Item {
QGCCheckBox
{
id
:
followVehicleCheckBox
text
:
"
Follow Vehicle
"
text
:
qsTr
(
"
Follow Vehicle
"
)
checked
:
_flightMap
?
_flightMap
.
_followVehicle
:
false
anchors.baseline
:
centerMapButton
.
baseline
...
...
@@ -184,7 +184,7 @@ Item {
QGCButton
{
id
:
centerMapButton
text
:
"
Center map on Vehicle
"
text
:
qsTr
(
"
Center map on Vehicle
"
)
enabled
:
_activeVehicle
&&
!
followVehicleCheckBox
.
checked
property
var
activeVehicle
:
QGroundControl
.
multiVehicleManager
.
activeVehicle
...
...
@@ -232,7 +232,7 @@ Item {
}
QGCButton
{
text
:
"
Clear flight trails
"
text
:
qsTr
(
"
Clear flight trails
"
)
enabled
:
QGroundControl
.
multiVehicleManager
.
activeVehicle
onClicked
:
{
...
...
@@ -387,7 +387,7 @@ Item {
_activeVehicle
.
setCurrentMissionSequence
(
_flightMap
.
_retaskSequence
)
break
;
default
:
console
.
warn
(
"
Internal error: unknown confirmActionCode
"
,
confirmActionCode
)
console
.
warn
(
qsTr
(
"
Internal error: unknown confirmActionCode
"
)
,
confirmActionCode
)
}
}
...
...
@@ -404,21 +404,21 @@ Item {
confirmActionCode
=
actionCode
switch
(
confirmActionCode
)
{
case
confirmArm
:
guidedModeConfirm
.
confirmText
=
"
arm
"
guidedModeConfirm
.
confirmText
=
qsTr
(
"
arm
"
)
break
;
case
confirmDisarm
:
guidedModeConfirm
.
confirmText
=
"
disarm
"
guidedModeConfirm
.
confirmText
=
qsTr
(
"
disarm
"
)
break
;
case
confirmEmergencyStop
:
guidedModeConfirm
.
confirmText
=
"
STOP ALL MOTORS!
"
guidedModeConfirm
.
confirmText
=
qsTr
(
"
STOP ALL MOTORS!
"
)
break
;
case
confirmTakeoff
:
altitudeSlider
.
visible
=
true
altitudeSlider
.
setInitialValueMeters
(
10
)
guidedModeConfirm
.
confirmText
=
"
takeoff
"
guidedModeConfirm
.
confirmText
=
qsTr
(
"
takeoff
"
)
break
;
case
confirmLand
:
guidedModeConfirm
.
confirmText
=
"
land
"
guidedModeConfirm
.
confirmText
=
qsTr
(
"
land
"
)
break
;
case
confirmHome
:
guidedModeConfirm
.
confirmText
=
"
return to launch
"
...
...
@@ -426,13 +426,13 @@ Item {
case
confirmChangeAlt
:
altitudeSlider
.
visible
=
true
altitudeSlider
.
setInitialValueAppSettingsDistanceUnits
(
_activeVehicle
.
altitudeAMSL
.
value
)
guidedModeConfirm
.
confirmText
=
"
change altitude
"
guidedModeConfirm
.
confirmText
=
qsTr
(
"
change altitude
"
)
break
;
case
confirmGoTo
:
guidedModeConfirm
.
confirmText
=
"
move vehicle
"
guidedModeConfirm
.
confirmText
=
qsTr
(
"
move vehicle
"
)
break
;
case
confirmRetask
:
_guidedModeBar
.
confirmText
=
"
active waypoint change
"
_guidedModeBar
.
confirmText
=
qsTr
(
"
active waypoint change
"
)
break
;
}
guidedModeBar
.
visible
=
false
...
...
@@ -450,24 +450,24 @@ Item {
spacing
:
_margins
QGCButton
{
text
:
(
_activeVehicle
&&
_activeVehicle
.
armed
)
?
(
_activeVehicle
.
flying
?
"
Emergency Stop
"
:
"
Disarm
"
)
:
"
Arm
"
text
:
(
_activeVehicle
&&
_activeVehicle
.
armed
)
?
(
_activeVehicle
.
flying
?
qsTr
(
"
Emergency Stop
"
)
:
qsTr
(
"
Disarm
"
))
:
qsTr
(
"
Arm
"
)
onClicked
:
_guidedModeBar
.
confirmAction
(
_activeVehicle
.
armed
?
(
_activeVehicle
.
flying
?
_guidedModeBar
.
confirmEmergencyStop
:
_guidedModeBar
.
confirmDisarm
)
:
_guidedModeBar
.
confirmArm
)
}
QGCButton
{
text
:
"
RTL
"
text
:
qsTr
(
"
RTL
"
)
visible
:
_activeVehicle
&&
_activeVehicle
.
guidedModeSupported
&&
_activeVehicle
.
flying
onClicked
:
_guidedModeBar
.
confirmAction
(
_guidedModeBar
.
confirmHome
)
}
QGCButton
{
text
:
(
_activeVehicle
&&
_activeVehicle
.
flying
)
?
"
Land
"
:
"
Takeoff
"
text
:
(
_activeVehicle
&&
_activeVehicle
.
flying
)
?
qsTr
(
"
Land
"
):
qsTr
(
"
Takeoff
"
)
visible
:
_activeVehicle
&&
_activeVehicle
.
guidedModeSupported
&&
_activeVehicle
.
armed
onClicked
:
_guidedModeBar
.
confirmAction
(
_activeVehicle
.
flying
?
_guidedModeBar
.
confirmLand
:
_guidedModeBar
.
confirmTakeoff
)
}
QGCButton
{
text
:
"
Pause
"
text
:
qsTr
(
"
Pause
"
)
visible
:
_activeVehicle
&&
_activeVehicle
.
pauseVehicleSupported
&&
_activeVehicle
.
flying
onClicked
:
{
guidedModeHideTimer
.
restart
()
...
...
@@ -476,7 +476,7 @@ Item {
}
QGCButton
{
text
:
"
Change Altitude
"
text
:
qsTr
(
"
Change Altitude
"
)
visible
:
_activeVehicle
&&
_activeVehicle
.
guidedModeSupported
&&
_activeVehicle
.
armed
onClicked
:
_guidedModeBar
.
confirmAction
(
_guidedModeBar
.
confirmChangeAlt
)
}
...
...
@@ -557,7 +557,7 @@ Item {
QGCLabel
{
anchors.horizontalCenter
:
parent
.
horizontalCenter
text
:
"
Alt (rel)
"
text
:
qsTr
(
"
Alt (rel)
"
)
}
QGCLabel
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment