Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions lang/ui.en.json
Original file line number Diff line number Diff line change
Expand Up @@ -550,6 +550,14 @@
"defaultMessage": "Manual ({shortcut})",
"description": "Parameter help setting for when the user must press a key combination to open the parameter documentation"
},
"parameter-help-shortcut": {
"defaultMessage": "Ctrl+Shift+Space",
"description": "Keyboard shortcut that opens parameter help on Windows, Linux and ChromeOS. Shown in brackets after the Manual parameter help setting. Use the key names printed on keyboards in your language."
},
"parameter-help-shortcut-mac": {
"defaultMessage": "Cmd+Shift+Space",
"description": "Keyboard shortcut that opens parameter help on a Mac. Shown in brackets after the Manual parameter help setting. Use the key names printed on Mac keyboards in your language."
},
"permanently-delete": {
"defaultMessage": "Permanently delete {filename}?",
"description": "Confirmation question to permanently delete file"
Expand Down
6 changes: 5 additions & 1 deletion src/settings/SettingsArea.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,11 @@ const SettingsArea = () => {
"parameter-help",
intl,
{
shortcut: (isMac ? "Cmd" : "Ctrl") + "+Shift+Space",
shortcut: intl.formatMessage({
id: isMac
? "parameter-help-shortcut-mac"
: "parameter-help-shortcut",
}),
}
),
};
Expand Down
Loading