Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix bad translation in confirm dialog

Chocobozzz6599f096d5a2
diff --git a/client/src/app/core/confirm/confirm.component.html b/client/src/app/core/confirm/confirm.component.html
index 3052526bad..8e5443c6a8 100644
--- a/client/src/app/core/confirm/confirm.component.html
+++ b/client/src/app/core/confirm/confirm.component.html
@@ -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>
diff --git a/client/src/app/core/confirm/confirm.component.ts b/client/src/app/core/confirm/confirm.component.ts
index 066e3fc5fc..c8e41e233b 100644
--- a/client/src/app/core/confirm/confirm.component.ts
+++ b/client/src/app/core/confirm/confirm.component.ts
@@ -46,7 +46,7 @@ export class ConfirmComponent implements OnInit {
}
@HostListener('keydown.esc')
- abort () {
+ cancel () {
this.confirmService.confirmResponse.next(false)
this.hideModal()
}