fix: email translations (#1454)

This commit is contained in:
David Nguyen
2024-11-08 00:33:48 +09:00
committed by GitHub
parent 61ea4971ad
commit 9b769e7e33
11 changed files with 51 additions and 75 deletions

View File

@ -1,4 +1,4 @@
import { msg } from '@lingui/macro';
import { Trans, msg } from '@lingui/macro';
import { useLingui } from '@lingui/react';
import { Body, Container, Head, Hr, Html, Img, Preview, Section, Text } from '../components';
@ -40,8 +40,10 @@ export const RecipientRemovedFromDocumentTemplate = ({
<Section>
<Text className="text-primary mx-auto mb-0 max-w-[80%] text-center text-lg font-semibold">
{inviterName} has removed you from the document
<br />"{documentName}"
<Trans>
{inviterName} has removed you from the document
<br />"{documentName}"
</Trans>
</Text>
</Section>
</Section>