At the moment the translations only can be linted in this form
return [
'failed' => 'These credentials do not match our records.',
// etc.
];
If the array is deeper nested, as for example in the validation.php file, the texts get skipped at the moment.
ToDo: Integrate this in TranslationLinter::readTranslationArray() and add a proper error message for Vale::lintString().
At the moment the translations only can be linted in this form
If the array is deeper nested, as for example in the
validation.php
file, the texts get skipped at the moment. ToDo: Integrate this inTranslationLinter::readTranslationArray()
and add a proper error message forVale::lintString()
.