fix: improve field sizing (#1486)

## Description

Allows for smaller field sizing in addition to improving our styling
when displaying labels on smaller fields.

This is the minimum currently supported field size until we perform a
more extensive refactor of our current drag and drop system.

## Related Issue

Reported via support channels

## Changes Made

- Updated our minimum size constraints
- Attempted to add a general autosizing component for text and failed
- Updated styling in a bunch of places to use the css `clamp()` method
for dynamic sizing.
This commit is contained in:
Lucas Smith
2024-11-20 22:49:30 +11:00
committed by GitHub
parent 9ef8b1f0c3
commit 83e7a3c222
26 changed files with 448 additions and 262 deletions

View File

@ -144,13 +144,13 @@ export const DateField = ({
)} )}
{!field.inserted && ( {!field.inserted && (
<p className="group-hover:text-primary text-muted-foreground duration-200 group-hover:text-yellow-300"> <p className="group-hover:text-primary text-muted-foreground text-[clamp(0.425rem,25cqw,0.825rem)] duration-200 group-hover:text-yellow-300">
<Trans>Date</Trans> <Trans>Date</Trans>
</p> </p>
)} )}
{field.inserted && ( {field.inserted && (
<p className="text-muted-foreground dark:text-background/80 text-[clamp(0.625rem,1cqw,0.825rem)] duration-200"> <p className="text-muted-foreground dark:text-background/80 text-[clamp(0.425rem,25cqw,0.825rem)] duration-200">
{localDateString} {localDateString}
</p> </p>
)} )}

View File

@ -178,7 +178,7 @@ export const DropdownField = ({
)} )}
{!field.inserted && ( {!field.inserted && (
<p className="group-hover:text-primary text-muted-foreground flex flex-col items-center justify-center duration-200"> <p className="group-hover:text-primary text-muted-foreground flex flex-col items-center justify-center duration-200 ">
<Select value={localChoice} onValueChange={handleSelectItem}> <Select value={localChoice} onValueChange={handleSelectItem}>
<SelectTrigger <SelectTrigger
className={cn( className={cn(
@ -190,7 +190,7 @@ export const DropdownField = ({
)} )}
> >
<SelectValue <SelectValue
className="text-[clamp(0.625rem,1cqw,0.825rem)]" className="text-[clamp(0.425rem,25cqw,0.825rem)]"
placeholder={`${_(msg`Select`)}`} placeholder={`${_(msg`Select`)}`}
/> />
</SelectTrigger> </SelectTrigger>
@ -206,7 +206,7 @@ export const DropdownField = ({
)} )}
{field.inserted && ( {field.inserted && (
<p className="text-muted-foreground dark:text-background/80 text-[clamp(0.625rem,1cqw,0.825rem)] duration-200"> <p className="text-muted-foreground dark:text-background/80 text-[clamp(0.425rem,25cqw,0.825rem)] duration-200">
{field.customText} {field.customText}
</p> </p>
)} )}

View File

@ -122,13 +122,13 @@ export const EmailField = ({ field, recipient, onSignField, onUnsignField }: Ema
)} )}
{!field.inserted && ( {!field.inserted && (
<p className="group-hover:text-primary text-muted-foreground duration-200 group-hover:text-yellow-300"> <p className="group-hover:text-primary text-muted-foreground text-[clamp(0.425rem,25cqw,0.825rem)] duration-200 group-hover:text-yellow-300">
<Trans>Email</Trans> <Trans>Email</Trans>
</p> </p>
)} )}
{field.inserted && ( {field.inserted && (
<p className="text-muted-foreground dark:text-background/80 text-[clamp(0.625rem,1cqw,0.825rem)] duration-200"> <p className="text-muted-foreground dark:text-background/80 text-[clamp(0.425rem,25cqw,0.825rem)] duration-200">
{field.customText} {field.customText}
</p> </p>
)} )}

View File

@ -128,13 +128,13 @@ export const InitialsField = ({
)} )}
{!field.inserted && ( {!field.inserted && (
<p className="group-hover:text-primary text-muted-foreground duration-200 group-hover:text-yellow-300"> <p className="group-hover:text-primary text-muted-foreground text-[clamp(0.425rem,25cqw,0.825rem)] duration-200 group-hover:text-yellow-300">
<Trans>Initials</Trans> <Trans>Initials</Trans>
</p> </p>
)} )}
{field.inserted && ( {field.inserted && (
<p className="text-muted-foreground dark:text-background/80 text-[clamp(0.625rem,1cqw,0.825rem)] duration-200"> <p className="text-muted-foreground dark:text-background/80 text-[clamp(0.425rem,25cqw,0.825rem)] duration-200">
{field.customText} {field.customText}
</p> </p>
)} )}

View File

@ -172,7 +172,7 @@ export const NameField = ({ field, recipient, onSignField, onUnsignField }: Name
)} )}
{field.inserted && ( {field.inserted && (
<p className="text-muted-foreground dark:text-background/80 text-[clamp(0.625rem,1cqw,0.825rem)] duration-200"> <p className="text-muted-foreground dark:text-background/80 text-[clamp(0.425rem,25cqw,0.825rem)] duration-200">
{field.customText} {field.customText}
</p> </p>
)} )}

View File

@ -252,14 +252,15 @@ export const NumberField = ({ field, recipient, onSignField, onUnsignField }: Nu
}, },
)} )}
> >
<span className="flex items-center justify-center gap-x-1 text-sm"> <span className="flex items-center justify-center gap-x-1">
<Hash className="h-4 w-4" /> {fieldDisplayName} <Hash className="h-[clamp(0.625rem,20cqw,0.925rem)] w-[clamp(0.625rem,20cqw,0.925rem)]" />{' '}
<span className="text-[clamp(0.425rem,25cqw,0.825rem)]">{fieldDisplayName}</span>
</span> </span>
</p> </p>
)} )}
{field.inserted && ( {field.inserted && (
<p className="text-muted-foreground dark:text-background/80 text-[clamp(0.625rem,1cqw,0.825rem)] duration-200"> <p className="text-muted-foreground dark:text-background/80 text-[clamp(0.425rem,25cqw,0.825rem)] duration-200">
{field.customText} {field.customText}
</p> </p>
)} )}

View File

@ -191,7 +191,7 @@ export const SignatureField = ({
)} )}
{state === 'empty' && ( {state === 'empty' && (
<p className="group-hover:text-primary font-signature text-muted-foreground text-xl duration-200 group-hover:text-yellow-300"> <p className="group-hover:text-primary font-signature text-muted-foreground text-[clamp(0.575rem,25cqw,1.2rem)] text-xl duration-200 group-hover:text-yellow-300">
<Trans>Signature</Trans> <Trans>Signature</Trans>
</p> </p>
)} )}

View File

