mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
parent
125fd89cee
commit
8893a14941
|
@ -17,14 +17,14 @@ export class ToggleStickyScroll extends Action2 {
|
|||
id: 'editor.action.toggleStickyScroll',
|
||||
title: {
|
||||
value: localize('toggleStickyScroll', "Toggle Sticky Scroll"),
|
||||
mnemonicTitle: localize('mitoggleStickyScroll', "&&Toggle Sticky Scroll"),
|
||||
mnemonicTitle: localize({ key: 'mitoggleStickyScroll', comment: ['&& denotes a mnemonic'] }, "&&Toggle Sticky Scroll"),
|
||||
original: 'Toggle Sticky Scroll',
|
||||
},
|
||||
category: Categories.View,
|
||||
toggled: {
|
||||
condition: ContextKeyExpr.equals('config.editor.stickyScroll.enabled', true),
|
||||
title: localize('stickyScroll', "Sticky Scroll"),
|
||||
mnemonicTitle: localize('miStickyScroll', "&&Sticky Scroll"),
|
||||
mnemonicTitle: localize({ key: 'miStickyScroll', comment: ['&& denotes a mnemonic'] }, "&&Sticky Scroll"),
|
||||
},
|
||||
menu: [
|
||||
{ id: MenuId.CommandPalette },
|
||||
|
|
|
@ -362,7 +362,7 @@ class ToggleSidebarVisibilityAction extends Action2 {
|
|||
toggled: {
|
||||
condition: SideBarVisibleContext,
|
||||
title: localize('primary sidebar', "Primary Side Bar"),
|
||||
mnemonicTitle: localize('primary sidebar mnemonic', "&&Primary Side Bar"),
|
||||
mnemonicTitle: localize({ key: 'primary sidebar mnemonic', comment: ['&& denotes a mnemonic'] }, "&&Primary Side Bar"),
|
||||
},
|
||||
category: Categories.View,
|
||||
f1: true,
|
||||
|
@ -521,7 +521,7 @@ registerAction2(class extends Action2 {
|
|||
id: 'workbench.action.toggleZenMode',
|
||||
title: {
|
||||
value: localize('toggleZenMode', "Toggle Zen Mode"),
|
||||
mnemonicTitle: localize('miToggleZenMode', "Zen Mode"),
|
||||
mnemonicTitle: localize({ key: 'miToggleZenMode', comment: ['&& denotes a mnemonic'] }, "Zen Mode"),
|
||||
original: 'Toggle Zen Mode'
|
||||
},
|
||||
category: Categories.View,
|
||||
|
|
|
@ -33,7 +33,7 @@ export class ToggleAuxiliaryBarAction extends Action2 {
|
|||
toggled: {
|
||||
condition: AuxiliaryBarVisibleContext,
|
||||
title: localize('secondary sidebar', "Secondary Side Bar"),
|
||||
mnemonicTitle: localize('secondary sidebar mnemonic', "Secondary Si&&de Bar"),
|
||||
mnemonicTitle: localize({ key: 'secondary sidebar mnemonic', comment: ['&& denotes a mnemonic'] }, "Secondary Si&&de Bar"),
|
||||
},
|
||||
|
||||
category: Categories.View,
|
||||
|
|
|
@ -504,14 +504,14 @@ registerAction2(class ToggleBreadcrumb extends Action2 {
|
|||
id: 'breadcrumbs.toggle',
|
||||
title: {
|
||||
value: localize('cmd.toggle', "Toggle Breadcrumbs"),
|
||||
mnemonicTitle: localize('miBreadcrumbs', "Toggle &&Breadcrumbs"),
|
||||
mnemonicTitle: localize({ key: 'miBreadcrumbs', comment: ['&& denotes a mnemonic'] }, "Toggle &&Breadcrumbs"),
|
||||
original: 'Toggle Breadcrumbs',
|
||||
},
|
||||
category: Categories.View,
|
||||
toggled: {
|
||||
condition: ContextKeyExpr.equals('config.breadcrumbs.enabled', true),
|
||||
title: localize('cmd.toggle2', "Breadcrumbs"),
|
||||
mnemonicTitle: localize('miBreadcrumbs2', "&&Breadcrumbs")
|
||||
mnemonicTitle: localize({ key: 'miBreadcrumbs2', comment: ['&& denotes a mnemonic'] }, "&&Breadcrumbs")
|
||||
},
|
||||
menu: [
|
||||
{ id: MenuId.CommandPalette },
|
||||
|
|
|
@ -41,7 +41,7 @@ export class TogglePanelAction extends Action2 {
|
|||
toggled: {
|
||||
condition: PanelVisibleContext,
|
||||
title: localize('toggle panel', "Panel"),
|
||||
mnemonicTitle: localize('toggle panel mnemonic', "&&Panel"),
|
||||
mnemonicTitle: localize({ key: 'toggle panel mnemonic', comment: ['&& denotes a mnemonic'] }, "&&Panel"),
|
||||
},
|
||||
f1: true,
|
||||
category: Categories.View,
|
||||
|
|
|
@ -121,7 +121,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarMainMenu, {
|
|||
title: {
|
||||
value: 'Preferences',
|
||||
original: 'Preferences',
|
||||
mnemonicTitle: localize('mPreferences', "Preferences")
|
||||
mnemonicTitle: localize({ key: 'mPreferences', comment: ['&& denotes a mnemonic'] }, "Preferences")
|
||||
},
|
||||
when: IsMacNativeContext,
|
||||
order: 9
|
||||
|
|
|
@ -38,7 +38,7 @@ export class ShowCurrentReleaseNotesAction extends Action2 {
|
|||
id: ShowCurrentReleaseNotesActionId,
|
||||
title: {
|
||||
value: localize('showReleaseNotes', "Show Release Notes"),
|
||||
mnemonicTitle: localize('mshowReleaseNotes', "Show &&Release Notes"),
|
||||
mnemonicTitle: localize({ key: 'mshowReleaseNotes', comment: ['&& denotes a mnemonic'] }, "Show &&Release Notes"),
|
||||
original: 'Show Release Notes'
|
||||
},
|
||||
category: { value: product.nameShort, original: product.nameShort },
|
||||
|
|
Loading…
Reference in a new issue