X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fassets%2Fplayer%2Fpeertube-link-button.ts;h=715207bc07ba419d7b9fe3cb6dafe9084dd8aef6;hb=77540346413259e4ec62ee8302e503bcd2a01047;hp=a13815d611206388395186193a32654bdd72c55b;hpb=960a11e89da4e4a6ad6fbad61c71625f89e267b6;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/assets/player/peertube-link-button.ts b/client/src/assets/player/peertube-link-button.ts index a13815d61..715207bc0 100644 --- a/client/src/assets/player/peertube-link-button.ts +++ b/client/src/assets/player/peertube-link-button.ts @@ -1,3 +1,4 @@ +import * as videojs from 'video.js' import { VideoJSComponentInterface, videojsUntyped } from './peertube-videojs-typings' import { buildVideoLink } from './utils' @@ -24,7 +25,7 @@ class PeerTubeLinkButton extends Button { const el = videojsUntyped.dom.createEl('a', { href: buildVideoLink(), innerHTML: 'PeerTube', - title: 'Go to the video page', + title: this.player_.localize('Go to the video page'), className: 'vjs-peertube-link', target: '_blank' })