diff --git a/src/renderer/helpers/utils.js b/src/renderer/helpers/utils.js index 444ddfbd1a071..92b9ab6067993 100644 --- a/src/renderer/helpers/utils.js +++ b/src/renderer/helpers/utils.js @@ -1030,5 +1030,6 @@ export function localizeAndAddKeyboardShortcutToActionTitle(localizedActionTitle unlocalizedShortcuts = [unlocalizedShortcuts] } const localizedShortcuts = unlocalizedShortcuts.map((s) => getLocalizedShortcut(s)) - return addKeyboardShortcutToActionTitle(localizedActionTitle, localizedShortcuts.join('/')) + const shortcutLabelSeparator = i18n.t('shortcutLabelSeparator') + return addKeyboardShortcutToActionTitle(localizedActionTitle, localizedShortcuts.join(shortcutLabelSeparator)) } diff --git a/static/locales/en-US.yaml b/static/locales/en-US.yaml index 29320bbdb1e0f..6acabfca1c3c5 100644 --- a/static/locales/en-US.yaml +++ b/static/locales/en-US.yaml @@ -1124,6 +1124,7 @@ checkmark: ✓ Display Label: '{label}: {value}' KeyboardShortcutTemplate: '{label} ({shortcut})' shortcutJoinOperator: + +shortcutLabelSeparator: / Keys: alt: Alt ctrl: Ctrl