Skip to content

Commit 0e9898b

Browse files
authored
Fix 18 misspellings of 'instatiate' to 'instantiate' (#49239)
2 parents ea98a5c + 8cb574f commit 0e9898b

17 files changed

+18
-18
lines changed

src/Cli/Microsoft.TemplateEngine.Cli/LocalizableStrings.Designer.cs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Cli/Microsoft.TemplateEngine.Cli/LocalizableStrings.resx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -809,7 +809,7 @@ The header is followed by the list of parameters and their errors (might be seve
809809
<comment>{0} is the exit code</comment>
810810
</data>
811811
<data name="TemplateCommand_DisplayConstraintResults_Error" xml:space="preserve">
812-
<value>Failed to instatiate template '{0}', the following constraints are not met:</value>
812+
<value>Failed to instantiate template '{0}', the following constraints are not met:</value>
813813
<comment>{0} - template name (user friendly)</comment>
814814
</data>
815815
<data name="TemplateCommand_DisplayConstraintResults_Hint" xml:space="preserve">

src/Cli/Microsoft.TemplateEngine.Cli/xlf/LocalizableStrings.cs.xlf

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Cli/Microsoft.TemplateEngine.Cli/xlf/LocalizableStrings.de.xlf

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Cli/Microsoft.TemplateEngine.Cli/xlf/LocalizableStrings.es.xlf

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Cli/Microsoft.TemplateEngine.Cli/xlf/LocalizableStrings.fr.xlf

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Cli/Microsoft.TemplateEngine.Cli/xlf/LocalizableStrings.it.xlf

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Cli/Microsoft.TemplateEngine.Cli/xlf/LocalizableStrings.ja.xlf

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Cli/Microsoft.TemplateEngine.Cli/xlf/LocalizableStrings.ko.xlf

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Cli/Microsoft.TemplateEngine.Cli/xlf/LocalizableStrings.pl.xlf

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Cli/Microsoft.TemplateEngine.Cli/xlf/LocalizableStrings.pt-BR.xlf

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Cli/Microsoft.TemplateEngine.Cli/xlf/LocalizableStrings.ru.xlf

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Cli/Microsoft.TemplateEngine.Cli/xlf/LocalizableStrings.tr.xlf

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Cli/Microsoft.TemplateEngine.Cli/xlf/LocalizableStrings.zh-Hans.xlf

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Cli/Microsoft.TemplateEngine.Cli/xlf/LocalizableStrings.zh-Hant.xlf

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/dotnet-new.IntegrationTests/Approvals/DotnetNewInstantiateTests.Constraints_Error_IfTemplateIsRestricted.verified.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Failed to instatiate template 'Constraints - Restricted Template', the following constraints are not met:
1+
Failed to instantiate template 'Constraints - Restricted Template', the following constraints are not met:
22
Template engine host: Running template on dotnetcli (version: %VERSION%) is not supported, supported hosts is/are: do-not-exist((1.0.0, )).
33

44
To run the template anyway, use '--force' option:

test/dotnet-new.IntegrationTests/MSBuildEvaluationTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ public void MultipleProjects_BasicTest()
160160
.WithWorkingDirectory(projectPath)
161161
.Execute("TestAssets.ClassTemplate", "--name", "MyTestClass");
162162
cmd.Should().Fail()
163-
.And.HaveStdErrContaining("Failed to instatiate template 'ClassTemplate', the following constraints are not met:")
163+
.And.HaveStdErrContaining("Failed to instantiate template 'ClassTemplate', the following constraints are not met:")
164164
.And.HaveStdErrContaining("Project capabilities: Multiple projects found:")
165165
.And.HaveStdErrContaining("Specify the project to use using --project option.");
166166

@@ -200,7 +200,7 @@ public void NonSDKStyleProject_BasicTest()
200200
.WithWorkingDirectory(projectPath)
201201
.Execute("TestAssets.ClassTemplate", "--name", "MyTestClass");
202202
cmd.Should().Fail()
203-
.And.HaveStdErrContaining("Failed to instatiate template 'ClassTemplate', the following constraints are not met:")
203+
.And.HaveStdErrContaining("Failed to instantiate template 'ClassTemplate', the following constraints are not met:")
204204
.And.HaveStdErrContaining($"Project capabilities: The project {Path.Combine(projectPath, "ConsoleFullFramework.csproj")} is not an SDK style project, and is not supported for evaluation.");
205205
}
206206
}

0 commit comments

Comments
 (0)