Skip to content

Commit b0c864f

Browse files
committed
fix product name
1 parent 84fe015 commit b0c864f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/vs/workbench/contrib/extensions/browser/extensionsActions.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ export class PromptExtensionInstallFailureAction extends Action {
123123
this.logService.error(this.error);
124124

125125
if (this.error.name === INSTALL_ERROR_NOT_SUPPORTED) {
126-
const productName = isWeb ? localize('VS Code for Web', "{0} for Web", this.productService.nameLong) : this.productService.nameLong;
126+
const productName = isWeb ? localize('VS Code for Web', "{0} for the Web", this.productService.nameLong) : this.productService.nameLong;
127127
const message = localize('cannot be installed', "The '{0}' extension is not available in {1}. Click 'More Information' to learn more.", this.extension.displayName || this.extension.identifier.id, productName);
128128
const result = await this.dialogService.show(Severity.Info, message, [localize('close', "Close"), localize('more information', "More Information")], { cancelId: 0 });
129129
if (result.choice === 1) {
@@ -2006,7 +2006,7 @@ export class ExtensionStatusAction extends ExtensionAction {
20062006

20072007
if (this.extensionManagementServerService.webExtensionManagementServer && !this.extensionManagementServerService.localExtensionManagementServer
20082008
&& !this.extensionManagementServerService.remoteExtensionManagementServer) {
2009-
const productName = isWeb ? localize('VS Code for Web', "{0} for Web", this.productService.nameLong) : this.productService.nameLong;
2009+
const productName = isWeb ? localize('VS Code for Web', "{0} for the Web", this.productService.nameLong) : this.productService.nameLong;
20102010
let message;
20112011
if (this.extension.gallery.allTargetPlatforms.includes(TargetPlatform.WEB)) {
20122012
message = new MarkdownString(localize('user disabled', "You have configured the '{0}' extension to be disabled in {1}. To enable it, please open user settings and remove it from `remote.extensionKind` setting.", this.extension.displayName || this.extension.identifier.id, productName));
@@ -2094,13 +2094,13 @@ export class ExtensionStatusAction extends ExtensionAction {
20942094
if (this.extensionManagementServerService.localExtensionManagementServer) {
20952095
message = new MarkdownString(`${localize('Install in local server to enable', "This extension is disabled in this workspace because it is defined to run in the Local Extension Host. Please install the extension locally to enable.", this.extensionManagementServerService.remoteExtensionManagementServer.label)} [${localize('learn more', "Learn More")}](https://aka.ms/vscode-remote/developing-extensions/architecture)`);
20962096
} else if (isWeb) {
2097-
message = new MarkdownString(`${localize('Cannot be enabled', "This extension is disabled because it is not supported in {0} for web.", this.productService.nameLong)} [${localize('learn more', "Learn More")}](https://aka.ms/vscode-remote/developing-extensions/architecture)`);
2097+
message = new MarkdownString(`${localize('Cannot be enabled', "This extension is disabled because it is not supported in {0} for the Web.", this.productService.nameLong)} [${localize('learn more', "Learn More")}](https://aka.ms/vscode-remote/developing-extensions/architecture)`);
20982098
}
20992099
}
21002100
}
21012101
// Extension on Web Server
21022102
else if (this.extensionManagementServerService.webExtensionManagementServer === this.extension.server) {
2103-
message = new MarkdownString(`${localize('Cannot be enabled', "This extension is disabled because it is not supported in {0} for web.", this.productService.nameLong)} [${localize('learn more', "Learn More")}](https://aka.ms/vscode-remote/developing-extensions/architecture)`);
2103+
message = new MarkdownString(`${localize('Cannot be enabled', "This extension is disabled because it is not supported in {0} for the Web.", this.productService.nameLong)} [${localize('learn more', "Learn More")}](https://aka.ms/vscode-remote/developing-extensions/architecture)`);
21042104
}
21052105
if (message) {
21062106
this.updateStatus({ icon: warningIcon, message }, true);

0 commit comments

Comments
 (0)