fix typos in error messages

Signed-off-by: Ward Vandewege <ward@jhvc.com> (github: cure)
Merge pull request #7865 from cure/master

fix typos in error messages