1
0
Fork 0

Fix "Off" player string localization

This commit is contained in:
Chocobozzz 2021-10-21 11:01:10 +02:00
parent fe228901ce
commit efcadd3d14
No known key found for this signature in database
GPG key ID: 583A612D890159BE
2 changed files with 2 additions and 1 deletions

View file

@ -310,7 +310,7 @@ class SettingsMenuItem extends MenuItem {
break
}
this.settingsSubMenuValueEl_.innerHTML = subMenuItemUntyped.options_.label
this.settingsSubMenuValueEl_.innerHTML = this.player().localize(subMenuItemUntyped.options_.label)
}
}
}

View file

@ -51,6 +51,7 @@ const playerKeys = {
'Buffer Progress': 'Buffer Progress',
'Buffer State': 'Buffer State',
'Live Latency': 'Live Latency',
' off': ' off',
'Player mode': 'Player mode'
}
Object.assign(playerKeys, videojs)