Skip to content

Commit

Permalink
fix: Better text for exit fullscreen (#7183)
Browse files Browse the repository at this point in the history
  • Loading branch information
mister-ben authored May 10, 2021
1 parent 39485fc commit 0e46624
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lang/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"Loaded": "Geladen",
"Progress": "Status",
"Fullscreen": "Vollbild",
"Non-Fullscreen": "Kein Vollbild",
"Non-Fullscreen": "Vollbildmodus beenden",
"Mute": "Ton aus",
"Unmute": "Ton ein",
"Playback Rate": "Wiedergabegeschwindigkeit",
Expand Down
2 changes: 1 addition & 1 deletion lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"Progress Bar": "Progress Bar",
"progress bar timing: currentTime={1} duration={2}": "{1} of {2}",
"Fullscreen": "Fullscreen",
"Non-Fullscreen": "Non-Fullscreen",
"Non-Fullscreen": "Exit Fullscreen",
"Mute": "Mute",
"Unmute": "Unmute",
"Playback Rate": "Playback Rate",
Expand Down
4 changes: 4 additions & 0 deletions src/js/video.js
Original file line number Diff line number Diff line change
Expand Up @@ -569,5 +569,9 @@ videojs.url = Url;

videojs.defineLazyProperty = defineLazyProperty;

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

export default videojs;

0 comments on commit 0e46624

Please sign in to comment.