feat: add global settings for teams (#1391)

## Description

This PR introduces global settings for teams. At the moment, it allows
team admins to configure the following:
* The default visibility of the documents uploaded to the team account
* Whether to include the document owner (sender) details when sending
emails to the recipients.

### Include Sender Details

If the Sender Details setting is enabled, the emails sent by the team
will include the sender's name:

> "Example User" on behalf of "Example Team" has invited you to sign
"document.pdf"

Otherwise, the email will say:

> "Example Team" has invited you to sign "document.pdf"

### Default Document Visibility

This new option allows users to set the default visibility for the
documents uploaded to the team account. It can have the following
values:
* Everyone
* Manager and above
* Admins only

If the default document visibility isn't set, the document will be set
to the role of the user who created the document:
* If a user with the "User" role creates a document, the document's
visibility is set to "Everyone".
* Manager role -> "Manager and above"
* Admin role -> "Admins only"

Otherwise, if there is a default document visibility value, it uses that
value.

#### Gotcha

To avoid issues, the `document owner` and the `recipient` can access the
document irrespective of their role. For example:
* If a team member with the role "Member" uploads a document and the
default document visibility is "Admins", only the document owner and
admins can access the document.
  * Similar to the other scenarios.

* If an admin uploads a document and the default document visibility is
"Admins", the recipient can access the document.

* The admins have access to all the documents.
* Managers have access to documents with the visibility set to
"Everyone" and "Manager and above"
* Members have access only to the documents with the visibility set to
"Everyone".

## Testing Performed

Tested it locally.
This commit is contained in:
Catalin Pit
2024-11-08 13:50:49 +02:00
committed by GitHub
parent f6bcf921d5
commit 23a0537648
99 changed files with 4372 additions and 1037 deletions

View File

@@ -25,24 +25,27 @@ msgstr "“{documentName}” has been signed"
msgid "“{documentName}” was signed by all signers"
msgstr "“{documentName}” was signed by all signers"
#: packages/email/template-components/template-document-completed.tsx:41
#: packages/lib/server-only/document/resend-document.tsx:109
#~ msgid "{0}"
#~ msgstr "{0}"
#: packages/email/template-components/template-document-invite.tsx:74
#: packages/email/template-components/template-document-invite.tsx:80
#~ msgid "{0} Document"
#~ msgstr "{0} Document"
#: packages/lib/jobs/definitions/emails/send-signing-email.ts:119
#: packages/lib/jobs/definitions/emails/send-signing-email.ts:137
msgid "{0} has invited you to {recipientActionVerb} the document \"{1}\"."
msgstr "{0} has invited you to {recipientActionVerb} the document \"{1}\"."
#: packages/lib/jobs/definitions/emails/send-signing-email.ts:130
msgid "{0} invited you to {recipientActionVerb} a document"
msgstr "{0} invited you to {recipientActionVerb} a document"
#: packages/email/templates/team-join.tsx:55
#: packages/email/templates/team-join.tsx:61
msgid "{0} joined the team {teamName} on Documenso"
msgstr "{0} joined the team {teamName} on Documenso"
#: packages/email/templates/team-leave.tsx:55
#: packages/email/templates/team-leave.tsx:61
msgid "{0} left the team {teamName} on Documenso"
msgstr "{0} left the team {teamName} on Documenso"
@@ -50,16 +53,20 @@ msgstr "{0} left the team {teamName} on Documenso"
msgid "{0} of {1} row(s) selected."
msgstr "{0} of {1} row(s) selected."
#: packages/lib/jobs/definitions/emails/send-signing-email.ts:123
#: packages/lib/server-only/document/resend-document.tsx:126
#: packages/lib/jobs/definitions/emails/send-signing-email.ts:136
#: packages/lib/server-only/document/resend-document.tsx:137
msgid "{0} on behalf of {1} has invited you to {recipientActionVerb} the document \"{2}\"."
msgstr "{0} on behalf of {1} has invited you to {recipientActionVerb} the document \"{2}\"."
#: packages/email/templates/document-invite.tsx:79
#: packages/email/template-components/template-document-invite.tsx:51
#~ msgid "{0}<0/>\"{documentName}\""
#~ msgstr "{0}<0/>\"{documentName}\""
#: packages/email/templates/document-invite.tsx:94
msgid "{inviterName} <0>({inviterEmail})</0>"
msgstr "{inviterName} <0>({inviterEmail})</0>"
#: packages/email/templates/document-cancel.tsx:19
#: packages/email/templates/document-cancel.tsx:21
msgid "{inviterName} has cancelled the document {documentName}, you don't need to sign it anymore."
msgstr "{inviterName} has cancelled the document {documentName}, you don't need to sign it anymore."
@@ -67,7 +74,7 @@ msgstr "{inviterName} has cancelled the document {documentName}, you don't need
msgid "{inviterName} has cancelled the document<0/>\"{documentName}\""
msgstr "{inviterName} has cancelled the document<0/>\"{documentName}\""
#: packages/email/template-components/template-document-invite.tsx:54
#: packages/email/template-components/template-document-invite.tsx:65
msgid "{inviterName} has invited you to {0}<0/>\"{documentName}\""
msgstr "{inviterName} has invited you to {0}<0/>\"{documentName}\""
@@ -75,31 +82,35 @@ msgstr "{inviterName} has invited you to {0}<0/>\"{documentName}\""
msgid "{inviterName} has invited you to {action} {documentName}"
msgstr "{inviterName} has invited you to {action} {documentName}"
#: packages/email/templates/document-invite.tsx:91
msgid "{inviterName} has invited you to {action} the document {documentName}."
msgstr "{inviterName} has invited you to {action} the document {documentName}."
#: packages/email/templates/document-invite.tsx:106
msgid "{inviterName} has invited you to {action} the document \"{documentName}\"."
msgstr "{inviterName} has invited you to {action} the document \"{documentName}\"."
#: packages/email/templates/recipient-removed-from-document.tsx:18
#: packages/email/templates/recipient-removed-from-document.tsx:20
msgid "{inviterName} has removed you from the document {documentName}."
msgstr "{inviterName} has removed you from the document {documentName}."
#: packages/email/templates/recipient-removed-from-document.tsx:43
#: packages/email/templates/recipient-removed-from-document.tsx:49
msgid "{inviterName} has removed you from the document<0/>\"{documentName}\""
msgstr "{inviterName} has removed you from the document<0/>\"{documentName}\""
#: packages/email/template-components/template-document-invite.tsx:49
msgid "{inviterName} on behalf of {teamName} has invited you to {0}<0/>\"{documentName}\""
msgstr "{inviterName} on behalf of {teamName} has invited you to {0}<0/>\"{documentName}\""
#: packages/email/template-components/template-document-invite.tsx:53
msgid "{inviterName} on behalf of {teamName} has invited you to {0}"
msgstr "{inviterName} on behalf of {teamName} has invited you to {0}"
#: packages/email/templates/document-invite.tsx:40
#: packages/email/template-components/template-document-invite.tsx:49
#~ msgid "{inviterName} on behalf of {teamName} has invited you to {0}<0/>\"{documentName}\""
#~ msgstr "{inviterName} on behalf of {teamName} has invited you to {0}<0/>\"{documentName}\""
#: packages/email/templates/document-invite.tsx:45
msgid "{inviterName} on behalf of {teamName} has invited you to {action} {documentName}"
msgstr "{inviterName} on behalf of {teamName} has invited you to {action} {documentName}"
#: packages/email/templates/team-join.tsx:61
#: packages/email/templates/team-join.tsx:67
msgid "{memberEmail} joined the following team"
msgstr "{memberEmail} joined the following team"
#: packages/email/templates/team-leave.tsx:61
#: packages/email/templates/team-leave.tsx:67
msgid "{memberEmail} left the following team"
msgstr "{memberEmail} left the following team"
@@ -187,10 +198,18 @@ msgstr "{prefix} updated the document title"
msgid "{prefix} updated the document visibility"
msgstr "{prefix} updated the document visibility"
#: packages/email/templates/document-created-from-direct-template.tsx:55
#: packages/email/templates/document-created-from-direct-template.tsx:61
msgid "{recipientName} {action} a document by using one of your direct links"
msgstr "{recipientName} {action} a document by using one of your direct links"
#: packages/email/template-components/template-document-invite.tsx:58
msgid "{teamName} has invited you to {0}"
msgstr "{teamName} has invited you to {0}"
#: packages/email/templates/document-invite.tsx:46
msgid "{teamName} has invited you to {action} {documentName}"
msgstr "{teamName} has invited you to {action} {documentName}"
#: packages/email/templates/team-transfer-request.tsx:55
msgid "{teamName} ownership transfer request"
msgstr "{teamName} ownership transfer request"
@@ -219,7 +238,7 @@ msgstr "{userName} viewed the document"
msgid "{visibleRows, plural, one {Showing # result.} other {Showing # results.}}"
msgstr "{visibleRows, plural, one {Showing # result.} other {Showing # results.}}"
#: packages/email/templates/document-invite.tsx:91
#: packages/email/templates/document-invite.tsx:100
#~ msgid "`${inviterName} has invited you to ${action} the document \"${documentName}\".`"
#~ msgstr "`${inviterName} has invited you to ${action} the document \"${documentName}\".`"
@@ -227,10 +246,22 @@ msgstr "{visibleRows, plural, one {Showing # result.} other {Showing # results.}
msgid "<0>{senderName}</0> has requested that you take ownership of the following team"
msgstr "<0>{senderName}</0> has requested that you take ownership of the following team"
#: packages/email/templates/confirm-team-email.tsx:75
msgid "<0>{teamName}</0> has requested to use your email address for their team on Documenso."
msgstr "<0>{teamName}</0> has requested to use your email address for their team on Documenso."
#: packages/ui/primitives/template-flow/add-template-settings.tsx:241
msgid "<0>Email</0> - The recipient will be emailed the document to sign, approve, etc."
msgstr "<0>Email</0> - The recipient will be emailed the document to sign, approve, etc."
#: packages/ui/components/recipient/recipient-action-auth-select.tsx:53
msgid "<0>Inherit authentication method</0> - Use the global action signing authentication method configured in the \"General Settings\" step"
msgstr "<0>Inherit authentication method</0> - Use the global action signing authentication method configured in the \"General Settings\" step"
#: packages/ui/primitives/template-flow/add-template-settings.tsx:247
msgid "<0>Links</0> - We will generate links which you can send to the recipients manually."
msgstr "<0>Links</0> - We will generate links which you can send to the recipients manually."
#: packages/ui/components/document/document-global-auth-action-select.tsx:95
msgid "<0>No restrictions</0> - No authentication required"
msgstr "<0>No restrictions</0> - No authentication required"
@@ -243,6 +274,10 @@ msgstr "<0>No restrictions</0> - The document can be accessed directly by the UR
msgid "<0>None</0> - No authentication required"
msgstr "<0>None</0> - No authentication required"
#: packages/ui/primitives/template-flow/add-template-settings.tsx:254
msgid "<0>Note</0> - If you use Links in combination with direct templates, you will need to manually send the links to the remaining recipients."
msgstr "<0>Note</0> - If you use Links in combination with direct templates, you will need to manually send the links to the remaining recipients."
#: packages/ui/components/document/document-global-auth-action-select.tsx:89
#: packages/ui/components/recipient/recipient-action-auth-select.tsx:69
msgid "<0>Require 2FA</0> - The recipient must have an account and 2FA enabled via their settings"
@@ -257,7 +292,7 @@ msgstr "<0>Require account</0> - The recipient must be signed in to view the doc
msgid "<0>Require passkey</0> - The recipient must have an account and passkey configured via their settings"
msgstr "<0>Require passkey</0> - The recipient must have an account and passkey configured via their settings"
#: packages/lib/jobs/definitions/emails/send-signing-email.ts:111
#: packages/lib/jobs/definitions/emails/send-signing-email.ts:122
msgid "A document was created by your direct template that requires you to {recipientActionVerb} it."
msgstr "A document was created by your direct template that requires you to {recipientActionVerb} it."
@@ -273,7 +308,7 @@ msgstr "A field was removed"
msgid "A field was updated"
msgstr "A field was updated"
#: packages/lib/jobs/definitions/emails/send-team-member-joined-email.ts:90
#: packages/lib/jobs/definitions/emails/send-team-member-joined-email.ts:107
msgid "A new member has joined your team"
msgstr "A new member has joined your team"
@@ -289,37 +324,42 @@ msgstr "A recipient was removed"
msgid "A recipient was updated"
msgstr "A recipient was updated"
#: packages/lib/server-only/team/create-team-email-verification.ts:142
msgid "A request to use your email has been initiated by {teamName} on Documenso"
msgstr "A request to use your email has been initiated by {teamName} on Documenso"
#: packages/lib/server-only/team/create-team-email-verification.ts:156
msgid "A request to use your email has been initiated by {0} on Documenso"
msgstr "A request to use your email has been initiated by {0} on Documenso"
#: packages/email/templates/team-join.tsx:29
#: packages/lib/server-only/team/create-team-email-verification.ts:142
#~ msgid "A request to use your email has been initiated by {teamName} on Documenso"
#~ msgstr "A request to use your email has been initiated by {teamName} on Documenso"
#: packages/email/templates/team-join.tsx:31
msgid "A team member has joined a team on Documenso"
msgstr "A team member has joined a team on Documenso"
#: packages/lib/jobs/definitions/emails/send-team-member-left-email.ts:79
#: packages/lib/jobs/definitions/emails/send-team-member-left-email.ts:96
msgid "A team member has left {0}"
msgstr "A team member has left {0}"
#: packages/email/templates/team-leave.tsx:29
#: packages/email/templates/team-leave.tsx:31
msgid "A team member has left a team on Documenso"
msgstr "A team member has left a team on Documenso"
#: packages/email/templates/team-delete.tsx:27
#: packages/email/templates/team-delete.tsx:31
#: packages/email/templates/team-delete.tsx:29
#: packages/email/templates/team-delete.tsx:33
msgid "A team you were a part of has been deleted"
msgstr "A team you were a part of has been deleted"
#: packages/email/templates/team-invite.tsx:77
#: packages/email/templates/confirm-team-email.tsx:118
#: packages/email/templates/team-invite.tsx:94
#: packages/email/templates/team-transfer-request.tsx:81
msgid "Accept"
msgstr "Accept"
#: packages/email/templates/team-invite.tsx:29
#: packages/email/templates/team-invite.tsx:42
msgid "Accept invitation to join a team on Documenso"
msgstr "Accept invitation to join a team on Documenso"
#: packages/email/templates/confirm-team-email.tsx:38
#: packages/email/templates/confirm-team-email.tsx:41
msgid "Accept team email request for {teamName} on Documenso"
msgstr "Accept team email request for {teamName} on Documenso"
@@ -332,7 +372,7 @@ msgid "Add a document"
msgstr "Add a document"
#: packages/ui/primitives/document-flow/add-settings.tsx:378
#: packages/ui/primitives/template-flow/add-template-settings.tsx:378
#: packages/ui/primitives/template-flow/add-template-settings.tsx:468
msgid "Add a URL to redirect the user to once the document is signed"
msgstr "Add a URL to redirect the user to once the document is signed"
@@ -340,7 +380,7 @@ msgstr "Add a URL to redirect the user to once the document is signed"
msgid "Add an external ID to the document. This can be used to identify the document in external systems."
msgstr "Add an external ID to the document. This can be used to identify the document in external systems."
#: packages/ui/primitives/template-flow/add-template-settings.tsx:295
#: packages/ui/primitives/template-flow/add-template-settings.tsx:385
msgid "Add an external ID to the template. This can be used to identify in external systems."
msgstr "Add an external ID to the template. This can be used to identify in external systems."
@@ -382,7 +422,7 @@ msgid "Admin"
msgstr "Admin"
#: packages/ui/primitives/document-flow/add-settings.tsx:272
#: packages/ui/primitives/template-flow/add-template-settings.tsx:277
#: packages/ui/primitives/template-flow/add-template-settings.tsx:367
msgid "Advanced Options"
msgstr "Advanced Options"
@@ -399,7 +439,11 @@ msgstr "After submission, a document will be automatically generated and added t
msgid "All signatures have been voided."
msgstr "All signatures have been voided."
#: packages/email/templates/document-super-delete.tsx:20
#: packages/email/templates/confirm-team-email.tsx:98
msgid "Allow document recipients to reply directly to this email address"
msgstr "Allow document recipients to reply directly to this email address"
#: packages/email/templates/document-super-delete.tsx:22
msgid "An admin has deleted your document \"{documentName}\"."
msgstr "An admin has deleted your document \"{documentName}\"."
@@ -411,7 +455,7 @@ msgstr "An error occurred while loading the document."
msgid "Approve"
msgstr "Approve"
#: packages/email/template-components/template-document-invite.tsx:78
#: packages/email/template-components/template-document-invite.tsx:89
msgid "Approve Document"
msgstr "Approve Document"
@@ -447,10 +491,14 @@ msgstr "Black"
msgid "Blue"
msgstr "Blue"
#: packages/email/templates/team-invite.tsx:67
#: packages/email/templates/team-invite.tsx:84
msgid "by <0>{senderName}</0>"
msgstr "by <0>{senderName}</0>"
#: packages/email/templates/confirm-team-email.tsx:87
msgid "By accepting this request, you will be granting <0>{teamName}</0> access to:"
msgstr "By accepting this request, you will be granting <0>{teamName}</0> access to:"
#: packages/email/templates/team-transfer-request.tsx:70
msgid "By accepting this request, you will take responsibility for any billing items associated with this team."
msgstr "By accepting this request, you will take responsibility for any billing items associated with this team."
@@ -511,8 +559,8 @@ msgstr "Close"
msgid "Completed"
msgstr "Completed"
#: packages/email/templates/document-completed.tsx:21
#: packages/email/templates/document-self-signed.tsx:17
#: packages/email/templates/document-completed.tsx:23
#: packages/email/templates/document-self-signed.tsx:19
msgid "Completed Document"
msgstr "Completed Document"
@@ -533,11 +581,11 @@ msgstr "Confirm email"
msgid "Continue"
msgstr "Continue"
#: packages/email/template-components/template-document-invite.tsx:66
#: packages/email/template-components/template-document-invite.tsx:72
#~ msgid "Continue by {0} the document."
#~ msgstr "Continue by {0} the document."
#: packages/email/template-components/template-document-invite.tsx:65
#: packages/email/template-components/template-document-invite.tsx:76
msgid "Continue by approving the document."
msgstr "Continue by approving the document."
@@ -545,18 +593,27 @@ msgstr "Continue by approving the document."
msgid "Continue by downloading the document."
msgstr "Continue by downloading the document."
#: packages/email/template-components/template-document-invite.tsx:63
#: packages/email/template-components/template-document-invite.tsx:74
msgid "Continue by signing the document."
msgstr "Continue by signing the document."
#: packages/email/template-components/template-document-invite.tsx:64
#: packages/email/template-components/template-document-invite.tsx:75
msgid "Continue by viewing the document."
msgstr "Continue by viewing the document."
#: packages/ui/primitives/document-flow/add-subject.tsx:254
msgid "Copied"
msgstr "Copied"
#: packages/ui/components/document/document-share-button.tsx:46
#: packages/ui/primitives/document-flow/add-subject.tsx:241
msgid "Copied to clipboard"
msgstr "Copied to clipboard"
#: packages/ui/primitives/document-flow/add-subject.tsx:249
msgid "Copy"
msgstr "Copy"
#: packages/ui/components/document/document-share-button.tsx:194
msgid "Copy Link"
msgstr "Copy Link"
@@ -580,15 +637,15 @@ msgid "Date"
msgstr "Date"
#: packages/ui/primitives/document-flow/add-settings.tsx:313
#: packages/ui/primitives/template-flow/add-template-settings.tsx:318
#: packages/ui/primitives/template-flow/add-template-settings.tsx:408
msgid "Date Format"
msgstr "Date Format"
#: packages/email/templates/team-invite.tsx:83
#: packages/email/templates/team-invite.tsx:100
msgid "Decline"
msgstr "Decline"
#: packages/email/templates/reset-password.tsx:65
#: packages/email/templates/reset-password.tsx:71
msgid "Didn't request a password change? We are here to help you secure your account, just <0>contact us.</0>"
msgstr "Didn't request a password change? We are here to help you secure your account, just <0>contact us.</0>"
@@ -598,7 +655,7 @@ msgstr "Direct link receiver"
#: packages/ui/components/document/document-global-auth-access-select.tsx:62
#: packages/ui/primitives/document-flow/add-settings.tsx:216
#: packages/ui/primitives/template-flow/add-template-settings.tsx:190
#: packages/ui/primitives/template-flow/add-template-settings.tsx:202
msgid "Document access"
msgstr "Document access"
@@ -606,8 +663,8 @@ msgstr "Document access"
msgid "Document access auth updated"
msgstr "Document access auth updated"
#: packages/lib/server-only/document/delete-document.ts:213
#: packages/lib/server-only/document/super-delete-document.ts:75
#: packages/lib/server-only/document/delete-document.ts:246
#: packages/lib/server-only/document/super-delete-document.ts:98
msgid "Document Cancelled"
msgstr "Document Cancelled"
@@ -616,12 +673,16 @@ msgstr "Document Cancelled"
msgid "Document completed"
msgstr "Document completed"
#: packages/ui/components/document/document-email-checkboxes.tsx:168
msgid "Document completed email"
msgstr "Document completed email"
#: packages/lib/utils/document-audit-logs.ts:286
msgid "Document created"
msgstr "Document created"
#: packages/email/templates/document-created-from-direct-template.tsx:30
#: packages/lib/server-only/template/create-document-from-direct-template.ts:554
#: packages/email/templates/document-created-from-direct-template.tsx:32
#: packages/lib/server-only/template/create-document-from-direct-template.ts:567
msgid "Document created from direct template"
msgstr "Document created from direct template"
@@ -633,10 +694,19 @@ msgstr "Document Creation"
msgid "Document deleted"
msgstr "Document deleted"
#: packages/lib/server-only/document/send-delete-email.ts:58
#: packages/ui/components/document/document-email-checkboxes.tsx:207
msgid "Document deleted email"
msgstr "Document deleted email"
#: packages/lib/server-only/document/send-delete-email.ts:82
msgid "Document Deleted!"
msgstr "Document Deleted!"
#: packages/ui/primitives/template-flow/add-template-settings.tsx:219
#: packages/ui/primitives/template-flow/add-template-settings.tsx:228
msgid "Document Distribution Method"
msgstr "Document Distribution Method"
#: packages/lib/utils/document-audit-logs.ts:326
msgid "Document external ID updated"
msgstr "Document external ID updated"
@@ -649,6 +719,10 @@ msgstr "Document moved to team"
msgid "Document opened"
msgstr "Document opened"
#: packages/ui/components/document/document-email-checkboxes.tsx:128
msgid "Document pending email"
msgstr "Document pending email"
#: packages/lib/utils/document-audit-logs.ts:330
msgid "Document sent"
msgstr "Document sent"
@@ -669,7 +743,7 @@ msgstr "Document updated"
msgid "Document visibility updated"
msgstr "Document visibility updated"
#: packages/email/template-components/template-document-completed.tsx:64
#: packages/email/template-components/template-document-completed.tsx:57
#: packages/ui/components/document/document-download-button.tsx:68
msgid "Download"
msgstr "Download"
@@ -691,6 +765,7 @@ msgstr "Dropdown"
msgid "Dropdown options"
msgstr "Dropdown options"
#: packages/lib/constants/document.ts:28
#: packages/ui/primitives/document-flow/add-fields.tsx:875
#: packages/ui/primitives/document-flow/add-signature.tsx:272
#: packages/ui/primitives/document-flow/add-signers.tsx:500
@@ -706,7 +781,7 @@ msgstr "Email"
msgid "Email is required"
msgstr "Email is required"
#: packages/ui/primitives/template-flow/add-template-settings.tsx:223
#: packages/ui/primitives/template-flow/add-template-settings.tsx:307
msgid "Email Options"
msgstr "Email Options"
@@ -745,7 +820,7 @@ msgid "Error"
msgstr "Error"
#: packages/ui/primitives/document-flow/add-settings.tsx:283
#: packages/ui/primitives/template-flow/add-template-settings.tsx:288
#: packages/ui/primitives/template-flow/add-template-settings.tsx:378
msgid "External ID"
msgstr "External ID"
@@ -807,6 +882,10 @@ msgstr "Forgot your password?"
msgid "Free Signature"
msgstr "Free Signature"
#: packages/ui/primitives/document-flow/add-subject.tsx:89
msgid "Generate Links"
msgstr "Generate Links"
#: packages/ui/components/document/document-global-auth-action-select.tsx:64
msgid "Global recipient action authentication"
msgstr "Global recipient action authentication"
@@ -819,7 +898,7 @@ msgstr "Go Back"
msgid "Green"
msgstr "Green"
#: packages/email/templates/reset-password.tsx:50
#: packages/email/templates/reset-password.tsx:56
msgid "Hi, {userName} <0>({userEmail})</0>"
msgstr "Hi, {userName} <0>({userEmail})</0>"
@@ -856,7 +935,7 @@ msgstr "Invalid email"
msgid "Invalid email address"
msgstr "Invalid email address"
#: packages/email/templates/team-invite.tsx:55
#: packages/email/templates/team-invite.tsx:72
msgid "Join {teamName} on Documenso"
msgstr "Join {teamName} on Documenso"
@@ -867,10 +946,11 @@ msgid "Label"
msgstr "Label"
#: packages/ui/primitives/document-flow/add-settings.tsx:176
#: packages/ui/primitives/template-flow/add-template-settings.tsx:150
#: packages/ui/primitives/template-flow/add-template-settings.tsx:162
msgid "Language"
msgstr "Language"
#: packages/email/templates/confirm-team-email.tsx:124
#: packages/email/templates/team-transfer-request.tsx:87
msgid "Link expires in 1 hour."
msgstr "Link expires in 1 hour."
@@ -892,8 +972,8 @@ msgstr "Max"
msgid "Member"
msgstr "Member"
#: packages/ui/primitives/document-flow/add-subject.tsx:95
#: packages/ui/primitives/template-flow/add-template-settings.tsx:254
#: packages/ui/primitives/document-flow/add-subject.tsx:160
#: packages/ui/primitives/template-flow/add-template-settings.tsx:338
msgid "Message <0>(Optional)</0>"
msgstr "Message <0>(Optional)</0>"
@@ -929,6 +1009,10 @@ msgstr "Needs to view"
msgid "No recipient matching this description was found."
msgstr "No recipient matching this description was found."
#: packages/ui/primitives/document-flow/add-subject.tsx:215
msgid "No recipients"
msgstr "No recipients"
#: packages/ui/primitives/document-flow/add-fields.tsx:701
#: packages/ui/primitives/template-flow/add-template-fields.tsx:519
msgid "No recipients with this role"
@@ -954,6 +1038,10 @@ msgstr "No signature field found"
msgid "No value found."
msgstr "No value found."
#: packages/lib/constants/document.ts:32
msgid "None"
msgstr "None"
#: packages/ui/primitives/document-flow/add-fields.tsx:979
#: packages/ui/primitives/document-flow/types.ts:56
#: packages/ui/primitives/template-flow/add-template-fields.tsx:742
@@ -984,11 +1072,11 @@ msgstr "Page {0} of {numPages}"
msgid "Password Required"
msgstr "Password Required"
#: packages/email/templates/forgot-password.tsx:17
#: packages/email/templates/forgot-password.tsx:19
msgid "Password Reset Requested"
msgstr "Password Reset Requested"
#: packages/email/templates/reset-password.tsx:18
#: packages/email/templates/reset-password.tsx:20
msgid "Password Reset Successful"
msgstr "Password Reset Successful"
@@ -1000,7 +1088,7 @@ msgstr "Password updated!"
msgid "Pending"
msgstr "Pending"
#: packages/email/templates/document-pending.tsx:17
#: packages/email/templates/document-pending.tsx:19
msgid "Pending Document"
msgstr "Pending Document"
@@ -1014,23 +1102,23 @@ msgstr "Pick a number"
msgid "Placeholder"
msgstr "Placeholder"
#: packages/email/template-components/template-document-invite.tsx:44
#: packages/email/template-components/template-document-invite.tsx:46
msgid "Please {0} your document<0/>\"{documentName}\""
msgstr "Please {0} your document<0/>\"{documentName}\""
#: packages/email/templates/document-invite.tsx:38
#: packages/email/templates/document-invite.tsx:50
msgid "Please {action} your document {documentName}"
msgstr "Please {action} your document {documentName}"
#: packages/lib/jobs/definitions/emails/send-signing-email.ts:100
#: packages/lib/jobs/definitions/emails/send-signing-email.ts:111
msgid "Please {recipientActionVerb} this document"
msgstr "Please {recipientActionVerb} this document"
#: packages/lib/jobs/definitions/emails/send-signing-email.ts:114
#: packages/lib/jobs/definitions/emails/send-signing-email.ts:125
msgid "Please {recipientActionVerb} this document created by your direct template"
msgstr "Please {recipientActionVerb} this document created by your direct template"
#: packages/lib/jobs/definitions/emails/send-signing-email.ts:106
#: packages/lib/jobs/definitions/emails/send-signing-email.ts:117
msgid "Please {recipientActionVerb} your document"
msgstr "Please {recipientActionVerb} your document"
@@ -1038,7 +1126,7 @@ msgstr "Please {recipientActionVerb} your document"
msgid "Please confirm your email"
msgstr "Please confirm your email"
#: packages/email/templates/confirm-email.tsx:15
#: packages/email/templates/confirm-email.tsx:17
msgid "Please confirm your email address"
msgstr "Please confirm your email address"
@@ -1073,32 +1161,40 @@ msgstr "Recipient"
#: packages/ui/components/recipient/recipient-action-auth-select.tsx:39
#: packages/ui/primitives/document-flow/add-settings.tsx:257
#: packages/ui/primitives/template-flow/add-template-settings.tsx:208
#: packages/ui/primitives/template-flow/add-template-settings.tsx:291
msgid "Recipient action authentication"
msgstr "Recipient action authentication"
#: packages/ui/components/document/document-email-checkboxes.tsx:89
msgid "Recipient removed email"
msgstr "Recipient removed email"
#: packages/ui/components/document/document-email-checkboxes.tsx:50
msgid "Recipient signing request email"
msgstr "Recipient signing request email"
#: packages/ui/primitives/signature-pad/signature-pad.tsx:384
msgid "Red"
msgstr "Red"
#: packages/ui/primitives/document-flow/add-settings.tsx:371
#: packages/ui/primitives/template-flow/add-template-settings.tsx:371
#: packages/ui/primitives/template-flow/add-template-settings.tsx:461
msgid "Redirect URL"
msgstr "Redirect URL"
#: packages/lib/server-only/document/resend-document.tsx:173
#: packages/lib/server-only/document/resend-document.tsx:192
msgid "Reminder: {0}"
msgstr "Reminder: {0}"
#: packages/lib/server-only/document/resend-document.tsx:121
#: packages/lib/server-only/document/resend-document.tsx:132
msgid "Reminder: {0} invited you to {recipientActionVerb} a document"
msgstr "Reminder: {0} invited you to {recipientActionVerb} a document"
#: packages/lib/server-only/document/resend-document.tsx:110
#: packages/lib/server-only/document/resend-document.tsx:121
msgid "Reminder: Please {recipientActionVerb} this document"
msgstr "Reminder: Please {recipientActionVerb} this document"
#: packages/lib/server-only/document/resend-document.tsx:116
#: packages/lib/server-only/document/resend-document.tsx:127
msgid "Reminder: Please {recipientActionVerb} your document"
msgstr "Reminder: Please {recipientActionVerb} your document"
@@ -1114,6 +1210,10 @@ msgstr "Remove"
msgid "Required field"
msgstr "Required field"
#: packages/ui/primitives/document-flow/add-subject.tsx:84
msgid "Resend"
msgstr "Resend"
#: packages/email/template-components/template-forgot-password.tsx:33
msgid "Reset Password"
msgstr "Reset Password"
@@ -1154,7 +1254,8 @@ msgstr "Select at least"
msgid "Select default option"
msgstr "Select default option"
#: packages/ui/primitives/document-flow/add-subject.tsx:124
#: packages/ui/primitives/document-flow/add-subject.tsx:82
#: packages/ui/primitives/document-flow/add-subject.tsx:85
#: packages/ui/primitives/document-flow/send-document-action-dialog.tsx:34
#: packages/ui/primitives/document-flow/send-document-action-dialog.tsx:64
msgid "Send"
@@ -1164,6 +1265,30 @@ msgstr "Send"
msgid "Send Document"
msgstr "Send Document"
#: packages/ui/components/document/document-email-checkboxes.tsx:158
msgid "Send document completed email"
msgstr "Send document completed email"
#: packages/ui/components/document/document-email-checkboxes.tsx:197
msgid "Send document deleted email"
msgstr "Send document deleted email"
#: packages/ui/components/document/document-email-checkboxes.tsx:118
msgid "Send document pending email"
msgstr "Send document pending email"
#: packages/email/templates/confirm-team-email.tsx:101
msgid "Send documents on behalf of the team using the email address"
msgstr "Send documents on behalf of the team using the email address"
#: packages/ui/components/document/document-email-checkboxes.tsx:79
msgid "Send recipient removed email"
msgstr "Send recipient removed email"
#: packages/ui/components/document/document-email-checkboxes.tsx:40
msgid "Send recipient signing request email"
msgstr "Send recipient signing request email"
#: packages/ui/components/document/document-share-button.tsx:135
msgid "Share Signature Card"
msgstr "Share Signature Card"
@@ -1185,7 +1310,7 @@ msgstr "Show advanced settings"
msgid "Sign"
msgstr "Sign"
#: packages/email/template-components/template-document-invite.tsx:76
#: packages/email/template-components/template-document-invite.tsx:87
msgid "Sign Document"
msgstr "Sign Document"
@@ -1221,8 +1346,8 @@ msgstr "Signers must have unique emails"
msgid "Signing"
msgstr "Signing"
#: packages/lib/server-only/document/send-completed-email.ts:93
#: packages/lib/server-only/document/send-completed-email.ts:161
#: packages/lib/server-only/document/send-completed-email.ts:111
#: packages/lib/server-only/document/send-completed-email.ts:191
msgid "Signing Complete!"
msgstr "Signing Complete!"
@@ -1251,8 +1376,8 @@ msgstr "Something went wrong."
msgid "Step <0>{step} of {maxStep}</0>"
msgstr "Step <0>{step} of {maxStep}</0>"
#: packages/ui/primitives/document-flow/add-subject.tsx:78
#: packages/ui/primitives/template-flow/add-template-settings.tsx:234
#: packages/ui/primitives/document-flow/add-subject.tsx:143
#: packages/ui/primitives/template-flow/add-template-settings.tsx:318
msgid "Subject <0>(Optional)</0>"
msgstr "Subject <0>(Optional)</0>"
@@ -1260,19 +1385,23 @@ msgstr "Subject <0>(Optional)</0>"
msgid "Submit"
msgstr "Submit"
#: packages/lib/server-only/team/delete-team-email.ts:96
#: packages/lib/server-only/team/delete-team.ts:124
msgid "Team \"{0}\" has been deleted on Documenso"
msgstr "Team \"{0}\" has been deleted on Documenso"
#: packages/lib/server-only/team/delete-team-email.ts:104
msgid "Team email has been revoked for {0}"
msgstr "Team email has been revoked for {0}"
#: packages/email/templates/team-email-removed.tsx:53
#: packages/email/templates/team-email-removed.tsx:59
msgid "Team email removed"
msgstr "Team email removed"
#: packages/email/templates/team-email-removed.tsx:27
#: packages/email/templates/team-email-removed.tsx:29
msgid "Team email removed for {teamName} on Documenso"
msgstr "Team email removed for {teamName} on Documenso"
#: packages/ui/primitives/template-flow/add-template-settings.tsx:133
#: packages/ui/primitives/template-flow/add-template-settings.tsx:145
msgid "Template title"
msgstr "Template title"
@@ -1302,11 +1431,11 @@ msgstr "The authentication required for recipients to view the document."
msgid "The document's name"
msgstr "The document's name"
#: packages/email/templates/team-delete.tsx:35
#: packages/email/templates/team-delete.tsx:37
msgid "The following team has been deleted by its owner. You will no longer be able to access this team and its documents"
msgstr "The following team has been deleted by its owner. You will no longer be able to access this team and its documents"
#: packages/email/templates/team-delete.tsx:34
#: packages/email/templates/team-delete.tsx:36
msgid "The following team has been deleted by you"
msgstr "The following team has been deleted by you"
@@ -1350,7 +1479,11 @@ msgstr "The signer's email"
msgid "The signer's name"
msgstr "The signer's name"
#: packages/email/templates/team-email-removed.tsx:57
#: packages/ui/primitives/document-flow/add-subject.tsx:243
msgid "The signing link has been copied to your clipboard."
msgstr "The signing link has been copied to your clipboard."
#: packages/email/templates/team-email-removed.tsx:63
msgid "The team email <0>{teamEmail}</0> has been removed from the following team"
msgstr "The team email <0>{teamEmail}</0> has been removed from the following team"
@@ -1370,14 +1503,30 @@ msgstr "This document has already been sent to this recipient. You can no longer
msgid "This document is password protected. Please enter the password to view the document."
msgstr "This document is password protected. Please enter the password to view the document."
#: packages/email/template-components/template-footer.tsx:14
#: packages/email/template-components/template-footer.tsx:17
msgid "This document was sent using <0>Documenso.</0>"
msgstr "This document was sent using <0>Documenso.</0>"
#: packages/ui/components/document/document-email-checkboxes.tsx:94
msgid "This email is sent to the recipient if they are removed from a pending document."
msgstr "This email is sent to the recipient if they are removed from a pending document."
#: packages/ui/components/document/document-email-checkboxes.tsx:55
msgid "This email is sent to the recipient requesting them to sign the document."
msgstr "This email is sent to the recipient requesting them to sign the document."
#: packages/ui/components/document/document-email-checkboxes.tsx:133
msgid "This email will be sent to the recipient who has just signed the document, if there are still other recipients who have not signed yet."
msgstr "This email will be sent to the recipient who has just signed the document, if there are still other recipients who have not signed yet."
#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:573
msgid "This field cannot be modified or deleted. When you share this template's direct link or add it to your public profile, anyone who accesses it can input their name and email, and fill in the fields assigned to them."
msgstr "This field cannot be modified or deleted. When you share this template's direct link or add it to your public profile, anyone who accesses it can input their name and email, and fill in the fields assigned to them."
#: packages/ui/primitives/template-flow/add-template-settings.tsx:233
msgid "This is how the document will reach the recipients once the document is ready for signing."
msgstr "This is how the document will reach the recipients once the document is ready for signing."
#: packages/ui/primitives/document-flow/add-fields.tsx:1090
msgid "This recipient can no longer be modified as they have signed a field, or completed the document."
msgstr "This recipient can no longer be modified as they have signed a field, or completed the document."
@@ -1386,12 +1535,20 @@ msgstr "This recipient can no longer be modified as they have signed a field, or
msgid "This signer has already signed the document."
msgstr "This signer has already signed the document."
#: packages/ui/components/document/document-email-checkboxes.tsx:212
msgid "This will be sent to all recipients if a pending document has been deleted."
msgstr "This will be sent to all recipients if a pending document has been deleted."
#: packages/ui/components/document/document-email-checkboxes.tsx:173
msgid "This will be sent to all recipients once the document has been fully completed."
msgstr "This will be sent to all recipients once the document has been fully completed."
#: packages/ui/components/recipient/recipient-action-auth-select.tsx:48
msgid "This will override any global settings."
msgstr "This will override any global settings."
#: packages/ui/primitives/document-flow/add-settings.tsx:347
#: packages/ui/primitives/template-flow/add-template-settings.tsx:348
#: packages/ui/primitives/template-flow/add-template-settings.tsx:438
msgid "Time Zone"
msgstr "Time Zone"
@@ -1404,7 +1561,7 @@ msgstr "Title"
msgid "To proceed further, please set at least one value for the {0} field."
msgstr "To proceed further, please set at least one value for the {0} field."
#: packages/ui/primitives/document-flow/add-subject.tsx:124
#: packages/ui/primitives/document-flow/add-subject.tsx:86
msgid "Update"
msgstr "Update"
@@ -1430,15 +1587,25 @@ msgstr "Validation"
msgid "Value"
msgstr "Value"
#: packages/email/templates/confirm-team-email.tsx:71
msgid "Verify your team email address"
msgstr "Verify your team email address"
#: packages/lib/constants/recipient-roles.ts:29
msgid "View"
msgstr "View"
#: packages/email/templates/document-created-from-direct-template.tsx:69
#: packages/email/templates/confirm-team-email.tsx:95
msgid "View all documents sent to and from this email address"
msgstr "View all documents sent to and from this email address"
#: packages/email/templates/document-created-from-direct-template.tsx:75
msgid "View document"
msgstr "View document"
#: packages/email/template-components/template-document-invite.tsx:77
#: packages/email/template-components/template-document-invite.tsx:88
#: packages/ui/primitives/document-flow/add-subject.tsx:90
#: packages/ui/primitives/document-flow/add-subject.tsx:91
msgid "View Document"
msgstr "View Document"
@@ -1470,15 +1637,23 @@ msgstr "Viewing"
msgid "Waiting for others"
msgstr "Waiting for others"
#: packages/lib/server-only/document/send-pending-email.ts:73
#: packages/lib/server-only/document/send-pending-email.ts:96
msgid "Waiting for others to complete signing."
msgstr "Waiting for others to complete signing."
#: packages/ui/primitives/document-flow/add-subject.tsx:205
msgid "We will generate signing links for with you, which you can send to the recipients through your method of choice."
msgstr "We will generate signing links for with you, which you can send to the recipients through your method of choice."
#: packages/ui/primitives/document-flow/add-subject.tsx:201
msgid "We won't send anything to notify recipients."
msgstr "We won't send anything to notify recipients."
#: packages/email/template-components/template-document-pending.tsx:41
msgid "We're still waiting for other signers to sign this document.<0/>We'll notify you as soon as it's ready."
msgstr "We're still waiting for other signers to sign this document.<0/>We'll notify you as soon as it's ready."
#: packages/email/templates/reset-password.tsx:59
#: packages/email/templates/reset-password.tsx:65
msgid "We've changed your password as you asked. You can now sign in with your new password."
msgstr "We've changed your password as you asked. You can now sign in with your new password."
@@ -1498,6 +1673,10 @@ msgstr "You are about to send this document to the recipients. Are you sure you
msgid "You can also copy and paste this link into your browser: {confirmationLink} (link expires in 1 hour)"
msgstr "You can also copy and paste this link into your browser: {confirmationLink} (link expires in 1 hour)"
#: packages/email/templates/confirm-team-email.tsx:106
msgid "You can revoke access at any time in your team settings on Documenso <0>here.</0>"
msgstr "You can revoke access at any time in your team settings on Documenso <0>here.</0>"
#: packages/ui/components/document/document-send-email-message-helper.tsx:11
msgid "You can use the following variables in your message:"
msgstr "You can use the following variables in your message:"
@@ -1510,15 +1689,15 @@ msgstr "You cannot upload documents at this time."
msgid "You don't need to sign it anymore."
msgstr "You don't need to sign it anymore."
#: packages/lib/server-only/team/create-team-member-invites.ts:168
#: packages/lib/server-only/team/create-team-member-invites.ts:186
msgid "You have been invited to join {0} on Documenso"
msgstr "You have been invited to join {0} on Documenso"
#: packages/email/templates/team-invite.tsx:59
#: packages/email/templates/team-invite.tsx:76
msgid "You have been invited to join the following team"
msgstr "You have been invited to join the following team"
#: packages/lib/server-only/recipient/set-recipients-for-document.ts:314
#: packages/lib/server-only/recipient/set-recipients-for-document.ts:329
msgid "You have been removed from a document"
msgstr "You have been removed from a document"
@@ -1526,8 +1705,8 @@ msgstr "You have been removed from a document"
msgid "You have been requested to take ownership of team {0} on Documenso"
msgstr "You have been requested to take ownership of team {0} on Documenso"
#: packages/lib/jobs/definitions/emails/send-signing-email.ts:104
#: packages/lib/server-only/document/resend-document.tsx:114
#: packages/lib/jobs/definitions/emails/send-signing-email.ts:115
#: packages/lib/server-only/document/resend-document.tsx:125
msgid "You have initiated the document {0} that requires you to {recipientActionVerb} it."
msgstr "You have initiated the document {0} that requires you to {recipientActionVerb} it."
@@ -1547,7 +1726,7 @@ msgstr "Your document has been deleted by an admin!"
msgid "Your password has been updated."
msgstr "Your password has been updated."
#: packages/email/templates/team-delete.tsx:26
#: packages/email/templates/team-delete.tsx:30
#: packages/email/templates/team-delete.tsx:28
#: packages/email/templates/team-delete.tsx:32
msgid "Your team has been deleted"
msgstr "Your team has been deleted"