Details
Details
Assignee
Unassigned
UnassignedReporter
Bilka
BilkaRoadmap
Challenges
Internationalization
Priority
Affects versions
Components
BackEnd
Difficulty
Medium
Milestone
Internal 0.9
Sentry
Sentry
Created March 3, 2025 at 9:17 PM
Updated March 9, 2025 at 10:08 AM
Currently, the
collection_notification
is used to send the “Assignments sent” mail and the “Challenge default by UserA” mail. We would like to split it into two separate mailer methods and update their text.The mailers should be coded as translatable and have mailer previews. Their subjects should be defined with
default_i18n_subject
so that they are fully translatable, including a parameter for the collection title.The “Assignment default” email should not be sent if any of the users no longer exists.
[AO3][Collection Title] Assignments sent
HTML email
The body should be approximately as follows:
Plain-text email
The body should be approximately as follows:
[AO3][Collection Title] Assignment default by User1
HTML email
The body should be approximately as follows:
Plain-text email
The body should be approximately as follows:
For both emails
sent_at
should be set.There should be a
footer_note
:HTML email
When sending the mail to the
collection.collection_email
it should be approximately:Otherwise it should be approximately:
This footer note is shared with and , so it should go in the mailer_helper for ease of reuse.
Plain-text email
When sending the mail to the
collection.collection_email
it should be approximately:Otherwise it should be approximately:
This footer note is shared with and , so it should go in the mailer_helper for ease of reuse.
Testing
On your Preferences page, select a locale other than English
Create a collection
Create a gift exchange challenge
Sign up for this challenge with at least two different accounts
Close sign-ups and run matching
Send out assignments
Default on one of the assignments
The mails sent in step 6 and 7 should match the subject, text and footer described above.