diff options
Diffstat (limited to 'client/src/app/shared/channel')
-rw-r--r-- | client/src/app/shared/channel/avatar.component.html | 4 | ||||
-rw-r--r-- | client/src/app/shared/channel/avatar.component.ts | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/client/src/app/shared/channel/avatar.component.html b/client/src/app/shared/channel/avatar.component.html index 062ef5bde..09871fca4 100644 --- a/client/src/app/shared/channel/avatar.component.html +++ b/client/src/app/shared/channel/avatar.component.html | |||
@@ -1,8 +1,8 @@ | |||
1 | <div class="wrapper" [ngClass]="'avatar-' + size"> | 1 | <div class="wrapper" [ngClass]="'avatar-' + size"> |
2 | <a [routerLink]="[ '/video-channels', video.byVideoChannel ]" [title]="channelLinkTitle"> | 2 | <a [routerLink]="[ '/video-channels', video.byVideoChannel ]" [title]="channelLinkTitle"> |
3 | <img [src]="video.videoChannelAvatarUrl" alt="Channel avatar" /> | 3 | <img [src]="video.videoChannelAvatarUrl" i18n-alt alt="Channel avatar" /> |
4 | </a> | 4 | </a> |
5 | <a [routerLink]="[ '/accounts', video.byAccount ]" [title]="accountLinkTitle"> | 5 | <a [routerLink]="[ '/accounts', video.byAccount ]" [title]="accountLinkTitle"> |
6 | <img [src]="video.accountAvatarUrl" alt="Account avatar" /> | 6 | <img [src]="video.accountAvatarUrl" i18n-alt alt="Account avatar" /> |
7 | </a> | 7 | </a> |
8 | </div> | 8 | </div> |
diff --git a/client/src/app/shared/channel/avatar.component.ts b/client/src/app/shared/channel/avatar.component.ts index 2c8eeb4b2..31f39c200 100644 --- a/client/src/app/shared/channel/avatar.component.ts +++ b/client/src/app/shared/channel/avatar.component.ts | |||
@@ -20,11 +20,11 @@ export class AvatarComponent implements OnInit { | |||
20 | 20 | ||
21 | ngOnInit () { | 21 | ngOnInit () { |
22 | this.channelLinkTitle = this.i18n( | 22 | this.channelLinkTitle = this.i18n( |
23 | 'Go to the channel page of {{name}} ({{handle}})', | 23 | '{{name}} (channel page)', |
24 | { name: this.video.channel.name, handle: this.video.byVideoChannel } | 24 | { name: this.video.channel.name, handle: this.video.byVideoChannel } |
25 | ) | 25 | ) |
26 | this.accountLinkTitle = this.i18n( | 26 | this.accountLinkTitle = this.i18n( |
27 | 'Go to the account page of {{name}} ({{handle}})', | 27 | '{{name}} (account page)', |
28 | { name: this.video.account.name, handle: this.video.byAccount } | 28 | { name: this.video.account.name, handle: this.video.byAccount } |
29 | ) | 29 | ) |
30 | } | 30 | } |