diff options
author | Chocobozzz <me@florianbigard.com> | 2018-10-03 10:11:26 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-10-03 10:11:26 +0200 |
commit | e33f888b86734f7e050a5e3d6f73f852b6de955a (patch) | |
tree | ea722659930951a55fbb209f5a5e33ae7e4d1918 /client/src/app/core/auth/auth.service.ts | |
parent | 60709df53602def422e8c32509c27c65b52cb1bd (diff) | |
download | PeerTube-e33f888b86734f7e050a5e3d6f73f852b6de955a.tar.gz PeerTube-e33f888b86734f7e050a5e3d6f73f852b6de955a.tar.zst PeerTube-e33f888b86734f7e050a5e3d6f73f852b6de955a.zip |
Fix hotkey translations
Diffstat (limited to 'client/src/app/core/auth/auth.service.ts')
-rw-r--r-- | client/src/app/core/auth/auth.service.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/client/src/app/core/auth/auth.service.ts b/client/src/app/core/auth/auth.service.ts index 8ff5713a1..9c36b946e 100644 --- a/client/src/app/core/auth/auth.service.ts +++ b/client/src/app/core/auth/auth.service.ts | |||
@@ -65,19 +65,19 @@ export class AuthService { | |||
65 | new Hotkey('m s', (event: KeyboardEvent): boolean => { | 65 | new Hotkey('m s', (event: KeyboardEvent): boolean => { |
66 | this.router.navigate([ '/videos/subscriptions' ]) | 66 | this.router.navigate([ '/videos/subscriptions' ]) |
67 | return false | 67 | return false |
68 | }, undefined, 'Go to my subscriptions'), | 68 | }, undefined, this.i18n('Go to my subscriptions')), |
69 | new Hotkey('m v', (event: KeyboardEvent): boolean => { | 69 | new Hotkey('m v', (event: KeyboardEvent): boolean => { |
70 | this.router.navigate([ '/my-account/videos' ]) | 70 | this.router.navigate([ '/my-account/videos' ]) |
71 | return false | 71 | return false |
72 | }, undefined, 'Go to my videos'), | 72 | }, undefined, this.i18n('Go to my videos')), |
73 | new Hotkey('m i', (event: KeyboardEvent): boolean => { | 73 | new Hotkey('m i', (event: KeyboardEvent): boolean => { |
74 | this.router.navigate([ '/my-account/video-imports' ]) | 74 | this.router.navigate([ '/my-account/video-imports' ]) |
75 | return false | 75 | return false |
76 | }, undefined, 'Go to my imports'), | 76 | }, undefined, this.i18n('Go to my imports')), |
77 | new Hotkey('m c', (event: KeyboardEvent): boolean => { | 77 | new Hotkey('m c', (event: KeyboardEvent): boolean => { |
78 | this.router.navigate([ '/my-account/video-channels' ]) | 78 | this.router.navigate([ '/my-account/video-channels' ]) |
79 | return false | 79 | return false |
80 | }, undefined, 'Go to my channels') | 80 | }, undefined, this.i18n('Go to my channels')) |
81 | ] | 81 | ] |
82 | } | 82 | } |
83 | 83 | ||