@ -252,14 +252,16 @@ export const TextField = ({ field, recipient, onSignField, onUnsignField }: Text
)} )}
> >
<span className="flex items-center justify-center gap-x-1"> <span className="flex items-center justify-center gap-x-1">
<Type /> <Type className="h-[clamp(0.625rem,20cqw,0.925rem)] w-[clamp(0.625rem,20cqw,0.925rem)]" />
{fieldDisplayName || <Trans>Text</Trans>} <span className="text-[clamp(0.425rem,25cqw,0.825rem)]">
{fieldDisplayName || <Trans>Text</Trans>}
</span>
</span> </span>
</p> </p>
)} )}
{field.inserted && ( {field.inserted && (
<p className="text-muted-foreground dark:text-background/80 flex items-center justify-center gap-x-1 duration-200"> <p className="text-muted-foreground dark:text-background/80 flex items-center justify-center gap-x-1 text-[clamp(0.425rem,25cqw,0.825rem)] duration-200">
{field.customText.length < 20 {field.customText.length < 20
? field.customText ? field.customText
: field.customText.substring(0, 15) + '...'} : field.customText.substring(0, 15) + '...'}

View File

@ -25,8 +25,6 @@ export const StackAvatar = ({ first, zIndex, fallbackText = '', type }: StackAva
zIndexClass = ZIndexes[zIndex] ?? ''; zIndexClass = ZIndexes[zIndex] ?? '';
} }
console.log({ type, fallbackText });
switch (type) { switch (type) {
case RecipientStatusType.UNSIGNED: case RecipientStatusType.UNSIGNED:
classes = 'bg-dawn-200 text-dawn-900'; classes = 'bg-dawn-200 text-dawn-900';

23
package-lock.json generated
View File

@ -10044,11 +10044,19 @@
"node": ">=10" "node": ">=10"
} }
}, },
"node_modules/@tailwindcss/container-queries": {
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/@tailwindcss/container-queries/-/container-queries-0.1.1.tgz",
"integrity": "sha512-p18dswChx6WnTSaJCSGx6lTmrGzNNvm2FtXmiO6AuA1V4U5REyoqwmT6kgAsIMdjo07QdAfYXHJ4hnMtfHzWgA==",
"license": "MIT",
"peerDependencies": {
"tailwindcss": ">=3.2.0"
}
},
"node_modules/@tailwindcss/typography": { "node_modules/@tailwindcss/typography": {
"version": "0.5.10", "version": "0.5.10",
"resolved": "https://registry.npmjs.org/@tailwindcss/typography/-/typography-0.5.10.tgz", "resolved": "https://registry.npmjs.org/@tailwindcss/typography/-/typography-0.5.10.tgz",
"integrity": "sha512-Pe8BuPJQJd3FfRnm6H0ulKIGoMEQS+Vq01R6M5aCrFB/ccR/shT+0kXLjouGC1gFLm9hopTFN+DMP0pfwRWzPw==", "integrity": "sha512-Pe8BuPJQJd3FfRnm6H0ulKIGoMEQS+Vq01R6M5aCrFB/ccR/shT+0kXLjouGC1gFLm9hopTFN+DMP0pfwRWzPw==",
"dev": true,
"dependencies": { "dependencies": {
"lodash.castarray": "^4.4.0", "lodash.castarray": "^4.4.0",
"lodash.isplainobject": "^4.0.6", "lodash.isplainobject": "^4.0.6",
@ -21883,8 +21891,7 @@
"node_modules/lodash.castarray": { "node_modules/lodash.castarray": {
"version": "4.4.0", "version": "4.4.0",
"resolved": "https://registry.npmjs.org/lodash.castarray/-/lodash.castarray-4.4.0.tgz", "resolved": "https://registry.npmjs.org/lodash.castarray/-/lodash.castarray-4.4.0.tgz",
"integrity": "sha512-aVx8ztPv7/2ULbArGJ2Y42bG1mEQ5mGjpdvrbJcJFU3TbYybe+QlLS4pst9zV52ymy2in1KpFPiZnAOATxD4+Q==", "integrity": "sha512-aVx8ztPv7/2ULbArGJ2Y42bG1mEQ5mGjpdvrbJcJFU3TbYybe+QlLS4pst9zV52ymy2in1KpFPiZnAOATxD4+Q=="
"dev": true
}, },
"node_modules/lodash.clonedeep": { "node_modules/lodash.clonedeep": {
"version": "4.5.0", "version": "4.5.0",
@ -21929,8 +21936,7 @@
"node_modules/lodash.isplainobject": { "node_modules/lodash.isplainobject": {
"version": "4.0.6", "version": "4.0.6",
"resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz",
"integrity": "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==", "integrity": "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA=="
"dev": true
}, },
"node_modules/lodash.kebabcase": { "node_modules/lodash.kebabcase": {
"version": "4.1.1", "version": "4.1.1",
@ -27014,7 +27020,6 @@
"version": "6.0.10", "version": "6.0.10",
"resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.10.tgz", "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.10.tgz",
"integrity": "sha512-IQ7TZdoaqbT+LCpShg46jnZVlhWD2w6iQYAcYXfHARZ7X1t/UGhhceQDs5X0cGqKvYlHNOuv7Oa1xmb0oQuA3w==", "integrity": "sha512-IQ7TZdoaqbT+LCpShg46jnZVlhWD2w6iQYAcYXfHARZ7X1t/UGhhceQDs5X0cGqKvYlHNOuv7Oa1xmb0oQuA3w==",
"dev": true,
"dependencies": { "dependencies": {
"cssesc": "^3.0.0", "cssesc": "^3.0.0",
"util-deprecate": "^1.0.2" "util-deprecate": "^1.0.2"
@ -36916,14 +36921,14 @@
"version": "0.0.0", "version": "0.0.0",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@tailwindcss/container-queries": "^0.1.1",
"@tailwindcss/typography": "^0.5.9",
"autoprefixer": "^10.4.13", "autoprefixer": "^10.4.13",
"postcss": "^8.4.32", "postcss": "^8.4.32",
"tailwindcss": "3.3.2", "tailwindcss": "3.3.2",
"tailwindcss-animate": "^1.0.5" "tailwindcss-animate": "^1.0.5"
}, },
"devDependencies": { "devDependencies": {}
"@tailwindcss/typography": "^0.5.9"
}
}, },
"packages/tailwind-config/node_modules/postcss": { "packages/tailwind-config/node_modules/postcss": {
"version": "8.4.32", "version": "8.4.32",

View File

@ -414,11 +414,11 @@ msgstr "Weiteren Wert hinzufügen"
msgid "Add myself" msgid "Add myself"
msgstr "Mich selbst hinzufügen" msgstr "Mich selbst hinzufügen"
#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:637 #: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:645
msgid "Add Myself" msgid "Add Myself"
msgstr "Mich hinzufügen" msgstr "Mich hinzufügen"
#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:623 #: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:631
msgid "Add Placeholder Recipient" msgid "Add Placeholder Recipient"
msgstr "Platzhalterempfänger hinzufügen" msgstr "Platzhalterempfänger hinzufügen"
@ -443,8 +443,8 @@ msgstr "Admin"
msgid "Advanced Options" msgid "Advanced Options"
msgstr "Erweiterte Optionen" msgstr "Erweiterte Optionen"
#: packages/ui/primitives/document-flow/add-fields.tsx:573 #: packages/ui/primitives/document-flow/add-fields.tsx:576
#: packages/ui/primitives/template-flow/add-template-fields.tsx:406 #: packages/ui/primitives/template-flow/add-template-fields.tsx:409
msgid "Advanced settings" msgid "Advanced settings"
msgstr "Erweiterte Einstellungen" msgstr "Erweiterte Einstellungen"
@ -589,8 +589,8 @@ msgstr "Abgeschlossenes Dokument"
msgid "Configure Direct Recipient" msgid "Configure Direct Recipient"
msgstr "Direkten Empfänger konfigurieren" msgstr "Direkten Empfänger konfigurieren"
#: packages/ui/primitives/document-flow/add-fields.tsx:574 #: packages/ui/primitives/document-flow/add-fields.tsx:577
#: packages/ui/primitives/template-flow/add-template-fields.tsx:407 #: packages/ui/primitives/template-flow/add-template-fields.tsx:410
msgid "Configure the {0} field" msgid "Configure the {0} field"
msgstr "Konfigurieren Sie das Feld {0}" msgstr "Konfigurieren Sie das Feld {0}"
@ -651,9 +651,9 @@ msgstr "Konto erstellen"
msgid "Custom Text" msgid "Custom Text"
msgstr "Benutzerdefinierter Text" msgstr "Benutzerdefinierter Text"
#: packages/ui/primitives/document-flow/add-fields.tsx:927 #: packages/ui/primitives/document-flow/add-fields.tsx:934
#: packages/ui/primitives/document-flow/types.ts:53 #: packages/ui/primitives/document-flow/types.ts:53
#: packages/ui/primitives/template-flow/add-template-fields.tsx:690 #: packages/ui/primitives/template-flow/add-template-fields.tsx:697
msgid "Date" msgid "Date"
msgstr "Datum" msgstr "Datum"
@ -670,7 +670,7 @@ msgstr "Ablehnen"
msgid "Didn't request a password change? We are here to help you secure your account, just <0>contact us.</0>" msgid "Didn't request a password change? We are here to help you secure your account, just <0>contact us.</0>"
msgstr "Hast du keinen Passwortwechsel angefordert? Wir helfen dir, dein Konto abzusichern, kontaktiere uns einfach <0>hier.</0>" msgstr "Hast du keinen Passwortwechsel angefordert? Wir helfen dir, dein Konto abzusichern, kontaktiere uns einfach <0>hier.</0>"
#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:570 #: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:578
msgid "Direct link receiver" msgid "Direct link receiver"
msgstr "Empfänger des direkten Links" msgstr "Empfänger des direkten Links"
@ -792,8 +792,8 @@ msgstr "Entwurf"
msgid "Drag & drop your PDF here." msgid "Drag & drop your PDF here."
msgstr "Ziehen Sie Ihr PDF hierher." msgstr "Ziehen Sie Ihr PDF hierher."
#: packages/ui/primitives/document-flow/add-fields.tsx:1058 #: packages/ui/primitives/document-flow/add-fields.tsx:1065
#: packages/ui/primitives/template-flow/add-template-fields.tsx:820 #: packages/ui/primitives/template-flow/add-template-fields.tsx:827
msgid "Dropdown" msgid "Dropdown"
msgstr "Dropdown" msgstr "Dropdown"
@ -802,14 +802,14 @@ msgid "Dropdown options"
msgstr "Dropdown-Optionen" msgstr "Dropdown-Optionen"
#: packages/lib/constants/document.ts:28 #: packages/lib/constants/document.ts:28
#: packages/ui/primitives/document-flow/add-fields.tsx:875 #: packages/ui/primitives/document-flow/add-fields.tsx:882
#: packages/ui/primitives/document-flow/add-signature.tsx:272 #: packages/ui/primitives/document-flow/add-signature.tsx:272
#: packages/ui/primitives/document-flow/add-signers.tsx:512 #: packages/ui/primitives/document-flow/add-signers.tsx:512
#: packages/ui/primitives/document-flow/add-signers.tsx:519 #: packages/ui/primitives/document-flow/add-signers.tsx:519
#: packages/ui/primitives/document-flow/types.ts:54 #: packages/ui/primitives/document-flow/types.ts:54
#: packages/ui/primitives/template-flow/add-template-fields.tsx:638 #: packages/ui/primitives/template-flow/add-template-fields.tsx:645
#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:463 #: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:471
#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:470 #: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:478
msgid "Email" msgid "Email"
msgstr "E-Mail" msgstr "E-Mail"
@ -829,7 +829,7 @@ msgstr "E-Mail erneut gesendet"
msgid "Email sent" msgid "Email sent"
msgstr "E-Mail gesendet" msgstr "E-Mail gesendet"
#: packages/ui/primitives/document-flow/add-fields.tsx:1123 #: packages/ui/primitives/document-flow/add-fields.tsx:1130
msgid "Empty field" msgid "Empty field"
msgstr "Leeres Feld" msgstr "Leeres Feld"
@ -838,11 +838,11 @@ msgid "Enable Direct Link Signing"
msgstr "Direktlink-Signierung aktivieren" msgstr "Direktlink-Signierung aktivieren"
#: packages/ui/primitives/document-flow/add-signers.tsx:401 #: packages/ui/primitives/document-flow/add-signers.tsx:401
#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:362 #: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:370
msgid "Enable signing order" msgid "Enable signing order"
msgstr "Aktiviere die Signaturreihenfolge" msgstr "Aktiviere die Signaturreihenfolge"
#: packages/ui/primitives/document-flow/add-fields.tsx:795 #: packages/ui/primitives/document-flow/add-fields.tsx:802
msgid "Enable Typed Signatures" msgid "Enable Typed Signatures"
msgstr "Aktivieren Sie getippte Unterschriften" msgstr "Aktivieren Sie getippte Unterschriften"
@ -1020,14 +1020,14 @@ msgstr "Nachricht <0>(Optional)</0>"
msgid "Min" msgid "Min"
msgstr "Min" msgstr "Min"
#: packages/ui/primitives/document-flow/add-fields.tsx:901 #: packages/ui/primitives/document-flow/add-fields.tsx:908
#: packages/ui/primitives/document-flow/add-signature.tsx:298 #: packages/ui/primitives/document-flow/add-signature.tsx:298
#: packages/ui/primitives/document-flow/add-signers.tsx:550 #: packages/ui/primitives/document-flow/add-signers.tsx:550
#: packages/ui/primitives/document-flow/add-signers.tsx:556 #: packages/ui/primitives/document-flow/add-signers.tsx:556
#: packages/ui/primitives/document-flow/types.ts:55 #: packages/ui/primitives/document-flow/types.ts:55
#: packages/ui/primitives/template-flow/add-template-fields.tsx:664 #: packages/ui/primitives/template-flow/add-template-fields.tsx:671
#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:498 #: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:506
#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:504 #: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:512
msgid "Name" msgid "Name"
msgstr "Name" msgstr "Name"
@ -1043,8 +1043,8 @@ msgstr "Muss unterzeichnen"
msgid "Needs to view" msgid "Needs to view"
msgstr "Muss sehen" msgstr "Muss sehen"
#: packages/ui/primitives/document-flow/add-fields.tsx:686 #: packages/ui/primitives/document-flow/add-fields.tsx:693
#: packages/ui/primitives/template-flow/add-template-fields.tsx:504 #: packages/ui/primitives/template-flow/add-template-fields.tsx:511
msgid "No recipient matching this description was found." msgid "No recipient matching this description was found."
msgstr "Kein passender Empfänger mit dieser Beschreibung gefunden." msgstr "Kein passender Empfänger mit dieser Beschreibung gefunden."
@ -1052,8 +1052,8 @@ msgstr "Kein passender Empfänger mit dieser Beschreibung gefunden."
msgid "No recipients" msgid "No recipients"
msgstr "Keine Empfänger" msgstr "Keine Empfänger"
#: packages/ui/primitives/document-flow/add-fields.tsx:701 #: packages/ui/primitives/document-flow/add-fields.tsx:708
#: packages/ui/primitives/template-flow/add-template-fields.tsx:519 #: packages/ui/primitives/template-flow/add-template-fields.tsx:526
msgid "No recipients with this role" msgid "No recipients with this role"
msgstr "Keine Empfänger mit dieser Rolle" msgstr "Keine Empfänger mit dieser Rolle"
@ -1081,9 +1081,9 @@ msgstr "Kein Wert gefunden."
msgid "None" msgid "None"
msgstr "Keine" msgstr "Keine"
#: packages/ui/primitives/document-flow/add-fields.tsx:979 #: packages/ui/primitives/document-flow/add-fields.tsx:986
#: packages/ui/primitives/document-flow/types.ts:56 #: packages/ui/primitives/document-flow/types.ts:56
#: packages/ui/primitives/template-flow/add-template-fields.tsx:742 #: packages/ui/primitives/template-flow/add-template-fields.tsx:749
msgid "Number" msgid "Number"
msgstr "Nummer" msgstr "Nummer"
@ -1175,7 +1175,7 @@ msgid "Please try again or contact our support."
msgstr "Bitte versuchen Sie es erneut oder kontaktieren Sie unseren Support." msgstr "Bitte versuchen Sie es erneut oder kontaktieren Sie unseren Support."
#: packages/ui/primitives/document-flow/types.ts:57 #: packages/ui/primitives/document-flow/types.ts:57
#: packages/ui/primitives/template-flow/add-template-fields.tsx:768 #: packages/ui/primitives/template-flow/add-template-fields.tsx:775
msgid "Radio" msgid "Radio"
msgstr "Radio" msgstr "Radio"
@ -1255,7 +1255,7 @@ msgstr "Erinnerung: Bitte {recipientActionVerb} dieses Dokument"
msgid "Reminder: Please {recipientActionVerb} your document" msgid "Reminder: Please {recipientActionVerb} your document"
msgstr "Erinnerung: Bitte {recipientActionVerb} dein Dokument" msgstr "Erinnerung: Bitte {recipientActionVerb} dein Dokument"
#: packages/ui/primitives/document-flow/add-fields.tsx:1110 #: packages/ui/primitives/document-flow/add-fields.tsx:1117
msgid "Remove" msgid "Remove"
msgstr "Entfernen" msgstr "Entfernen"
@ -1287,7 +1287,7 @@ msgstr "Zeilen pro Seite"
msgid "Save" msgid "Save"
msgstr "Speichern" msgstr "Speichern"
#: packages/ui/primitives/template-flow/add-template-fields.tsx:854 #: packages/ui/primitives/template-flow/add-template-fields.tsx:861
msgid "Save Template" msgid "Save Template"
msgstr "Vorlage speichern" msgstr "Vorlage speichern"
@ -1360,7 +1360,7 @@ msgid "Share your signing experience!"
msgstr "Teilen Sie Ihre Unterzeichnungserfahrung!" msgstr "Teilen Sie Ihre Unterzeichnungserfahrung!"
#: packages/ui/primitives/document-flow/add-signers.tsx:709 #: packages/ui/primitives/document-flow/add-signers.tsx:709
#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:655 #: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:663
msgid "Show advanced settings" msgid "Show advanced settings"
msgstr "Erweiterte Einstellungen anzeigen" msgstr "Erweiterte Einstellungen anzeigen"
@ -1376,11 +1376,11 @@ msgstr "Dokument signieren"
msgid "Sign In" msgid "Sign In"
msgstr "Anmelden" msgstr "Anmelden"
#: packages/ui/primitives/document-flow/add-fields.tsx:823 #: packages/ui/primitives/document-flow/add-fields.tsx:830
#: packages/ui/primitives/document-flow/add-signature.tsx:323 #: packages/ui/primitives/document-flow/add-signature.tsx:323
#: packages/ui/primitives/document-flow/field-icon.tsx:52 #: packages/ui/primitives/document-flow/field-icon.tsx:52
#: packages/ui/primitives/document-flow/types.ts:49 #: packages/ui/primitives/document-flow/types.ts:49
#: packages/ui/primitives/template-flow/add-template-fields.tsx:586 #: packages/ui/primitives/template-flow/add-template-fields.tsx:593
msgid "Signature" msgid "Signature"
msgstr "Unterschrift" msgstr "Unterschrift"
@ -1463,9 +1463,9 @@ msgstr "Team-E-Mail für {teamName} auf Documenso entfernt"
msgid "Template title" msgid "Template title"
msgstr "Vorlagentitel" msgstr "Vorlagentitel"
#: packages/ui/primitives/document-flow/add-fields.tsx:953 #: packages/ui/primitives/document-flow/add-fields.tsx:960
#: packages/ui/primitives/document-flow/types.ts:52 #: packages/ui/primitives/document-flow/types.ts:52
#: packages/ui/primitives/template-flow/add-template-fields.tsx:716 #: packages/ui/primitives/template-flow/add-template-fields.tsx:723
msgid "Text" msgid "Text"
msgstr "Text" msgstr "Text"
@ -1560,7 +1560,7 @@ msgstr "Dies kann überschrieben werden, indem die Authentifizierungsanforderung
msgid "This document can not be recovered, if you would like to dispute the reason for future documents please contact support." msgid "This document can not be recovered, if you would like to dispute the reason for future documents please contact support."
msgstr "Dieses Dokument kann nicht wiederhergestellt werden. Wenn du den Grund für zukünftige Dokumente anfechten möchtest, kontaktiere bitte den Support." msgstr "Dieses Dokument kann nicht wiederhergestellt werden. Wenn du den Grund für zukünftige Dokumente anfechten möchtest, kontaktiere bitte den Support."
#: packages/ui/primitives/document-flow/add-fields.tsx:757 #: packages/ui/primitives/document-flow/add-fields.tsx:764
msgid "This document has already been sent to this recipient. You can no longer edit this recipient." msgid "This document has already been sent to this recipient. You can no longer edit this recipient."
msgstr "Dieses Dokument wurde bereits an diesen Empfänger gesendet. Sie können diesen Empfänger nicht mehr bearbeiten." msgstr "Dieses Dokument wurde bereits an diesen Empfänger gesendet. Sie können diesen Empfänger nicht mehr bearbeiten."
@ -1591,7 +1591,7 @@ msgstr "Diese E-Mail wird an den Empfänger gesendet und fordert ihn auf, das Do
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." 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 "Diese E-Mail wird an den Empfänger gesendet, der das Dokument gerade unterschrieben hat, wenn es noch andere Empfänger gibt, die noch nicht unterschrieben haben." msgstr "Diese E-Mail wird an den Empfänger gesendet, der das Dokument gerade unterschrieben hat, wenn es noch andere Empfänger gibt, die noch nicht unterschrieben haben."
#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:573 #: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:581
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." 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 "Dieses Feld kann nicht geändert oder gelöscht werden. Wenn Sie den direkten Link dieser Vorlage teilen oder zu Ihrem öffentlichen Profil hinzufügen, kann jeder, der darauf zugreift, seinen Namen und seine E-Mail-Adresse eingeben und die ihm zugewiesenen Felder ausfüllen." msgstr "Dieses Feld kann nicht geändert oder gelöscht werden. Wenn Sie den direkten Link dieser Vorlage teilen oder zu Ihrem öffentlichen Profil hinzufügen, kann jeder, der darauf zugreift, seinen Namen und seine E-Mail-Adresse eingeben und die ihm zugewiesenen Felder ausfüllen."
@ -1599,7 +1599,7 @@ msgstr "Dieses Feld kann nicht geändert oder gelöscht werden. Wenn Sie den dir
msgid "This is how the document will reach the recipients once the document is ready for signing." msgid "This is how the document will reach the recipients once the document is ready for signing."
msgstr "So wird das Dokument die Empfänger erreichen, sobald es zum Unterschreiben bereit ist." msgstr "So wird das Dokument die Empfänger erreichen, sobald es zum Unterschreiben bereit ist."
#: packages/ui/primitives/document-flow/add-fields.tsx:1090 #: packages/ui/primitives/document-flow/add-fields.tsx:1097
msgid "This recipient can no longer be modified as they have signed a field, or completed the document." msgid "This recipient can no longer be modified as they have signed a field, or completed the document."
msgstr "Dieser Empfänger kann nicht mehr bearbeitet werden, da er ein Feld unterschrieben oder das Dokument abgeschlossen hat." msgstr "Dieser Empfänger kann nicht mehr bearbeitet werden, da er ein Feld unterschrieben oder das Dokument abgeschlossen hat."
@ -1628,8 +1628,8 @@ msgstr "Zeitzone"
msgid "Title" msgid "Title"
msgstr "Titel" msgstr "Titel"
#: packages/ui/primitives/document-flow/add-fields.tsx:1073 #: packages/ui/primitives/document-flow/add-fields.tsx:1080
#: packages/ui/primitives/template-flow/add-template-fields.tsx:834 #: packages/ui/primitives/template-flow/add-template-fields.tsx:841
msgid "To proceed further, please set at least one value for the {0} field." msgid "To proceed further, please set at least one value for the {0} field."
msgstr "Um fortzufahren, legen Sie bitte mindestens einen Wert für das Feld {0} fest." msgstr "Um fortzufahren, legen Sie bitte mindestens einen Wert für das Feld {0} fest."

View File

@ -62,7 +62,7 @@ msgstr "({0}) hat dich eingeladen, dieses Dokument zu unterzeichnen"
msgid "({0}) has invited you to view this document" msgid "({0}) has invited you to view this document"
msgstr "({0}) hat dich eingeladen, dieses Dokument zu betrachten" msgstr "({0}) hat dich eingeladen, dieses Dokument zu betrachten"
#: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:311 #: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:313
msgid "{0, plural, one {(1 character over)} other {(# characters over)}}" msgid "{0, plural, one {(1 character over)} other {(# characters over)}}"
msgstr "{0, plural, one {(1 Zeichen über dem Limit)} other {(# Zeichen über dem Limit)}}" msgstr "{0, plural, one {(1 Zeichen über dem Limit)} other {(# Zeichen über dem Limit)}}"
@ -124,7 +124,7 @@ msgstr "{0} Empfänger(in)"
#~ msgid "{0} the document to complete the process." #~ msgid "{0} the document to complete the process."
#~ msgstr "{0} the document to complete the process." #~ msgstr "{0} the document to complete the process."
#: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:292 #: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:294
msgid "{charactersRemaining, plural, one {1 character remaining} other {{charactersRemaining} characters remaining}}" msgid "{charactersRemaining, plural, one {1 character remaining} other {{charactersRemaining} characters remaining}}"
msgstr "{charactersRemaining, plural, one {1 Zeichen verbleibend} other {{charactersRemaining} Zeichen verbleibend}}" msgstr "{charactersRemaining, plural, one {1 Zeichen verbleibend} other {{charactersRemaining} Zeichen verbleibend}}"
@ -830,11 +830,11 @@ msgstr "Durch die Verwendung der elektronischen Unterschriftsfunktion stimmen Si
#: apps/web/src/app/(signing)/sign/[token]/form.tsx:151 #: apps/web/src/app/(signing)/sign/[token]/form.tsx:151
#: apps/web/src/app/(signing)/sign/[token]/form.tsx:220 #: apps/web/src/app/(signing)/sign/[token]/form.tsx:220
#: apps/web/src/app/(signing)/sign/[token]/name-field.tsx:215 #: apps/web/src/app/(signing)/sign/[token]/name-field.tsx:215
#: apps/web/src/app/(signing)/sign/[token]/number-field.tsx:327 #: apps/web/src/app/(signing)/sign/[token]/number-field.tsx:328
#: apps/web/src/app/(signing)/sign/[token]/reject-document-dialog.tsx:153 #: apps/web/src/app/(signing)/sign/[token]/reject-document-dialog.tsx:153
#: apps/web/src/app/(signing)/sign/[token]/sign-dialog.tsx:113 #: apps/web/src/app/(signing)/sign/[token]/sign-dialog.tsx:113
#: apps/web/src/app/(signing)/sign/[token]/signature-field.tsx:248 #: apps/web/src/app/(signing)/sign/[token]/signature-field.tsx:248
#: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:333 #: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:335
#: apps/web/src/app/(teams)/t/[teamUrl]/settings/team-transfer-status.tsx:121 #: apps/web/src/app/(teams)/t/[teamUrl]/settings/team-transfer-status.tsx:121
#: apps/web/src/components/(dashboard)/settings/token/delete-token-dialog.tsx:176 #: apps/web/src/components/(dashboard)/settings/token/delete-token-dialog.tsx:176
#: apps/web/src/components/(dashboard)/settings/webhooks/create-webhook-dialog.tsx:242 #: apps/web/src/components/(dashboard)/settings/webhooks/create-webhook-dialog.tsx:242
@ -1793,7 +1793,7 @@ msgstr "Geben Sie Ihre E-Mail-Adresse ein, um das abgeschlossene Dokument zu erh
msgid "Enter your name" msgid "Enter your name"
msgstr "Geben Sie Ihren Namen ein" msgstr "Geben Sie Ihren Namen ein"
#: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:278 #: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:280
msgid "Enter your text here" msgid "Enter your text here"
msgstr "Geben Sie hier Ihren Text ein" msgstr "Geben Sie hier Ihren Text ein"
@ -2481,7 +2481,7 @@ msgstr "Nicht unterstützt"
msgid "Nothing to do" msgid "Nothing to do"
msgstr "Nichts zu tun" msgstr "Nichts zu tun"
#: apps/web/src/app/(signing)/sign/[token]/number-field.tsx:270 #: apps/web/src/app/(signing)/sign/[token]/number-field.tsx:271
msgid "Number" msgid "Number"
msgstr "Nummer" msgstr "Nummer"
@ -3044,8 +3044,8 @@ msgid "Roles"
msgstr "Rollen" msgstr "Rollen"
#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:446 #: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:446
#: apps/web/src/app/(signing)/sign/[token]/number-field.tsx:336 #: apps/web/src/app/(signing)/sign/[token]/number-field.tsx:337
#: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:342 #: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:344
#: apps/web/src/app/(teams)/t/[teamUrl]/settings/preferences/branding-preferences.tsx:312 #: apps/web/src/app/(teams)/t/[teamUrl]/settings/preferences/branding-preferences.tsx:312
#: apps/web/src/app/(teams)/t/[teamUrl]/settings/preferences/document-preferences.tsx:232 #: apps/web/src/app/(teams)/t/[teamUrl]/settings/preferences/document-preferences.tsx:232
msgid "Save" msgid "Save"
@ -3665,8 +3665,8 @@ msgstr "Vorlagen"
msgid "Templates allow you to quickly generate documents with pre-filled recipients and fields." msgid "Templates allow you to quickly generate documents with pre-filled recipients and fields."
msgstr "Vorlagen erlauben dir das schnelle Erstlelen von Dokumenten mit vorausgefüllten Empfängern und Feldern." msgstr "Vorlagen erlauben dir das schnelle Erstlelen von Dokumenten mit vorausgefüllten Empfängern und Feldern."
#: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:256 #: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:257
#: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:272 #: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:274
msgid "Text" msgid "Text"
msgstr "Text" msgstr "Text"

View File

@ -409,11 +409,11 @@ msgstr "Add another value"
msgid "Add myself" msgid "Add myself"
msgstr "Add myself" msgstr "Add myself"
#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:637 #: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:645
msgid "Add Myself" msgid "Add Myself"
msgstr "Add Myself" msgstr "Add Myself"
#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:623 #: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:631
msgid "Add Placeholder Recipient" msgid "Add Placeholder Recipient"
msgstr "Add Placeholder Recipient" msgstr "Add Placeholder Recipient"
@ -438,8 +438,8 @@ msgstr "Admin"
msgid "Advanced Options" msgid "Advanced Options"
msgstr "Advanced Options" msgstr "Advanced Options"
#: packages/ui/primitives/document-flow/add-fields.tsx:573 #: packages/ui/primitives/document-flow/add-fields.tsx:576
#: packages/ui/primitives/template-flow/add-template-fields.tsx:406 #: packages/ui/primitives/template-flow/add-template-fields.tsx:409
msgid "Advanced settings" msgid "Advanced settings"
msgstr "Advanced settings" msgstr "Advanced settings"
@ -584,8 +584,8 @@ msgstr "Completed Document"
msgid "Configure Direct Recipient" msgid "Configure Direct Recipient"
msgstr "Configure Direct Recipient" msgstr "Configure Direct Recipient"
#: packages/ui/primitives/document-flow/add-fields.tsx:574 #: packages/ui/primitives/document-flow/add-fields.tsx:577
#: packages/ui/primitives/template-flow/add-template-fields.tsx:407 #: packages/ui/primitives/template-flow/add-template-fields.tsx:410
msgid "Configure the {0} field" msgid "Configure the {0} field"
msgstr "Configure the {0} field" msgstr "Configure the {0} field"
@ -646,9 +646,9 @@ msgstr "Create account"
msgid "Custom Text" msgid "Custom Text"
msgstr "Custom Text" msgstr "Custom Text"
#: packages/ui/primitives/document-flow/add-fields.tsx:927 #: packages/ui/primitives/document-flow/add-fields.tsx:934
#: packages/ui/primitives/document-flow/types.ts:53 #: packages/ui/primitives/document-flow/types.ts:53
#: packages/ui/primitives/template-flow/add-template-fields.tsx:690 #: packages/ui/primitives/template-flow/add-template-fields.tsx:697
msgid "Date" msgid "Date"
msgstr "Date" msgstr "Date"
@ -665,7 +665,7 @@ msgstr "Decline"
msgid "Didn't request a password change? We are here to help you secure your account, just <0>contact us.</0>" 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>" msgstr "Didn't request a password change? We are here to help you secure your account, just <0>contact us.</0>"
#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:570 #: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:578
msgid "Direct link receiver" msgid "Direct link receiver"
msgstr "Direct link receiver" msgstr "Direct link receiver"
@ -787,8 +787,8 @@ msgstr "Draft"
msgid "Drag & drop your PDF here." msgid "Drag & drop your PDF here."
msgstr "Drag & drop your PDF here." msgstr "Drag & drop your PDF here."
#: packages/ui/primitives/document-flow/add-fields.tsx:1058 #: packages/ui/primitives/document-flow/add-fields.tsx:1065
#: packages/ui/primitives/template-flow/add-template-fields.tsx:820 #: packages/ui/primitives/template-flow/add-template-fields.tsx:827
msgid "Dropdown" msgid "Dropdown"
msgstr "Dropdown" msgstr "Dropdown"
@ -797,14 +797,14 @@ msgid "Dropdown options"
msgstr "Dropdown options" msgstr "Dropdown options"
#: packages/lib/constants/document.ts:28 #: packages/lib/constants/document.ts:28
#: packages/ui/primitives/document-flow/add-fields.tsx:875 #: packages/ui/primitives/document-flow/add-fields.tsx:882
#: packages/ui/primitives/document-flow/add-signature.tsx:272 #: packages/ui/primitives/document-flow/add-signature.tsx:272
#: packages/ui/primitives/document-flow/add-signers.tsx:512 #: packages/ui/primitives/document-flow/add-signers.tsx:512
#: packages/ui/primitives/document-flow/add-signers.tsx:519 #: packages/ui/primitives/document-flow/add-signers.tsx:519
#: packages/ui/primitives/document-flow/types.ts:54 #: packages/ui/primitives/document-flow/types.ts:54
#: packages/ui/primitives/template-flow/add-template-fields.tsx:638 #: packages/ui/primitives/template-flow/add-template-fields.tsx:645
#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:463 #: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:471
#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:470 #: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:478
msgid "Email" msgid "Email"
msgstr "Email" msgstr "Email"
@ -824,7 +824,7 @@ msgstr "Email resent"
msgid "Email sent" msgid "Email sent"
msgstr "Email sent" msgstr "Email sent"
#: packages/ui/primitives/document-flow/add-fields.tsx:1123 #: packages/ui/primitives/document-flow/add-fields.tsx:1130
msgid "Empty field" msgid "Empty field"
msgstr "Empty field" msgstr "Empty field"
@ -833,11 +833,11 @@ msgid "Enable Direct Link Signing"
msgstr "Enable Direct Link Signing" msgstr "Enable Direct Link Signing"
#: packages/ui/primitives/document-flow/add-signers.tsx:401 #: packages/ui/primitives/document-flow/add-signers.tsx:401
#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:362 #: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:370
msgid "Enable signing order" msgid "Enable signing order"
msgstr "Enable signing order" msgstr "Enable signing order"
#: packages/ui/primitives/document-flow/add-fields.tsx:795 #: packages/ui/primitives/document-flow/add-fields.tsx:802
msgid "Enable Typed Signatures" msgid "Enable Typed Signatures"
msgstr "Enable Typed Signatures" msgstr "Enable Typed Signatures"
@ -1015,14 +1015,14 @@ msgstr "Message <0>(Optional)</0>"
msgid "Min" msgid "Min"
msgstr "Min" msgstr "Min"
#: packages/ui/primitives/document-flow/add-fields.tsx:901 #: packages/ui/primitives/document-flow/add-fields.tsx:908
#: packages/ui/primitives/document-flow/add-signature.tsx:298 #: packages/ui/primitives/document-flow/add-signature.tsx:298
#: packages/ui/primitives/document-flow/add-signers.tsx:550 #: packages/ui/primitives/document-flow/add-signers.tsx:550
#: packages/ui/primitives/document-flow/add-signers.tsx:556 #: packages/ui/primitives/document-flow/add-signers.tsx:556
#: packages/ui/primitives/document-flow/types.ts:55 #: packages/ui/primitives/document-flow/types.ts:55
#: packages/ui/primitives/template-flow/add-template-fields.tsx:664 #: packages/ui/primitives/template-flow/add-template-fields.tsx:671
#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:498 #: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:506
#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:504 #: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:512
msgid "Name" msgid "Name"
msgstr "Name" msgstr "Name"
@ -1038,8 +1038,8 @@ msgstr "Needs to sign"
msgid "Needs to view" msgid "Needs to view"
msgstr "Needs to view" msgstr "Needs to view"
#: packages/ui/primitives/document-flow/add-fields.tsx:686 #: packages/ui/primitives/document-flow/add-fields.tsx:693
#: packages/ui/primitives/template-flow/add-template-fields.tsx:504 #: packages/ui/primitives/template-flow/add-template-fields.tsx:511
msgid "No recipient matching this description was found." msgid "No recipient matching this description was found."
msgstr "No recipient matching this description was found." msgstr "No recipient matching this description was found."
@ -1047,8 +1047,8 @@ msgstr "No recipient matching this description was found."
msgid "No recipients" msgid "No recipients"
msgstr "No recipients" msgstr "No recipients"
#: packages/ui/primitives/document-flow/add-fields.tsx:701 #: packages/ui/primitives/document-flow/add-fields.tsx:708
#: packages/ui/primitives/template-flow/add-template-fields.tsx:519 #: packages/ui/primitives/template-flow/add-template-fields.tsx:526
msgid "No recipients with this role" msgid "No recipients with this role"
msgstr "No recipients with this role" msgstr "No recipients with this role"
@ -1076,9 +1076,9 @@ msgstr "No value found."
msgid "None" msgid "None"
msgstr "None" msgstr "None"
#: packages/ui/primitives/document-flow/add-fields.tsx:979 #: packages/ui/primitives/document-flow/add-fields.tsx:986
#: packages/ui/primitives/document-flow/types.ts:56 #: packages/ui/primitives/document-flow/types.ts:56
#: packages/ui/primitives/template-flow/add-template-fields.tsx:742 #: packages/ui/primitives/template-flow/add-template-fields.tsx:749
msgid "Number" msgid "Number"
msgstr "Number" msgstr "Number"
@ -1170,7 +1170,7 @@ msgid "Please try again or contact our support."
msgstr "Please try again or contact our support." msgstr "Please try again or contact our support."
#: packages/ui/primitives/document-flow/types.ts:57 #: packages/ui/primitives/document-flow/types.ts:57
#: packages/ui/primitives/template-flow/add-template-fields.tsx:768 #: packages/ui/primitives/template-flow/add-template-fields.tsx:775
msgid "Radio" msgid "Radio"
msgstr "Radio" msgstr "Radio"
@ -1250,7 +1250,7 @@ msgstr "Reminder: Please {recipientActionVerb} this document"
msgid "Reminder: Please {recipientActionVerb} your document" msgid "Reminder: Please {recipientActionVerb} your document"
msgstr "Reminder: Please {recipientActionVerb} your document" msgstr "Reminder: Please {recipientActionVerb} your document"
#: packages/ui/primitives/document-flow/add-fields.tsx:1110 #: packages/ui/primitives/document-flow/add-fields.tsx:1117
msgid "Remove" msgid "Remove"
msgstr "Remove" msgstr "Remove"
@ -1282,7 +1282,7 @@ msgstr "Rows per page"
msgid "Save" msgid "Save"
msgstr "Save" msgstr "Save"
#: packages/ui/primitives/template-flow/add-template-fields.tsx:854 #: packages/ui/primitives/template-flow/add-template-fields.tsx:861
msgid "Save Template" msgid "Save Template"
msgstr "Save Template" msgstr "Save Template"
@ -1355,7 +1355,7 @@ msgid "Share your signing experience!"
msgstr "Share your signing experience!" msgstr "Share your signing experience!"
#: packages/ui/primitives/document-flow/add-signers.tsx:709 #: packages/ui/primitives/document-flow/add-signers.tsx:709
#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:655 #: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:663
msgid "Show advanced settings" msgid "Show advanced settings"
msgstr "Show advanced settings" msgstr "Show advanced settings"
@ -1371,11 +1371,11 @@ msgstr "Sign Document"
msgid "Sign In" msgid "Sign In"
msgstr "Sign In" msgstr "Sign In"
#: packages/ui/primitives/document-flow/add-fields.tsx:823 #: packages/ui/primitives/document-flow/add-fields.tsx:830
#: packages/ui/primitives/document-flow/add-signature.tsx:323 #: packages/ui/primitives/document-flow/add-signature.tsx:323
#: packages/ui/primitives/document-flow/field-icon.tsx:52 #: packages/ui/primitives/document-flow/field-icon.tsx:52
#: packages/ui/primitives/document-flow/types.ts:49 #: packages/ui/primitives/document-flow/types.ts:49
#: packages/ui/primitives/template-flow/add-template-fields.tsx:586 #: packages/ui/primitives/template-flow/add-template-fields.tsx:593
msgid "Signature" msgid "Signature"
msgstr "Signature" msgstr "Signature"
@ -1458,9 +1458,9 @@ msgstr "Team email removed for {teamName} on Documenso"
msgid "Template title" msgid "Template title"
msgstr "Template title" msgstr "Template title"
#: packages/ui/primitives/document-flow/add-fields.tsx:953 #: packages/ui/primitives/document-flow/add-fields.tsx:960
#: packages/ui/primitives/document-flow/types.ts:52 #: packages/ui/primitives/document-flow/types.ts:52
#: packages/ui/primitives/template-flow/add-template-fields.tsx:716 #: packages/ui/primitives/template-flow/add-template-fields.tsx:723
msgid "Text" msgid "Text"
msgstr "Text" msgstr "Text"
@ -1555,7 +1555,7 @@ msgstr "This can be overriden by setting the authentication requirements directl
msgid "This document can not be recovered, if you would like to dispute the reason for future documents please contact support." msgid "This document can not be recovered, if you would like to dispute the reason for future documents please contact support."
msgstr "This document can not be recovered, if you would like to dispute the reason for future documents please contact support." msgstr "This document can not be recovered, if you would like to dispute the reason for future documents please contact support."
#: packages/ui/primitives/document-flow/add-fields.tsx:757 #: packages/ui/primitives/document-flow/add-fields.tsx:764
msgid "This document has already been sent to this recipient. You can no longer edit this recipient." msgid "This document has already been sent to this recipient. You can no longer edit this recipient."
msgstr "This document has already been sent to this recipient. You can no longer edit this recipient." msgstr "This document has already been sent to this recipient. You can no longer edit this recipient."
@ -1586,7 +1586,7 @@ msgstr "This email is sent to the recipient requesting them to sign the document
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." 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." 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 #: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:581
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." 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." 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."
@ -1594,7 +1594,7 @@ msgstr "This field cannot be modified or deleted. When you share this template's
msgid "This is how the document will reach the recipients once the document is ready for signing." 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." 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 #: packages/ui/primitives/document-flow/add-fields.tsx:1097
msgid "This recipient can no longer be modified as they have signed a field, or completed the document." 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." msgstr "This recipient can no longer be modified as they have signed a field, or completed the document."
@ -1623,8 +1623,8 @@ msgstr "Time Zone"
msgid "Title" msgid "Title"
msgstr "Title" msgstr "Title"
#: packages/ui/primitives/document-flow/add-fields.tsx:1073 #: packages/ui/primitives/document-flow/add-fields.tsx:1080
#: packages/ui/primitives/template-flow/add-template-fields.tsx:834 #: packages/ui/primitives/template-flow/add-template-fields.tsx:841
msgid "To proceed further, please set at least one value for the {0} field." 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." msgstr "To proceed further, please set at least one value for the {0} field."

View File

@ -57,7 +57,7 @@ msgstr "({0}) has invited you to sign this document"
msgid "({0}) has invited you to view this document" msgid "({0}) has invited you to view this document"
msgstr "({0}) has invited you to view this document" msgstr "({0}) has invited you to view this document"
#: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:311 #: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:313
msgid "{0, plural, one {(1 character over)} other {(# characters over)}}" msgid "{0, plural, one {(1 character over)} other {(# characters over)}}"
msgstr "{0, plural, one {(1 character over)} other {(# characters over)}}" msgstr "{0, plural, one {(1 character over)} other {(# characters over)}}"
@ -119,7 +119,7 @@ msgstr "{0} Recipient(s)"
#~ msgid "{0} the document to complete the process." #~ msgid "{0} the document to complete the process."
#~ msgstr "{0} the document to complete the process." #~ msgstr "{0} the document to complete the process."
#: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:292 #: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:294
msgid "{charactersRemaining, plural, one {1 character remaining} other {{charactersRemaining} characters remaining}}" msgid "{charactersRemaining, plural, one {1 character remaining} other {{charactersRemaining} characters remaining}}"
msgstr "{charactersRemaining, plural, one {1 character remaining} other {{charactersRemaining} characters remaining}}" msgstr "{charactersRemaining, plural, one {1 character remaining} other {{charactersRemaining} characters remaining}}"
@ -825,11 +825,11 @@ msgstr "By using the electronic signature feature, you are consenting to conduct
#: apps/web/src/app/(signing)/sign/[token]/form.tsx:151 #: apps/web/src/app/(signing)/sign/[token]/form.tsx:151
#: apps/web/src/app/(signing)/sign/[token]/form.tsx:220 #: apps/web/src/app/(signing)/sign/[token]/form.tsx:220
#: apps/web/src/app/(signing)/sign/[token]/name-field.tsx:215 #: apps/web/src/app/(signing)/sign/[token]/name-field.tsx:215
#: apps/web/src/app/(signing)/sign/[token]/number-field.tsx:327 #: apps/web/src/app/(signing)/sign/[token]/number-field.tsx:328
#: apps/web/src/app/(signing)/sign/[token]/reject-document-dialog.tsx:153 #: apps/web/src/app/(signing)/sign/[token]/reject-document-dialog.tsx:153
#: apps/web/src/app/(signing)/sign/[token]/sign-dialog.tsx:113 #: apps/web/src/app/(signing)/sign/[token]/sign-dialog.tsx:113
#: apps/web/src/app/(signing)/sign/[token]/signature-field.tsx:248 #: apps/web/src/app/(signing)/sign/[token]/signature-field.tsx:248
#: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:333 #: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:335
#: apps/web/src/app/(teams)/t/[teamUrl]/settings/team-transfer-status.tsx:121 #: apps/web/src/app/(teams)/t/[teamUrl]/settings/team-transfer-status.tsx:121
#: apps/web/src/components/(dashboard)/settings/token/delete-token-dialog.tsx:176 #: apps/web/src/components/(dashboard)/settings/token/delete-token-dialog.tsx:176
#: apps/web/src/components/(dashboard)/settings/webhooks/create-webhook-dialog.tsx:242 #: apps/web/src/components/(dashboard)/settings/webhooks/create-webhook-dialog.tsx:242
@ -1788,7 +1788,7 @@ msgstr "Enter your email address to receive the completed document."
msgid "Enter your name" msgid "Enter your name"
msgstr "Enter your name" msgstr "Enter your name"
#: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:278 #: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:280
msgid "Enter your text here" msgid "Enter your text here"
msgstr "Enter your text here" msgstr "Enter your text here"
@ -2476,7 +2476,7 @@ msgstr "Not supported"
msgid "Nothing to do" msgid "Nothing to do"
msgstr "Nothing to do" msgstr "Nothing to do"
#: apps/web/src/app/(signing)/sign/[token]/number-field.tsx:270 #: apps/web/src/app/(signing)/sign/[token]/number-field.tsx:271
msgid "Number" msgid "Number"
msgstr "Number" msgstr "Number"
@ -3039,8 +3039,8 @@ msgid "Roles"
msgstr "Roles" msgstr "Roles"
#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:446 #: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:446
#: apps/web/src/app/(signing)/sign/[token]/number-field.tsx:336 #: apps/web/src/app/(signing)/sign/[token]/number-field.tsx:337
#: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:342 #: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:344
#: apps/web/src/app/(teams)/t/[teamUrl]/settings/preferences/branding-preferences.tsx:312 #: apps/web/src/app/(teams)/t/[teamUrl]/settings/preferences/branding-preferences.tsx:312
#: apps/web/src/app/(teams)/t/[teamUrl]/settings/preferences/document-preferences.tsx:232 #: apps/web/src/app/(teams)/t/[teamUrl]/settings/preferences/document-preferences.tsx:232
msgid "Save" msgid "Save"
@ -3660,8 +3660,8 @@ msgstr "Templates"
msgid "Templates allow you to quickly generate documents with pre-filled recipients and fields." msgid "Templates allow you to quickly generate documents with pre-filled recipients and fields."
msgstr "Templates allow you to quickly generate documents with pre-filled recipients and fields." msgstr "Templates allow you to quickly generate documents with pre-filled recipients and fields."
#: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:256 #: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:257
#: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:272 #: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:274
msgid "Text" msgid "Text"
msgstr "Text" msgstr "Text"

View File

@ -414,11 +414,11 @@ msgstr "Agregar otro valor"
msgid "Add myself" msgid "Add myself"
msgstr "Agregame" msgstr "Agregame"
#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:637 #: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:645
msgid "Add Myself" msgid "Add Myself"
msgstr "Agregame" msgstr "Agregame"
#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:623 #: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:631
msgid "Add Placeholder Recipient" msgid "Add Placeholder Recipient"
msgstr "Agregar destinatario de marcador de posición" msgstr "Agregar destinatario de marcador de posición"
@ -443,8 +443,8 @@ msgstr "Admin"
msgid "Advanced Options" msgid "Advanced Options"
msgstr "Opciones avanzadas" msgstr "Opciones avanzadas"
#: packages/ui/primitives/document-flow/add-fields.tsx:573 #: packages/ui/primitives/document-flow/add-fields.tsx:576
#: packages/ui/primitives/template-flow/add-template-fields.tsx:406 #: packages/ui/primitives/template-flow/add-template-fields.tsx:409
msgid "Advanced settings" msgid "Advanced settings"
msgstr "Configuraciones avanzadas" msgstr "Configuraciones avanzadas"
@ -589,8 +589,8 @@ msgstr "Documento completado"
msgid "Configure Direct Recipient" msgid "Configure Direct Recipient"
msgstr "Configurar destinatario directo" msgstr "Configurar destinatario directo"
#: packages/ui/primitives/document-flow/add-fields.tsx:574 #: packages/ui/primitives/document-flow/add-fields.tsx:577
#: packages/ui/primitives/template-flow/add-template-fields.tsx:407 #: packages/ui/primitives/template-flow/add-template-fields.tsx:410
msgid "Configure the {0} field" msgid "Configure the {0} field"
msgstr "Configurar el campo {0}" msgstr "Configurar el campo {0}"
@ -651,9 +651,9 @@ msgstr "Crear cuenta"
msgid "Custom Text" msgid "Custom Text"
msgstr "Texto personalizado" msgstr "Texto personalizado"
#: packages/ui/primitives/document-flow/add-fields.tsx:927 #: packages/ui/primitives/document-flow/add-fields.tsx:934
#: packages/ui/primitives/document-flow/types.ts:53 #: packages/ui/primitives/document-flow/types.ts:53
#: packages/ui/primitives/template-flow/add-template-fields.tsx:690 #: packages/ui/primitives/template-flow/add-template-fields.tsx:697
msgid "Date" msgid "Date"
msgstr "Fecha" msgstr "Fecha"
@ -670,7 +670,7 @@ msgstr "Rechazar"
msgid "Didn't request a password change? We are here to help you secure your account, just <0>contact us.</0>" msgid "Didn't request a password change? We are here to help you secure your account, just <0>contact us.</0>"
msgstr "¿No solicitaste un cambio de contraseña? Estamos aquí para ayudarte a asegurar tu cuenta, solo <0>contáctanos.</0>" msgstr "¿No solicitaste un cambio de contraseña? Estamos aquí para ayudarte a asegurar tu cuenta, solo <0>contáctanos.</0>"
#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:570 #: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:578
msgid "Direct link receiver" msgid "Direct link receiver"
msgstr "Receptor de enlace directo" msgstr "Receptor de enlace directo"
@ -792,8 +792,8 @@ msgstr "Borrador"
msgid "Drag & drop your PDF here." msgid "Drag & drop your PDF here."
msgstr "Arrastre y suelte su PDF aquí." msgstr "Arrastre y suelte su PDF aquí."
#: packages/ui/primitives/document-flow/add-fields.tsx:1058 #: packages/ui/primitives/document-flow/add-fields.tsx:1065
#: packages/ui/primitives/template-flow/add-template-fields.tsx:820 #: packages/ui/primitives/template-flow/add-template-fields.tsx:827
msgid "Dropdown" msgid "Dropdown"
msgstr "Menú desplegable" msgstr "Menú desplegable"
@ -802,14 +802,14 @@ msgid "Dropdown options"
msgstr "Opciones de menú desplegable" msgstr "Opciones de menú desplegable"
#: packages/lib/constants/document.ts:28 #: packages/lib/constants/document.ts:28
#: packages/ui/primitives/document-flow/add-fields.tsx:875 #: packages/ui/primitives/document-flow/add-fields.tsx:882
#: packages/ui/primitives/document-flow/add-signature.tsx:272 #: packages/ui/primitives/document-flow/add-signature.tsx:272
#: packages/ui/primitives/document-flow/add-signers.tsx:512 #: packages/ui/primitives/document-flow/add-signers.tsx:512
#: packages/ui/primitives/document-flow/add-signers.tsx:519 #: packages/ui/primitives/document-flow/add-signers.tsx:519
#: packages/ui/primitives/document-flow/types.ts:54 #: packages/ui/primitives/document-flow/types.ts:54
#: packages/ui/primitives/template-flow/add-template-fields.tsx:638 #: packages/ui/primitives/template-flow/add-template-fields.tsx:645
#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:463 #: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:471
#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:470 #: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:478
msgid "Email" msgid "Email"
msgstr "Correo electrónico" msgstr "Correo electrónico"
@ -829,7 +829,7 @@ msgstr "Correo electrónico reeenviado"
msgid "Email sent" msgid "Email sent"
msgstr "Correo electrónico enviado" msgstr "Correo electrónico enviado"
#: packages/ui/primitives/document-flow/add-fields.tsx:1123 #: packages/ui/primitives/document-flow/add-fields.tsx:1130
msgid "Empty field" msgid "Empty field"
msgstr "Campo vacío" msgstr "Campo vacío"
@ -838,11 +838,11 @@ msgid "Enable Direct Link Signing"
msgstr "Habilitar firma de enlace directo" msgstr "Habilitar firma de enlace directo"
#: packages/ui/primitives/document-flow/add-signers.tsx:401 #: packages/ui/primitives/document-flow/add-signers.tsx:401
#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:362 #: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:370
msgid "Enable signing order" msgid "Enable signing order"
msgstr "Habilitar orden de firma" msgstr "Habilitar orden de firma"
#: packages/ui/primitives/document-flow/add-fields.tsx:795 #: packages/ui/primitives/document-flow/add-fields.tsx:802
msgid "Enable Typed Signatures" msgid "Enable Typed Signatures"
msgstr "Habilitar firmas escritas" msgstr "Habilitar firmas escritas"
@ -1020,14 +1020,14 @@ msgstr "Mensaje <0>(Opcional)</0>"
msgid "Min" msgid "Min"
msgstr "Mín" msgstr "Mín"
#: packages/ui/primitives/document-flow/add-fields.tsx:901 #: packages/ui/primitives/document-flow/add-fields.tsx:908
#: packages/ui/primitives/document-flow/add-signature.tsx:298 #: packages/ui/primitives/document-flow/add-signature.tsx:298
#: packages/ui/primitives/document-flow/add-signers.tsx:550 #: packages/ui/primitives/document-flow/add-signers.tsx:550
#: packages/ui/primitives/document-flow/add-signers.tsx:556 #: packages/ui/primitives/document-flow/add-signers.tsx:556
#: packages/ui/primitives/document-flow/types.ts:55 #: packages/ui/primitives/document-flow/types.ts:55
#: packages/ui/primitives/template-flow/add-template-fields.tsx:664 #: packages/ui/primitives/template-flow/add-template-fields.tsx:671
#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:498 #: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:506
#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:504 #: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:512
msgid "Name" msgid "Name"
msgstr "Nombre" msgstr "Nombre"
@ -1043,8 +1043,8 @@ msgstr "Necesita firmar"
msgid "Needs to view" msgid "Needs to view"
msgstr "Necesita ver" msgstr "Necesita ver"
#: packages/ui/primitives/document-flow/add-fields.tsx:686 #: packages/ui/primitives/document-flow/add-fields.tsx:693
#: packages/ui/primitives/template-flow/add-template-fields.tsx:504 #: packages/ui/primitives/template-flow/add-template-fields.tsx:511
msgid "No recipient matching this description was found." msgid "No recipient matching this description was found."
msgstr "No se encontró ningún destinatario que coincidiera con esta descripción." msgstr "No se encontró ningún destinatario que coincidiera con esta descripción."
@ -1052,8 +1052,8 @@ msgstr "No se encontró ningún destinatario que coincidiera con esta descripci
msgid "No recipients" msgid "No recipients"
msgstr "Sin destinatarios" msgstr "Sin destinatarios"
#: packages/ui/primitives/document-flow/add-fields.tsx:701 #: packages/ui/primitives/document-flow/add-fields.tsx:708
#: packages/ui/primitives/template-flow/add-template-fields.tsx:519 #: packages/ui/primitives/template-flow/add-template-fields.tsx:526
msgid "No recipients with this role" msgid "No recipients with this role"
msgstr "No hay destinatarios con este rol" msgstr "No hay destinatarios con este rol"
@ -1081,9 +1081,9 @@ msgstr "No se encontró valor."
msgid "None" msgid "None"
msgstr "Ninguno" msgstr "Ninguno"
#: packages/ui/primitives/document-flow/add-fields.tsx:979 #: packages/ui/primitives/document-flow/add-fields.tsx:986
#: packages/ui/primitives/document-flow/types.ts:56 #: packages/ui/primitives/document-flow/types.ts:56
#: packages/ui/primitives/template-flow/add-template-fields.tsx:742 #: packages/ui/primitives/template-flow/add-template-fields.tsx:749
msgid "Number" msgid "Number"
msgstr "Número" msgstr "Número"
@ -1175,7 +1175,7 @@ msgid "Please try again or contact our support."
msgstr "Por favor, inténtalo de nuevo o contacta a nuestro soporte." msgstr "Por favor, inténtalo de nuevo o contacta a nuestro soporte."
#: packages/ui/primitives/document-flow/types.ts:57 #: packages/ui/primitives/document-flow/types.ts:57
#: packages/ui/primitives/template-flow/add-template-fields.tsx:768 #: packages/ui/primitives/template-flow/add-template-fields.tsx:775
msgid "Radio" msgid "Radio"
msgstr "Radio" msgstr "Radio"
@ -1255,7 +1255,7 @@ msgstr "Recordatorio: Por favor {recipientActionVerb} este documento"
msgid "Reminder: Please {recipientActionVerb} your document" msgid "Reminder: Please {recipientActionVerb} your document"
msgstr "Recordatorio: Por favor {recipientActionVerb} tu documento" msgstr "Recordatorio: Por favor {recipientActionVerb} tu documento"
#: packages/ui/primitives/document-flow/add-fields.tsx:1110 #: packages/ui/primitives/document-flow/add-fields.tsx:1117
msgid "Remove" msgid "Remove"
msgstr "Eliminar" msgstr "Eliminar"
@ -1287,7 +1287,7 @@ msgstr "Filas por página"
msgid "Save" msgid "Save"
msgstr "Guardar" msgstr "Guardar"
#: packages/ui/primitives/template-flow/add-template-fields.tsx:854 #: packages/ui/primitives/template-flow/add-template-fields.tsx:861
msgid "Save Template" msgid "Save Template"
msgstr "Guardar plantilla" msgstr "Guardar plantilla"
@ -1360,7 +1360,7 @@ msgid "Share your signing experience!"
msgstr "¡Comparte tu experiencia de firma!" msgstr "¡Comparte tu experiencia de firma!"
#: packages/ui/primitives/document-flow/add-signers.tsx:709 #: packages/ui/primitives/document-flow/add-signers.tsx:709
#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:655 #: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:663
msgid "Show advanced settings" msgid "Show advanced settings"
msgstr "Mostrar configuraciones avanzadas" msgstr "Mostrar configuraciones avanzadas"
@ -1376,11 +1376,11 @@ msgstr "Firmar Documento"
msgid "Sign In" msgid "Sign In"
msgstr "Iniciar sesión" msgstr "Iniciar sesión"
#: packages/ui/primitives/document-flow/add-fields.tsx:823 #: packages/ui/primitives/document-flow/add-fields.tsx:830
#: packages/ui/primitives/document-flow/add-signature.tsx:323 #: packages/ui/primitives/document-flow/add-signature.tsx:323
#: packages/ui/primitives/document-flow/field-icon.tsx:52 #: packages/ui/primitives/document-flow/field-icon.tsx:52
#: packages/ui/primitives/document-flow/types.ts:49 #: packages/ui/primitives/document-flow/types.ts:49
#: packages/ui/primitives/template-flow/add-template-fields.tsx:586 #: packages/ui/primitives/template-flow/add-template-fields.tsx:593
msgid "Signature" msgid "Signature"
msgstr "Firma" msgstr "Firma"
@ -1463,9 +1463,9 @@ msgstr "Correo electrónico del equipo eliminado para {teamName} en Documenso"
msgid "Template title" msgid "Template title"
msgstr "Título de plantilla" msgstr "Título de plantilla"
#: packages/ui/primitives/document-flow/add-fields.tsx:953 #: packages/ui/primitives/document-flow/add-fields.tsx:960
#: packages/ui/primitives/document-flow/types.ts:52 #: packages/ui/primitives/document-flow/types.ts:52
#: packages/ui/primitives/template-flow/add-template-fields.tsx:716 #: packages/ui/primitives/template-flow/add-template-fields.tsx:723
msgid "Text" msgid "Text"
msgstr "Texto" msgstr "Texto"
@ -1560,7 +1560,7 @@ msgstr "Esto se puede anular configurando los requisitos de autenticación direc
msgid "This document can not be recovered, if you would like to dispute the reason for future documents please contact support." msgid "This document can not be recovered, if you would like to dispute the reason for future documents please contact support."
msgstr "Este documento no se puede recuperar, si deseas impugnar la razón para documentos futuros, por favor contacta con el soporte." msgstr "Este documento no se puede recuperar, si deseas impugnar la razón para documentos futuros, por favor contacta con el soporte."
#: packages/ui/primitives/document-flow/add-fields.tsx:757 #: packages/ui/primitives/document-flow/add-fields.tsx:764
msgid "This document has already been sent to this recipient. You can no longer edit this recipient." msgid "This document has already been sent to this recipient. You can no longer edit this recipient."
msgstr "Este documento ya ha sido enviado a este destinatario. Ya no puede editar a este destinatario." msgstr "Este documento ya ha sido enviado a este destinatario. Ya no puede editar a este destinatario."
@ -1591,7 +1591,7 @@ msgstr "Este correo electrónico se envía al destinatario solicitando que firme
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." 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 "Este correo electrónico se enviará al destinatario que acaba de firmar el documento, si todavía hay otros destinatarios que no han firmado." msgstr "Este correo electrónico se enviará al destinatario que acaba de firmar el documento, si todavía hay otros destinatarios que no han firmado."
#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:573 #: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:581
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." 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 "Este campo no se puede modificar ni eliminar. Cuando comparta el enlace directo de esta plantilla o lo agregue a su perfil público, cualquiera que acceda podrá ingresar su nombre y correo electrónico, y completar los campos que se le hayan asignado." msgstr "Este campo no se puede modificar ni eliminar. Cuando comparta el enlace directo de esta plantilla o lo agregue a su perfil público, cualquiera que acceda podrá ingresar su nombre y correo electrónico, y completar los campos que se le hayan asignado."
@ -1599,7 +1599,7 @@ msgstr "Este campo no se puede modificar ni eliminar. Cuando comparta el enlace
msgid "This is how the document will reach the recipients once the document is ready for signing." msgid "This is how the document will reach the recipients once the document is ready for signing."
msgstr "Así es como el documento llegará a los destinatarios una vez que esté listo para firmarse." msgstr "Así es como el documento llegará a los destinatarios una vez que esté listo para firmarse."
#: packages/ui/primitives/document-flow/add-fields.tsx:1090 #: packages/ui/primitives/document-flow/add-fields.tsx:1097
msgid "This recipient can no longer be modified as they have signed a field, or completed the document." msgid "This recipient can no longer be modified as they have signed a field, or completed the document."
msgstr "Este destinatario ya no puede ser modificado ya que ha firmado un campo o completado el documento." msgstr "Este destinatario ya no puede ser modificado ya que ha firmado un campo o completado el documento."
@ -1628,8 +1628,8 @@ msgstr "Zona horaria"
msgid "Title" msgid "Title"
msgstr "Título" msgstr "Título"
#: packages/ui/primitives/document-flow/add-fields.tsx:1073 #: packages/ui/primitives/document-flow/add-fields.tsx:1080
#: packages/ui/primitives/template-flow/add-template-fields.tsx:834 #: packages/ui/primitives/template-flow/add-template-fields.tsx:841
msgid "To proceed further, please set at least one value for the {0} field." msgid "To proceed further, please set at least one value for the {0} field."
msgstr "Para continuar, por favor establezca al menos un valor para el campo {0}." msgstr "Para continuar, por favor establezca al menos un valor para el campo {0}."

View File

@ -62,7 +62,7 @@ msgstr "({0}) te ha invitado a firmar este documento"
msgid "({0}) has invited you to view this document" msgid "({0}) has invited you to view this document"
msgstr "({0}) te ha invitado a ver este documento" msgstr "({0}) te ha invitado a ver este documento"
#: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:311 #: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:313
msgid "{0, plural, one {(1 character over)} other {(# characters over)}}" msgid "{0, plural, one {(1 character over)} other {(# characters over)}}"
msgstr "{0, plural, one {(1 carácter excedido)} other {(# caracteres excedidos)}}" msgstr "{0, plural, one {(1 carácter excedido)} other {(# caracteres excedidos)}}"
@ -124,7 +124,7 @@ msgstr "{0} Destinatario(s)"
#~ msgid "{0} the document to complete the process." #~ msgid "{0} the document to complete the process."
#~ msgstr "{0} the document to complete the process." #~ msgstr "{0} the document to complete the process."
#: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:292 #: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:294
msgid "{charactersRemaining, plural, one {1 character remaining} other {{charactersRemaining} characters remaining}}" msgid "{charactersRemaining, plural, one {1 character remaining} other {{charactersRemaining} characters remaining}}"
msgstr "{charactersRemaining, plural, one {1 carácter restante} other {{charactersRemaining} caracteres restantes}}" msgstr "{charactersRemaining, plural, one {1 carácter restante} other {{charactersRemaining} caracteres restantes}}"
@ -830,11 +830,11 @@ msgstr "Al utilizar la función de firma electrónica, usted está consintiendo
#: apps/web/src/app/(signing)/sign/[token]/form.tsx:151 #: apps/web/src/app/(signing)/sign/[token]/form.tsx:151
#: apps/web/src/app/(signing)/sign/[token]/form.tsx:220 #: apps/web/src/app/(signing)/sign/[token]/form.tsx:220
#: apps/web/src/app/(signing)/sign/[token]/name-field.tsx:215 #: apps/web/src/app/(signing)/sign/[token]/name-field.tsx:215
#: apps/web/src/app/(signing)/sign/[token]/number-field.tsx:327 #: apps/web/src/app/(signing)/sign/[token]/number-field.tsx:328
#: apps/web/src/app/(signing)/sign/[token]/reject-document-dialog.tsx:153 #: apps/web/src/app/(signing)/sign/[token]/reject-document-dialog.tsx:153
#: apps/web/src/app/(signing)/sign/[token]/sign-dialog.tsx:113 #: apps/web/src/app/(signing)/sign/[token]/sign-dialog.tsx:113
#: apps/web/src/app/(signing)/sign/[token]/signature-field.tsx:248 #: apps/web/src/app/(signing)/sign/[token]/signature-field.tsx:248
#: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:333 #: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:335
#: apps/web/src/app/(teams)/t/[teamUrl]/settings/team-transfer-status.tsx:121 #: apps/web/src/app/(teams)/t/[teamUrl]/settings/team-transfer-status.tsx:121
#: apps/web/src/components/(dashboard)/settings/token/delete-token-dialog.tsx:176 #: apps/web/src/components/(dashboard)/settings/token/delete-token-dialog.tsx:176
#: apps/web/src/components/(dashboard)/settings/webhooks/create-webhook-dialog.tsx:242 #: apps/web/src/components/(dashboard)/settings/webhooks/create-webhook-dialog.tsx:242
@ -1793,7 +1793,7 @@ msgstr "Ingresa tu dirección de correo electrónico para recibir el documento c
msgid "Enter your name" msgid "Enter your name"
msgstr "Ingresa tu nombre" msgstr "Ingresa tu nombre"
#: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:278 #: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:280
msgid "Enter your text here" msgid "Enter your text here"
msgstr "Ingresa tu texto aquí" msgstr "Ingresa tu texto aquí"
@ -2481,7 +2481,7 @@ msgstr "No soportado"
msgid "Nothing to do" msgid "Nothing to do"
msgstr "Nada que hacer" msgstr "Nada que hacer"
#: apps/web/src/app/(signing)/sign/[token]/number-field.tsx:270 #: apps/web/src/app/(signing)/sign/[token]/number-field.tsx:271
msgid "Number" msgid "Number"
msgstr "Número" msgstr "Número"
@ -3044,8 +3044,8 @@ msgid "Roles"
msgstr "Roles" msgstr "Roles"
#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:446 #: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:446
#: apps/web/src/app/(signing)/sign/[token]/number-field.tsx:336 #: apps/web/src/app/(signing)/sign/[token]/number-field.tsx:337
#: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:342 #: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:344
#: apps/web/src/app/(teams)/t/[teamUrl]/settings/preferences/branding-preferences.tsx:312 #: apps/web/src/app/(teams)/t/[teamUrl]/settings/preferences/branding-preferences.tsx:312
#: apps/web/src/app/(teams)/t/[teamUrl]/settings/preferences/document-preferences.tsx:232 #: apps/web/src/app/(teams)/t/[teamUrl]/settings/preferences/document-preferences.tsx:232
msgid "Save" msgid "Save"
@ -3665,8 +3665,8 @@ msgstr "Plantillas"
msgid "Templates allow you to quickly generate documents with pre-filled recipients and fields." msgid "Templates allow you to quickly generate documents with pre-filled recipients and fields."
msgstr "Las plantillas te permiten generar documentos rápidamente con destinatarios y campos prellenados." msgstr "Las plantillas te permiten generar documentos rápidamente con destinatarios y campos prellenados."
#: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:256 #: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:257
#: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:272 #: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:274
msgid "Text" msgid "Text"
msgstr "Texto" msgstr "Texto"

View File

@ -414,11 +414,11 @@ msgstr "Ajouter une autre valeur"
msgid "Add myself" msgid "Add myself"
msgstr "Ajoutez-moi" msgstr "Ajoutez-moi"
#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:637 #: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:645
msgid "Add Myself" msgid "Add Myself"
msgstr "Ajoutez-moi" msgstr "Ajoutez-moi"
#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:623 #: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:631
msgid "Add Placeholder Recipient" msgid "Add Placeholder Recipient"
msgstr "Ajouter un destinataire de substitution" msgstr "Ajouter un destinataire de substitution"
@ -443,8 +443,8 @@ msgstr "Administrateur"
msgid "Advanced Options" msgid "Advanced Options"
msgstr "Options avancées" msgstr "Options avancées"
#: packages/ui/primitives/document-flow/add-fields.tsx:573 #: packages/ui/primitives/document-flow/add-fields.tsx:576
#: packages/ui/primitives/template-flow/add-template-fields.tsx:406 #: packages/ui/primitives/template-flow/add-template-fields.tsx:409
msgid "Advanced settings" msgid "Advanced settings"
msgstr "Paramètres avancés" msgstr "Paramètres avancés"
@ -589,8 +589,8 @@ msgstr "Document Terminé"
msgid "Configure Direct Recipient" msgid "Configure Direct Recipient"
msgstr "Configurer le destinataire direct" msgstr "Configurer le destinataire direct"
#: packages/ui/primitives/document-flow/add-fields.tsx:574 #: packages/ui/primitives/document-flow/add-fields.tsx:577
#: packages/ui/primitives/template-flow/add-template-fields.tsx:407 #: packages/ui/primitives/template-flow/add-template-fields.tsx:410
msgid "Configure the {0} field" msgid "Configure the {0} field"
msgstr "Configurer le champ {0}" msgstr "Configurer le champ {0}"
@ -651,9 +651,9 @@ msgstr "Créer un compte"
msgid "Custom Text" msgid "Custom Text"
msgstr "Texte personnalisé" msgstr "Texte personnalisé"
#: packages/ui/primitives/document-flow/add-fields.tsx:927 #: packages/ui/primitives/document-flow/add-fields.tsx:934
#: packages/ui/primitives/document-flow/types.ts:53 #: packages/ui/primitives/document-flow/types.ts:53
#: packages/ui/primitives/template-flow/add-template-fields.tsx:690 #: packages/ui/primitives/template-flow/add-template-fields.tsx:697
msgid "Date" msgid "Date"
msgstr "Date" msgstr "Date"
@ -670,7 +670,7 @@ msgstr "Décliner"
msgid "Didn't request a password change? We are here to help you secure your account, just <0>contact us.</0>" msgid "Didn't request a password change? We are here to help you secure your account, just <0>contact us.</0>"
msgstr "Vous n'avez pas demandé de changement de mot de passe ? Nous sommes ici pour vous aider à sécuriser votre compte, il suffit de <0>nous contacter.</0>" msgstr "Vous n'avez pas demandé de changement de mot de passe ? Nous sommes ici pour vous aider à sécuriser votre compte, il suffit de <0>nous contacter.</0>"
#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:570 #: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:578
msgid "Direct link receiver" msgid "Direct link receiver"
msgstr "Receveur de lien direct" msgstr "Receveur de lien direct"
@ -792,8 +792,8 @@ msgstr "Brouillon"
msgid "Drag & drop your PDF here." msgid "Drag & drop your PDF here."
msgstr "Faites glisser et déposez votre PDF ici." msgstr "Faites glisser et déposez votre PDF ici."
#: packages/ui/primitives/document-flow/add-fields.tsx:1058 #: packages/ui/primitives/document-flow/add-fields.tsx:1065
#: packages/ui/primitives/template-flow/add-template-fields.tsx:820 #: packages/ui/primitives/template-flow/add-template-fields.tsx:827
msgid "Dropdown" msgid "Dropdown"
msgstr "Liste déroulante" msgstr "Liste déroulante"
@ -802,14 +802,14 @@ msgid "Dropdown options"
msgstr "Options de liste déroulante" msgstr "Options de liste déroulante"
#: packages/lib/constants/document.ts:28 #: packages/lib/constants/document.ts:28
#: packages/ui/primitives/document-flow/add-fields.tsx:875 #: packages/ui/primitives/document-flow/add-fields.tsx:882
#: packages/ui/primitives/document-flow/add-signature.tsx:272 #: packages/ui/primitives/document-flow/add-signature.tsx:272
#: packages/ui/primitives/document-flow/add-signers.tsx:512 #: packages/ui/primitives/document-flow/add-signers.tsx:512
#: packages/ui/primitives/document-flow/add-signers.tsx:519 #: packages/ui/primitives/document-flow/add-signers.tsx:519
#: packages/ui/primitives/document-flow/types.ts:54 #: packages/ui/primitives/document-flow/types.ts:54
#: packages/ui/primitives/template-flow/add-template-fields.tsx:638 #: packages/ui/primitives/template-flow/add-template-fields.tsx:645
#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:463 #: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:471
#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:470 #: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:478
msgid "Email" msgid "Email"
msgstr "Email" msgstr "Email"
@ -829,7 +829,7 @@ msgstr "Email renvoyé"
msgid "Email sent" msgid "Email sent"
msgstr "Email envoyé" msgstr "Email envoyé"
#: packages/ui/primitives/document-flow/add-fields.tsx:1123 #: packages/ui/primitives/document-flow/add-fields.tsx:1130
msgid "Empty field" msgid "Empty field"
msgstr "Champ vide" msgstr "Champ vide"
@ -838,11 +838,11 @@ msgid "Enable Direct Link Signing"
msgstr "Activer la signature de lien direct" msgstr "Activer la signature de lien direct"
#: packages/ui/primitives/document-flow/add-signers.tsx:401 #: packages/ui/primitives/document-flow/add-signers.tsx:401
#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:362 #: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:370
msgid "Enable signing order" msgid "Enable signing order"
msgstr "Activer l'ordre de signature" msgstr "Activer l'ordre de signature"
#: packages/ui/primitives/document-flow/add-fields.tsx:795 #: packages/ui/primitives/document-flow/add-fields.tsx:802
msgid "Enable Typed Signatures" msgid "Enable Typed Signatures"
msgstr "Activer les signatures tapées" msgstr "Activer les signatures tapées"
@ -1020,14 +1020,14 @@ msgstr "Message <0>(Optionnel)</0>"
msgid "Min" msgid "Min"
msgstr "Min" msgstr "Min"
#: packages/ui/primitives/document-flow/add-fields.tsx:901 #: packages/ui/primitives/document-flow/add-fields.tsx:908
#: packages/ui/primitives/document-flow/add-signature.tsx:298 #: packages/ui/primitives/document-flow/add-signature.tsx:298
#: packages/ui/primitives/document-flow/add-signers.tsx:550 #: packages/ui/primitives/document-flow/add-signers.tsx:550
#: packages/ui/primitives/document-flow/add-signers.tsx:556 #: packages/ui/primitives/document-flow/add-signers.tsx:556
#: packages/ui/primitives/document-flow/types.ts:55 #: packages/ui/primitives/document-flow/types.ts:55
#: packages/ui/primitives/template-flow/add-template-fields.tsx:664 #: packages/ui/primitives/template-flow/add-template-fields.tsx:671
#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:498 #: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:506
#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:504 #: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:512
msgid "Name" msgid "Name"
msgstr "Nom" msgstr "Nom"
@ -1043,8 +1043,8 @@ msgstr "Nécessite une signature"
msgid "Needs to view" msgid "Needs to view"
msgstr "Nécessite une visualisation" msgstr "Nécessite une visualisation"
#: packages/ui/primitives/document-flow/add-fields.tsx:686 #: packages/ui/primitives/document-flow/add-fields.tsx:693
#: packages/ui/primitives/template-flow/add-template-fields.tsx:504 #: packages/ui/primitives/template-flow/add-template-fields.tsx:511
msgid "No recipient matching this description was found." msgid "No recipient matching this description was found."
msgstr "Aucun destinataire correspondant à cette description n'a été trouvé." msgstr "Aucun destinataire correspondant à cette description n'a été trouvé."
@ -1052,8 +1052,8 @@ msgstr "Aucun destinataire correspondant à cette description n'a été trouvé.
msgid "No recipients" msgid "No recipients"
msgstr "Aucun destinataire" msgstr "Aucun destinataire"
#: packages/ui/primitives/document-flow/add-fields.tsx:701 #: packages/ui/primitives/document-flow/add-fields.tsx:708
#: packages/ui/primitives/template-flow/add-template-fields.tsx:519 #: packages/ui/primitives/template-flow/add-template-fields.tsx:526
msgid "No recipients with this role" msgid "No recipients with this role"
msgstr "Aucun destinataire avec ce rôle" msgstr "Aucun destinataire avec ce rôle"
@ -1081,9 +1081,9 @@ msgstr "Aucune valeur trouvée."
msgid "None" msgid "None"
msgstr "Aucun" msgstr "Aucun"
#: packages/ui/primitives/document-flow/add-fields.tsx:979 #: packages/ui/primitives/document-flow/add-fields.tsx:986
#: packages/ui/primitives/document-flow/types.ts:56 #: packages/ui/primitives/document-flow/types.ts:56
#: packages/ui/primitives/template-flow/add-template-fields.tsx:742 #: packages/ui/primitives/template-flow/add-template-fields.tsx:749
msgid "Number" msgid "Number"
msgstr "Numéro" msgstr "Numéro"
@ -1175,7 +1175,7 @@ msgid "Please try again or contact our support."
msgstr "Veuillez réessayer ou contacter notre support." msgstr "Veuillez réessayer ou contacter notre support."
#: packages/ui/primitives/document-flow/types.ts:57 #: packages/ui/primitives/document-flow/types.ts:57
#: packages/ui/primitives/template-flow/add-template-fields.tsx:768 #: packages/ui/primitives/template-flow/add-template-fields.tsx:775
msgid "Radio" msgid "Radio"
msgstr "Radio" msgstr "Radio"
@ -1255,7 +1255,7 @@ msgstr "Rappel : Veuillez {recipientActionVerb} ce document"
msgid "Reminder: Please {recipientActionVerb} your document" msgid "Reminder: Please {recipientActionVerb} your document"
msgstr "Rappel : Veuillez {recipientActionVerb} votre document" msgstr "Rappel : Veuillez {recipientActionVerb} votre document"
#: packages/ui/primitives/document-flow/add-fields.tsx:1110 #: packages/ui/primitives/document-flow/add-fields.tsx:1117
msgid "Remove" msgid "Remove"
msgstr "Retirer" msgstr "Retirer"
@ -1287,7 +1287,7 @@ msgstr "Lignes par page"
msgid "Save" msgid "Save"
msgstr "Sauvegarder" msgstr "Sauvegarder"
#: packages/ui/primitives/template-flow/add-template-fields.tsx:854 #: packages/ui/primitives/template-flow/add-template-fields.tsx:861
msgid "Save Template" msgid "Save Template"
msgstr "Sauvegarder le modèle" msgstr "Sauvegarder le modèle"
@ -1360,7 +1360,7 @@ msgid "Share your signing experience!"
msgstr "Partagez votre expérience de signature !" msgstr "Partagez votre expérience de signature !"
#: packages/ui/primitives/document-flow/add-signers.tsx:709 #: packages/ui/primitives/document-flow/add-signers.tsx:709
#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:655 #: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:663
msgid "Show advanced settings" msgid "Show advanced settings"
msgstr "Afficher les paramètres avancés" msgstr "Afficher les paramètres avancés"
@ -1376,11 +1376,11 @@ msgstr "Signer le document"
msgid "Sign In" msgid "Sign In"
msgstr "Se connecter" msgstr "Se connecter"
#: packages/ui/primitives/document-flow/add-fields.tsx:823 #: packages/ui/primitives/document-flow/add-fields.tsx:830
#: packages/ui/primitives/document-flow/add-signature.tsx:323 #: packages/ui/primitives/document-flow/add-signature.tsx:323
#: packages/ui/primitives/document-flow/field-icon.tsx:52 #: packages/ui/primitives/document-flow/field-icon.tsx:52
#: packages/ui/primitives/document-flow/types.ts:49 #: packages/ui/primitives/document-flow/types.ts:49
#: packages/ui/primitives/template-flow/add-template-fields.tsx:586 #: packages/ui/primitives/template-flow/add-template-fields.tsx:593
msgid "Signature" msgid "Signature"
msgstr "Signature" msgstr "Signature"
@ -1463,9 +1463,9 @@ msgstr "Email d'équipe supprimé pour {teamName} sur Documenso"
msgid "Template title" msgid "Template title"
msgstr "Titre du modèle" msgstr "Titre du modèle"
#: packages/ui/primitives/document-flow/add-fields.tsx:953 #: packages/ui/primitives/document-flow/add-fields.tsx:960
#: packages/ui/primitives/document-flow/types.ts:52 #: packages/ui/primitives/document-flow/types.ts:52
#: packages/ui/primitives/template-flow/add-template-fields.tsx:716 #: packages/ui/primitives/template-flow/add-template-fields.tsx:723
msgid "Text" msgid "Text"
msgstr "Texte" msgstr "Texte"
@ -1560,7 +1560,7 @@ msgstr "Cela peut être remplacé par le paramétrage direct des exigences d'aut
msgid "This document can not be recovered, if you would like to dispute the reason for future documents please contact support." msgid "This document can not be recovered, if you would like to dispute the reason for future documents please contact support."
msgstr "Ce document ne peut pas être récupéré, si vous souhaitez contester la raison des documents futurs, veuillez contacter le support." msgstr "Ce document ne peut pas être récupéré, si vous souhaitez contester la raison des documents futurs, veuillez contacter le support."
#: packages/ui/primitives/document-flow/add-fields.tsx:757 #: packages/ui/primitives/document-flow/add-fields.tsx:764
msgid "This document has already been sent to this recipient. You can no longer edit this recipient." msgid "This document has already been sent to this recipient. You can no longer edit this recipient."
msgstr "Ce document a déjà été envoyé à ce destinataire. Vous ne pouvez plus modifier ce destinataire." msgstr "Ce document a déjà été envoyé à ce destinataire. Vous ne pouvez plus modifier ce destinataire."
@ -1591,7 +1591,7 @@ msgstr "Cet e-mail est envoyé au destinataire lui demandant de signer le docume
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." 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 "Cet e-mail sera envoyé au destinataire qui vient de signer le document, s'il y a encore d'autres destinataires qui n'ont pas signé." msgstr "Cet e-mail sera envoyé au destinataire qui vient de signer le document, s'il y a encore d'autres destinataires qui n'ont pas signé."
#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:573 #: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:581
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." 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 "Ce champ ne peut pas être modifié ou supprimé. Lorsque vous partagez le lien direct de ce modèle ou l'ajoutez à votre profil public, toute personne qui y accède peut saisir son nom et son email, et remplir les champs qui lui sont attribués." msgstr "Ce champ ne peut pas être modifié ou supprimé. Lorsque vous partagez le lien direct de ce modèle ou l'ajoutez à votre profil public, toute personne qui y accède peut saisir son nom et son email, et remplir les champs qui lui sont attribués."
@ -1599,7 +1599,7 @@ msgstr "Ce champ ne peut pas être modifié ou supprimé. Lorsque vous partagez
msgid "This is how the document will reach the recipients once the document is ready for signing." msgid "This is how the document will reach the recipients once the document is ready for signing."
msgstr "Voici comment le document atteindra les destinataires une fois qu'il sera prêt à être signé." msgstr "Voici comment le document atteindra les destinataires une fois qu'il sera prêt à être signé."
#: packages/ui/primitives/document-flow/add-fields.tsx:1090 #: packages/ui/primitives/document-flow/add-fields.tsx:1097
msgid "This recipient can no longer be modified as they have signed a field, or completed the document." msgid "This recipient can no longer be modified as they have signed a field, or completed the document."
msgstr "Ce destinataire ne peut plus être modifié car il a signé un champ ou complété le document." msgstr "Ce destinataire ne peut plus être modifié car il a signé un champ ou complété le document."
@ -1628,8 +1628,8 @@ msgstr "Fuseau horaire"
msgid "Title" msgid "Title"
msgstr "Titre" msgstr "Titre"
#: packages/ui/primitives/document-flow/add-fields.tsx:1073 #: packages/ui/primitives/document-flow/add-fields.tsx:1080
#: packages/ui/primitives/template-flow/add-template-fields.tsx:834 #: packages/ui/primitives/template-flow/add-template-fields.tsx:841
msgid "To proceed further, please set at least one value for the {0} field." msgid "To proceed further, please set at least one value for the {0} field."
msgstr "Pour continuer, veuillez définir au moins une valeur pour le champ {0}." msgstr "Pour continuer, veuillez définir au moins une valeur pour le champ {0}."

View File

@ -62,7 +62,7 @@ msgstr "({0}) vous a invité à signer ce document"
msgid "({0}) has invited you to view this document" msgid "({0}) has invited you to view this document"
msgstr "({0}) vous a invité à consulter ce document" msgstr "({0}) vous a invité à consulter ce document"
#: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:311 #: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:313
msgid "{0, plural, one {(1 character over)} other {(# characters over)}}" msgid "{0, plural, one {(1 character over)} other {(# characters over)}}"
msgstr "{0, plural, one {(1 caractère de trop)} other {(# caractères de trop)}}" msgstr "{0, plural, one {(1 caractère de trop)} other {(# caractères de trop)}}"
@ -124,7 +124,7 @@ msgstr "{0} Destinataire(s)"
#~ msgid "{0} the document to complete the process." #~ msgid "{0} the document to complete the process."
#~ msgstr "{0} the document to complete the process." #~ msgstr "{0} the document to complete the process."
#: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:292 #: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:294
msgid "{charactersRemaining, plural, one {1 character remaining} other {{charactersRemaining} characters remaining}}" msgid "{charactersRemaining, plural, one {1 character remaining} other {{charactersRemaining} characters remaining}}"
msgstr "{charactersRemaining, plural, one {1 caractère restant} other {{charactersRemaining} caractères restants}}" msgstr "{charactersRemaining, plural, one {1 caractère restant} other {{charactersRemaining} caractères restants}}"
@ -830,11 +830,11 @@ msgstr "En utilisant la fonctionnalité de signature électronique, vous consent
#: apps/web/src/app/(signing)/sign/[token]/form.tsx:151 #: apps/web/src/app/(signing)/sign/[token]/form.tsx:151
#: apps/web/src/app/(signing)/sign/[token]/form.tsx:220 #: apps/web/src/app/(signing)/sign/[token]/form.tsx:220
#: apps/web/src/app/(signing)/sign/[token]/name-field.tsx:215 #: apps/web/src/app/(signing)/sign/[token]/name-field.tsx:215
#: apps/web/src/app/(signing)/sign/[token]/number-field.tsx:327 #: apps/web/src/app/(signing)/sign/[token]/number-field.tsx:328
#: apps/web/src/app/(signing)/sign/[token]/reject-document-dialog.tsx:153 #: apps/web/src/app/(signing)/sign/[token]/reject-document-dialog.tsx:153
#: apps/web/src/app/(signing)/sign/[token]/sign-dialog.tsx:113 #: apps/web/src/app/(signing)/sign/[token]/sign-dialog.tsx:113
#: apps/web/src/app/(signing)/sign/[token]/signature-field.tsx:248 #: apps/web/src/app/(signing)/sign/[token]/signature-field.tsx:248
#: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:333 #: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:335
#: apps/web/src/app/(teams)/t/[teamUrl]/settings/team-transfer-status.tsx:121 #: apps/web/src/app/(teams)/t/[teamUrl]/settings/team-transfer-status.tsx:121
#: apps/web/src/components/(dashboard)/settings/token/delete-token-dialog.tsx:176 #: apps/web/src/components/(dashboard)/settings/token/delete-token-dialog.tsx:176
#: apps/web/src/components/(dashboard)/settings/webhooks/create-webhook-dialog.tsx:242 #: apps/web/src/components/(dashboard)/settings/webhooks/create-webhook-dialog.tsx:242
@ -1793,7 +1793,7 @@ msgstr "Entrez votre adresse e-mail pour recevoir le document complété."
msgid "Enter your name" msgid "Enter your name"
msgstr "Entrez votre nom" msgstr "Entrez votre nom"
#: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:278 #: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:280
msgid "Enter your text here" msgid "Enter your text here"
msgstr "Entrez votre texte ici" msgstr "Entrez votre texte ici"
@ -2481,7 +2481,7 @@ msgstr "Non pris en charge"
msgid "Nothing to do" msgid "Nothing to do"
msgstr "Rien à faire" msgstr "Rien à faire"
#: apps/web/src/app/(signing)/sign/[token]/number-field.tsx:270 #: apps/web/src/app/(signing)/sign/[token]/number-field.tsx:271
msgid "Number" msgid "Number"
msgstr "Numéro" msgstr "Numéro"
@ -3044,8 +3044,8 @@ msgid "Roles"
msgstr "Rôles" msgstr "Rôles"
#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:446 #: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:446
#: apps/web/src/app/(signing)/sign/[token]/number-field.tsx:336 #: apps/web/src/app/(signing)/sign/[token]/number-field.tsx:337
#: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:342 #: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:344
#: apps/web/src/app/(teams)/t/[teamUrl]/settings/preferences/branding-preferences.tsx:312 #: apps/web/src/app/(teams)/t/[teamUrl]/settings/preferences/branding-preferences.tsx:312
#: apps/web/src/app/(teams)/t/[teamUrl]/settings/preferences/document-preferences.tsx:232 #: apps/web/src/app/(teams)/t/[teamUrl]/settings/preferences/document-preferences.tsx:232
msgid "Save" msgid "Save"
@ -3665,8 +3665,8 @@ msgstr "Modèles"
msgid "Templates allow you to quickly generate documents with pre-filled recipients and fields." msgid "Templates allow you to quickly generate documents with pre-filled recipients and fields."
msgstr "Les modèles vous permettent de générer rapidement des documents avec des destinataires et des champs pré-remplis." msgstr "Les modèles vous permettent de générer rapidement des documents avec des destinataires et des champs pré-remplis."
#: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:256 #: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:257
#: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:272 #: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:274
msgid "Text" msgid "Text"
msgstr "Texte" msgstr "Texte"

View File

@ -139,5 +139,9 @@ module.exports = {
}, },
}, },
}, },
plugins: [require('tailwindcss-animate'), require('@tailwindcss/typography')], plugins: [
require('tailwindcss-animate'),
require('@tailwindcss/typography'),
require('@tailwindcss/container-queries'),
],
}; };

View File

@ -7,14 +7,14 @@
"clean": "rimraf node_modules" "clean": "rimraf node_modules"
}, },
"dependencies": { "dependencies": {
"@tailwindcss/container-queries": "^0.1.1",
"@tailwindcss/typography": "^0.5.9",
"autoprefixer": "^10.4.13", "autoprefixer": "^10.4.13",
"postcss": "^8.4.32", "postcss": "^8.4.32",
"tailwindcss": "3.3.2", "tailwindcss": "3.3.2",
"tailwindcss-animate": "^1.0.5" "tailwindcss-animate": "^1.0.5"
}, },
"devDependencies": { "devDependencies": {},
"@tailwindcss/typography": "^0.5.9"
},
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
} }

