From 347c7a0378d0c3a9e02e8b9eec84fa1004897911 Mon Sep 17 00:00:00 2001
From: Alex ORLUC <alex.orluc@maarch.org>
Date: Fri, 31 May 2019 11:32:21 +0200
Subject: [PATCH] fix var lang

---
 lang/en.json                                     | 3 ++-
 lang/fr.json                                     | 3 ++-
 src/frontend/app/modal/warn-modal.component.html | 4 +---
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/lang/en.json b/lang/en.json
index 458d09fe5a..88d030106e 100755
--- a/lang/en.json
+++ b/lang/en.json
@@ -155,6 +155,7 @@
 		"noResult": "No result",
 		"informations": "Informations",
 		"circuit": "Circuit",
-		"actions": "Actions"
+		"actions": "Actions",
+		"addNote": "Add note"
 	}
 }
diff --git a/lang/fr.json b/lang/fr.json
index 1208189515..1ba089d520 100755
--- a/lang/fr.json
+++ b/lang/fr.json
@@ -155,6 +155,7 @@
 		"noResult": "Aucun résultat",
 		"informations": "Informations",
 		"circuit": "Circuit",
-		"actions": "Actions"
+		"actions": "Actions",
+		"addNote": "Ajouter un commentaire"
 	}
 }
diff --git a/src/frontend/app/modal/warn-modal.component.html b/src/frontend/app/modal/warn-modal.component.html
index 56ac8743bc..676214b5e5 100755
--- a/src/frontend/app/modal/warn-modal.component.html
+++ b/src/frontend/app/modal/warn-modal.component.html
@@ -1,17 +1,15 @@
 <div class="modalContent">
     <h1 mat-dialog-title><i class="fa fa-exclamation-triangle fa-2x"></i><br/>{{'lang.warning' | translate}} !</h1>
     <div mat-dialog-content>
-      <!--<p *ngIf="signaturesService.notesContent.length == 0 && signaturesService.signaturesContent.length == 0">{{'lang.refuseDocumentWithoutSignature' | translate}}</p>-->
       <p>{{'lang.wouldLikeConfirm' | translate}}</p>
       <p>
-        <textarea [(ngModel)]="note" class="note" matInput placeholder="Ajouter un commentaire"></textarea>
+        <textarea [(ngModel)]="note" class="note" matInput placeholder="{{'lang.addNote' | translate}}"></textarea>
       </p>
     </div>
     <div mat-dialog-actions>
       <button mat-icon-button class="close" (click)="this.dialogRef.close();">
         <mat-icon fontSet="fas" fontIcon="fa-times"></mat-icon>
       </button>
-      <!--<button class="actions btn" [disabled]="disableState" mat-button (click)="this.dialogRef.close('annotation');" *ngIf="signaturesService.notesContent.length == 0"><i class="fas fa-pen-alt fa-2x"></i> {{'lang.annotateDocument' | translate}}</button>-->
       <button class="actions btn red" mat-button cdkFocusInitial (click)="confirmDoc();" [disabled]="disableState"><i class="fas fa-backspace fa-2x"></i> {{ msgButton | translate}}</button>
     </div>
 </div>
-- 
GitLab