class MailTranslator implements TranslatorInterface
The translator email views are given.
Behaves like the ordinary translator except that parameter values are replaced by markers instead of being substituted directly, so that they are not present when {\Flarum\Mail\MailFormatter} renders the result. The markers are swapped back, escaped, once rendering is done. Email templates therefore need no changes — including those in extensions that will never be updated — while a discussion title or display name can no longer inject markup into a notification.