Commit Graph

14 Commits

Author SHA1 Message Date
David Nguyen
ffc61af904 chore: extract translations 2024-11-06 22:03:51 +09:00
Lucas Smith
927a24249c chore: add translations (#1444) 2024-11-05 18:53:33 +09:00
David Nguyen
a50c758b07 chore: extract translations 2024-11-05 18:26:09 +09:00
David Nguyen
011dabcc04 chore: extract translations 2024-11-05 17:37:05 +09:00
Mythie
dc5723c386 chore: add i18n lang to document deleted email 2024-11-05 13:44:00 +11:00
Lucas Smith
c57d1dc55d chore: add translations (#1443)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-11-05 13:07:55 +11:00
Lucas Smith
4dd95016b1 feat: i18n for emails (#1442)
## Description

Support setting a document language that will control the language used
for sending emails to recipients. Additional work has been done to
convert all emails to using our i18n implementation so we can later add
controls for sending other kinds of emails in a users target language.

## Related Issue

N/A

## Changes Made

- Added `<Trans>` and `msg` macros to emails
- Introduced a new `renderEmailWithI18N` utility in the lib package
- Updated all emails to use the `<Tailwind>` component at the top level
due to rendering constraints
- Updated the `i18n.server.tsx` file to not use a top level await

## Testing Performed

- Configured document language and verified emails were sent in the
expected language
- Created a document from a template and verified that the templates
language was transferred to the document
2024-11-05 11:52:54 +11:00
Lucas Smith
8aa6d8e602 chore: add translations (#1433) 2024-11-01 13:22:51 +09:00
David Nguyen
378e515843 chore: extract translations 2024-11-01 12:56:07 +09:00
David Nguyen
88eaec91c9 chore: extract translations 2024-11-01 11:27:09 +09:00
David Nguyen
f199183c78 feat: improve translation coverage (#1427)
Improves translation coverage across the app.
2024-11-01 10:57:32 +11:00
Mythie
634b30aa54 fix: signature flickering during embed 2024-10-30 14:36:35 +11:00
Andre G
e30ceeb038 style: update common.po (#1402)
Update translations
2024-10-28 11:26:12 +09:00
Lucas Smith
514edf01d3 chore: add translations (#1406) 2024-10-22 14:02:51 +11:00