Skip to content

Commit 0e46624

Browse files
authored
fix: Better text for exit fullscreen (#7183)
1 parent 39485fc commit 0e46624

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

lang/de.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"Loaded": "Geladen",
1111
"Progress": "Status",
1212
"Fullscreen": "Vollbild",
13-
"Non-Fullscreen": "Kein Vollbild",
13+
"Non-Fullscreen": "Vollbildmodus beenden",
1414
"Mute": "Ton aus",
1515
"Unmute": "Ton ein",
1616
"Playback Rate": "Wiedergabegeschwindigkeit",

lang/en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"Progress Bar": "Progress Bar",
1717
"progress bar timing: currentTime={1} duration={2}": "{1} of {2}",
1818
"Fullscreen": "Fullscreen",
19-
"Non-Fullscreen": "Non-Fullscreen",
19+
"Non-Fullscreen": "Exit Fullscreen",
2020
"Mute": "Mute",
2121
"Unmute": "Unmute",
2222
"Playback Rate": "Playback Rate",

src/js/video.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -569,5 +569,9 @@ videojs.url = Url;
569569

570570
videojs.defineLazyProperty = defineLazyProperty;
571571

572+
// Adding less ambiguous text for fullscreen button.
573+
// In a major update this could become the default text and key.
574+
videojs.addLanguage('en', {'Non-Fullscreen': 'Exit Fullscreen'});
575+
572576
export default videojs;
573577

0 commit comments

Comments
 (0)