From c9604fee643b7216abf4b891288b826e49b71e11 Mon Sep 17 00:00:00 2001 From: Konrad <11725227+mKoonrad@users.noreply.github.com> Date: Wed, 3 Dec 2025 01:55:53 +0100 Subject: [PATCH] chore(i18n): change recipient invitation messages (#2172) --- .../document-signing-page-view-v1.tsx | 43 ++++++++++++++++--- 1 file changed, 36 insertions(+), 7 deletions(-) diff --git a/apps/remix/app/components/general/document-signing/document-signing-page-view-v1.tsx b/apps/remix/app/components/general/document-signing/document-signing-page-view-v1.tsx index 449820f13..33e05b749 100644 --- a/apps/remix/app/components/general/document-signing/document-signing-page-view-v1.tsx +++ b/apps/remix/app/components/general/document-signing/document-signing-page-view-v1.tsx @@ -187,45 +187,74 @@ export const DocumentSigningPageViewV1 = ({
- - {senderName} {senderEmail} - {' '} {match(recipient.role) .with(RecipientRole.VIEWER, () => includeSenderDetails ? ( + + {senderName} {senderEmail} + {' '} on behalf of "{document.team?.name}" has invited you to view this document ) : ( - has invited you to view this document + + + {senderName} {senderEmail} + {' '} + has invited you to view this document + ), ) .with(RecipientRole.SIGNER, () => includeSenderDetails ? ( + + {senderName} {senderEmail} + {' '} on behalf of "{document.team?.name}" has invited you to sign this document ) : ( - has invited you to sign this document + + + {senderName} {senderEmail} + {' '} + has invited you to sign this document + ), ) .with(RecipientRole.APPROVER, () => includeSenderDetails ? ( + + {senderName} {senderEmail} + {' '} on behalf of "{document.team?.name}" has invited you to approve this document ) : ( - has invited you to approve this document + + + {senderName} {senderEmail} + {' '} + has invited you to approve this document + ), ) .with(RecipientRole.ASSISTANT, () => includeSenderDetails ? ( + + {senderName} {senderEmail} + {' '} on behalf of "{document.team?.name}" has invited you to assist this document ) : ( - has invited you to assist this document + + + {senderName} {senderEmail} + {' '} + has invited you to assist this document + ), ) .otherwise(() => null)}