Missing translation in subject of notification mails
Summary
When receiving mail from a notification, prefix blocs are not translated :
- Maintenance :
Status
- Incident :
Severity
andStatus
Steps to reproduce
- Configure mail notifications
- Create or update a
Maintenance
or anIncident
What is the current bug behavior?
Prefix blocs are not translated
What is the expected correct behavior?
Prefix blocs should be translated
Relevant logs and/or screenshots
- https://gitlab.com/prod-manager/prod-manager/-/blob/master/ProdManager/routes/incident/views.py#L94
- https://gitlab.com/prod-manager/prod-manager/-/blob/master/ProdManager/routes/incident/views.py#L207
- https://gitlab.com/prod-manager/prod-manager/-/blob/master/ProdManager/routes/maintenance/views.py#L98
- https://gitlab.com/prod-manager/prod-manager/-/blob/master/ProdManager/routes/maintenance/views.py#L206
Environment info
0.11.0