Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Visual Studio Code" → "PearAI" in theme notification prompt #116

Merged
merged 1 commit into from
Nov 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ registerAction2(class extends Action2 {
}
});

CommandsRegistry.registerCommand('workbench.action.previewColorTheme', async function (accessor: ServicesAccessor, extension: { publisher: string; name: string; version: string }, themeSettingsId?: string) {
CommandsRegistry.registerCommand('workbench.action.previewColorTheme', async function(accessor: ServicesAccessor, extension: { publisher: string; name: string; version: string }, themeSettingsId?: string) {
const themeService = accessor.get(IWorkbenchThemeService);

let themes = findBuiltInThemes(await themeService.getColorThemes(), extension);
Expand Down Expand Up @@ -920,7 +920,7 @@ class DefaultThemeUpdatedNotificationContribution implements IWorkbenchContribut
];
await this._notificationService.prompt(
Severity.Info,
localize({ key: 'themeUpdatedNotification', comment: ['{0} is the name of the new default theme'] }, "Visual Studio Code now ships with a new default theme '{0}'. If you prefer, you can switch back to the old theme or try one of the many other color themes available.", newTheme.label),
localize({ key: 'themeUpdatedNotification', comment: ['{0} is the name of the new default theme'] }, "PearAI now ships with a new default theme '{0}'. If you prefer, you can switch back to the old theme or try one of the many other color themes available.", newTheme.label),
choices,
{
onCancel: () => this._writeTelemetry('cancel')
Expand Down Expand Up @@ -948,7 +948,7 @@ class DefaultThemeUpdatedNotificationContribution implements IWorkbenchContribut
}];
await this._notificationService.prompt(
Severity.Info,
localize({ key: 'newThemeNotification', comment: ['{0} is the name of the new default theme'] }, "Visual Studio Code now ships with a new default theme '{0}'. Do you want to give it a try?", theme.label),
localize({ key: 'newThemeNotification', comment: ['{0} is the name of the new default theme'] }, "PearAI now ships with a new default theme '{0}'. Do you want to give it a try?", theme.label),
choices,
{ onCancel: () => this._writeTelemetry('cancel') }
);
Expand Down