Fix bad translation in confirm dialog

This commit is contained in:
Chocobozzz 2017-09-10 09:06:57 +02:00
parent 5c7d587b19
commit 6599f096d5
2 changed files with 3 additions and 3 deletions

View 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>

View File

@ -46,7 +46,7 @@ export class ConfirmComponent implements OnInit {
}
@HostListener('keydown.esc')
abort () {
cancel () {
this.confirmService.confirmResponse.next(false)
this.hideModal()
}