Skip to content

Commit 2a1d7d2

Browse files
refactor code
1 parent 9176b8f commit 2a1d7d2

File tree

8 files changed

+23
-16
lines changed

8 files changed

+23
-16
lines changed

apps/OpenSign/public/locales/en/translation.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@
292292
"subject": "Subject",
293293
"body": "Body",
294294
"add-contact": "Add Contact",
295-
"add-signer-alert": "Contact already exist!",
295+
"add-signer-alert": "Contact already exist! Please select it from ‘Signers’ dropdown",
296296
"record-delete-alert": "Record deleted successfully!",
297297
"record-revoke-alert": "Record revoked successfully!",
298298
"mail-sent-alert": "Mail sent successfully.",
@@ -680,12 +680,13 @@
680680
"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."
681681
},
682682
"form-title-1":"Document Flow Setting",
683-
"form-title-2":"Security Setting",
683+
"form-title-2":"Security Settings",
684684
"public-tour-message":"The template needs to be public before you can generate a shareable link.",
685685
"add-user-template": "You need to add a role before you can add fields for it.",
686686
"pdf-uncompatible": "This pdf is not compatible with opensign, please contact <[email protected]>",
687687
"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.",
688688
"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.",
689689
"allowed-signature-types": "Allowed signature types",
690-
"at-least-one-signature-type": "At least one signature type should be enabled."
690+
"at-least-one-signature-type": "At least one signature type should be enabled.",
691+
"add-signer-note" :"Note - This contact will be added to your contact list"
691692
}

apps/OpenSign/public/locales/es/translation.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@
292292
"subject": "Asunto",
293293
"body": "Cuerpo",
294294
"add-contact": "Agregar contacto",
295-
"add-signer-alert": "¡El contacto ya existe!",
295+
"add-signer-alert": "¡El contacto ya existe! Selecciónelo en el menú desplegable 'Firmantes'",
296296
"record-delete-alert": "¡Entrada eliminada exitosamente!",
297297
"record-revoke-alert": "¡Entrada revocada exitosamente!",
298298
"mail-sent-alert": "Correo enviado exitosamente.",
@@ -687,5 +687,6 @@
687687
"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'",
688688
"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.",
689689
"allowed-signature-types": "Tipos de firma permitidos",
690-
"at-least-one-signature-type": "Se debe habilitar al menos un tipo de firma."
690+
"at-least-one-signature-type": "Se debe habilitar al menos un tipo de firma.",
691+
"add-signer-note" :"Nota - Este contacto se agregará a su lista de contactos"
691692
}

apps/OpenSign/public/locales/fr/translation.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@
291291
"subject": "Sujet",
292292
"body": "Corps",
293293
"add-contact": "Ajouter le contact",
294-
"add-signer-alert": "Le contact existe déjà !",
294+
"add-signer-alert": "Le contact existe déjà ! Veuillez le sélectionner dans la liste déroulante 'Signataires'",
295295
"record-delete-alert": "Enregistrement supprimé avec succès !",
296296
"record-revoke-alert": " Enregistrement révoqué avec succès ! ",
297297
"mail-sent-alert": "Courriel envoyé avec succès.",
@@ -686,5 +686,6 @@
686686
"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'.",
687687
"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.",
688688
"allowed-signature-types": "Types de signature autorisés",
689-
"at-least-one-signature-type": "Au moins un type de signature doit être activé."
689+
"at-least-one-signature-type": "Au moins un type de signature doit être activé.",
690+
"add-signer-note": "Remarque - Ce contact sera ajouté à votre liste de contacts"
690691
}

