Skip to content

Commit 1365070

Browse files
joshspicerCopilot
andauthored
'ai customizations' -> 'chat customizations' (#297137)
* Rename 'AI Customizations' to 'Chat Customizations' in user-visible strings Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Rename setting chat.aiCustomizationMenu.enabled to chat.customizationsMenu.enabled Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 05cd5b7 commit 1365070

File tree

10 files changed

+17
-17
lines changed

10 files changed

+17
-17
lines changed

src/vs/sessions/contrib/aiCustomizationTreeView/browser/aiCustomizationOverviewView.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ export class AICustomizationOverviewView extends ViewPane {
141141

142142
// Hover tooltip
143143
this._register(this.hoverService.setupDelayedHoverAtMouse(sectionElement, () => ({
144-
content: localize('openSection', "Open {0} in AI Customizations editor", section.label),
144+
content: localize('openSection', "Open {0} in Chat Customizations editor", section.label),
145145
appearance: { compact: true, skipFadeInAnimation: true }
146146
})));
147147
}

src/vs/sessions/contrib/aiCustomizationTreeView/browser/aiCustomizationTreeView.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export const AI_CUSTOMIZATION_STORAGE_ID = 'workbench.aiCustomization.views.stat
2424
/**
2525
* Category for AI Customization commands.
2626
*/
27-
export const AI_CUSTOMIZATION_CATEGORY = localize2('aiCustomization', "AI Customization");
27+
export const AI_CUSTOMIZATION_CATEGORY = localize2('aiCustomization', "Chat Customization");
2828

2929
//#region Menu IDs
3030

src/vs/sessions/contrib/aiCustomizationTreeView/browser/aiCustomizationTreeViewViews.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ export class AICustomizationViewPane extends ViewPane {
557557
? localize('fileAriaLabel', "{0}, {1}", element.name, element.description)
558558
: element.name;
559559
},
560-
getWidgetAriaLabel: () => localize('aiCustomizationTree', "AI Customization Items"),
560+
getWidgetAriaLabel: () => localize('aiCustomizationTree', "Chat Customization Items"),
561561
},
562562
keyboardNavigationLabelProvider: {
563563
getKeyboardNavigationLabel: (element: AICustomizationTreeItem) => {

src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationIcons.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { registerIcon } from '../../../../../platform/theme/common/iconRegistry.
1010
/**
1111
* Icon for the AI Customization view container (sidebar).
1212
*/
13-
export const aiCustomizationViewIcon = registerIcon('ai-customization-view-icon', Codicon.sparkle, localize('aiCustomizationViewIcon', "Icon for the AI Customization view."));
13+
export const aiCustomizationViewIcon = registerIcon('ai-customization-view-icon', Codicon.sparkle, localize('aiCustomizationViewIcon', "Icon for the Chat Customization view."));
1414

1515
/**
1616
* Icon for custom agents.

src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationListWidget.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ export class AICustomizationListWidget extends Disposable {
458458
? localize('itemAriaLabel', "{0}, {1}", entry.item.name, entry.item.description)
459459
: entry.item.name;
460460
},
461-
getWidgetAriaLabel: () => localize('listAriaLabel', "AI Customizations"),
461+
getWidgetAriaLabel: () => localize('listAriaLabel', "Chat Customizations"),
462462
},
463463
keyboardNavigationLabelProvider: {
464464
getKeyboardNavigationLabel: (entry: IListEntry) => entry.type === 'group-header' ? entry.label : entry.item.name,

src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagement.contribution.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Registry.as<IEditorPaneRegistry>(EditorExtensions.EditorPane).registerEditorPane
4444
EditorPaneDescriptor.create(
4545
AICustomizationManagementEditor,
4646
AI_CUSTOMIZATION_MANAGEMENT_EDITOR_ID,
47-
localize('aiCustomizationManagementEditor', "AI Customizations Editor")
47+
localize('aiCustomizationManagementEditor', "Chat Customizations Editor")
4848
),
4949
[
5050
// Note: Using the class directly since we use a singleton pattern
@@ -270,15 +270,15 @@ class AICustomizationManagementActionsContribution extends Disposable implements
270270
constructor() {
271271
super({
272272
id: AICustomizationManagementCommands.OpenEditor,
273-
title: localize2('openAICustomizations', "Open AI Customizations"),
274-
shortTitle: localize2('aiCustomizations', "AI Customizations"),
273+
title: localize2('openAICustomizations', "Open Chat Customizations"),
274+
shortTitle: localize2('aiCustomizations', "Chat Customizations"),
275275
category: CHAT_CATEGORY,
276-
precondition: ContextKeyExpr.and(ChatContextKeys.enabled, ContextKeyExpr.has(`config.${ChatConfiguration.AICustomizationMenuEnabled}`)),
276+
precondition: ContextKeyExpr.and(ChatContextKeys.enabled, ContextKeyExpr.has(`config.${ChatConfiguration.ChatCustomizationMenuEnabled}`)),
277277
f1: true,
278278
menu: [
279279
{
280280
id: MenuId.GlobalActivity,
281-
when: ContextKeyExpr.and(ChatContextKeys.enabled, ContextKeyExpr.has(`config.${ChatConfiguration.AICustomizationMenuEnabled}`)),
281+
when: ContextKeyExpr.and(ChatContextKeys.enabled, ContextKeyExpr.has(`config.${ChatConfiguration.ChatCustomizationMenuEnabled}`)),
282282
group: '2_configuration',
283283
order: 4,
284284
},

src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagement.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export const AICustomizationManagementCommands = {
3838
export const CONTEXT_AI_CUSTOMIZATION_MANAGEMENT_EDITOR = new RawContextKey<boolean>(
3939
'aiCustomizationManagementEditorFocused',
4040
false,
41-
localize('aiCustomizationManagementEditorFocused', "Whether the AI Customizations editor is focused")
41+
localize('aiCustomizationManagementEditorFocused', "Whether the Chat Customizations editor is focused")
4242
);
4343

4444
/**
@@ -47,7 +47,7 @@ export const CONTEXT_AI_CUSTOMIZATION_MANAGEMENT_EDITOR = new RawContextKey<bool
4747
export const CONTEXT_AI_CUSTOMIZATION_MANAGEMENT_SECTION = new RawContextKey<string>(
4848
'aiCustomizationManagementSection',
4949
AICustomizationManagementSection.Agents,
50-
localize('aiCustomizationManagementSection', "The currently selected section in the AI Customizations editor")
50+
localize('aiCustomizationManagementSection', "The currently selected section in the Chat Customizations editor")
5151
);
5252

5353
/**

src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagementEditor.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ const $ = DOM.$;
6969
export const aiCustomizationManagementSashBorder = registerColor(
7070
'aiCustomizationManagement.sashBorder',
7171
PANEL_BORDER,
72-
localize('aiCustomizationManagementSashBorder', "The color of the AI Customization Management editor splitview sash border.")
72+
localize('aiCustomizationManagementSashBorder', "The color of the Chat Customization Management editor splitview sash border.")
7373
);
7474

7575
//#region Sidebar Section Item
@@ -325,7 +325,7 @@ export class AICustomizationManagementEditor extends EditorPane {
325325
horizontalScrolling: false,
326326
accessibilityProvider: {
327327
getAriaLabel: (item: ISectionItem) => item.label,
328-
getWidgetAriaLabel: () => localize('sectionsAriaLabel', "AI Customization Sections"),
328+
getWidgetAriaLabel: () => localize('sectionsAriaLabel', "Chat Customization Sections"),
329329
},
330330
openOnSingleClick: true,
331331
identityProvider: {

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1226,9 +1226,9 @@ configurationRegistry.registerConfiguration({
12261226
mode: 'auto'
12271227
}
12281228
},
1229-
[ChatConfiguration.AICustomizationMenuEnabled]: {
1229+
[ChatConfiguration.ChatCustomizationMenuEnabled]: {
12301230
type: 'boolean',
1231-
description: nls.localize('chat.aiCustomizationMenu.enabled', "Controls whether the AI Customization Menu is shown in the Manage menu and Command Palette. When disabled, the AI Customizations editor and related commands are hidden."),
1231+
description: nls.localize('chat.aiCustomizationMenu.enabled', "Controls whether the Chat Customization Menu is shown in the Manage menu and Command Palette. When disabled, the Chat Customizations editor and related commands are hidden."),
12321232
default: true,
12331233
}
12341234
}

src/vs/workbench/contrib/chat/common/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export enum ChatConfiguration {
5454
AgentsControlClickBehavior = 'chat.agentsControl.clickBehavior',
5555
ExplainChangesEnabled = 'chat.editing.explainChanges.enabled',
5656
GrowthNotificationEnabled = 'chat.growthNotification.enabled',
57-
AICustomizationMenuEnabled = 'chat.aiCustomizationMenu.enabled',
57+
ChatCustomizationMenuEnabled = 'chat.customizationsMenu.enabled',
5858
}
5959

6060
/**

0 commit comments

Comments
 (0)