aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-10-03 10:11:26 +0200
committerChocobozzz <me@florianbigard.com>2018-10-03 10:11:26 +0200
commite33f888b86734f7e050a5e3d6f73f852b6de955a (patch)
treeea722659930951a55fbb209f5a5e33ae7e4d1918 /client/src/app/videos
parent60709df53602def422e8c32509c27c65b52cb1bd (diff)
downloadPeerTube-e33f888b86734f7e050a5e3d6f73f852b6de955a.tar.gz
PeerTube-e33f888b86734f7e050a5e3d6f73f852b6de955a.tar.zst
PeerTube-e33f888b86734f7e050a5e3d6f73f852b6de955a.zip
Fix hotkey translations
Diffstat (limited to 'client/src/app/videos')
-rw-r--r--client/src/app/videos/+video-watch/video-watch.component.ts6
1 files changed, 3 insertions, 3 deletions
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 {
125 new Hotkey('shift+l', (event: KeyboardEvent): boolean => { 125 new Hotkey('shift+l', (event: KeyboardEvent): boolean => {
126 this.setLike() 126 this.setLike()
127 return false 127 return false
128 }, undefined, 'Like the video'), 128 }, undefined, this.i18n('Like the video')),
129 new Hotkey('shift+d', (event: KeyboardEvent): boolean => { 129 new Hotkey('shift+d', (event: KeyboardEvent): boolean => {
130 this.setDislike() 130 this.setDislike()
131 return false 131 return false
132 }, undefined, 'Dislike the video'), 132 }, undefined, this.i18n('Dislike the video')),
133 new Hotkey('shift+s', (event: KeyboardEvent): boolean => { 133 new Hotkey('shift+s', (event: KeyboardEvent): boolean => {
134 this.subscribeButton.subscribed ? 134 this.subscribeButton.subscribed ?
135 this.subscribeButton.unsubscribe() : 135 this.subscribeButton.unsubscribe() :
136 this.subscribeButton.subscribe() 136 this.subscribeButton.subscribe()
137 return false 137 return false
138 }, undefined, 'Subscribe to the account') 138 }, undefined, this.i18n('Subscribe to the account'))
139 ] 139 ]
140 if (this.isUserLoggedIn()) this.hotkeysService.add(this.hotkeys) 140 if (this.isUserLoggedIn()) this.hotkeysService.add(this.hotkeys)
141 } 141 }