View File

@ -0,0 +1,157 @@
'use client';
import { useLayoutEffect, useRef } from 'react';
import { cn } from '../lib/utils';
export type Dimensions = {
height: number;
width: number;
};
export type AutoSizedTextProps = {
children: React.ReactNode;
className?: string;
maxHeight?: number;
useRem?: boolean;
};
const ITERATION_LIMIT = 20;
const MAXIMUM_DIFFERENCE = 1; // px
function getElementDimensions(element: HTMLElement): Dimensions {
const bbox = element.getBoundingClientRect();
return {
width: bbox.width,
height: bbox.height,
};
}
function getBaseFontSize(): number {
try {
const fontSize = getComputedStyle(document.documentElement).fontSize;
const parsed = parseFloat(fontSize);
// Check if we got a valid number
if (!Number.isFinite(parsed)) {
return 16;
}
return parsed;
} catch (error) {
// Fallback to browser default if anything goes wrong
return 16;
}
}
function pxToRem(px: number): number {
return px / getBaseFontSize();
}
export function AutoSizedText({
children,
className,
maxHeight,
useRem = false,
}: AutoSizedTextProps) {
const childRef = useRef<HTMLDivElement>(null);
const fontSize = useRef<number>(0);
const fontSizeLowerBound = useRef<number>(0);
const fontSizeUpperBound = useRef<number>(0);
const adjustFontSize = (childDimensions: Dimensions, parentDimensions: Dimensions) => {
const childElement = childRef.current;
if (!childElement) {
return;
}
let newFontSize: number;
const targetHeight =
maxHeight && maxHeight < parentDimensions.height ? maxHeight : parentDimensions.height;
const isElementTooBig =
childDimensions.width > parentDimensions.width || childDimensions.height > targetHeight;
if (isElementTooBig) {
// Scale down if element is bigger than target
newFontSize = (fontSizeLowerBound.current + fontSize.current) / 2;
fontSizeUpperBound.current = fontSize.current;
} else if (
childDimensions.width < parentDimensions.width ||
childDimensions.height < parentDimensions.height
) {
// Scale up if element is smaller than target
newFontSize = (fontSizeUpperBound.current + fontSize.current) / 2;
fontSizeLowerBound.current = fontSize.current;
}
fontSize.current = newFontSize;
// Convert to rem if useRem is true
const displayFontSize = useRem ? `${pxToRem(newFontSize)}rem` : `${newFontSize}px`;
childElement.style.fontSize = displayFontSize;
};
useLayoutEffect(() => {
const childElement = childRef.current;
const parentElement = childRef.current?.parentElement;
if (!childElement || !parentElement) {
return;
}
const observer = new ResizeObserver((entries) => {
const entry = entries[0];
if (!entry) {
return;
}
const parentDimensions = entry.contentRect;
// Reset iteration parameters
fontSizeLowerBound.current = 0;
fontSizeUpperBound.current = parentDimensions.height;
let iterationCount = 0;
while (iterationCount <= ITERATION_LIMIT) {
const childDimensions = getElementDimensions(childElement);
const targetHeight =
maxHeight && maxHeight < parentDimensions.height ? maxHeight : parentDimensions.height;
const widthDifference = parentDimensions.width - childDimensions.width;
const heightDifference = targetHeight - childDimensions.height;
const childFitsIntoParent = heightDifference >= 0 && widthDifference >= 0;
const isWithinTolerance =
Math.abs(widthDifference) <= MAXIMUM_DIFFERENCE ||
Math.abs(heightDifference) <= MAXIMUM_DIFFERENCE;
if (childFitsIntoParent && isWithinTolerance) {
break;
}
adjustFontSize(childDimensions, parentDimensions);
iterationCount += 1;
}
});
observer.observe(parentElement);
return () => {
observer.disconnect();
};
}, [maxHeight, useRem]);
return (
<div ref={childRef} className={cn('inline-block leading-none', className)}>
{children}
</div>
);
}

