Fix "Off" player string localization
This commit is contained in:
parent
fe228901ce
commit
efcadd3d14
2 changed files with 2 additions and 1 deletions
|
@ -310,7 +310,7 @@ class SettingsMenuItem extends MenuItem {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|
||||||
this.settingsSubMenuValueEl_.innerHTML = subMenuItemUntyped.options_.label
|
this.settingsSubMenuValueEl_.innerHTML = this.player().localize(subMenuItemUntyped.options_.label)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -51,6 +51,7 @@ const playerKeys = {
|
||||||
'Buffer Progress': 'Buffer Progress',
|
'Buffer Progress': 'Buffer Progress',
|
||||||
'Buffer State': 'Buffer State',
|
'Buffer State': 'Buffer State',
|
||||||
'Live Latency': 'Live Latency',
|
'Live Latency': 'Live Latency',
|
||||||
|
' off': ' off',
|
||||||
'Player mode': 'Player mode'
|
'Player mode': 'Player mode'
|
||||||
}
|
}
|
||||||
Object.assign(playerKeys, videojs)
|
Object.assign(playerKeys, videojs)
|
||||||
|
|
Loading…
Reference in a new issue