🐛(i18n) add back the missing email translations

We changed the way we upload the translations to
Crowdin, some translations were missing for the
email templates. We add them back and improve
the tests to make sure we don't forget them again.
This commit is contained in:
Anthony LC
2025-02-06 17:00:36 +01:00
committed by Anthony LC
parent 004e8ec645
commit 7a6da10e1c
5 changed files with 96 additions and 8 deletions

View File

@@ -458,6 +458,10 @@ def test_api_document_invitations_create_email_from_content_language():
email_content = " ".join(email.body.split())
assert f"{user.full_name} a partagé un document avec vous!" in email_content
assert (
"Docs, votre nouvel outil incontournable pour organiser, partager et collaborer "
"sur vos documents en équipe." in email_content
)
def test_api_document_invitations_create_email_from_content_language_not_supported():