🔥 The free & Open Source DocuSign alternative
JavaScript digital-signaturedocument-signingdocusign-alternativedocusign-freee-signatureelectronic-signatureelectronic-signaturesesignesignaturehacktoberfestjavascriptlegaltechmongodbnodejsopen-sourcepdf-signpdf-signaturereactjsself-hostedsign-pdf-files
fix: contactbook report title to name in heading
RaktimaNXG3f8a17c3ea28
diff --git a/apps/OpenSign/public/locales/en/translation.json b/apps/OpenSign/public/locales/en/translation.jsonindex af4497936..c7189eb21 100644--- a/apps/OpenSign/public/locales/en/translation.json+++ b/apps/OpenSign/public/locales/en/translation.json@@ -580,11 +580,9 @@"Recent signature requests": "This is a list of documents that are waiting for your signature.","Recently sent for signatures":"This is a list of documents you've sent to other parties for signature.","Drafts":"This are documents you have started but have not finalized for sending."----- }+ },+ "enter-email-plaholder":"Add an email address and hit enter",+ "success-email-alert":"Email sent successfully!"diff --git a/apps/OpenSign/public/locales/fr/translation.json b/apps/OpenSign/public/locales/fr/translation.jsonindex 9ba28201c..b623121f2 100644--- a/apps/OpenSign/public/locales/fr/translation.json+++ b/apps/OpenSign/public/locales/fr/translation.json@@ -114,7 +114,7 @@"Users":"Utilisateurs"},"report-heading":{- "Sr.No":"Numéro du document",+ "Sr.No":"Sr. Non","Title":"Titre","Email":"E-mail","Phone":"Téléphone",@@ -128,7 +128,7 @@"Active":"Actif","Role":"Rôle","Team":"Équipe",- "Name":"Nom et Prénom",+ "Name":"Nom","Status":"Statut","created-date":"Date de création","Type":"Saisir"@@ -579,8 +579,9 @@"Recent signature requests": "Voici une liste de documents qui attendent votre signature.","Recently sent for signatures":"Il s'agit d'une liste de documents que vous avez envoyés à d'autres parties pour signature.","Drafts":"Il s'agit de documents que vous avez commencés mais que vous n'avez pas finalisés pour envoi."-- }+ },+ "enter-email-plaholder":"Ajoutez une adresse email et appuyez sur Entrée",+ "success-email-alert" :"E-mail envoyé avec succès!"diff --git a/apps/OpenSign/src/components/pdf/EmailComponent.js b/apps/OpenSign/src/components/pdf/EmailComponent.jsindex 77ee86b9c..7f9afd162 100644--- a/apps/OpenSign/src/components/pdf/EmailComponent.js+++ b/apps/OpenSign/src/components/pdf/EmailComponent.js@@ -1,13 +1,7 @@import React, { useState } from "react";-import { saveAs } from "file-saver";import axios from "axios";-import {- getBase64FromUrl,- handleDownloadPdf,- handleToPrint-} from "../../constant/Utils";+import { handleDownloadPdf, handleToPrint } from "../../constant/Utils";import { themeColor, emailRegex } from "../../constant/const";-import printModule from "print-js";import Loader from "../../primitives/Loader";import ModalUi from "../../primitives/ModalUi";import { useTranslation } from "react-i18next";@@ -239,7 +233,7 @@ function EmailComponent({className="p-[10px] pb-[20px] rounded w-full text-[15px] outline-none bg-transparent border-[1.5px] op-border-primary"onChange={handleEmailValue}onKeyDown={handleEnterPress}- placeholder="Add an email address and hit enter"+ placeholder={t("enter-email-plaholder")}onBlur={() => emailValue && handleEnterPress("add")}onInvalid={(e) =>e.target.setCustomValidity(t("input-required"))diff --git a/apps/OpenSign/src/components/pdf/RenderPdf.js b/apps/OpenSign/src/components/pdf/RenderPdf.jsindex 6250ad32f..dd67530b2 100644--- a/apps/OpenSign/src/components/pdf/RenderPdf.js+++ b/apps/OpenSign/src/components/pdf/RenderPdf.js@@ -9,6 +9,7 @@ import {} from "../../constant/Utils";import Placeholder from "./Placeholder";import Alert from "../../primitives/Alert";+import { useTranslation } from "react-i18next";function RenderPdf({pageNumber,@@ -63,6 +64,7 @@ function RenderPdf({ispublicTemplate,handleUserDetails}) {+ const { t } = useTranslation();const isMobile = window.innerWidth < 767;//check isGuestSigner is present in local if yes than handle login flow header in mobile viewconst isGuestSigner = localStorage.getItem("isGuestSigner");@@ -249,7 +251,9 @@ function RenderPdf({};return (<>- {successEmail && <Alert type={"success"}>Email sent successfully!</Alert>}+ {successEmail && (+ <Alert type={"success"}>{t("success-email-alert")}</Alert>+ )}{isMobile ? (<divdata-tut="reactourForth"diff --git a/apps/OpenSign/src/json/ReportJson.js b/apps/OpenSign/src/json/ReportJson.jsindex 626c6cb61..def7462ea 100644--- a/apps/OpenSign/src/json/ReportJson.js+++ b/apps/OpenSign/src/json/ReportJson.js@@ -10,7 +10,7 @@ export default function reportJson(id) {"Owner","Signers"];- const contactbook = ["Sr.No", "Title", "Email", "Phone"];+ const contactbook = ["Sr.No", "Name", "Email", "Phone"];const dashboardReportHead = ["Title", "File", "Owner", "Signers"];const templateReport = ["Sr.No", "Title", "File", "Owner", "Signers"];switch (id) {