]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/core/core.module.ts
Add missing i18n for hotkeys
[github/Chocobozzz/PeerTube.git] / client / src / app / core / core.module.ts
index 3e20564811648c5e79f51cfb8ae658baed7dc63c..4a4c2321b5e0d870375603b5ae372754b69cd52e 100644 (file)
@@ -14,13 +14,23 @@ import { throwIfAlreadyLoaded } from './module-import-guard'
 import { Notifier } from './notification'
 import { HtmlRendererService, LinkifierService, MarkdownService } from './renderer'
 import { RestExtractor, RestService } from './rest'
-import { HomepageRedirectComponent, LoginGuard, MetaGuard, MetaService, RedirectService, UnloggedGuard, UserRightGuard } from './routing'
+import {
+  HomepageRedirectComponent,
+  LoginGuard,
+  MetaGuard,
+  MetaService,
+  PeerTubeRouterService,
+  RedirectService,
+  ScrollService,
+  UnloggedGuard,
+  UserRightGuard
+} from './routing'
 import { CanDeactivateGuard } from './routing/can-deactivate-guard.service'
 import { ServerConfigResolver } from './routing/server-config-resolver.service'
 import { ScopedTokensService } from './scoped-tokens'
 import { ServerService } from './server'
 import { ThemeService } from './theme'
-import { UserService } from './users'
+import { UserLocalStorageService, UserService } from './users'
 import { LocalStorageService, ScreenService, SessionStorageService } from './wrappers'
 
 @NgModule({
@@ -31,7 +41,9 @@ import { LocalStorageService, ScreenService, SessionStorageService } from './wra
     ToastModule,
 
     HotkeyModule.forRoot({
-      cheatSheetCloseEsc: true
+      cheatSheetCloseEsc: true,
+      cheatSheetDescription: $localize`Show/hide this help menu`,
+      cheatSheetCloseEscDescription: $localize`Hide this help menu`
     })
   ],
 
@@ -69,6 +81,7 @@ import { LocalStorageService, ScreenService, SessionStorageService } from './wra
     RestService,
 
     UserService,
+    UserLocalStorageService,
 
     ScreenService,
     LocalStorageService,
@@ -80,6 +93,8 @@ import { LocalStorageService, ScreenService, SessionStorageService } from './wra
     PeerTubeSocket,
     ServerConfigResolver,
     CanDeactivateGuard,
+    PeerTubeRouterService,
+    ScrollService,
 
     MetaService,
     MetaGuard