Skip to content

🔥 The free & Open Source DocuSign alternative

refactor code

RaktimaNXG2a1d7d2502a6
diff --git a/apps/OpenSign/public/locales/en/translation.json b/apps/OpenSign/public/locales/en/translation.json
index 16e7cc046..4520b849e 100644
--- a/apps/OpenSign/public/locales/en/translation.json
+++ b/apps/OpenSign/public/locales/en/translation.json
@@ -292,7 +292,7 @@
"subject": "Subject",
"body": "Body",
"add-contact": "Add Contact",
- "add-signer-alert": "Contact already exist!",
+ "add-signer-alert": "Contact already exist! Please select it from ‘Signers’ dropdown",
"record-delete-alert": "Record deleted successfully!",
"record-revoke-alert": "Record revoked successfully!",
"mail-sent-alert": "Mail sent successfully.",
@@ -680,12 +680,13 @@
"p3":"Tip: If your signers are familiar with OpenSign and frequently use it, you may want to disable the guided tour for a more seamless experience. Choose the option that best fits your document signing needs."
},
"form-title-1":"Document Flow Setting",
- "form-title-2":"Security Setting",
+ "form-title-2":"Security Settings",
"public-tour-message":"The template needs to be public before you can generate a shareable link.",
"add-user-template": "You need to add a role before you can add fields for it.",
"pdf-uncompatible": "This pdf is not compatible with opensign, please contact <[email protected]>",
"text-field-tour":"Fields of type 'Text' must be filled in advance before the document is sent. If you need the signers to provide input, use the 'Text Input' field instead.",
"attach-signer-tour":"You need to attach a Signer to every role. You can do that by clicking this icon. Once you select a Signer it will be attached to all the fields associated with that role which appear in the same colour.",
"allowed-signature-types": "Allowed signature types",
- "at-least-one-signature-type": "At least one signature type should be enabled."
+ "at-least-one-signature-type": "At least one signature type should be enabled.",
+ "add-signer-note" :"Note - This contact will be added to your contact list"
}
diff --git a/apps/OpenSign/public/locales/es/translation.json b/apps/OpenSign/public/locales/es/translation.json
index 743baaddd..1ded4d17d 100644
--- a/apps/OpenSign/public/locales/es/translation.json
+++ b/apps/OpenSign/public/locales/es/translation.json
@@ -292,7 +292,7 @@
"subject": "Asunto",
"body": "Cuerpo",
"add-contact": "Agregar contacto",
- "add-signer-alert": "¡El contacto ya existe!",
+ "add-signer-alert": "¡El contacto ya existe! Selecciónelo en el menú desplegable 'Firmantes'",
"record-delete-alert": "¡Entrada eliminada exitosamente!",
"record-revoke-alert": "¡Entrada revocada exitosamente!",
"mail-sent-alert": "Correo enviado exitosamente.",
@@ -687,5 +687,6 @@
"text-field-tour":"Los campos de tipo 'Texto' deben completarse con anticipación antes de enviar el documento. Si necesita que los firmantes proporcionen información, utilice el campo 'Entrada de texto'",
"attach-signer-tour" :"Debe adjuntar un firmante a cada función. Puede hacerlo haciendo clic en este icono. Una vez que seleccione un Firmante, se adjuntará a todos los campos asociados con ese rol que aparecen en el mismo color.",
"allowed-signature-types": "Tipos de firma permitidos",
- "at-least-one-signature-type": "Se debe habilitar al menos un tipo de firma."
+ "at-least-one-signature-type": "Se debe habilitar al menos un tipo de firma.",
+ "add-signer-note" :"Nota - Este contacto se agregará a su lista de contactos"
}
diff --git a/apps/OpenSign/public/locales/fr/translation.json b/apps/OpenSign/public/locales/fr/translation.json
index 5595b02d1..d458009cc 100644
--- a/apps/OpenSign/public/locales/fr/translation.json
+++ b/apps/OpenSign/public/locales/fr/translation.json
@@ -291,7 +291,7 @@
"subject": "Sujet",
"body": "Corps",
"add-contact": "Ajouter le contact",
- "add-signer-alert": "Le contact existe déjà !",
+ "add-signer-alert": "Le contact existe déjà ! Veuillez le sélectionner dans la liste déroulante 'Signataires'",
"record-delete-alert": "Enregistrement supprimé avec succès !",
"record-revoke-alert": " Enregistrement révoqué avec succès ! ",
"mail-sent-alert": "Courriel envoyé avec succès.",
@@ -686,5 +686,6 @@
"text-field-tour" :"Les champs de type 'Texte' doivent être remplis à l'avance avant l'envoi du document. Si vous avez besoin que les signataires fournissent des informations, utilisez plutôt le champ 'Saisie de texte'.",
"attach-signer-tour" :"Vous devez associer un signataire à chaque rôle. Vous pouvez le faire en cliquant sur cette icône. Une fois que vous avez sélectionné un signataire, il sera attaché à tous les champs associés à ce rôle qui apparaissent dans la même couleur.",
"allowed-signature-types": "Types de signature autorisés",
- "at-least-one-signature-type": "Au moins un type de signature doit être activé."
+ "at-least-one-signature-type": "Au moins un type de signature doit être activé.",
+ "add-signer-note": "Remarque - Ce contact sera ajouté à votre liste de contacts"
}
diff --git a/apps/OpenSign/src/components/AddSigner.js b/apps/OpenSign/src/components/AddSigner.js
index a9f9af701..4f874669d 100644
--- a/apps/OpenSign/src/components/AddSigner.js
+++ b/apps/OpenSign/src/components/AddSigner.js
@@ -206,6 +206,7 @@ const AddSigner = (props) => {
</div>
)}
<div className="w-full mx-auto p-2 text-base-content">
+ <p className="mb-3">{t("add-signer-note")}</p>
{isUserExist && (
<div className="mb-3 flex items-center">
<input
diff --git a/apps/OpenSign/src/primitives/GetReportDisplay.js b/apps/OpenSign/src/primitives/GetReportDisplay.js
index 0e8da6f92..574e05f43 100644
--- a/apps/OpenSign/src/primitives/GetReportDisplay.js
+++ b/apps/OpenSign/src/primitives/GetReportDisplay.js
@@ -1539,13 +1539,13 @@ const ReportTable = (props) => {
}
className="op-btn op-btn-primary"
>
- {t("submit")}
+ {t("yes")}
</button>
<button
onClick={() => handleClose(item)}
className="op-btn op-btn-secondary"
>
- {t("cancel")}
+ {t("no")}
</button>
</div>
</div>
diff --git a/apps/OpenSign/src/script/locales/en/translation.json b/apps/OpenSign/src/script/locales/en/translation.json
index a59dcf198..fd81924bc 100644
--- a/apps/OpenSign/src/script/locales/en/translation.json
+++ b/apps/OpenSign/src/script/locales/en/translation.json
@@ -292,7 +292,7 @@
"subject": "Subject",
"body": "Body",
"add-contact": "Add Contact",
- "add-signer-alert": "Contact already exist!",
+ "add-signer-alert": "Contact already exist! Please select it from ‘Signers’ dropdown",
"record-delete-alert": "Record deleted successfully!",
"record-revoke-alert": "Record revoked successfully!",
"mail-sent-alert": "Mail sent successfully.",
@@ -680,12 +680,13 @@
"p3": "Tip: If your signers are familiar with OpenSign and frequently use it, you may want to disable the guided tour for a more seamless experience. Choose the option that best fits your document signing needs."
},
"form-title-1": "Document Flow Setting",
- "form-title-2": "Security Setting",
+ "form-title-2": "Security Settings",
"public-tour-message": "The template needs to be public before you can generate a shareable link.",
"add-user-template": "You need to add a role before you can add fields for it.",
"pdf-uncompatible": "This pdf is not compatible with opensign, please contact <[email protected]>",
"text-field-tour": "Fields of type 'Text' must be filled in advance before the document is sent. If you need the signers to provide input, use the 'Text Input' field instead.",
"attach-signer-tour": "You need to attach a Signer to every role. You can do that by clicking this icon. Once you select a Signer it will be attached to all the fields associated with that role which appear in the same colour.",
"allowed-signature-types": "Allowed signature types",
- "at-least-one-signature-type": "At least one signature type should be enabled."
+ "at-least-one-signature-type": "At least one signature type should be enabled.",
+ "add-signer-note" :"Note - This contact will be added to your contact list"
}
diff --git a/apps/OpenSign/src/script/locales/es/translation.json b/apps/OpenSign/src/script/locales/es/translation.json
index 8669131b0..2359a212d 100644
--- a/apps/OpenSign/src/script/locales/es/translation.json
+++ b/apps/OpenSign/src/script/locales/es/translation.json
@@ -292,7 +292,7 @@
"subject": "Asunto",
"body": "Cuerpo",
"add-contact": "Agregar contacto",
- "add-signer-alert": "¡El contacto ya existe!",
+ "add-signer-alert": "¡El contacto ya existe! Selecciónelo en el menú desplegable 'Firmantes'",
"record-delete-alert": "¡Entrada eliminada exitosamente!",
"record-revoke-alert": "¡Entrada revocada exitosamente!",
"mail-sent-alert": "Correo enviado exitosamente.",
@@ -687,5 +687,6 @@
"text-field-tour": "Los campos de tipo 'Texto' deben completarse con anticipación antes de enviar el documento. Si necesita que los firmantes proporcionen información, utilice el campo 'Entrada de texto'",
"attach-signer-tour": "Debe adjuntar un firmante a cada función. Puede hacerlo haciendo clic en este icono. Una vez que seleccione un Firmante, se adjuntará a todos los campos asociados con ese rol que aparecen en el mismo color.",
"allowed-signature-types": "Tipos de firma permitidos",
- "at-least-one-signature-type": "Se debe habilitar al menos un tipo de firma."
+ "at-least-one-signature-type": "Se debe habilitar al menos un tipo de firma.",
+ "add-signer-note" :"Nota - Este contacto se agregará a su lista de contactos"
}
diff --git a/apps/OpenSign/src/script/locales/fr/translation.json b/apps/OpenSign/src/script/locales/fr/translation.json
index 3c7fe6cf7..13c0b1954 100644
--- a/apps/OpenSign/src/script/locales/fr/translation.json
+++ b/apps/OpenSign/src/script/locales/fr/translation.json
@@ -291,7 +291,7 @@
"subject": "Sujet",
"body": "Corps",
"add-contact": "Ajouter le contact",
- "add-signer-alert": "Le contact existe déjà !",
+ "add-signer-alert": "Le contact existe déjà ! Veuillez le sélectionner dans la liste déroulante 'Signataires'",
"record-delete-alert": "Enregistrement supprimé avec succès !",
"record-revoke-alert": " Enregistrement révoqué avec succès ! ",
"mail-sent-alert": "Courriel envoyé avec succès.",
@@ -686,5 +686,6 @@
"text-field-tour": "Les champs de type 'Texte' doivent être remplis à l'avance avant l'envoi du document. Si vous avez besoin que les signataires fournissent des informations, utilisez plutôt le champ 'Saisie de texte'.",
"attach-signer-tour": "Vous devez associer un signataire à chaque rôle. Vous pouvez le faire en cliquant sur cette icône. Une fois que vous avez sélectionné un signataire, il sera attaché à tous les champs associés à ce rôle qui apparaissent dans la même couleur.",
"allowed-signature-types": "Types de signature autorisés",
- "at-least-one-signature-type": "Au moins un type de signature doit être activé."
+ "at-least-one-signature-type": "Au moins un type de signature doit être activé.",
+ "add-signer-note": "Remarque - Ce contact sera ajouté à votre liste de contacts"
}