Skip to content

Commit 2575777

Browse files
authored
Rename user-facing "interactive session" labels to "chat" (#182244)
1 parent 4426514 commit 2575777

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

src/vs/workbench/contrib/interactiveSession/browser/actions/interactiveSessionActions.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ import { IInteractiveSessionDetail, IInteractiveSessionService } from 'vs/workbe
2525
import { IInteractiveSessionWidgetHistoryService } from 'vs/workbench/contrib/interactiveSession/common/interactiveSessionWidgetHistoryService';
2626
import { IEditorService } from 'vs/workbench/services/editor/common/editorService';
2727

28-
export const INTERACTIVE_SESSION_CATEGORY = { value: localize('interactiveSession.category', "Interactive Session"), original: 'Interactive Session' };
28+
export const INTERACTIVE_SESSION_CATEGORY = { value: localize('chat.category', "Chat"), original: 'Chat' };
2929

3030
export function registerInteractiveSessionActions() {
3131
registerEditorAction(class InteractiveSessionAcceptInput extends EditorAction {
3232
constructor() {
3333
super({
3434
id: 'interactiveSession.action.acceptInput',
35-
label: localize({ key: 'actions.ineractiveSession.acceptInput', comment: ['Apply input from the interactive session input box'] }, "Interactive Session Accept Input"),
36-
alias: 'Interactive Session Accept Input',
35+
label: localize({ key: 'actions.chat.acceptInput', comment: ['Apply input from the chat input box'] }, "Accept Chat Input"),
36+
alias: 'Accept Chat Input',
3737
precondition: CONTEXT_IN_INTERACTIVE_INPUT,
3838
kbOpts: {
3939
kbExpr: EditorContextKeys.textInputFocus,

src/vs/workbench/contrib/interactiveSession/browser/interactiveSession.contribution.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Registry.as<IEditorPaneRegistry>(EditorExtensions.EditorPane).registerEditorPane
7373
EditorPaneDescriptor.create(
7474
InteractiveSessionEditor,
7575
InteractiveSessionEditorInput.EditorID,
76-
nls.localize('interactiveSession', "Interactive Session")
76+
nls.localize('chat', "Chat")
7777
),
7878
[
7979
new SyncDescriptor(InteractiveSessionEditorInput)
@@ -91,7 +91,7 @@ class InteractiveSessionResolverContribution extends Disposable {
9191
`${Schemas.vscodeInteractiveSesssion}:**/**`,
9292
{
9393
id: InteractiveSessionEditorInput.EditorID,
94-
label: nls.localize('interactiveSession', "Interactive Session"),
94+
label: nls.localize('chat', "Chat"),
9595
priority: RegisteredEditorPriority.builtin
9696
},
9797
{

src/vs/workbench/contrib/interactiveSession/browser/interactiveSessionEditorInput.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export class InteractiveSessionEditorInput extends EditorInput {
6565
}
6666

6767
override getName(): string {
68-
return nls.localize('interactiveSessionEditorName', "Interactive Session") + (this.inputCount > 0 ? ` ${this.inputCount + 1}` : '');
68+
return nls.localize('chatEditorName', "Chat") + (this.inputCount > 0 ? ` ${this.inputCount + 1}` : '');
6969
}
7070

7171
override async resolve(): Promise<InteractiveSessionEditorModel | null> {

src/vs/workbench/contrib/interactiveSession/browser/interactiveSessionInputPart.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ export class InteractiveSessionInputPart extends Disposable implements IHistoryN
152152

153153
const options = getSimpleEditorOptions();
154154
options.readOnly = false;
155-
options.ariaLabel = localize('interactiveSessionInput', "Interactive Session Input");
155+
options.ariaLabel = localize('chatInput', "Chat Input");
156156
options.fontFamily = DEFAULT_FONT_FAMILY;
157157
options.fontSize = 13;
158158
options.lineHeight = 20;

src/vs/workbench/contrib/interactiveSession/browser/interactiveSessionListRenderer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ export class InteractiveSessionAccessibilityProvider implements IListAccessibili
489489
}
490490

491491
getWidgetAriaLabel(): string {
492-
return localize('interactiveSession', "Interactive Session");
492+
return localize('chat', "Chat");
493493
}
494494

495495
getAriaLabel(element: InteractiveTreeItem): string {

0 commit comments

Comments
 (0)