checkdoc-message-text-engine is a compiled Lisp function in `checkdoc.el'.

(checkdoc-message-text-engine &optional TYPE)

Return or fix errors found in strings passed to a message display function.
According to the documentation for the function `error', the error list
should not end with a period, and should start with a capital letter.
The function `y-or-n-p' has similar constraints.
Argument TYPE specifies the type of question, such as `error or `y-or-n-p.