From 075ee5e6aef3e70c4fd7fdd49eebd72fd73cb8b7 Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Mon, 30 Jul 2018 15:38:49 -0700 Subject: [PATCH] Better speech for PreArm --- src/Audio/AudioOutput.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Audio/AudioOutput.cc b/src/Audio/AudioOutput.cc index 88a3d4e79..fe6234aef 100644 --- a/src/Audio/AudioOutput.cc +++ b/src/Audio/AudioOutput.cc @@ -122,6 +122,9 @@ QString AudioOutput::fixTextMessageForAudio(const QString& string) { if(result.contains(" EKF ", Qt::CaseInsensitive)) { result.replace(" EKF ", " Eee Kay Eff ", Qt::CaseInsensitive); } + if(result.contains("PREARM", Qt::CaseInsensitive)) { + result.replace("PREARM", "pre arm", Qt::CaseInsensitive); + } // Convert negative numbers QRegularExpression re(QStringLiteral("(-)[0-9]*\\.?[0-9]")); -- 2.22.0