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
68ea2252
Commit
68ea2252
authored
May 30, 2020
by
DonLakeFlyer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parent
7571a2ab
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
16 deletions
+22
-16
qgc-json.ts
translations/qgc-json.ts
+19
-16
qgc-lupdate-json.py
translations/qgc-lupdate-json.py
+3
-0
No files found.
translations/qgc-json.ts
View file @
68ea2252
<
?
xml
version
=
"
1.0
"
encoding
=
"
utf-8
"
?
>
<!
DOCTYPE
TS
>
<
TS
version
=
"
2.1
"
>
<
context
>
<
name
>
SubmarineFact
.
json
<
/name
>
<
message
>
...
...
@@ -3343,9 +3346,9 @@
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
message
>
<
extracomment
>
.
QGC
.
MetaData
.
Facts
[
language
].
short
Description
,
<
/extracomment
>
<
extracomment
>
.
QGC
.
MetaData
.
Facts
[
virtualJoystickAutoCenterThrottle
].
long
Description
,
<
/extracomment
>
<
location
filename
=
"
../src/Settings/App.SettingsGroup.json
"
/>
<
source
>
Language
<
/source
>
<
source
>
If
enabled
the
throttle
stick
will
snap
back
to
center
when
released
.
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
message
>
...
...
@@ -3354,6 +3357,12 @@
<
source
>
Indoor
,
Outdoor
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
message
>
<
extracomment
>
.
QGC
.
MetaData
.
Facts
[
virtualJoystickAutoCenterThrottle
].
shortDescription
,
<
/extracomment
>
<
location
filename
=
"
../src/Settings/App.SettingsGroup.json
"
/>
<
source
>
Auto
-
Center
Throttle
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
message
>
<
extracomment
>
.
QGC
.
MetaData
.
Facts
[
showLargeCompass
].
longDescription
,
<
/extracomment
>
<
location
filename
=
"
../src/Settings/App.SettingsGroup.json
"
/>
...
...
@@ -3426,6 +3435,12 @@
<
source
>
This
value
defines
the
default
speed
for
calculating
mission
statistics
for
multi
-
rotor
vehicles
or
VTOL
vehicle
in
multi
-
rotor
mode
.
It
does
not
modify
the
flight
speed
for
a
specific
flight
plan
.
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
message
>
<
extracomment
>
.
QGC
.
MetaData
.
Facts
[
language
].
shortDescription
,
<
/extracomment
>
<
location
filename
=
"
../src/Settings/App.SettingsGroup.json
"
/>
<
source
>
Language
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
message
>
<
extracomment
>
.
QGC
.
MetaData
.
Facts
[
firstRunPromptIdsShown
].
shortDescription
,
<
/extracomment
>
<
location
filename
=
"
../src/Settings/App.SettingsGroup.json
"
/>
...
...
@@ -3480,12 +3495,6 @@
<
source
>
If
this
option
is
enabled
the
preflight
checklist
must
pass
before
arming
.
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
message
>
<
extracomment
>
.
QGC
.
MetaData
.
Facts
[
virtualJoystickCentralized
].
longDescription
,
<
/extracomment
>
<
location
filename
=
"
../src/Settings/App.SettingsGroup.json
"
/>
<
source
>
If
this
option
is
enabled
the
virtual
joystick
throttle
stick
will
be
centralized
.
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
message
>
<
extracomment
>
.
QGC
.
MetaData
.
Facts
[
enforceChecklist
].
shortDescription
,
<
/extracomment
>
<
location
filename
=
"
../src/Settings/App.SettingsGroup.json
"
/>
...
...
@@ -3685,9 +3694,9 @@
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
message
>
<
extracomment
>
.
QGC
.
MetaData
.
Facts
[
virtualJoystickCentralized
].
short
Description
,
<
/extracomment
>
<
extracomment
>
.
QGC
.
MetaData
.
Facts
[
indoorPalette
].
long
Description
,
<
/extracomment
>
<
location
filename
=
"
../src/Settings/App.SettingsGroup.json
"
/>
<
source
>
Set
virtual
joystick
to
be
centralize
throttle
(
spring
-
loaded
)
.
<
/source
>
<
source
>
The
color
scheme
for
the
user
interface
.
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
message
>
...
...
@@ -3702,12 +3711,6 @@
<source>This value defines the default speed for calculating mission statistics for vehicles which do not support hover or VTOL vehicles in fixed wing mode. It does not modify the flight speed for a specific flight plan.</source>
<translation type="unfinished"></translation>
</message>
<message>
<extracomment>.QGC.MetaData.Facts[indoorPalette].longDescription, </extracomment>
<location filename="../src/Settings/App.SettingsGroup.json"/>
<source>The color scheme for the user interface.</source>
<translation type="unfinished"></translation>
</message>
<message>
<extracomment>.QGC.MetaData.Facts[enableTaisyncVideo].shortDescription, .QGC.MetaData.Facts[enableTaisyncVideo].longDescription, </extracomment>
<location filename="../src/Settings/App.SettingsGroup.json"/>
...
...
translations/qgc-lupdate-json.py
View file @
68ea2252
...
...
@@ -88,6 +88,9 @@ def walkDirectoryTreeForJsonFiles(dir, multiFileLocArray):
def
writeJsonTSFile
(
multiFileLocArray
):
jsonTSFile
=
codecs
.
open
(
'qgc-json.ts'
,
'w'
,
"utf-8"
)
jsonTSFile
.
write
(
"<?xml version=
\"
1.0
\"
encoding=
\"
utf-8
\"
?>
\n
"
)
jsonTSFile
.
write
(
"<!DOCTYPE TS>
\n
"
)
jsonTSFile
.
write
(
"<TS version=
\"
2.1
\"
>
\n
"
)
for
entry
in
multiFileLocArray
:
jsonTSFile
.
write
(
"<context>
\n
"
)
jsonTSFile
.
write
(
" <name>
%
s</name>
\n
"
%
entry
[
0
])
...
...
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