aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/+video-watch/video-watch.component.ts
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2019-12-12 19:42:37 +0100
committerChocobozzz <chocobozzz@cpy.re>2019-12-13 09:13:43 +0100
commit94dfca3e35d10368fe424a48b0f78d9e0d04e724 (patch)
tree38ae17bbfc56e69b57bfa0cc5331ece85713c8ab /client/src/app/videos/+video-watch/video-watch.component.ts
parent706c5a4743e1ec29da1a21173da70d39b711fadc (diff)
downloadPeerTube-94dfca3e35d10368fe424a48b0f78d9e0d04e724.tar.gz
PeerTube-94dfca3e35d10368fe424a48b0f78d9e0d04e724.tar.zst
PeerTube-94dfca3e35d10368fe424a48b0f78d9e0d04e724.zip
video description/account alignment, watch view basic tooltips
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.ts12
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()