Skip to content

Commit dc0c979

Browse files
authored
Merge pull request microsoft#254978 from microsoft/eli/plg-strings
Removed 'Copilot'
2 parents 430f91e + 942dbe2 commit dc0c979

File tree

5 files changed

+9
-10
lines changed

5 files changed

+9
-10
lines changed

src/vs/workbench/contrib/chat/browser/actions/chatActions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1086,7 +1086,7 @@ const menuContext = ContextKeyExpr.and(
10861086
ChatContextKeys.Setup.disabled.negate()
10871087
);
10881088

1089-
const title = localize('copilot', "Copilot");
1089+
const title = localize('ai actions', "AI Actions");
10901090

10911091
MenuRegistry.appendMenuItem(MenuId.EditorContext, {
10921092
submenu: MenuId.ChatTextEditorMenu,

src/vs/workbench/contrib/scm/browser/scmViewPane.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1335,7 +1335,7 @@ registerAction2(class extends Action2 {
13351335
constructor() {
13361336
super({
13371337
id: SCMInputWidgetCommandId.SetupAction,
1338-
title: localize('scmInputGenerateCommitMessage', "Generate Commit Message with Copilot"),
1338+
title: localize('scmInputGenerateCommitMessage', "Generate commit message"),
13391339
icon: Codicon.sparkle,
13401340
f1: false,
13411341
menu: {

src/vs/workbench/contrib/search/browser/searchResultsView.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -141,20 +141,19 @@ export class TextSearchResultRenderer extends Disposable implements ICompressibl
141141
SearchContext.FileFocusKey.bindTo(templateData.contextKeyService).set(false);
142142
SearchContext.FolderFocusKey.bindTo(templateData.contextKeyService).set(false);
143143
} else {
144-
let aiName = 'Copilot';
145144
try {
146-
aiName = (await node.element.parent().searchModel.getAITextResultProviderName()) || 'Copilot';
145+
await node.element.parent().searchModel.getAITextResultProviderName();
147146
} catch {
148147
// ignore
149148
}
150149

151150
const localizedLabel = nls.localize({
152151
key: 'searchFolderMatch.aiText.label',
153-
comment: ['This is displayed before the AI text search results, where {0} will be in the place of the AI name (ie: Copilot)']
154-
}, '{0} Results', aiName);
152+
comment: ['This is displayed before the AI text search results, now always "AI-assisted results".']
153+
}, 'AI-assisted results');
155154

156155
// todo: make icon extension-contributed.
157-
templateData.label.setLabel(`$(${Codicon.copilot.id}) ${localizedLabel}`);
156+
templateData.label.setLabel(`$(${Codicon.searchSparkle.id}) ${localizedLabel}`);
158157

159158
SearchContext.AIResultsTitle.bindTo(templateData.contextKeyService).set(true);
160159
SearchContext.MatchFocusKey.bindTo(templateData.contextKeyService).set(false);

src/vs/workbench/contrib/search/browser/searchView.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1746,10 +1746,10 @@ export class SearchView extends ViewPane {
17461746

17471747
if (aiName) {
17481748
const searchWithAIButtonTooltip = appendKeyBindingLabel(
1749-
nls.localize('triggerAISearch.tooltip', "Search with {0}", aiName),
1749+
nls.localize('triggerAISearch.tooltip', "Search with AI."),
17501750
this.keybindingService.lookupKeybinding(Constants.SearchCommandIds.SearchWithAIActionId)
17511751
);
1752-
const searchWithAIButtonText = nls.localize('searchWithAIButtonTooltip', "Search with {0}.", aiName);
1752+
const searchWithAIButtonText = nls.localize('searchWithAIButtonTooltip', "Search with AI.");
17531753
const searchWithAIButton = this.messageDisposables.add(new SearchLinkButton(
17541754
searchWithAIButtonText,
17551755
() => {

src/vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,7 @@ export const walkthroughs: GettingStartedWalkthroughContent = [
700700
{
701701
id: 'copilotSetup.customize',
702702
title: localize('gettingStarted.customize.title', "Personalized to how you work"),
703-
description: localize('gettingStarted.customize.description', "Swap models, add agent mode tools, and create personalized instructions.\n{0}", Button(localize('signUp', "Set up AI"), 'command:workbench.action.chat.triggerSetupWithoutDialog')),
703+
description: localize('gettingStarted.customize.description', "Swap models, add agent mode tools, and create personalized instructions.\n{0}", Button(localize('signUp', "Enable AI features"), 'command:workbench.action.chat.triggerSetupWithoutDialog')),
704704
media: {
705705
type: 'svg', altText: 'Personalize', path: 'customize-ai.svg'
706706
},

0 commit comments

Comments
 (0)