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/core/auth/auth.service.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'client/src/app/core/auth/auth.service.ts') 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 { 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')) ] } -- cgit v1.2.3