diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-09-10 09:06:57 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-09-10 09:07:40 +0200 |
commit | 6599f096d5a26f2cc9624359d92cc501ec189586 (patch) | |
tree | 761345ac1deb87af8fd5d49cd102a813db55f0c4 /client/src/app | |
parent | 5c7d587b196c580a411beece072b8e8589a7a0c8 (diff) | |
download | PeerTube-6599f096d5a26f2cc9624359d92cc501ec189586.tar.gz PeerTube-6599f096d5a26f2cc9624359d92cc501ec189586.tar.zst PeerTube-6599f096d5a26f2cc9624359d92cc501ec189586.zip |
Fix bad translation in confirm dialog
Diffstat (limited to 'client/src/app')
-rw-r--r-- | client/src/app/core/confirm/confirm.component.html | 4 | ||||
-rw-r--r-- | client/src/app/core/confirm/confirm.component.ts | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/client/src/app/core/confirm/confirm.component.html b/client/src/app/core/confirm/confirm.component.html index 3052526ba..8e5443c6a 100644 --- a/client/src/app/core/confirm/confirm.component.html +++ b/client/src/app/core/confirm/confirm.component.html | |||
@@ -12,8 +12,8 @@ | |||
12 | <div class="modal-body" [innerHtml]="message"></div> | 12 | <div class="modal-body" [innerHtml]="message"></div> |
13 | 13 | ||
14 | <div class="modal-footer"> | 14 | <div class="modal-footer"> |
15 | <button type="button" class="btn btn-default" data-dismiss="modal" (click)="abort()">Annuler</button> | 15 | <button type="button" class="btn btn-default" data-dismiss="modal" (click)="cancel()">Cancel</button> |
16 | <button type="button" class="btn btn-primary" (click)="confirm()">Valider</button> | 16 | <button type="button" class="btn btn-primary" (click)="confirm()">Confirm</button> |
17 | </div> | 17 | </div> |
18 | </div> | 18 | </div> |
19 | </div> | 19 | </div> |
diff --git a/client/src/app/core/confirm/confirm.component.ts b/client/src/app/core/confirm/confirm.component.ts index 066e3fc5f..c8e41e233 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 { | |||
46 | } | 46 | } |
47 | 47 | ||
48 | @HostListener('keydown.esc') | 48 | @HostListener('keydown.esc') |
49 | abort () { | 49 | cancel () { |
50 | this.confirmService.confirmResponse.next(false) | 50 | this.confirmService.confirmResponse.next(false) |
51 | this.hideModal() | 51 | this.hideModal() |
52 | } | 52 | } |