diff --git a/apps/OpenSign/public/locales/en/translation.json b/apps/OpenSign/public/locales/en/translation.json index afa45e8e8..e3c02ce5b 100644 --- a/apps/OpenSign/public/locales/en/translation.json +++ b/apps/OpenSign/public/locales/en/translation.json @@ -134,7 +134,8 @@ "option": "Option", "Embed": "Embed", "Copy TemplateId":"Copy TemplateId", - "Copy Public URL":"Copy Public URL" + "Copy Public URL":"Copy Public URL", + "extend-expiry-date": "Extend expiry date" }, "report-heading": { "Sr.No": "Sr.No", @@ -267,7 +268,8 @@ "make-template-public-alert": "Are you sure you want to make this template public?", "make-template-private-alert": "Are you sure you want to make this template private? This will remove it from your public profile.", "public-role": "Public role", - "public-url": "Public profile needed", + "public-url": "Public profile", + "embed-template": "Embed Template", "public-url-copy": "Here’s your public URL: ", "public-url-copy-mssg":"Copy it or share it with the signer, and you will be able to see all your publicly set templates.", "add-public-url-alert": "Please complete your OpenSign public profile setup. Once done, you’ll be able to make templates public. This process only needs to be completed once.", @@ -703,5 +705,7 @@ "notify-on-signatures-help": { "p1": "The document creator will receive an email notification whenever a signer signs the document.", "note": "Note: Notification email will not be sent for the last signer, as the document creator will receive a completion email instead." - } + }, + "expiry-date-updated": "The expiry date has been successfully extended to {{newexpirydate}}", + "expiry-date-error": "Please provide a new expiry date that is later than the current one" } diff --git a/apps/OpenSign/public/locales/es/translation.json b/apps/OpenSign/public/locales/es/translation.json index f7856af7a..5154c87d7 100644 --- a/apps/OpenSign/public/locales/es/translation.json +++ b/apps/OpenSign/public/locales/es/translation.json @@ -134,7 +134,8 @@ "option": "Opción", "Embed": "Incrustar", "Copy TemplateId": "Copiar ID de plantilla", - "Copy Public URL": "Copiar URL pública" + "Copy Public URL": "Copiar URL pública", + "extend-expiry-date": "Ampliar fecha de caducidad" }, "report-heading": { "Sr.No": "Nº", @@ -267,7 +268,8 @@ "make-template-public-alert": "¿En definitiva quieres convertir esta plantilla en pública?", "make-template-private-alert": "¿En definitiva quieres convertir esta plantilla en privada? Esto lo removerá de tu perfil público.", "public-role": "Rol público", - "public-url": "Se requiere perfil público", + "public-url": "Perfil publico", + "embed-template": "Insertar plantilla", "public-url-copy": "Aquí está tu URL pública: ", "public-url-copy-mssg": "Cópiala o compártela con el firmante y podrás ver todas tus plantillas públicas.", "add-public-url-alert": "Por favor, completa la configuración de tu perfil público OpenSign. Una vez terminado, podrás crear plantillas públicas. Este proceso solo necesita ser completado una vez.", @@ -703,5 +705,7 @@ "notify-on-signatures-help": { "p1": "El creador del documento recibirá una notificación por correo electrónico cada vez que un firmante firme el documento.", "note": "Nota: No se enviará un correo electrónico de notificación al último firmante, ya que el creador del documento recibirá un correo electrónico de finalización." - } + }, + "expiry-date-updated": "La fecha de vencimiento se ha extendido con éxito hasta el {{newexpirydate}}", + "expiry-date-error": "Proporcione una nueva fecha de vencimiento que sea posterior a la actual" } diff --git a/apps/OpenSign/public/locales/fr/translation.json b/apps/OpenSign/public/locales/fr/translation.json index 03a717a55..321cf94d2 100644 --- a/apps/OpenSign/public/locales/fr/translation.json +++ b/apps/OpenSign/public/locales/fr/translation.json @@ -155,7 +155,8 @@ "option": "Option", "Embed": "Intégrer", "Copy TemplateId": "Copier l'ID du modèle", - "Copy Public URL":"Copier l'URL publique" + "Copy Public URL":"Copier l'URL publique", + "extend-expiry-date": "Prolonger la date d'expiration" }, "report-help": { "Draft Documents": "Il s'agit de documents que vous avez commencés mais que vous n'avez pas finalisés pour envoi.", @@ -266,7 +267,8 @@ "make-template-public-alert": "Êtes-vous sûr de vouloir rendre ce modèle public ?", "make-template-private-alert": "Êtes-vous sûr de vouloir rendre ce modèle privé ? Cela le supprimera de votre profil public.", "public-role": "Rôle public", - "public-url": "Profil public requis", + "public-url": "Profil public", + "embed-template": "Intégrer le modèle", "public-url-copy": "Voici votre URL publique : ", "public-url-copy-mssg": "copiez-la ou partagez-le avec le signataire et vous pouvoir voir tous vos paramètres publics modèles.", "add-public-url-alert": "Veuillez terminer la configuration de votre profil public OpenSign. Une fois cela fait, vous pourrez rendre les modèles publics. Ce processus ne doit être effectué qu’une seule fois.", @@ -702,5 +704,7 @@ "notify-on-signatures-help": { "p1": "Le créateur du document recevra une notification par e-mail chaque fois qu'un signataire signera le document.", "note": "Remarque : L'e-mail de notification ne sera pas envoyé pour le dernier signataire, car le créateur du document recevra à la place un e-mail de fin." - } + }, + "expiry-date-updated": "La fecha de vencimiento se ha extendido con éxito hasta el {{newexpirydate}}", + "expiry-date-error": "Veuillez fournir une nouvelle date d'expiration postérieure à la date actuelle" } diff --git a/apps/OpenSign/src/components/pdf/EmbedTab.js b/apps/OpenSign/src/components/pdf/EmbedTab.js index c60686f76..65213cfaa 100644 --- a/apps/OpenSign/src/components/pdf/EmbedTab.js +++ b/apps/OpenSign/src/components/pdf/EmbedTab.js @@ -18,17 +18,16 @@ function EmbedTab(props) { { id: 0, title: "Installation", - codeString: ` -npm install @opensign/react` + codeString: `npm install @opensign/react` }, { id: 1, title: "Usage", codeString: ` -import React from "react"; +import React from "react"; import Opensign from "@opensign/react"; -export function App() { +export default function App() { return (