Skip to content

Commit d7b7ad6

Browse files
Merge pull request
1 parent fca45ce commit d7b7ad6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+981
-1432
lines changed

apps/OpenSign/package-lock.json

Lines changed: 5 additions & 416 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/OpenSign/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
"@lottiefiles/dotlottie-react": "^0.13.2",
88
"@pdf-lib/fontkit": "^1.1.1",
99
"@radix-ui/themes": "^3.1.6",
10-
"@react-pdf/renderer": "^4.3.0",
1110
"@reduxjs/toolkit": "^2.5.1",
1211
"axios": "^1.8.4",
1312
"css-minimizer-webpack-plugin": "^7.0.2",

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

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,8 @@
151151
"extend-expiry-date": "Ablaufdatum verlängern",
152152
"Duplicate Template": "Vorlage duplizieren",
153153
"Duplicate": "Duplikat",
154-
"daily-mail-quota": "Tägliches E-Mail-Kontingent"
154+
"daily-mail-quota": "Tägliches E-Mail-Kontingent",
155+
"Save as template": "Als Vorlage speichern"
155156
},
156157
"report-heading": {
157158
"Sr.No": "Nr.",
@@ -308,7 +309,7 @@
308309
"revoke-document": "Dokument widerrufen",
309310
"revoke-document-alert": "Sind Sie sicher, dass Sie dieses Dokument widerrufen möchten?",
310311
"resend-mail": "E-Mail erneut senden",
311-
"resend-mail-help": "Sie können folgende Variablen verwenden, die durch ihre tatsächlichen Werte ersetzt werden: {{document_title}}, {{sender_name}}, {{sender_mail}}, {{sender_phone}}, {{receiver_name}}, {{receiver_email}}, {{receiver_phone}}, {{expiry_date}}, {{company_name}}, {{signing_url}}.",
312+
"resend-mail-help": "Sie können folgende Variablen verwenden, die durch ihre tatsächlichen Werte ersetzt werden: {{document_title}}, {{sender_name}}, {{sender_mail}}, {{sender_phone}}, {{receiver_name}}, {{receiver_email}}, {{receiver_phone}}, {{expiry_date}}, {{company_name}}, {{signing_url}}, {{note}}.",
312313
"subject": "Betreff",
313314
"body": "Inhalt",
314315
"add-contact": "Kontakt hinzufügen",
@@ -522,7 +523,7 @@
522523
"correct-password": "Bitte korrektes Passwort angeben",
523524
"decrypting-pdf": "PDF wird entschlüsselt, bitte warten...",
524525
"invalid-otp": "Ungültiger OTP",
525-
"user-not-found": "Benutzer nicht gefunden!",
526+
"user-not-found": "Benutzer nicht gefunden",
526527
"enter-otp-alert": "Bitte OTP eingeben!",
527528
"get-verification-code": "Verifizierungscode erhalten",
528529
"get-verification-code-2": "Sie erhalten einen Verifizierungscode per E-Mail",
@@ -858,10 +859,19 @@
858859
"indexing-public-profile": "Erlaube die Indexierung des öffentlichen Profils durch Suchmaschinen",
859860
"user-created-successfully": "Benutzer erfolgreich erstellt.",
860861
"only-15-reminder-allowed": "Sie können bis zu 15 automatische Erinnerungen festlegen. Wenn zum Beispiel 'TimeToComplete' auf 15 Tage und 'RemindOnceInEvery' auf 1 Tag eingestellt ist, erreichen Sie das maximale Limit von 15 Erinnerungen. Passen Sie Ihre Einstellungen entsprechend an.",
861-
"rate-your-experience": "👋 Bitte bewerten Sie Ihre Erfahrung mit Opensign",
862+
"rate-your-experience": "Wie war Ihre Erfahrung mit {{appName}}?",
862863
"thanks-for-feedback": "Danke für Ihr Feedback 🙏",
863864
"share-your-feedback": "Teilen Sie Ihr Feedback",
864865
"share-your-review": "Teilen Sie Ihre Bewertung",
865866
"date-format": "Datumsformat",
866-
"document-deleted": "Das Dokument wurde gelöscht oder Sie haben keinen Zugriff. Bitte kontaktieren Sie den Absender."
867+
"document-deleted": "Das Dokument wurde gelöscht oder Sie haben keinen Zugriff. Bitte kontaktieren Sie den Absender.",
868+
"save-as-template-?": "Sind Sie sicher, dass Sie dieses Dokument als Vorlage speichern möchten?",
869+
"go-to-manage-templates": "Zu 'Vorlagen verwalten' gehen",
870+
"template-created": "Vorlage erstellt",
871+
"how-would-you-like-to-proceed?": "Wie möchten Sie fortfahren?",
872+
"failed-to-load-refresh-page": "Fehler beim Laden des Dokuments. Bitte versuchen Sie, diese Seite zu aktualisieren.",
873+
"document-has-been-signed": "Das Dokument wurde erfolgreich unterschrieben!",
874+
"document-has-been-signed-by-you": "Das Dokument wurde erfolgreich von Ihnen unterschrieben!",
875+
"participant-completed-signing": "Alle Teilnehmer haben den Signaturprozess abgeschlossen.",
876+
"you-will-receive-email-shortly": "✅ Das war's! Sie erhalten in Kürze eine Bestätigungs-E-Mail."
867877
}

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

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,8 @@
151151
"extend-expiry-date": "Extend expiry date",
152152
"Duplicate Template": "Duplicate template",
153153
"Duplicate": "Duplicate",
154-
"daily-mail-quota": "Daily Email Quota"
154+
"daily-mail-quota": "Daily Email Quota",
155+
"Save as template": "Save as template"
155156
},
156157
"report-heading": {
157158
"Sr.No": "Sr.No",
@@ -308,7 +309,7 @@
308309
"revoke-document": "Revoke document",
309310
"revoke-document-alert": "Are you sure you want to revoke this document?",
310311
"resend-mail": "Resend mail",
311-
"resend-mail-help": "You can use following variables which will get replaced with their actual values:- {{document_title}}, {{sender_name}}, {{sender_mail}}, {{sender_phone}}, {{receiver_name}}, {{receiver_email}}, {{receiver_phone}}, {{expiry_date}}, {{company_name}}, {{signing_url}}.",
312+
"resend-mail-help": "You can use following variables which will get replaced with their actual values:- {{document_title}}, {{sender_name}}, {{sender_mail}}, {{sender_phone}}, {{receiver_name}}, {{receiver_email}}, {{receiver_phone}}, {{expiry_date}}, {{company_name}}, {{signing_url}}, {{note}}.",
312313
"subject": "Subject",
313314
"body": "Body",
314315
"add-contact": "Add contact",
@@ -522,7 +523,7 @@
522523
"correct-password": "Please provide correct password",
523524
"decrypting-pdf": " Decrypting pdf please wait...",
524525
"invalid-otp": "Invalid otp",
525-
"user-not-found": "User not found!",
526+
"user-not-found": "User not found",
526527
"enter-otp-alert": "Please enter OTP!",
527528
"get-verification-code": "Get verification code",
528529
"get-verification-code-2": "You will get a verification code via Email",
@@ -858,10 +859,19 @@
858859
"indexing-public-profile": "Allow indexing of public profile by search engines",
859860
"user-created-successfully": "user created successfully.",
860861
"only-15-reminder-allowed": "You can set up to 15 automatic reminders. For example, if 'TimeToComplete' is 15 days and 'RemindOnceInEvery' is 1 day, you'll reach the maximum limit of 15 reminders. Adjust your settings accordingly.",
861-
"rate-your-experience": "👋 Please rate your experience with Opensign",
862+
"rate-your-experience": "How was your experience with {{appName}}?",
862863
"thanks-for-feedback": "Thanks for your feedback 🙏",
863864
"share-your-feedback": "Share your feedback",
864865
"share-your-review": "Share your review",
865866
"date-format": "Date format",
866-
"document-deleted": "The document has been deleted or you don't have access. Please contact the sender."
867+
"document-deleted": "The document has been deleted or you don't have access. Please contact the sender.",
868+
"save-as-template-?": "Are you sure you want to save this document as template?",
869+
"go-to-manage-templates": "go to 'Manage templates'",
870+
"template-created": "Template Created",
871+
"how-would-you-like-to-proceed?": "How would you like to proceed?",
872+
"failed-to-load-refresh-page": "Failed to load the document. Please try refreshing this page.",
873+
"document-has-been-signed": "The document has been signed successfully!",
874+
"document-has-been-signed-by-you": "The document has been successfully signed by you!",
875+
"participant-completed-signing": "All participants have completed the signing process.",
876+
"you-will-receive-email-shortly": "✅ That's it! You'll receive a confirmation email shortly."
867877
}

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

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,8 @@
151151
"extend-expiry-date": "Date d'expiration",
152152
"Duplicate Template": "Plantilla duplicada",
153153
"Duplicate": "Duplicada",
154-
"daily-mail-quota": "Cuota diaria de correos electrónicos"
154+
"daily-mail-quota": "Cuota diaria de correos electrónicos",
155+
"Save as template": "Guardar como plantilla"
155156
},
156157
"report-heading": {
157158
"Sr.No": "",
@@ -309,7 +310,7 @@
309310
"revoke-document": "Revocar documento",
310311
"revoke-document-alert": "¿En definitiva quieres revocar este documento?",
311312
"resend-mail": "Reenviar correo",
312-
"resend-mail-help": "Puedes usar las siguientes variables que serán reemplazadas por sus valores reales:- {{document_title}}, {{sender_name}}, {{sender_mail}}, {{sender_phone}}, {{receiver_name}}, {{receiver_email}}, {{receiver_phone}}, {{expiry_date}}, {{company_name}}, {{signing_url}}.",
313+
"resend-mail-help": "Puedes usar las siguientes variables que serán reemplazadas por sus valores reales:- {{document_title}}, {{sender_name}}, {{sender_mail}}, {{sender_phone}}, {{receiver_name}}, {{receiver_email}}, {{receiver_phone}}, {{expiry_date}}, {{company_name}}, {{signing_url}}, {{note}}.",
313314
"subject": "Asunto",
314315
"body": "Cuerpo",
315316
"add-contact": "Agregar contacto",
@@ -522,7 +523,7 @@
522523
"correct-password": "Por favor, proporciona la contraseña correcta",
523524
"decrypting-pdf": " Desencriptando PDF, por favor, espera...",
524525
"invalid-otp": "OTP inválido",
525-
"user-not-found": "¡Usuario no encontrado!",
526+
"user-not-found": "Usuario no encontrado",
526527
"enter-otp-alert": "¡Por favor, ingresa el OTP!",
527528
"get-verification-code": "Obtener código de verificación",
528529
"get-verification-code-2": "Obtendrás un código de verificación por correo",
@@ -858,10 +859,19 @@
858859
"indexing-public-profile": "Permitir la indexación del perfil público por los motores de búsqueda",
859860
"user-created-successfully": "Usuario creado con éxito.",
860861
"only-15-reminder-allowed": "Puede configurar hasta 15 recordatorios automáticos. Por ejemplo, si 'TimeToComplete' es de 15 días y 'RemindOnceInEvery' es de 1 día, alcanzará el límite máximo de 15 recordatorios. Ajuste su configuración en consecuencia.",
861-
"rate-your-experience": "👋 Por favor, califique su experiencia con Opensign",
862+
"rate-your-experience": "¿Cómo fue su experiencia con {{appName}}?",
862863
"thanks-for-feedback": "Gracias por su comentario 🙏",
863864
"share-your-feedback": "Comparta sus comentarios",
864865
"share-your-review": "Comparta su reseña",
865866
"date-format": "Formato de fecha",
866-
"document-deleted": "El documento ha sido eliminado o no tiene acceso. Por favor, contacte al remitente."
867+
"document-deleted": "El documento ha sido eliminado o no tiene acceso. Por favor, contacte al remitente.",
868+
"save-as-template-?": "¿Está seguro de que desea guardar este documento como plantilla?",
869+
"go-to-manage-templates": "Ir a 'Gestionar plantillas'",
870+
"template-created": "Plantilla creada",
871+
"how-would-you-like-to-proceed?": "¿Cómo le gustaría proceder?",
872+
"failed-to-load-refresh-page": "Error al cargar el documento. Intente actualizar esta página.",
873+
"document-has-been-signed": "¡El documento ha sido firmado con éxito!",
874+
"document-has-been-signed-by-you": "¡El documento ha sido firmado con éxito por usted!",
875+
"participant-completed-signing": "Todos los participantes han completado el proceso de firma.",
876+
"you-will-receive-email-shortly": "✅ ¡Eso es todo! Recibirá un correo de confirmación en breve."
867877
}

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

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,8 @@
172172
"extend-expiry-date": "Prolonger la date d'expiration",
173173
"Duplicate Template": "dupliquer le modèle",
174174
"Duplicate": "Double",
175-
"daily-mail-quota": "Quota d'e-mails quotidien"
175+
"daily-mail-quota": "Quota d'e-mails quotidien",
176+
"Save as template": "Enregistrer comme modèle"
176177
},
177178
"report-help": {
178179
"Draft Documents": "Il s'agit de documents que vous avez commencés mais que vous n'avez pas finalisés pour envoi.",
@@ -308,7 +309,7 @@
308309
"revoke-document": "Révoquer le document",
309310
"revoke-document-alert": "Êtes-vous sûr de vouloir révoquer ce document ?",
310311
"resend-mail": "Renvoyer le courrier",
311-
"resend-mail-help": "Vous pouvez utiliser les variables suivantes qui seront remplacées par leurs valeurs réelles : - {{document_title}}, {{sender_name}}, {{sender_mail}}, {{sender_phone}}, {{receiver_name}}, {{receiver_email} }, {{receiver_phone}}, {{expiry_date}}, {{company_name}}, {{signing_url}}.",
312+
"resend-mail-help": "Vous pouvez utiliser les variables suivantes qui seront remplacées par leurs valeurs réelles : - {{document_title}}, {{sender_name}}, {{sender_mail}}, {{sender_phone}}, {{receiver_name}}, {{receiver_email} }, {{receiver_phone}}, {{expiry_date}}, {{company_name}}, {{signing_url}}, {{note}}.",
312313
"subject": "Sujet",
313314
"body": "Corps",
314315
"add-contact": "Ajouter le contact",
@@ -522,7 +523,7 @@
522523
"correct-password": "Veuillez fournir un mot de passe correct",
523524
"decrypting-pdf": "Décryptage du pdf, veuillez patienter...",
524525
"invalid-otp": "OTP invalide",
525-
"user-not-found": "Utilisateur non trouvé!",
526+
"user-not-found": "Utilisateur non trouvé",
526527
"enter-otp-alert": "Veuillez saisir OTP !",
527528
"get-verification-code": "Obtenir le code de vérification",
528529
"get-verification-code-2": "Vous recevrez un code de vérification par e-mail",
@@ -858,10 +859,19 @@
858859
"indexing-public-profile": "Autoriser l'indexation du profil public par les moteurs de recherche",
859860
"user-created-successfully": "Utilisateur créé avec succès.",
860861
"only-15-reminder-allowed": "Vous pouvez définir jusqu'à 15 rappels automatiques. Par exemple, si 'TimeToComplete' est de 15 jours et 'RemindOnceInEvery' est de 1 jour, vous atteindrez la limite maximale de 15 rappels. Ajustez vos paramètres en conséquence.",
861-
"rate-your-experience": "👋 Veuillez évaluer votre expérience avec Opensign",
862+
"rate-your-experience": "Comment s'est passée votre expérience avec {{appName}} ?",
862863
"thanks-for-feedback": "Merci pour votre retour 🙏",
863864
"share-your-feedback": "Partagez votre avis",
864865
"share-your-review": "Partagez votre avis",
865866
"date-format": "Format de date",
866-
"document-deleted": "Le document a été supprimé ou vous n'y avez pas accès. Veuillez contacter l'expéditeur."
867+
"document-deleted": "Le document a été supprimé ou vous n'y avez pas accès. Veuillez contacter l'expéditeur.",
868+
"save-as-template-?": "Êtes-vous sûr de vouloir enregistrer ce document comme modèle ?",
869+
"go-to-manage-templates": "Aller à 'Gérer les modèles'",
870+
"template-created": "Modèle créé",
871+
"how-would-you-like-to-proceed?": "Comment souhaitez-vous procéder ?",
872+
"failed-to-load-refresh-page": "Échec du chargement du document. Veuillez essayer d'actualiser cette page.",
873+
"document-has-been-signed": "Le document a été signé avec succès !",
874+
"document-has-been-signed-by-you": "Le document a été signé avec succès par vous !",
875+
"participant-completed-signing": "Tous les participants ont terminé le processus de signature.",
876+
"you-will-receive-email-shortly": "✅ Voilà, c'est fait ! Vous recevrez un e-mail de confirmation sous peu."
867877
}

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

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,8 @@
151151
"extend-expiry-date": "Estendi data di scadenza",
152152
"Duplicate Template": "Duplica modello",
153153
"Duplicate": "Duplica",
154-
"daily-mail-quota": "Quota e-mail giornaliera"
154+
"daily-mail-quota": "Quota e-mail giornaliera",
155+
"Save as template": "Salva come modello"
155156
},
156157
"report-heading": {
157158
"Sr.No": "Nr.",
@@ -308,7 +309,7 @@
308309
"revoke-document": "Revoca documento",
309310
"revoke-document-alert": "Sei sicuro di voler revocare questo documento?",
310311
"resend-mail": "Reinvia email",
311-
"resend-mail-help": "Puoi usare le seguenti variabili che verranno sostituite con i loro valori effettivi: {{document_title}}, {{sender_name}}, {{sender_mail}}, {{sender_phone}}, {{receiver_name}}, {{receiver_email}}, {{receiver_phone}}, {{expiry_date}}, {{company_name}}, {{signing_url}}.",
312+
"resend-mail-help": "Puoi usare le seguenti variabili che verranno sostituite con i loro valori effettivi: {{document_title}}, {{sender_name}}, {{sender_mail}}, {{sender_phone}}, {{receiver_name}}, {{receiver_email}}, {{receiver_phone}}, {{expiry_date}}, {{company_name}}, {{signing_url}}, {{note}}.",
312313
"subject": "Oggetto",
313314
"body": "Corpo del messaggio",
314315
"add-contact": "Aggiungi contatto",
@@ -522,7 +523,7 @@
522523
"correct-password": "Fornisci la password corretta",
523524
"decrypting-pdf": "Decrittazione PDF, attendi...",
524525
"invalid-otp": "OTP non valido",
525-
"user-not-found": "Utente non trovato!",
526+
"user-not-found": "Utente non trovato",
526527
"enter-otp-alert": "Inserisci l'OTP!",
527528
"get-verification-code": "Ottieni codice di verifica",
528529
"get-verification-code-2": "Riceverai un codice di verifica tramite Email",
@@ -858,10 +859,19 @@
858859
"indexing-public-profile": "Consenti l'indicizzazione del profilo pubblico dai motori di ricerca",
859860
"user-created-successfully": "Utente creato con successo.",
860861
"only-15-reminder-allowed": "Puoi impostare fino a 15 promemoria automatici. Ad esempio, se 'TimeToComplete' è di 15 giorni e 'RemindOnceInEvery' è di 1 giorno, raggiungerai il limite massimo di 15 promemoria. Regola le tue impostazioni di conseguenza.",
861-
"rate-your-experience": "👋 Valuta la tua esperienza con Opensign",
862+
"rate-your-experience": "Com'è stata la sua esperienza con {{appName}}?",
862863
"thanks-for-feedback": "Grazie per il tuo feedback 🙏",
863864
"share-your-feedback": "Condividi il tuo feedback",
864865
"share-your-review": "Condividi la tua recensione",
865866
"date-format": "Formato data",
866-
"document-deleted": "Il documento è stato eliminato o non hai accesso. Si prega di contattare il mittente."
867+
"document-deleted": "Il documento è stato eliminato o non hai accesso. Si prega di contattare il mittente.",
868+
"save-as-template-?": "Sei sicuro di voler salvare questo documento come modello?",
869+
"go-to-manage-templates": "Vai a 'Gestisci modelli'",
870+
"template-created": "Modello creato",
871+
"how-would-you-like-to-proceed?": "Come desideri procedere?",
872+
"failed-to-load-refresh-page": "Impossibile caricare il documento. Prova ad aggiornare questa pagina.",
873+
"document-has-been-signed": "Il documento è stato firmato con successo!",
874+
"document-has-been-signed-by-you": "Il documento è stato firmato con successo da lei!",
875+
"participant-completed-signing": "Tutti i partecipanti hanno completato il processo di firma.",
876+
"you-will-receive-email-shortly": "✅ È tutto! Riceverà a breve un'e-mail di conferma."
867877
}

