Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keybinding: Error Message Localization #12889

Merged
Merged
Changes from 1 commit
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
Prev Previous commit
Update packages/core/src/common/keys.ts
Co-authored-by: Vincent Fugnitto <[email protected]>
FernandoAscencio and vince-fugnitto authored Sep 1, 2023
commit 23c81aef7e3fef8a47167164b1c7716e786b452e
2 changes: 1 addition & 1 deletion packages/core/src/common/keys.ts
Original file line number Diff line number Diff line change
@@ -267,7 +267,7 @@ export class KeyCode {
if (isOSX) {
schema.meta = true;
} else {
throw new Error(nls.localize('theia/core/keybinding/error.OsxOnly', "Can't parse keybinding {0} meta is for OSX only", keybinding));
throw new Error(nls.localize('theia/core/keybinding/metaError', "Can't parse keybinding {0} meta is for OSX only", keybinding));
}
/* ctrlcmd for M1 keybindings that work on both macOS and other platforms */
} else if (keyString === SpecialCases.CTRLCMD) {