We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6b0052 commit 1dd1f4aCopy full SHA for 1dd1f4a
source/speech/speech.py
@@ -3089,7 +3089,7 @@ def getFormatFieldSpeech( # noqa: C901
3089
if formatConfig["reportSpellingErrors2"] & ReportSpellingErrors.SPEECH.value:
3090
# Translators: Reported when text contains a grammar error.
3091
texts.append(_("grammar error"))
3092
- elif extraDetail:
+ elif extraDetail and formatConfig["reportSpellingErrors2"] & ReportSpellingErrors.SPEECH.value:
3093
# Translators: Reported when moving out of text containing a grammar error.
3094
texts.append(_("out of grammar error"))
3095
textList.extend(texts)
0 commit comments