From 4d259ca63d8d41f8510c5648aac056de3bd1078d Mon Sep 17 00:00:00 2001
From: Vinciane <vinciane.bizet@maarch.org>
Date: Tue, 26 Feb 2019 17:33:50 +0100
Subject: [PATCH] FEAT #9511 Lang variable

---
 .../template/template-administration.component.html             | 2 +-
 src/frontend/lang/lang-en.ts                                    | 2 ++
 src/frontend/lang/lang-fr.ts                                    | 1 +
 src/frontend/lang/lang-nl.ts                                    | 1 +
 4 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/frontend/app/administration/template/template-administration.component.html b/src/frontend/app/administration/template/template-administration.component.html
index 0fcbf0ed29a..27859572802 100755
--- a/src/frontend/app/administration/template/template-administration.component.html
+++ b/src/frontend/app/administration/template/template-administration.component.html
@@ -72,7 +72,7 @@
                          <div class="form-group" *ngIf="template.template_target == 'acknowledgementReceipt'">
                                 <div class="col-sm-12">
                                     <mat-form-field>
-                                            <mat-select [disabled]="!creationMode" id="template_attachment_type" name="template_attachment_type" title="{{lang.attachmentType}}" placeholder="{{lang.attachmentType}}"
+                                            <mat-select [disabled]="!creationMode" id="template_attachment_type" name="template_attachment_type" title="{{lang.acknowledgementReceiptType}}" placeholder="{{lang.acknowledgementReceiptType}}"
                                             [(ngModel)]="template.template_attachment_type" required>
                                             <mat-option value="ar_simple">{{lang.AR_simple}}</mat-option>
                                             <mat-option value="ar_sva">{{lang.AR_SVA}}</mat-option>
diff --git a/src/frontend/lang/lang-en.ts b/src/frontend/lang/lang-en.ts
index 4f62c5ed61e..934ed5c2d92 100755
--- a/src/frontend/lang/lang-en.ts
+++ b/src/frontend/lang/lang-en.ts
@@ -572,6 +572,8 @@ export const LANG_EN = {
     "contentHtmlTemplate"               : "Content html template",
     "noTarget"                          : "No target",
     "doctypes"                          : "Document types",
+    "attachmentType"                    : "Type of attachement",
+    "acknowledgementReceiptType"        : "Type of acknowledgement of receipt",
     "templateServiceInfo"               : "Choose the department(s) that you want to associate to this template",
     "templateAdded"                     : "Template added",
     "templateUpdated"                   : "Template updated",
diff --git a/src/frontend/lang/lang-fr.ts b/src/frontend/lang/lang-fr.ts
index 9517a117c52..dcb812ba9c7 100755
--- a/src/frontend/lang/lang-fr.ts
+++ b/src/frontend/lang/lang-fr.ts
@@ -594,6 +594,7 @@ export const LANG_FR = {
     "noTarget"                          : "Pas de cible",
     "doctypes"                          : "Types de documents",
     "attachmentType"                    : "Type d'attachement",
+    "acknowledgementReceiptType"        : "Type d'accusé de réception",
     "templateServiceInfo"               : "Choisissez le(s) service(s) au(x)quel(s) vous souhaitez associer ce modèle",
     "templateAdded"                     : "Modèle ajouté",
     "templateUpdated"                   : "Modèle mis à jour",
diff --git a/src/frontend/lang/lang-nl.ts b/src/frontend/lang/lang-nl.ts
index 578e11be03b..9290ccb79c0 100755
--- a/src/frontend/lang/lang-nl.ts
+++ b/src/frontend/lang/lang-nl.ts
@@ -886,4 +886,5 @@ export const LANG_NL = {
     "done"                      : "done", //_TO_TRANSLATE
     "noAction"                      : "No action", //_TO_TRANSLATE
     "warnLockRes"                      : "mail(s) are locked by an other user.\n\nThis action will process ONLY mails which are NOT locked", //_TO_TRANSLATE 
+    "acknowledgementReceiptType"        : "Type of acknowledgement of receipt", //_TO_TRANSLATE
 };
-- 
GitLab