Add localization for receiver signing instructions

Added new localized strings for "Receiver_SignField_ClickToSign" and "Receiver_Signing_Instruction" in `Resource.de-DE.resx`, `Resource.en-US.resx`, and `Resource.fr-FR.resx` to support receiver signing instructions.

Updated `ReceiverPage.razor` to integrate `IStringLocalizer<Resource>` for localization support. Introduced a helper method `L(string key, string fallback)` to fetch localized strings with a fallback mechanism.

Modified `_signatures` rendering logic to display localized signing instructions when applicable. Updated `FieldOverlays` to use the localized string for the signature field label. Enhanced the UI to show a styled message box with signing instructions when not all fields are signed.
This commit is contained in:
2026-11-24 11:56:05 +01:00
parent 4fc00e02e7
commit edf0c9d87f
4 changed files with 23 additions and 1 deletions

View File

@@ -770,6 +770,8 @@
<data name="SenderEditor_Sent_Header" xml:space="preserve"><value>Envelope sent</value></data>
<data name="SenderEditor_Sent_Title" xml:space="preserve"><value>Envelope was sent successfully.</value></data>
<data name="SenderEditor_SignatureField" xml:space="preserve"><value>Signature field</value></data>
<data name="Receiver_SignField_ClickToSign" xml:space="preserve"><value>Sign here</value></data>
<data name="Receiver_Signing_Instruction" xml:space="preserve"><value>Please click each highlighted field to sign.</value></data>
<data name="SenderEditor_Title_Placeholder" xml:space="preserve"><value>e.g. Employment contract 2025</value></data>
<data name="SenderEditor_ToOverview" xml:space="preserve"><value>To overview</value></data>
<data name="SenderEditor_UploadPdfToPlaceFields" xml:space="preserve"><value>Upload a PDF file to place signature fields.</value></data>