Add i18n support to email-templates
The email-templates package now uses the i18n (internationalization) library to translate email content based on user language preferences. This update involves changes to the email structure, the addition of translation JSON files, and modifications to the files referencing the emails. Email file locations were also restructured for better organization.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"subject": "You have been invited to join a team",
|
||||
"heading": "Join {{teamName}} on {{productName}}",
|
||||
"hello": "Hello {{invitedUserEmail}},",
|
||||
"mainText": "<strong>{{inviter}}</strong> has invited you to the <strong>{{teamName}}</strong> team on <strong>{{productName}}</strong>.",
|
||||
"joinTeam": "Join {{teamName}}",
|
||||
"copyPasteLink": "or copy and paste this URL into your browser:",
|
||||
"invitationIntendedFor": "This invitation is intended for {{invitedUserEmail}}."
|
||||
}
|
||||
Reference in New Issue
Block a user