From 01fd92480a8fef43f34cf6b19fbf6084cbf9b09f Mon Sep 17 00:00:00 2001
From: Hamza HRAMCHI <hamza.hramchi@xelians.fr>
Date: Thu, 15 Dec 2022 17:14:53 +0100
Subject: [PATCH] FEAT #23044 TIME 0:05 add useSMTPAuth description

---
 .../sendmail/sendmail-administration.component.html            | 1 +
 src/lang/lang-en.json                                          | 3 ++-
 src/lang/lang-fr.json                                          | 3 ++-
 3 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/frontend/app/administration/sendmail/sendmail-administration.component.html b/src/frontend/app/administration/sendmail/sendmail-administration.component.html
index b43bd372edb..0b50ebd16c6 100644
--- a/src/frontend/app/administration/sendmail/sendmail-administration.component.html
+++ b/src/frontend/app/administration/sendmail/sendmail-administration.component.html
@@ -77,6 +77,7 @@
                                     <div class="col-md-8" style="margin-bottom: 10px;">
                                         <mat-slide-toggle color="primary" name="canUseIt"
                                             [(ngModel)]="sendmail.useSMTPAuth"
+                                            [title]="'lang.useSMTPAuthDesc' | translate"
                                             [disabled]="['smtp', 'mail'].indexOf(sendmail.type) == -1 || !sendmail.useSMTPAuth">
                                             {{'lang.useSMTPAuth' | translate}}
                                         </mat-slide-toggle>
diff --git a/src/lang/lang-en.json b/src/lang/lang-en.json
index 0f84bda68ec..626118796d8 100644
--- a/src/lang/lang-en.json
+++ b/src/lang/lang-en.json
@@ -2612,5 +2612,6 @@
     "deleteField": "Delete field",
     "workflowSignatoryRole": "Signatory role",
     "mandatory_final": "Mandatory at the end of the workflow",
-    "useSMTPAuth": "Allow sending with these credentials"
+    "useSMTPAuth": "Allow sending with these credentials",
+    "useSMTPAuthDesc": "Allow automatic failover to credentials on send error"
 }
diff --git a/src/lang/lang-fr.json b/src/lang/lang-fr.json
index caadb50c7a0..31b9accb8f5 100644
--- a/src/lang/lang-fr.json
+++ b/src/lang/lang-fr.json
@@ -2617,5 +2617,6 @@
     "signatureMode": "Mode de signature",
     "chooseMode": "Choisissez un mode",
     "finish": "Terminer",
-    "useSMTPAuth": "Autoriser l'envoi avec ces informations d'authentification"
+    "useSMTPAuth": "Autoriser l'envoi avec ces informations d'authentification",
+    "useSMTPAuthDesc": "Autoriser le basculement automatique vers les informations d'identification en cas d'erreur d'envoi"
 }
-- 
GitLab