diff --git a/client/src/assets/player/videojs-components/p2p-info-button.ts b/client/src/assets/player/videojs-components/p2p-info-button.ts index b1f7cd751..81f9544f4 100644 --- a/client/src/assets/player/videojs-components/p2p-info-button.ts +++ b/client/src/assets/player/videojs-components/p2p-info-button.ts @@ -91,8 +91,8 @@ class P2pInfoButton extends Button { const downloadedFromPeers = bytes(p2pStats.downloaded).join(' ') subDivWebtorrent.title += - '* ' + this.player().localize('From the server: ') + downloadedFromServer + '\n' + - '* ' + this.player().localize('From peers: ') + downloadedFromPeers + '\n' + ' * ' + this.player().localize('From servers: ') + downloadedFromServer + '\n' + + ' * ' + this.player().localize('From peers: ') + downloadedFromPeers + '\n' } subDivWebtorrent.title += this.player().localize('Total uploaded: ') + totalUploaded.join(' ') diff --git a/scripts/i18n/create-custom-files.ts b/scripts/i18n/create-custom-files.ts index f33903ecd..d4d5b44f0 100755 --- a/scripts/i18n/create-custom-files.ts +++ b/scripts/i18n/create-custom-files.ts @@ -33,6 +33,8 @@ const playerKeys = { 'Copy magnet URI': 'Copy magnet URI', 'Total downloaded: ': 'Total downloaded: ', 'Total uploaded: ': 'Total uploaded: ', + 'From servers: ': 'From servers: ', + 'From peers: ': 'From peers: ', 'Normal mode': 'Normal mode', 'Theater mode': 'Theater mode' }