apps/OpenSign/src/components/AddSigner.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ const AddSigner = (props) => {
206206
</div>
207207
)}
208208
<div className="w-full mx-auto p-2 text-base-content">
209+
<p className="mb-3">{t("add-signer-note")}</p>
209210
{isUserExist && (
210211
<div className="mb-3 flex items-center">
211212
<input

apps/OpenSign/src/primitives/GetReportDisplay.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1539,13 +1539,13 @@ const ReportTable = (props) => {
15391539
}
15401540
className="op-btn op-btn-primary"
15411541
>
1542-
{t("submit")}
1542+
{t("yes")}
15431543
</button>
15441544
<button
15451545
onClick={() => handleClose(item)}
15461546
className="op-btn op-btn-secondary"
15471547
>
1548-
{t("cancel")}
1548+
{t("no")}
15491549
</button>
15501550
</div>
15511551
</div>

apps/OpenSign/src/script/locales/en/translation.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@
292292
"subject": "Subject",
293293
"body": "Body",
294294
"add-contact": "Add Contact",
295-
"add-signer-alert": "Contact already exist!",
295+
"add-signer-alert": "Contact already exist! Please select it from ‘Signers’ dropdown",
296296
"record-delete-alert": "Record deleted successfully!",
297297
"record-revoke-alert": "Record revoked successfully!",
298298
"mail-sent-alert": "Mail sent successfully.",
@@ -680,12 +680,13 @@
680680
"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."
681681
},
682682
"form-title-1": "Document Flow Setting",
683-
"form-title-2": "Security Setting",
683+
"form-title-2": "Security Settings",
684684
"public-tour-message": "The template needs to be public before you can generate a shareable link.",
685685
"add-user-template": "You need to add a role before you can add fields for it.",
686686
"pdf-uncompatible": "This pdf is not compatible with opensign, please contact <[email protected]>",
687687
"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.",
688688
"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.",
689689
"allowed-signature-types": "Allowed signature types",
690-
"at-least-one-signature-type": "At least one signature type should be enabled."
690+
"at-least-one-signature-type": "At least one signature type should be enabled.",
691+
"add-signer-note" :"Note - This contact will be added to your contact list"
691692
}

apps/OpenSign/src/script/locales/es/translation.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@
292292
"subject": "Asunto",
293293
"body": "Cuerpo",
294294
"add-contact": "Agregar contacto",
295-
"add-signer-alert": "¡El contacto ya existe!",
295+
"add-signer-alert": "¡El contacto ya existe! Selecciónelo en el menú desplegable 'Firmantes'",
296296
"record-delete-alert": "¡Entrada eliminada exitosamente!",
297297
"record-revoke-alert": "¡Entrada revocada exitosamente!",
298298
"mail-sent-alert": "Correo enviado exitosamente.",
@@ -687,5 +687,6 @@
687687
"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'",
688688
"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.",
689689
"allowed-signature-types": "Tipos de firma permitidos",
690-
"at-least-one-signature-type": "Se debe habilitar al menos un tipo de firma."
690+
"at-least-one-signature-type": "Se debe habilitar al menos un tipo de firma.",
691+
"add-signer-note" :"Nota - Este contacto se agregará a su lista de contactos"
691692
}

apps/OpenSign/src/script/locales/fr/translation.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@
291291
"subject": "Sujet",
292292
"body": "Corps",
293293
"add-contact": "Ajouter le contact",
294-
"add-signer-alert": "Le contact existe déjà !",
294+
"add-signer-alert": "Le contact existe déjà ! Veuillez le sélectionner dans la liste déroulante 'Signataires'",
295295
"record-delete-alert": "Enregistrement supprimé avec succès !",
296296
"record-revoke-alert": " Enregistrement révoqué avec succès ! ",
297297
"mail-sent-alert": "Courriel envoyé avec succès.",
@@ -686,5 +686,6 @@
686686
"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'.",
687687
"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.",
688688
"allowed-signature-types": "Types de signature autorisés",
689-
"at-least-one-signature-type": "Au moins un type de signature doit être activé."
689+
"at-least-one-signature-type": "Au moins un type de signature doit être activé.",
690+
"add-signer-note": "Remarque - Ce contact sera ajouté à votre liste de contacts"
690691
}

0 commit comments

Comments
 (0)