diff options
Diffstat (limited to 'client/src/app/videos/+video-watch/video-watch.component.ts')
-rw-r--r-- | client/src/app/videos/+video-watch/video-watch.component.ts | 12 |
1 files changed, 11 insertions, 1 deletions
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 { | |||
72 | remoteServerDown = false | 72 | remoteServerDown = false |
73 | hotkeys: Hotkey[] = [] | 73 | hotkeys: Hotkey[] = [] |
74 | 74 | ||
75 | tooltipLike = '' | ||
76 | tooltipDislike = '' | ||
77 | tooltipSupport = '' | ||
78 | tooltipSaveToPlaylist = '' | ||
79 | |||
75 | private nextVideoUuid = '' | 80 | private nextVideoUuid = '' |
76 | private currentTime: number | 81 | private currentTime: number |
77 | private paramsSub: Subscription | 82 | private paramsSub: Subscription |
@@ -102,7 +107,12 @@ export class VideoWatchComponent implements OnInit, OnDestroy { | |||
102 | private hooks: HooksService, | 107 | private hooks: HooksService, |
103 | private location: PlatformLocation, | 108 | private location: PlatformLocation, |
104 | @Inject(LOCALE_ID) private localeId: string | 109 | @Inject(LOCALE_ID) private localeId: string |
105 | ) {} | 110 | ) { |
111 | this.tooltipLike = this.i18n('Like this video') | ||
112 | this.tooltipDislike = this.i18n('Dislike this video') | ||
113 | this.tooltipSupport = this.i18n('Support options for this video') | ||
114 | this.tooltipSaveToPlaylist = this.i18n('Save to playlist') | ||
115 | } | ||
106 | 116 | ||
107 | get user () { | 117 | get user () { |
108 | return this.authService.getUser() | 118 | return this.authService.getUser() |