Skip to content

Commit ff944f8

Browse files
committed
review updates
1 parent 253028d commit ff944f8

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

l10n/bundle.l10n.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
2+
"Update and reload": "Update and reload",
3+
"The {0} extension requires at least {1} of the .NET Install Tool ({2}) extension. Please update to continue": "The {0} extension requires at least {1} of the .NET Install Tool ({2}) extension. Please update to continue",
4+
"Version {0} of the .NET Install Tool ({1}) was not found, {2} will not activate.": "Version {0} of the .NET Install Tool ({1}) was not found, {2} will not activate.",
25
".NET Test Log": ".NET Test Log",
36
".NET NuGet Restore": ".NET NuGet Restore",
4-
"Update and reload": "Update and reload",
5-
"The {0} extension requires version {1} or greater of the .NET Install Tool ({2}) extension. Please update to continue": "The {0} extension requires version {1} or greater of the .NET Install Tool ({2}) extension. Please update to continue",
6-
"Version {0} of the .NET Install Tool ({1}) was not found, will not activate.": "Version {0} of the .NET Install Tool ({1}) was not found, will not activate.",
77
"How to setup Remote Debugging": "How to setup Remote Debugging",
88
"The C# extension for Visual Studio Code is incompatible on {0} {1} with the VS Code Remote Extensions. To see avaliable workarounds, click on '{2}'.": "The C# extension for Visual Studio Code is incompatible on {0} {1} with the VS Code Remote Extensions. To see avaliable workarounds, click on '{2}'.",
99
"The C# extension for Visual Studio Code is incompatible on {0} {1}.": "The C# extension for Visual Studio Code is incompatible on {0} {1}.",

src/main.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export async function activate(
9191
if (lt(dotnetRuntimeExtensionVersion, requiredDotnetRuntimeExtensionVersion)) {
9292
const button = vscode.l10n.t('Update and reload');
9393
const prompt = vscode.l10n.t(
94-
'The {0} extension requires version {1} or greater of the .NET Install Tool ({2}) extension. Please update to continue',
94+
'The {0} extension requires at least {1} of the .NET Install Tool ({2}) extension. Please update to continue',
9595
context.extension.packageJSON.displayName,
9696
requiredDotnetRuntimeExtensionVersion,
9797
dotnetRuntimeExtensionId
@@ -103,9 +103,10 @@ export async function activate(
103103
} else {
104104
throw new Error(
105105
vscode.l10n.t(
106-
'Version {0} of the .NET Install Tool ({1}) was not found, will not activate.',
106+
'Version {0} of the .NET Install Tool ({1}) was not found, {2} will not activate.',
107107
requiredDotnetRuntimeExtensionVersion,
108-
dotnetRuntimeExtensionId
108+
dotnetRuntimeExtensionId,
109+
context.extension.packageJSON.displayName
109110
)
110111
);
111112
}

0 commit comments

Comments
 (0)