Report grammar errors according to configuration (#19257)
Link to issue number:
Fixes #19218
Summary of the issue:
Grammar errors are spoken when NVDA is configured to report them with sounds or in braille.
Description of user facing changes:
Grammar errors Will be reported according to the selected settings.
In the Document Formatting dialog, "Spelling errors" has been renamed to "Spelling or gramar errors".
"grammar" has been included in messages and descriptions of commands to toggle the reporting of errors via audio and in braille.
Description of developer facing changes:
None.
Description of development approach:
In speech.speak.py, seen how the "invalid-spelling" attribute is addressed, to handle the "invalid-grammar" attribute appropriately.
In braille.py, "invalid-grammar" has been added to fontAttributeFormattingMarkers.