aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--client/src/assets/player/videojs-components/settings-menu-item.ts2
-rwxr-xr-xscripts/i18n/create-custom-files.ts1
2 files changed, 2 insertions, 1 deletions
diff --git a/client/src/assets/player/videojs-components/settings-menu-item.ts b/client/src/assets/player/videojs-components/settings-menu-item.ts
index 48fed0fd9..d27163373 100644
--- a/client/src/assets/player/videojs-components/settings-menu-item.ts
+++ b/client/src/assets/player/videojs-components/settings-menu-item.ts
@@ -310,7 +310,7 @@ class SettingsMenuItem extends MenuItem {
310 break 310 break
311 } 311 }
312 312
313 this.settingsSubMenuValueEl_.innerHTML = subMenuItemUntyped.options_.label 313 this.settingsSubMenuValueEl_.innerHTML = this.player().localize(subMenuItemUntyped.options_.label)
314 } 314 }
315 } 315 }
316 } 316 }
diff --git a/scripts/i18n/create-custom-files.ts b/scripts/i18n/create-custom-files.ts
index b26e92d93..b363a1bdc 100755
--- a/scripts/i18n/create-custom-files.ts
+++ b/scripts/i18n/create-custom-files.ts
@@ -51,6 +51,7 @@ const playerKeys = {
51 'Buffer Progress': 'Buffer Progress', 51 'Buffer Progress': 'Buffer Progress',
52 'Buffer State': 'Buffer State', 52 'Buffer State': 'Buffer State',
53 'Live Latency': 'Live Latency', 53 'Live Latency': 'Live Latency',
54 ' off': ' off',
54 'Player mode': 'Player mode' 55 'Player mode': 'Player mode'
55} 56}
56Object.assign(playerKeys, videojs) 57Object.assign(playerKeys, videojs)