diff options
Diffstat (limited to 'client/src/assets/player/settings-menu-item.ts')
-rw-r--r-- | client/src/assets/player/settings-menu-item.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/assets/player/settings-menu-item.ts b/client/src/assets/player/settings-menu-item.ts index 048c88533..f595fd459 100644 --- a/client/src/assets/player/settings-menu-item.ts +++ b/client/src/assets/player/settings-menu-item.ts | |||
@@ -132,7 +132,7 @@ class SettingsMenuItem extends MenuItem { | |||
132 | const button = this.subMenu.menu.addChild('MenuItem', {}, 0) | 132 | const button = this.subMenu.menu.addChild('MenuItem', {}, 0) |
133 | button.name_ = 'BackButton' | 133 | button.name_ = 'BackButton' |
134 | button.addClass('vjs-back-button') | 134 | button.addClass('vjs-back-button') |
135 | button.el_.innerHTML = this.subMenu.controlText_ | 135 | button.el_.innerHTML = this.player_.localize(this.subMenu.controlText_) |
136 | } | 136 | } |
137 | 137 | ||
138 | /** | 138 | /** |
@@ -201,7 +201,7 @@ class SettingsMenuItem extends MenuItem { | |||
201 | saveUpdateLabel.call(this.subMenu) | 201 | saveUpdateLabel.call(this.subMenu) |
202 | } | 202 | } |
203 | 203 | ||
204 | this.settingsSubMenuTitleEl_.innerHTML = this.subMenu.controlText_ | 204 | this.settingsSubMenuTitleEl_.innerHTML = this.player_.localize(this.subMenu.controlText_) |
205 | this.settingsSubMenuEl_.appendChild(this.subMenu.menu.el_) | 205 | this.settingsSubMenuEl_.appendChild(this.subMenu.menu.el_) |
206 | this.panelChildEl.appendChild(this.settingsSubMenuEl_) | 206 | this.panelChildEl.appendChild(this.settingsSubMenuEl_) |
207 | this.update() | 207 | this.update() |