- 🇬🇧United Kingdom jonathan1055
Adding parent as this commit added a DrupalPractice sniff to phpcs.xml.dist
Follow up for #1987602: Convert ajax_form_callback() to a new style controller →
As specified in #1987602-79: Convert ajax_form_callback() to a new style controller → Exception messages shouldn't be translated.
Reasons to not translate exceptions messages (from comments on this issue and #817160: Don't translate exceptions → ):
Remove translation of exceptions in code base.
However, it was pointed out that there are user facing exceptions, at least field errors are such., so we may have to specify when it is OK to translate exception messages or refactor these to error messages.
Coder sniff DrupalPractice.General.ExceptionT
added to 8.9 in
#3134731: Update coder to 8.3.9 →
- Update
Coding standards - PHP Exceptions →
.
- Create a patch (or several patches) that removes all translations of exception messages.
Not really, exceptions should not be shown to end users
No.
#1987602-79: Convert ajax_form_callback() to a new style controller →
Fixed
8.9 ⚰️
Last updated
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Adding parent as this commit added a DrupalPractice sniff to phpcs.xml.dist