Fix bad translation in confirm dialog
authorChocobozzz <florian.bigard@gmail.com>
Sun, 10 Sep 2017 07:06:57 +0000 (09:06 +0200)
committerChocobozzz <florian.bigard@gmail.com>
Sun, 10 Sep 2017 07:07:40 +0000 (09:07 +0200)
client/src/app/core/confirm/confirm.component.html
client/src/app/core/confirm/confirm.component.ts

index 3052526bad5c7cd3f76ce3e20e1dc2bc18d01fb2..8e5443c6a87007d55d4d0428faacd34cd21c9ac5 100644 (file)
@@ -12,8 +12,8 @@
       <div class="modal-body" [innerHtml]="message"></div>
 
       <div class="modal-footer">
-        <button type="button" class="btn btn-default" data-dismiss="modal" (click)="abort()">Annuler</button>
-        <button type="button" class="btn btn-primary" (click)="confirm()">Valider</button>
+        <button type="button" class="btn btn-default" data-dismiss="modal" (click)="cancel()">Cancel</button>
+        <button type="button" class="btn btn-primary" (click)="confirm()">Confirm</button>
       </div>
     </div>
   </div>
index 066e3fc5fca25773588638f581b7ef6123c56fd7..c8e41e233bb5d3e74540d49efe67308bf2627ee9 100644 (file)
@@ -46,7 +46,7 @@ export class ConfirmComponent implements OnInit {
   }
 
   @HostListener('keydown.esc')
-  abort () {
+  cancel () {
     this.confirmService.confirmResponse.next(false)
     this.hideModal()
   }