ActivityPub-federated video streaming platform using P2P directly in your web browser
Update i18n with new player keys
Chocobozzz5f8327c507b1
diff --git a/client/src/assets/player/videojs-components/p2p-info-button.ts b/client/src/assets/player/videojs-components/p2p-info-button.tsindex b1f7cd7512..81f9544f44 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.tsindex f33903ecd2..d4d5b44f05 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'}