Fix "Off" player string localization

pull/4477/head
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)