]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/core/auth/auth.service.ts
Fix hotkey translations
[github/Chocobozzz/PeerTube.git] / client / src / app / core / auth / auth.service.ts
index 8ff5713a11805370047335b1024786c42a7afcf5..9c36b946e3d6bc406894b2565054357082e7d231 100644 (file)
@@ -65,19 +65,19 @@ export class AuthService {
       new Hotkey('m s', (event: KeyboardEvent): boolean => {
         this.router.navigate([ '/videos/subscriptions' ])
         return false
-      }, undefined, 'Go to my subscriptions'),
+      }, undefined, this.i18n('Go to my subscriptions')),
       new Hotkey('m v', (event: KeyboardEvent): boolean => {
         this.router.navigate([ '/my-account/videos' ])
         return false
-      }, undefined, 'Go to my videos'),
+      }, undefined, this.i18n('Go to my videos')),
       new Hotkey('m i', (event: KeyboardEvent): boolean => {
         this.router.navigate([ '/my-account/video-imports' ])
         return false
-      }, undefined, 'Go to my imports'),
+      }, undefined, this.i18n('Go to my imports')),
       new Hotkey('m c', (event: KeyboardEvent): boolean => {
         this.router.navigate([ '/my-account/video-channels' ])
         return false
-      }, undefined, 'Go to my channels')
+      }, undefined, this.i18n('Go to my channels'))
     ]
   }