diff options
author | Chocobozzz <me@florianbigard.com> | 2020-12-04 16:37:21 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-12-04 16:37:21 +0100 |
commit | 5f8327c507b1f4eaaa5d4d4fa9a831e78eb7d4f4 (patch) | |
tree | 70fa0b813abe8a2fccc3121fd8fc72723e8a37d4 | |
parent | 171528373e89560b3c396bc0d510d013e1f9c28e (diff) | |
download | PeerTube-5f8327c507b1f4eaaa5d4d4fa9a831e78eb7d4f4.tar.gz PeerTube-5f8327c507b1f4eaaa5d4d4fa9a831e78eb7d4f4.tar.zst PeerTube-5f8327c507b1f4eaaa5d4d4fa9a831e78eb7d4f4.zip |
Update i18n with new player keys
-rw-r--r-- | client/src/assets/player/videojs-components/p2p-info-button.ts | 4 | ||||
-rwxr-xr-x | scripts/i18n/create-custom-files.ts | 2 |
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 | } |