apps/OpenSign/src/components/RenderDebugPdf.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
import React from "react";
22
import { Document, Page } from "react-pdf";
33
import { Stage, Layer, Rect, Text } from "react-konva";
4+
import { useTranslation } from "react-i18next";
45
const RenderDebugPdf = (props) => {
6+
const { t } = useTranslation();
57
return (
68
<div>
79
<div className="sticky top-0 p-[10px] z-10 bg-white border-[1px] border-[gray] my-[5px]">
@@ -12,10 +14,9 @@ const RenderDebugPdf = (props) => {
1214
onMouseMove={props.handleMouseMoveDiv}
1315
>
1416
<Document
15-
onLoadError={() => {
16-
props.setPdfLoadFail(false);
17-
}}
18-
loading={"Loading Document.."}
17+
onLoadError={() => props.setPdfLoadFail(false)}
18+
loading={t("loading-doc")}
19+
error={<p className="mx-2">{t("failed-to-load-refresh-page")}</p>}
1920
onLoadSuccess={props.pageDetails}
2021
ref={props.pdfRef}
2122
file={props.pdfUrl}

apps/OpenSign/src/components/pdf/AddRoleModal.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ const AddRoleModal = (props) => {
1717
onChange={(e) => props.setRoleName(e.target.value)}
1818
placeholder={
1919
props.signersdata.length > 0
20-
? "User " + (props.signersdata.length + 1)
21-
: "User 1"
20+
? "Role " + (props.signersdata.length + 1)
21+
: "Role 1"
2222
}
2323
className="op-input op-input-bordered op-input-sm focus:outline-none hover:border-base-content w-full text-xs mt-1"
2424
/>

0 commit comments

Comments
 (0)