diff --git a/apps/OpenSign/public/locales/en/translation.json b/apps/OpenSign/public/locales/en/translation.json
index a0be38533..12345eecb 100644
--- a/apps/OpenSign/public/locales/en/translation.json
+++ b/apps/OpenSign/public/locales/en/translation.json
@@ -132,7 +132,8 @@
"View": "View",
"option": "Option",
"Embed": "Embed",
- "Copy TemplateId":"Copy TemplateId"
+ "Copy TemplateId":"Copy TemplateId",
+ "Copy Public URL":"Copy Public URL"
},
"report-heading": {
"Sr.No": "Sr.No",
@@ -639,7 +640,7 @@
"public-template-mssg-3" :"Need more details or examples?",
"public-template-mssg-4": "Visit the",
"public-template-mssg-5": " npm for the latest updates, detailed documentation, and version history.",
- "public-template-mssg-6" :"You need to set this template as public before you can utilize this code snippet.",
+ "public-template-mssg-6" :"Before you can use this code snippet, you must make this template public.",
"copy-code":"COPY",
"copied-code":"COPIED",
"Installation":"Installation",
@@ -669,11 +670,14 @@
"download-pdf":"Download Pdf",
"pdf-certificate":"Download Pdf + Certificate",
"document-logs":"Document logs",
- "enable-tour":"Enable Tour",
- "istourenabled-help":{
- "p1":"This will enable a guided tour for signers, providing instructions during the signing process.",
- "p2":"This will disable the guided tour, ensuring a faster, uninterrupted signing experience.",
- "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."
- }
+ "server-down": "Unable to connect to the OpenSign server. If you are self-hosting OpenSign, please ensure that all the steps in the documentation have been followed correctly. If you're running OpenSign locally, you might be accessing it through an incorrect port number.",
+ "admin-exists": "Admin already exists. Please login to the application using admin credentials in order to manage users.",
+ "public-tour-message":"Please make template public to copy public URL",
+ "enable-tour":"Enable Tour",
+ "istourenabled-help":{
+ "p1":"This will enable a guided tour for signers, providing instructions during the signing process.",
+ "p2":"This will disable the guided tour, ensuring a faster, uninterrupted signing experience.",
+ "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."
+ }
}
diff --git a/apps/OpenSign/public/locales/fr/translation.json b/apps/OpenSign/public/locales/fr/translation.json
index 47a618b14..d6dbfc8e3 100644
--- a/apps/OpenSign/public/locales/fr/translation.json
+++ b/apps/OpenSign/public/locales/fr/translation.json
@@ -152,7 +152,8 @@
"View": "Voir",
"option": "Option",
"Embed": "Intégrer",
- "Copy TemplateId": "Copier l'ID du modèle"
+ "Copy TemplateId": "Copier l'ID du modèle",
+ "Copy Public URL":"Copier l'URL publique"
},
"report-help": {
"Draft Documents": "Il s'agit de documents que vous avez commencés mais que vous n'avez pas finalisés pour envoi.",
@@ -638,7 +639,7 @@
"public-template-mssg-3" :"Besoin de plus de détails ou d'exemples ?",
"public-template-mssg-4": "Visitez le",
"public-template-mssg-5": "npm pour les dernières mises à jour, une documentation détaillée et l'historique des versions.",
- "public-template-mssg-6":"Vous devez définir ce modèle comme public avant de pouvoir utiliser cet extrait de code.",
+ "public-template-mssg-6":"Avant de pouvoir utiliser cet extrait de code, vous devez rendre ce modèle public.",
"copy-code":"COPIE",
"copied-code":"COPIÉ",
"Installation":"Installation",
@@ -668,6 +669,9 @@
"download-pdf" :"Télécharger le PDF",
"pdf-certificate" :"Télécharger Pdf + Certificat",
"document-logs":"Journaux de documents",
+ "server-down": "Impossible de se connecter au serveur OpenSign. Si vous hébergez vous-même OpenSign, veuillez vous assurer que toutes les étapes de la documentation ont été correctement suivies. Si vous exécutez OpenSign localement, vous y accédez peut-être via un numéro de port incorrect.",
+ "admin-exists": "L'administrateur existe déjà. Veuillez vous connecter à l'application en utilisant les informations d'identification de l'administrateur afin de gérer les utilisateurs.",
+ "public-tour-message":"Veuillez rendre le modèle public pour copier l'URL publique",
"enable-tour": "Activer la visite",
"istourenabled-otp-help":{
"p1": "Cela permettra une visite guidée pour les signataires, fournissant des instructions pendant le processus de signature.",
@@ -675,4 +679,5 @@
"p3": "Conseil : si vos signataires connaissent OpenSign et l'utilisent fréquemment, vous souhaiterez peut-être désactiver la visite guidée pour une expérience plus fluide. Choisissez l'option qui correspond le mieux à vos besoins en matière de signature de documents."
}
+
}
diff --git a/apps/OpenSign/public/version.txt b/apps/OpenSign/public/version.txt
index f1893d2be..10830af0c 100644
Binary files a/apps/OpenSign/public/version.txt and b/apps/OpenSign/public/version.txt differ
diff --git a/apps/OpenSign/src/components/opensigndrive/DriveBody.js b/apps/OpenSign/src/components/opensigndrive/DriveBody.js
index 1324210cb..b198f6c4b 100644
--- a/apps/OpenSign/src/components/opensigndrive/DriveBody.js
+++ b/apps/OpenSign/src/components/opensigndrive/DriveBody.js
@@ -2,7 +2,6 @@ import React, { useState, useEffect, useRef } from "react";
import "../../styles/opensigndrive.css";
import axios from "axios";
import * as ContextMenu from "@radix-ui/react-context-menu";
-import { saveAs } from "file-saver";
import { useNavigate } from "react-router-dom";
import Table from "react-bootstrap/Table";
import * as HoverCard from "@radix-ui/react-hover-card";
@@ -264,12 +263,6 @@ function DriveBody(props) {
setIsOpenMoveModal(false);
}
};
-
- const sanitizeFileName = (pdfName) => {
- // Replace spaces with underscore
- return pdfName.replace(/ /g, "_");
- };
-
const handleEnterPress = (e, data) => {
if (e.key === "Enter") {
handledRenameDoc(data);
diff --git a/apps/OpenSign/src/components/pdf/EmbedTab.js b/apps/OpenSign/src/components/pdf/EmbedTab.js
index f2381ebef..c60686f76 100644
--- a/apps/OpenSign/src/components/pdf/EmbedTab.js
+++ b/apps/OpenSign/src/components/pdf/EmbedTab.js
@@ -34,7 +34,7 @@ export function App() {
console.log("success")}
onLoadError={(error) => console.log(error)}
- templateId= {"${props.templateId}"}
+ templateId= "${props.templateId}"
/>
);
@@ -63,10 +63,10 @@ import {OpensignComponent} from "@opensign/angular"
selector:'app-root',
standalone: true,
imports: [OpensignComponent],
- template: '',
+ >\`,
})
export class AppComponent{
handleLoad() {
@@ -129,9 +129,11 @@ export class AppComponent{
{t(`${data.title}`)}
-
- {t("public-template-mssg-1")}
-
+ {ind === 0 && (
+
+ {t("public-template-mssg-1")}
+
+ )}
handleCopy(data.codeString, ind)}
@@ -210,11 +212,11 @@ export class AppComponent{