Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
37d02347
Commit
37d02347
authored
Dec 16, 2015
by
dogmaphobic
Browse files
Minor fixes to TTS.
parent
1f8136b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/audio/QGCAudioWorker.cpp
View file @
37d02347
...
...
@@ -262,6 +262,12 @@ QString QGCAudioWorker::fixTextMessageForAudio(const QString& string) {
if
(
result
.
contains
(
"CMD"
,
Qt
::
CaseInsensitive
))
{
result
.
replace
(
"CMD"
,
"command"
,
Qt
::
CaseInsensitive
);
}
if
(
result
.
contains
(
"COMPID"
,
Qt
::
CaseInsensitive
))
{
result
.
replace
(
"COMPID"
,
"component eye dee"
,
Qt
::
CaseInsensitive
);
}
if
(
result
.
contains
(
" params "
,
Qt
::
CaseInsensitive
))
{
result
.
replace
(
" params "
,
" parameters "
,
Qt
::
CaseInsensitive
);
}
if
(
result
.
contains
(
" id "
,
Qt
::
CaseInsensitive
))
{
result
.
replace
(
" id "
,
" eye dee "
,
Qt
::
CaseInsensitive
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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