From 924e39253a6af6a44f0abecdcd472e00797eb969 Mon Sep 17 00:00:00 2001 From: TekH Date: Fri, 13 Feb 2026 13:43:47 +0100 Subject: [PATCH] Localize envelope sharing UI and messages Replaced hardcoded German text in the envelope sharing UI and JavaScript alerts with localized resource strings for German, English, and French. Added new translations for labels, prompts, and error/success messages. Improved internationalization and user experience by making the sharing feature fully language-aware. --- .../Resources/Resource.de-DE.resx | 36 ++++++++++++++++++ .../Resources/Resource.en-US.resx | 36 ++++++++++++++++++ .../Resources/Resource.fr-FR.resx | 36 ++++++++++++++++++ .../Views/Envelope/ShowEnvelope.cshtml | 37 ++++++++++++------- 4 files changed, 132 insertions(+), 13 deletions(-) diff --git a/EnvelopeGenerator.Application/Resources/Resource.de-DE.resx b/EnvelopeGenerator.Application/Resources/Resource.de-DE.resx index f22c9310..1fd58161 100644 --- a/EnvelopeGenerator.Application/Resources/Resource.de-DE.resx +++ b/EnvelopeGenerator.Application/Resources/Resource.de-DE.resx @@ -285,4 +285,40 @@ Sie haben das Dokument signiert. Im Anschluss erhalten Sie eine schriftliche Bestätigung. + + Unterschriften + + + Geben Sie hier den Empfänger ein, mit welchem Sie das Dokument teilen wollen + + + E-Mail + + + Gültig bis + + + Falsche Email + + + Die E-Mail-Adresse ist ungültig. Bitte verwenden Sie das richtige Format, z. B.: user@mail.com. + + + Gesendet + + + Fehler + + + Falsches Datum + + + Die E-Mail-Adresse ist ungültig. Bitte verwenden Sie das richtige Format, z. B.: user@mail.com. + + + Unerwarteter Fehler + + + Der Vorgang ist fehlgeschlagen. Bitte wenden Sie sich an das IT-Team. + \ No newline at end of file diff --git a/EnvelopeGenerator.Application/Resources/Resource.en-US.resx b/EnvelopeGenerator.Application/Resources/Resource.en-US.resx index deb00e75..c483baab 100644 --- a/EnvelopeGenerator.Application/Resources/Resource.en-US.resx +++ b/EnvelopeGenerator.Application/Resources/Resource.en-US.resx @@ -285,4 +285,40 @@ You have signed the document. Afterwards, you will receive a written confirmation. + + Signatures + + + Enter the recipient you want to share the document with + + + E-mail + + + Valid until + + + Invalid email + + + The email address is invalid. Please use the correct format, e.g., user@mail.com. + + + Sent + + + Error + + + Invalid date + + + The email address is invalid. Please use the correct format, e.g., user@mail.com. + + + Unexpected error + + + The operation failed. Please contact the IT team. + \ No newline at end of file diff --git a/EnvelopeGenerator.Application/Resources/Resource.fr-FR.resx b/EnvelopeGenerator.Application/Resources/Resource.fr-FR.resx index da5b01be..2d4c3038 100644 --- a/EnvelopeGenerator.Application/Resources/Resource.fr-FR.resx +++ b/EnvelopeGenerator.Application/Resources/Resource.fr-FR.resx @@ -285,4 +285,40 @@ Vous avez signé le document. Vous recevrez ensuite une confirmation écrite. + + Signatures + + + Saisissez ici le destinataire avec lequel vous souhaitez partager le document + + + E-mail + + + Valable jusqu'au + + + E-mail incorrect + + + L'adresse e-mail est invalide. Veuillez utiliser le format correct, par ex. : user@mail.com. + + + Envoyé + + + Erreur + + + Date invalide + + + L'adresse e-mail est invalide. Veuillez utiliser le format correct, par ex. : user@mail.com. + + + Erreur inattendue + + + L'opération a échoué. Veuillez contacter l'équipe informatique. + \ No newline at end of file diff --git a/EnvelopeGenerator.Web/Views/Envelope/ShowEnvelope.cshtml b/EnvelopeGenerator.Web/Views/Envelope/ShowEnvelope.cshtml index 53ede57b..b710f772 100644 --- a/EnvelopeGenerator.Web/Views/Envelope/ShowEnvelope.cshtml +++ b/EnvelopeGenerator.Web/Views/Envelope/ShowEnvelope.cshtml @@ -62,7 +62,7 @@
- 0/@signatureCount Unterschriften + 0/@signatureCount @_localizer["Signatures"]
} @@ -104,16 +104,16 @@