Fix label caps (#198379)

Fix microsoft/vscode-copilot-release#552
This commit is contained in:
Rob Lourens
2023-11-15 18:27:32 -06:00
committed by GitHub
parent 956bfb6a02
commit 444e73750b
@@ -29,8 +29,8 @@ enum MoveToNewLocation {
const getMoveToChatActionDescriptorForViewTitle = (viewId: string, providerId: string, moveTo: MoveToNewLocation): Readonly<IAction2Options> & { viewId: string } => ({
id: `workbench.action.chat.${providerId}.openIn${moveTo}`,
title: {
value: moveTo === MoveToNewLocation.Editor ? localize('chat.openInEditor.label', "Open Session In Editor") : localize('chat.openInNewWindow.label', "Open Session In New Window"),
original: moveTo === MoveToNewLocation.Editor ? 'Open Session In Editor' : 'Open Session In New Window',
value: moveTo === MoveToNewLocation.Editor ? localize('chat.openInEditor.label', "Open Session in Editor") : localize('chat.openInNewWindow.label', "Open Session in New Window"),
original: moveTo === MoveToNewLocation.Editor ? 'Open Session in Editor' : 'Open Session in New Window',
},
category: CHAT_CATEGORY,
precondition: CONTEXT_PROVIDER_EXISTS,
@@ -92,8 +92,8 @@ export function registerMoveActions() {
super({
id: `workbench.action.chat.openInEditor`,
title: {
value: localize('interactiveSession.openInEditor.label', "Open Session In Editor"),
original: 'Open Session In Editor'
value: localize('interactiveSession.openInEditor.label', "Open Session in Editor"),
original: 'Open Session in Editor'
},
category: CHAT_CATEGORY,
precondition: CONTEXT_PROVIDER_EXISTS,
@@ -112,7 +112,7 @@ export function registerMoveActions() {
super({
id: `workbench.action.chat.openInNewWindow`,
title: {
value: localize('interactiveSession.openInNewWindow.label', "Open Session In New Window"),
value: localize('interactiveSession.openInNewWindow.label', "Open Session in New Window"),
original: 'Open Session In New Window'
},
category: CHAT_CATEGORY,
@@ -131,8 +131,8 @@ export function registerMoveActions() {
super({
id: `workbench.action.chat.openInSidebar`,
title: {
value: localize('interactiveSession.openInSidebar.label', "Open Session In Sidebar"),
original: 'Open Session In Sidebar'
value: localize('interactiveSession.openInSidebar.label', "Open Session in Side Bar"),
original: 'Open Session in Side Bar'
},
category: CHAT_CATEGORY,
precondition: CONTEXT_PROVIDER_EXISTS,