mirror of
https://github.com/videojs/video.js.git
synced 2025-01-15 10:39:58 +02:00
@mmcc fixed localization of captions/subtitles menu off buttons. closes #1632
This commit is contained in:
parent
768e40b169
commit
957687d449
@ -4,6 +4,7 @@ CHANGELOG
|
||||
## HEAD (Unreleased)
|
||||
* @heff fixed checking for child options in the parent options to allow for 'false' ([view](https://github.com/videojs/video.js/pull/1630))
|
||||
* @heff fixed the VolumeMenuButton options to allow passing 'vertical' to the VolumeBar ([view](https://github.com/videojs/video.js/pull/1631))
|
||||
* @mmcc fixed localization of captions/subtitles menu off buttons ([view](https://github.com/videojs/video.js/pull/1632))
|
||||
|
||||
--------------------
|
||||
|
||||
|
@ -64,7 +64,7 @@ vjs.MenuItem = vjs.Button.extend({
|
||||
vjs.MenuItem.prototype.createEl = function(type, props){
|
||||
return vjs.Button.prototype.createEl.call(this, 'li', vjs.obj.merge({
|
||||
className: 'vjs-menu-item',
|
||||
innerHTML: this.options_['label']
|
||||
innerHTML: this.localize(this.options_['label'])
|
||||
}, props));
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user