Details
-
Bug
-
Resolution: Fixed
-
Major
-
11.10.5
-
None
-
Unknown
-
N/A
-
N/A
-
Description
The default notification email template makes some assumptions regarding that does not fit properly with our best practices:
1. it assumes that the descriptor application name, is a real name and not a translation key (which is contradicted by https://extensions.xwiki.org/xwiki/bin/view/Extension/Notifications%20API/#HRecordableEventDescriptor)
2. it uses some translations keys with the following pattern:
"notifications.events.${event.type}
which is not conform with our translation key best practices (cf https://dev.xwiki.org/xwiki/bin/view/Community/DevelopmentPractices#HTranslationBestPractices).
I guess we should at the very least provide some macros that would allow to inject the proper key prefixes or directly the values to use there. And document it properly.
Attachments
Issue Links
- is related to
-
XWIKI-20904 The generated translation key for standard notification message is too strict
- Closed
- relates to
-
XWIKI-17461 Mention events are not displayed properly in email notifications
- Closed
-
XWIKI-17814 Notification RSS template doesn't work properly with custom descriptors
- Closed
-
XWIKI-19766 Default email notification template should use a translated application name
- Closed