diff --git a/packages/lib/translations/de/common.po b/packages/lib/translations/de/common.po index 97d32a6b1..0db000905 100644 --- a/packages/lib/translations/de/common.po +++ b/packages/lib/translations/de/common.po @@ -82,19 +82,19 @@ msgstr "Weitere Option hinzufügen" msgid "Add another value" msgstr "Weiteren Wert hinzufügen" -#: packages/ui/primitives/document-flow/add-signers.tsx:455 +#: packages/ui/primitives/document-flow/add-signers.tsx:459 msgid "Add myself" msgstr "Mich selbst hinzufügen" -#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:452 +#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:450 msgid "Add Myself" msgstr "Mich hinzufügen" -#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:438 +#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:436 msgid "Add Placeholder Recipient" msgstr "Platzhalterempfänger hinzufügen" -#: packages/ui/primitives/document-flow/add-signers.tsx:444 +#: packages/ui/primitives/document-flow/add-signers.tsx:448 msgid "Add Signer" msgstr "Unterzeichner hinzufügen" @@ -230,7 +230,7 @@ msgstr "Datum" msgid "Date Format" msgstr "Datumsformat" -#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:395 +#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:393 msgid "Direct link receiver" msgstr "Empfänger des direkten Links" @@ -263,11 +263,11 @@ msgstr "Dropdown-Optionen" #: packages/ui/primitives/document-flow/add-fields.tsx:776 #: packages/ui/primitives/document-flow/add-signature.tsx:272 -#: packages/ui/primitives/document-flow/add-signers.tsx:326 -#: packages/ui/primitives/document-flow/add-signers.tsx:333 +#: packages/ui/primitives/document-flow/add-signers.tsx:330 +#: packages/ui/primitives/document-flow/add-signers.tsx:337 #: packages/ui/primitives/template-flow/add-template-fields.tsx:632 -#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:298 -#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:305 +#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:296 +#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:303 msgid "Email" msgstr "E-Mail" @@ -378,10 +378,10 @@ msgstr "Min" #: packages/ui/primitives/document-flow/add-fields.tsx:802 #: packages/ui/primitives/document-flow/add-signature.tsx:298 -#: packages/ui/primitives/document-flow/add-signers.tsx:360 +#: packages/ui/primitives/document-flow/add-signers.tsx:364 #: packages/ui/primitives/template-flow/add-template-fields.tsx:658 -#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:329 -#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:335 +#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:327 +#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:333 msgid "Name" msgstr "Name" @@ -560,8 +560,8 @@ msgstr "Unterschriftenkarte teilen" msgid "Share the Link" msgstr "Link teilen" -#: packages/ui/primitives/document-flow/add-signers.tsx:473 -#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:470 +#: packages/ui/primitives/document-flow/add-signers.tsx:477 +#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:468 msgid "Show advanced settings" msgstr "Erweiterte Einstellungen anzeigen" @@ -686,7 +686,7 @@ msgstr "Dieses Dokument wurde bereits an diesen Empfänger gesendet. Sie können msgid "This document is password protected. Please enter the password to view the document." msgstr "Dieses Dokument ist durch ein Passwort geschützt. Bitte geben Sie das Passwort ein, um das Dokument anzusehen." -#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:398 +#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:396 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." diff --git a/packages/lib/translations/en/common.po b/packages/lib/translations/en/common.po index 5a5551581..f40ebdd15 100644 --- a/packages/lib/translations/en/common.po +++ b/packages/lib/translations/en/common.po @@ -77,19 +77,19 @@ msgstr "Add another option" msgid "Add another value" msgstr "Add another value" -#: packages/ui/primitives/document-flow/add-signers.tsx:455 +#: packages/ui/primitives/document-flow/add-signers.tsx:459 msgid "Add myself" msgstr "Add myself" -#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:452 +#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:450 msgid "Add Myself" msgstr "Add Myself" -#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:438 +#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:436 msgid "Add Placeholder Recipient" msgstr "Add Placeholder Recipient" -#: packages/ui/primitives/document-flow/add-signers.tsx:444 +#: packages/ui/primitives/document-flow/add-signers.tsx:448 msgid "Add Signer" msgstr "Add Signer" @@ -225,7 +225,7 @@ msgstr "Date" msgid "Date Format" msgstr "Date Format" -#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:395 +#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:393 msgid "Direct link receiver" msgstr "Direct link receiver" @@ -258,11 +258,11 @@ msgstr "Dropdown options" #: packages/ui/primitives/document-flow/add-fields.tsx:776 #: packages/ui/primitives/document-flow/add-signature.tsx:272 -#: packages/ui/primitives/document-flow/add-signers.tsx:326 -#: packages/ui/primitives/document-flow/add-signers.tsx:333 +#: packages/ui/primitives/document-flow/add-signers.tsx:330 +#: packages/ui/primitives/document-flow/add-signers.tsx:337 #: packages/ui/primitives/template-flow/add-template-fields.tsx:632 -#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:298 -#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:305 +#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:296 +#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:303 msgid "Email" msgstr "Email" @@ -373,10 +373,10 @@ msgstr "Min" #: packages/ui/primitives/document-flow/add-fields.tsx:802 #: packages/ui/primitives/document-flow/add-signature.tsx:298 -#: packages/ui/primitives/document-flow/add-signers.tsx:360 +#: packages/ui/primitives/document-flow/add-signers.tsx:364 #: packages/ui/primitives/template-flow/add-template-fields.tsx:658 -#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:329 -#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:335 +#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:327 +#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:333 msgid "Name" msgstr "Name" @@ -555,8 +555,8 @@ msgstr "Share Signature Card" msgid "Share the Link" msgstr "Share the Link" -#: packages/ui/primitives/document-flow/add-signers.tsx:473 -#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:470 +#: packages/ui/primitives/document-flow/add-signers.tsx:477 +#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:468 msgid "Show advanced settings" msgstr "Show advanced settings" @@ -681,7 +681,7 @@ msgstr "This document has already been sent to this recipient. You can no longer msgid "This document is password protected. Please enter the password to view the document." msgstr "This document is password protected. Please enter the password to view the document." -#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:398 +#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:396 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." diff --git a/packages/ui/primitives/document-flow/add-signers.tsx b/packages/ui/primitives/document-flow/add-signers.tsx index 8b537a0aa..bef7fb09b 100644 --- a/packages/ui/primitives/document-flow/add-signers.tsx +++ b/packages/ui/primitives/document-flow/add-signers.tsx @@ -199,7 +199,11 @@ export const AddSignersFormPartial = ({ }); }; - /* TODO: Add self-signer to db on blur */ + /* + The self-signer is automatically saved on blur + since the email input is focused after adding the self-signer. + When the user clicks outside the input, the self-signer is saved in the db. + */ const onAddSelfSigner = () => { if (emptySignerIndex !== -1) { setValue(`signers.${emptySignerIndex}.name`, user?.name ?? ''); diff --git a/packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx b/packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx index 266cd54cd..63e4d035b 100644 --- a/packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx +++ b/packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx @@ -213,8 +213,6 @@ export const AddTemplatePlaceholderRecipientsFormPartial = ({ try { const currentSigner = form.getValues(`signers.${index}`); - console.log('currentSigner', currentSigner); - if (!currentSigner.email) { return; }