View File

@ -76,8 +76,11 @@ const fontCaveat = Caveat({
variable: '--font-caveat', variable: '--font-caveat',
}); });
const MIN_HEIGHT_PX = 20; const MIN_HEIGHT_PX = 12;
const MIN_WIDTH_PX = 80; const MIN_WIDTH_PX = 36;
const DEFAULT_HEIGHT_PX = MIN_HEIGHT_PX * 2.5;
const DEFAULT_WIDTH_PX = MIN_WIDTH_PX * 2.5;
export type FieldFormType = { export type FieldFormType = {
nativeId?: number; nativeId?: number;
@ -480,8 +483,8 @@ export const AddFieldsFormPartial = ({
} }
fieldBounds.current = { fieldBounds.current = {
height: Math.max(MIN_HEIGHT_PX), height: Math.max(DEFAULT_HEIGHT_PX),
width: Math.max(MIN_WIDTH_PX), width: Math.max(DEFAULT_WIDTH_PX),
}; };
}); });
@ -594,7 +597,7 @@ export const AddFieldsFormPartial = ({
{selectedField && ( {selectedField && (
<div <div
className={cn( className={cn(
'text-muted-foreground dark:text-muted-background pointer-events-none fixed z-50 flex cursor-pointer flex-col items-center justify-center bg-white transition duration-200', 'text-muted-foreground dark:text-muted-background pointer-events-none fixed z-50 flex cursor-pointer flex-col items-center justify-center bg-white transition duration-200 [container-type:size]',
selectedSignerStyles.default.base, selectedSignerStyles.default.base,
{ {
'-rotate-6 scale-90 opacity-50 dark:bg-black/20': !isFieldWithinBounds, '-rotate-6 scale-90 opacity-50 dark:bg-black/20': !isFieldWithinBounds,
@ -609,7 +612,9 @@ export const AddFieldsFormPartial = ({
width: fieldBounds.current.width, width: fieldBounds.current.width,
}} }}
> >
{parseMessageDescriptor(_, FRIENDLY_FIELD_TYPE[selectedField])} <span className="text-[clamp(0.425rem,25cqw,0.825rem)]">
{parseMessageDescriptor(_, FRIENDLY_FIELD_TYPE[selectedField])}
</span>
</div> </div>
)} )}
@ -630,8 +635,10 @@ export const AddFieldsFormPartial = ({
selectedSigner?.email !== field.signerEmail || selectedSigner?.email !== field.signerEmail ||
!canRecipientBeModified(selectedSigner, fields) !canRecipientBeModified(selectedSigner, fields)
} }
minHeight={fieldBounds.current.height} minHeight={MIN_HEIGHT_PX}
minWidth={fieldBounds.current.width} minWidth={MIN_WIDTH_PX}
defaultHeight={DEFAULT_HEIGHT_PX}
defaultWidth={DEFAULT_WIDTH_PX}
passive={isFieldWithinBounds && !!selectedField} passive={isFieldWithinBounds && !!selectedField}
onFocus={() => setLastActiveField(field)} onFocus={() => setLastActiveField(field)}
onBlur={() => setLastActiveField(null)} onBlur={() => setLastActiveField(null)}

View File

@ -45,7 +45,7 @@ export const FieldIcon = ({
return ( return (
<div <div
className={cn( className={cn(
'text-field-card-foreground flex items-center justify-center gap-x-1 text-[clamp(0.875rem,1.8cqw,1.2rem)]', 'text-field-card-foreground flex items-center justify-center gap-x-1 text-[clamp(0.575rem,25cqw,1.2rem)]',
fontCaveatClassName, fontCaveatClassName,
)} )}
> >
@ -71,8 +71,9 @@ export const FieldIcon = ({
} }
return ( return (
<div className="text-field-card-foreground flex items-center justify-center gap-x-1.5 text-[clamp(0.625rem,1cqw,0.825rem)]"> <div className="text-field-card-foreground flex items-center justify-center gap-x-1.5 text-[clamp(0.425rem,25cqw,0.825rem)]">
<Icon className="h-4 w-4" /> {label} <Icon className="h-[clamp(0.625rem,20cqw,0.925rem)] w-[clamp(0.625rem,20cqw,0.925rem)]" />{' '}
{label}
</div> </div>
); );
} }

View File

@ -35,6 +35,8 @@ export type FieldItemProps = {
disabled?: boolean; disabled?: boolean;
minHeight?: number; minHeight?: number;
minWidth?: number; minWidth?: number;
defaultHeight?: number;
defaultWidth?: number;
onResize?: (_node: HTMLElement) => void; onResize?: (_node: HTMLElement) => void;
onMove?: (_node: HTMLElement) => void; onMove?: (_node: HTMLElement) => void;
onRemove?: () => void; onRemove?: () => void;
@ -53,6 +55,8 @@ export const FieldItem = ({
disabled, disabled,
minHeight, minHeight,
minWidth, minWidth,
defaultHeight,
defaultWidth,
onResize, onResize,
onMove, onMove,
onRemove, onRemove,
@ -68,8 +72,8 @@ export const FieldItem = ({
const [coords, setCoords] = useState({ const [coords, setCoords] = useState({
pageX: 0, pageX: 0,
pageY: 0, pageY: 0,
pageHeight: 0, pageHeight: defaultHeight || 0,
pageWidth: 0, pageWidth: defaultWidth || 0,
}); });
const [settingsActive, setSettingsActive] = useState(false); const [settingsActive, setSettingsActive] = useState(false);
const $el = useRef(null); const $el = useRef(null);

View File

@ -44,18 +44,18 @@ export const ShowFieldItem = ({ field, recipients }: ShowFieldItemProps) => {
width: `${coords.width}px`, width: `${coords.width}px`,
}} }}
> >
<Card className={cn('bg-background h-full w-full')}> <Card className={cn('bg-background h-full w-full [container-type:size]')}>
<CardContent <CardContent
className={cn( className={cn(
'text-muted-foreground/50 flex h-full w-full flex-col items-center justify-center p-2 text-xl', 'text-muted-foreground/50 flex h-full w-full flex-col items-center justify-center p-0 text-[clamp(0.575rem,1.8cqw,1.2rem)] leading-none',
field.type === FieldType.SIGNATURE && fontCaveat.className, field.type === FieldType.SIGNATURE && fontCaveat.className,
)} )}
> >
{parseMessageDescriptor(_, FRIENDLY_FIELD_TYPE[field.type])} {parseMessageDescriptor(_, FRIENDLY_FIELD_TYPE[field.type])}
<p className="text-muted-foreground/50 w-full truncate text-center text-xs"> {/* <p className="text-muted-foreground/50 w-full truncate text-center text-xs">
{signerEmail} {signerEmail}
</p> </p> */}
</CardContent> </CardContent>
</Card> </Card>
</div>, </div>,

View File

@ -67,8 +67,11 @@ const fontCaveat = Caveat({
variable: '--font-caveat', variable: '--font-caveat',
}); });
const MIN_HEIGHT_PX = 20; const MIN_HEIGHT_PX = 12;
const MIN_WIDTH_PX = 80; const MIN_WIDTH_PX = 36;
const DEFAULT_HEIGHT_PX = MIN_HEIGHT_PX * 2.5;
const DEFAULT_WIDTH_PX = MIN_WIDTH_PX * 2.5;
export type AddTemplateFieldsFormProps = { export type AddTemplateFieldsFormProps = {
documentFlow: DocumentFlowStep; documentFlow: DocumentFlowStep;
@ -354,8 +357,8 @@ export const AddTemplateFieldsFormPartial = ({
} }
fieldBounds.current = { fieldBounds.current = {
height: Math.max(MIN_HEIGHT_PX), height: Math.max(DEFAULT_HEIGHT_PX),
width: Math.max(MIN_WIDTH_PX), width: Math.max(DEFAULT_WIDTH_PX),
}; };
}); });
@ -425,7 +428,7 @@ export const AddTemplateFieldsFormPartial = ({
{selectedField && ( {selectedField && (
<div <div
className={cn( className={cn(
'text-muted-foreground dark:text-muted-background pointer-events-none fixed z-50 flex cursor-pointer flex-col items-center justify-center bg-white transition duration-200', 'text-muted-foreground dark:text-muted-background pointer-events-none fixed z-50 flex cursor-pointer flex-col items-center justify-center bg-white transition duration-200 [container-type:size]',
selectedSignerStyles.default.base, selectedSignerStyles.default.base,
{ {
'-rotate-6 scale-90 opacity-50 dark:bg-black/20': !isFieldWithinBounds, '-rotate-6 scale-90 opacity-50 dark:bg-black/20': !isFieldWithinBounds,
@ -439,7 +442,9 @@ export const AddTemplateFieldsFormPartial = ({
width: fieldBounds.current.width, width: fieldBounds.current.width,
}} }}
> >
{parseMessageDescriptor(_, FRIENDLY_FIELD_TYPE[selectedField])} <span className="text-[clamp(0.425rem,25cqw,0.825rem)]">
{parseMessageDescriptor(_, FRIENDLY_FIELD_TYPE[selectedField])}
</span>
</div> </div>
)} )}
@ -452,8 +457,10 @@ export const AddTemplateFieldsFormPartial = ({
recipientIndex={recipientIndex === -1 ? 0 : recipientIndex} recipientIndex={recipientIndex === -1 ? 0 : recipientIndex}
field={field} field={field}
disabled={selectedSigner?.email !== field.signerEmail} disabled={selectedSigner?.email !== field.signerEmail}
minHeight={fieldBounds.current.height} minHeight={MIN_HEIGHT_PX}
minWidth={fieldBounds.current.width} minWidth={MIN_WIDTH_PX}
defaultHeight={DEFAULT_HEIGHT_PX}
defaultWidth={DEFAULT_WIDTH_PX}
passive={isFieldWithinBounds && !!selectedField} passive={isFieldWithinBounds && !!selectedField}
onResize={(options) => onFieldResize(options, index)} onResize={(options) => onFieldResize(options, index)}
onMove={(options) => onFieldMove(options, index)} onMove={(options) => onFieldMove(options, index)}