From e33f888b86734f7e050a5e3d6f73f852b6de955a Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 3 Oct 2018 10:11:26 +0200 Subject: Fix hotkey translations --- client/src/app/videos/+video-watch/video-watch.component.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'client/src/app/videos') diff --git a/client/src/app/videos/+video-watch/video-watch.component.ts b/client/src/app/videos/+video-watch/video-watch.component.ts index 7a61e355a..ea10b22ad 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.ts +++ b/client/src/app/videos/+video-watch/video-watch.component.ts @@ -125,17 +125,17 @@ export class VideoWatchComponent implements OnInit, OnDestroy { new Hotkey('shift+l', (event: KeyboardEvent): boolean => { this.setLike() return false - }, undefined, 'Like the video'), + }, undefined, this.i18n('Like the video')), new Hotkey('shift+d', (event: KeyboardEvent): boolean => { this.setDislike() return false - }, undefined, 'Dislike the video'), + }, undefined, this.i18n('Dislike the video')), new Hotkey('shift+s', (event: KeyboardEvent): boolean => { this.subscribeButton.subscribed ? this.subscribeButton.unsubscribe() : this.subscribeButton.subscribe() return false - }, undefined, 'Subscribe to the account') + }, undefined, this.i18n('Subscribe to the account')) ] if (this.isUserLoggedIn()) this.hotkeysService.add(this.hotkeys) } -- cgit v1.2.3