diff --git a/src/constants.js b/src/constants.js index 5e2578efcf499..5b4d2fbbb0ab2 100644 --- a/src/constants.js +++ b/src/constants.js @@ -117,7 +117,11 @@ const SyncEvents = { }, } -// note: the multi-key shortcut values are currently just for display use in action titles +/* + DEV NOTE: Duplicate any and all changes made here to our [official documentation site here](https://github.com/FreeTubeApp/FreeTube-Docs/blob/master/usage/keyboard-shortcuts.md) + to have them reflect on the [keyboard shortcut reference webpage](https://docs.freetubeapp.io/usage/keyboard-shortcuts). + Please also update the [keyboard shortcut modal](src/renderer/components/FtKeyboardShortcutPrompt/FtKeyboardShortcutPrompt.vue) +*/ const KeyboardShortcuts = { APP: { GENERAL: { diff --git a/src/renderer/helpers/utils.js b/src/renderer/helpers/utils.js index cb6b048a9ca16..9e5e975d47c92 100644 --- a/src/renderer/helpers/utils.js +++ b/src/renderer/helpers/utils.js @@ -969,7 +969,7 @@ export function getLocalizedShortcut(shortcut) { const shortcuts = shortcut.split('+') if (process.platform === 'darwin') { - const shortcutsAsIcons = shortcuts.map(shortCut => getMacIconForShortcut(shortCut)) + const shortcutsAsIcons = shortcuts.map(shortcut => getMacIconForShortcut(shortcut)) return shortcutsAsIcons.join('') } else { const localizedShortcuts = shortcuts.map((shortcut) => getIndividualLocalizedShortcut(shortcut))