From 94dfca3e35d10368fe424a48b0f78d9e0d04e724 Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Thu, 12 Dec 2019 19:42:37 +0100 Subject: video description/account alignment, watch view basic tooltips --- client/src/app/videos/+video-watch/video-watch.component.ts | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'client/src/app/videos/+video-watch/video-watch.component.ts') 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 890b7996f..8378e83b8 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.ts +++ b/client/src/app/videos/+video-watch/video-watch.component.ts @@ -72,6 +72,11 @@ export class VideoWatchComponent implements OnInit, OnDestroy { remoteServerDown = false hotkeys: Hotkey[] = [] + tooltipLike = '' + tooltipDislike = '' + tooltipSupport = '' + tooltipSaveToPlaylist = '' + private nextVideoUuid = '' private currentTime: number private paramsSub: Subscription @@ -102,7 +107,12 @@ export class VideoWatchComponent implements OnInit, OnDestroy { private hooks: HooksService, private location: PlatformLocation, @Inject(LOCALE_ID) private localeId: string - ) {} + ) { + this.tooltipLike = this.i18n('Like this video') + this.tooltipDislike = this.i18n('Dislike this video') + this.tooltipSupport = this.i18n('Support options for this video') + this.tooltipSaveToPlaylist = this.i18n('Save to playlist') + } get user () { return this.authService.getUser() -- cgit v1.2.3