forked from FreeTubeApp/FreeTube
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add keyboard shortcuts to titles (FreeTubeApp#5857)
* Update title for custom FreeTube button labels with keyboard shortcuts * Add keyboard shortcut to unmodified Shaka control labels * Replace in-code use of available shortcuts with the corresponding constants * Add explanatory comments * Fix captions constant name * Prevent creating new shortcut localization if Shaka localization key has no matching value * Add util functions to localize special keys * Replace more video player shortcut usage in code with corresponding constants * Add labels for History and Settings app shortcuts, and update variable naming * Display 'Option' instead of 'Alt' for Mac users * Use Mac icons in keyboard shortcuts for Macs * Update Mac arrow icon choice * Update KeyboardShortcuts constant organization in preparation for keyboard shorcut modal * Adjust nameSpan._textContent to be set to same value as aria-label * Add code comment explaining shakaControlKeysToShortcuts * Move changes from deleted Popular.js to Popular.vue
- Loading branch information
Showing
16 changed files
with
285 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.