use correct title type so Toggle Tab Moves Focus Mode shows up in the command palette (#174610)

fix #174450
This commit is contained in:
Megan Rogge
2023-02-16 14:02:31 -06:00
committed by GitHub
parent 6b45fd4bff
commit c7a040ae70
@@ -18,13 +18,14 @@ export class ToggleTabFocusModeAction extends Action2 {
constructor() {
super({
id: ToggleTabFocusModeAction.ID,
title: nls.localize({ key: 'toggle.tabMovesFocus', comment: ['Turn on/off use of tab key for moving focus around VS Code'] }, "Toggle Tab Key Moves Focus"),
title: { value: nls.localize({ key: 'toggle.tabMovesFocus', comment: ['Turn on/off use of tab key for moving focus around VS Code'] }, 'Toggle Tab Key Moves Focus'), original: 'Toggle Tab Key Moves Focus' },
precondition: undefined,
keybinding: {
primary: KeyMod.CtrlCmd | KeyCode.KeyM,
mac: { primary: KeyMod.WinCtrl | KeyMod.Shift | KeyCode.KeyM },
weight: KeybindingWeight.EditorContrib
}
},
f1: true
});
}