mirror of https://github.com/Chocobozzz/PeerTube
Fix "Off" player string localization
parent
fe228901ce
commit
efcadd3d14
|
@ -310,7 +310,7 @@ class SettingsMenuItem extends MenuItem {
|
|||
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 State': 'Buffer State',
|
||||
'Live Latency': 'Live Latency',
|
||||
' off': ' off',
|
||||
'Player mode': 'Player mode'
|
||||
}
|
||||
Object.assign(playerKeys, videojs)
|
||||
|
|
Loading…
Reference in New Issue