aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--client/src/assets/player/videojs-components/p2p-info-button.ts4
-rwxr-xr-xscripts/i18n/create-custom-files.ts2
2 files changed, 4 insertions, 2 deletions
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 {
91 const downloadedFromPeers = bytes(p2pStats.downloaded).join(' ') 91 const downloadedFromPeers = bytes(p2pStats.downloaded).join(' ')
92 92
93 subDivWebtorrent.title += 93 subDivWebtorrent.title +=
94 '* ' + this.player().localize('From the server: ') + downloadedFromServer + '\n' + 94 ' * ' + this.player().localize('From servers: ') + downloadedFromServer + '\n' +
95 '* ' + this.player().localize('From peers: ') + downloadedFromPeers + '\n' 95 ' * ' + this.player().localize('From peers: ') + downloadedFromPeers + '\n'
96 } 96 }
97 subDivWebtorrent.title += this.player().localize('Total uploaded: ') + totalUploaded.join(' ') 97 subDivWebtorrent.title += this.player().localize('Total uploaded: ') + totalUploaded.join(' ')
98 98
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 = {
33 'Copy magnet URI': 'Copy magnet URI', 33 'Copy magnet URI': 'Copy magnet URI',
34 'Total downloaded: ': 'Total downloaded: ', 34 'Total downloaded: ': 'Total downloaded: ',
35 'Total uploaded: ': 'Total uploaded: ', 35 'Total uploaded: ': 'Total uploaded: ',
36 'From servers: ': 'From servers: ',
37 'From peers: ': 'From peers: ',
36 'Normal mode': 'Normal mode', 38 'Normal mode': 'Normal mode',
37 'Theater mode': 'Theater mode' 39 'Theater mode': 'Theater mode'
38} 40}