This commit is contained in:
Sandeep Somavarapu
2022-06-02 11:44:28 +02:00
committed by GitHub
parent 96c9311e18
commit fb9f488e51
@@ -282,7 +282,7 @@ export abstract class AbstractInstallAction extends ExtensionAction {
}
if (this.extension.deprecationInfo) {
let detail = localize('deprecated message', "This extension is deprecated as it is no longer being maintained");
let detail = localize('deprecated message', "This extension is deprecated as it is no longer being maintained.");
let action: () => Promise<any> = async () => undefined;
const buttons = [
localize('install anyway', "Install Anyway"),
@@ -2311,7 +2311,7 @@ export class ExtensionStatusAction extends ExtensionAction {
const link = `[${localize('settings', "settings")}](${URI.parse(`command:workbench.action.openSettings?${encodeURIComponent(JSON.stringify([this.extension.deprecationInfo.settings.map(setting => `@id:${setting}`).join(' ')]))}`)})`;
this.updateStatus({ icon: warningIcon, message: new MarkdownString(localize('deprecated with alternate settings tooltip', "This extension is deprecated as this functionality is now built-in to VS Code. Configure these {0} to use this functionality.", link)) }, true);
} else {
this.updateStatus({ icon: warningIcon, message: new MarkdownString(localize('deprecated tooltip', "This extension is deprecated as it is no longer being maintained")) }, true);
this.updateStatus({ icon: warningIcon, message: new MarkdownString(localize('deprecated tooltip', "This extension is deprecated as it is no longer being maintained.")) }, true);
}
return;
}