Refs #7743. Move error mesages to Constants.php. Unit tests use those...

Refs #7743. Move error mesages to Constants.php. Unit tests use those constants now. 'data-pattern-error' only delivered if a 'pattern' is given. 'required' attribute only delivered is set.
1 job for master in 2 minutes and 13 seconds (queued for 1 second)
Name Stage Failure
failed
snapshot Test There is an unknown failure, please try again
+    'data-match-error' => 'Fields do not match'

/home/gitlab-runner/builds/7e3e234d/0/typo3/qfq/typo3conf/ext/qfq/Tests/unit/core/store/StoreTest.php:447

FAILURES!
Tests: 313, Assertions: 1718, Failures: 1.
Makefile:121: recipe for target 'phpunit' failed
make: *** [phpunit] Error 1
ERROR: Job failed: exit status 1