The Open Source DocuSign Alternative.
TypeScript digital-signaturedocument-signingdocusign-alternativee-signatureesignesignaturenext-authnextjsopen-sourcepades-standardpdfpdf-signpdf-signaturepostgresqlprismaself-hostedsigningtypescript
chore(i18n): change recipient invitation messages (#2172)
Konradc9604fee643b
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.tsxindex 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 = ({<div className="mt-1.5 flex flex-wrap items-center justify-between gap-y-2 sm:mt-2.5 sm:gap-y-0"><div className="max-w-[50ch]">- <span className="truncate text-muted-foreground" title={senderName}>- {senderName} {senderEmail}- </span>{' '}<span className="text-muted-foreground">{match(recipient.role).with(RecipientRole.VIEWER, () =>includeSenderDetails ? (<Trans>+ <span className="truncate" title={senderName}>+ {senderName} {senderEmail}+ </span>{' '}on behalf of "{document.team?.name}" has invited you to view this document</Trans>) : (- <Trans>has invited you to view this document</Trans>+ <Trans>+ <span className="truncate" title={senderName}>+ {senderName} {senderEmail}+ </span>{' '}+ has invited you to view this document+ </Trans>),).with(RecipientRole.SIGNER, () =>includeSenderDetails ? (<Trans>+ <span className="truncate" title={senderName}>+ {senderName} {senderEmail}+ </span>{' '}on behalf of "{document.team?.name}" has invited you to sign this document</Trans>) : (- <Trans>has invited you to sign this document</Trans>+ <Trans>+ <span className="truncate" title={senderName}>+ {senderName} {senderEmail}+ </span>{' '}+ has invited you to sign this document+ </Trans>),).with(RecipientRole.APPROVER, () =>includeSenderDetails ? (<Trans>+ <span className="truncate" title={senderName}>+ {senderName} {senderEmail}+ </span>{' '}on behalf of "{document.team?.name}" has invited you to approve this document</Trans>) : (- <Trans>has invited you to approve this document</Trans>+ <Trans>+ <span className="truncate" title={senderName}>+ {senderName} {senderEmail}+ </span>{' '}+ has invited you to approve this document+ </Trans>),).with(RecipientRole.ASSISTANT, () =>includeSenderDetails ? (<Trans>+ <span className="truncate" title={senderName}>+ {senderName} {senderEmail}+ </span>{' '}on behalf of "{document.team?.name}" has invited you to assist this document</Trans>) : (- <Trans>has invited you to assist this document</Trans>+ <Trans>+ <span className="truncate" title={senderName}>+ {senderName} {senderEmail}+ </span>{' '}+ has invited you to assist this document+ </Trans>),).otherwise(() => null)}