Current Behavior
The notification email footer shows the raw notification type key instead of a readable name. For example a mention email reads:
This email was sent to user@example.com because you are subscribed to "postMentioned" notifications on My Forum.
Any notification type does this, including ones from extensions (e.g. "linkrobinsSupportNewReply").
Expected Behavior
The footer should show a human readable notification name, like the wording used on the notification settings screen, not the internal type key.
Steps to Reproduce
- Receive any notification email (for example a post mention).
- Read the footer line "...you are subscribed to {type} notifications...".
Cause
NotificationMailer passes the raw type into the footer text:
$type = $blueprint::getType();
That value is interpolated directly into core.email.notification.footer.main_text as {type}, so the machine key is shown verbatim.
Current Behavior
The notification email footer shows the raw notification type key instead of a readable name. For example a mention email reads:
Any notification type does this, including ones from extensions (e.g. "linkrobinsSupportNewReply").
Expected Behavior
The footer should show a human readable notification name, like the wording used on the notification settings screen, not the internal type key.
Steps to Reproduce
Cause
NotificationMailerpasses the raw type into the footer text:That value is interpolated directly into
core.email.notification.footer.main_textas{type}, so the machine key is shown verbatim.