Update i18n with new player keys

This commit is contained in:
Chocobozzz 2020-12-04 16:37:21 +01:00
parent 171528373e
commit 5f8327c507
No known key found for this signature in database
GPG key ID: 583A612D890159BE
2 changed files with 4 additions and 2 deletions

View file

@ -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(' ')

View file

@ -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'
}