Skip to content

Commit

Permalink
Fix help text wording (#4744)
Browse files Browse the repository at this point in the history
  • Loading branch information
JanKrivanek authored May 19, 2022
1 parent 7a1ae31 commit 2851334
Show file tree
Hide file tree
Showing 17 changed files with 30 additions and 30 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/Microsoft.TemplateEngine.Cli/Commands/HelpStrings.resx
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
<value>This template contains technologies from parties other than Microsoft, see {0} for details.</value>
</data>
<data name="RowHeader_AllowMultiValue" xml:space="preserve">
<value>Allow multiple values: {0}</value>
<value>Multiple values are allowed: {0}</value>
<comment>{0} is a boolean flag</comment>
</data>
<data name="RowHeader_DefaultIfOptionWithoutValue" xml:space="preserve">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
<note />
</trans-unit>
<trans-unit id="RowHeader_AllowMultiValue">
<source>Allow multiple values: {0}</source>
<target state="translated">Povolit více hodnot: {0}</target>
<source>Multiple values are allowed: {0}</source>
<target state="needs-review-translation">Povolit více hodnot: {0}</target>
<note>{0} is a boolean flag</note>
</trans-unit>
<trans-unit id="RowHeader_DefaultIfOptionWithoutValue">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
<note />
</trans-unit>
<trans-unit id="RowHeader_AllowMultiValue">
<source>Allow multiple values: {0}</source>
<target state="translated">Mehrere Werte zulassen: {0}</target>
<source>Multiple values are allowed: {0}</source>
<target state="needs-review-translation">Mehrere Werte zulassen: {0}</target>
<note>{0} is a boolean flag</note>
</trans-unit>
<trans-unit id="RowHeader_DefaultIfOptionWithoutValue">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
<note />
</trans-unit>
<trans-unit id="RowHeader_AllowMultiValue">
<source>Allow multiple values: {0}</source>
<target state="translated">Permitir varios valores: {0}</target>
<source>Multiple values are allowed: {0}</source>
<target state="needs-review-translation">Permitir varios valores: {0}</target>
<note>{0} is a boolean flag</note>
</trans-unit>
<trans-unit id="RowHeader_DefaultIfOptionWithoutValue">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
<note />
</trans-unit>
<trans-unit id="RowHeader_AllowMultiValue">
<source>Allow multiple values: {0}</source>
<target state="translated">Autoriser les valeurs multiples : {0}</target>
<source>Multiple values are allowed: {0}</source>
<target state="needs-review-translation">Autoriser les valeurs multiples : {0}</target>
<note>{0} is a boolean flag</note>
</trans-unit>
<trans-unit id="RowHeader_DefaultIfOptionWithoutValue">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
<note />
</trans-unit>
<trans-unit id="RowHeader_AllowMultiValue">
<source>Allow multiple values: {0}</source>
<target state="translated">Consenti più valori: {0}</target>
<source>Multiple values are allowed: {0}</source>
<target state="needs-review-translation">Consenti più valori: {0}</target>
<note>{0} is a boolean flag</note>
</trans-unit>
<trans-unit id="RowHeader_DefaultIfOptionWithoutValue">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
<note />
</trans-unit>
<trans-unit id="RowHeader_AllowMultiValue">
<source>Allow multiple values: {0}</source>
<target state="translated">複数の値を許可: {0}</target>
<source>Multiple values are allowed: {0}</source>
<target state="needs-review-translation">複数の値を許可: {0}</target>
<note>{0} is a boolean flag</note>
</trans-unit>
<trans-unit id="RowHeader_DefaultIfOptionWithoutValue">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
<note />
</trans-unit>
<trans-unit id="RowHeader_AllowMultiValue">
<source>Allow multiple values: {0}</source>
<target state="translated">다중 값 허용: {0}</target>
<source>Multiple values are allowed: {0}</source>
<target state="needs-review-translation">다중 값 허용: {0}</target>
<note>{0} is a boolean flag</note>
</trans-unit>
<trans-unit id="RowHeader_DefaultIfOptionWithoutValue">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
<note />
</trans-unit>
<trans-unit id="RowHeader_AllowMultiValue">
<source>Allow multiple values: {0}</source>
<target state="translated">Zezwalaj na wiele wartości: {0}</target>
<source>Multiple values are allowed: {0}</source>
<target state="needs-review-translation">Zezwalaj na wiele wartości: {0}</target>
<note>{0} is a boolean flag</note>
</trans-unit>
<trans-unit id="RowHeader_DefaultIfOptionWithoutValue">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
<note />
</trans-unit>
<trans-unit id="RowHeader_AllowMultiValue">
<source>Allow multiple values: {0}</source>
<target state="translated">Permitir vários valores: {0}</target>
<source>Multiple values are allowed: {0}</source>
<target state="needs-review-translation">Permitir vários valores: {0}</target>
<note>{0} is a boolean flag</note>
</trans-unit>
<trans-unit id="RowHeader_DefaultIfOptionWithoutValue">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
<note />
</trans-unit>
<trans-unit id="RowHeader_AllowMultiValue">
<source>Allow multiple values: {0}</source>
<target state="translated">Разрешить несколько значений: {0}</target>
<source>Multiple values are allowed: {0}</source>
<target state="needs-review-translation">Разрешить несколько значений: {0}</target>
<note>{0} is a boolean flag</note>
</trans-unit>
<trans-unit id="RowHeader_DefaultIfOptionWithoutValue">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
<note />
</trans-unit>
<trans-unit id="RowHeader_AllowMultiValue">
<source>Allow multiple values: {0}</source>
<target state="translated">Birden çok değere izin ver: {0}</target>
<source>Multiple values are allowed: {0}</source>
<target state="needs-review-translation">Birden çok değere izin ver: {0}</target>
<note>{0} is a boolean flag</note>
</trans-unit>
<trans-unit id="RowHeader_DefaultIfOptionWithoutValue">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
<note />
</trans-unit>
<trans-unit id="RowHeader_AllowMultiValue">
<source>Allow multiple values: {0}</source>
<target state="translated">允许多个值: {0}</target>
<source>Multiple values are allowed: {0}</source>
<target state="needs-review-translation">允许多个值: {0}</target>
<note>{0} is a boolean flag</note>
</trans-unit>
<trans-unit id="RowHeader_DefaultIfOptionWithoutValue">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
<note />
</trans-unit>
<trans-unit id="RowHeader_AllowMultiValue">
<source>Allow multiple values: {0}</source>
<target state="translated">允許多個值: {0}</target>
<source>Multiple values are allowed: {0}</source>
<target state="needs-review-translation">允許多個值: {0}</target>
<note>{0} is a boolean flag</note>
</trans-unit>
<trans-unit id="RowHeader_DefaultIfOptionWithoutValue">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ Template options:
iOS iOS mobile
android android mobile
nix Linux distributions
Allow multiple values: True
Multiple values are allowed: True
Default: MacOS|iOS
2 changes: 1 addition & 1 deletion test/dotnet-new3.UnitTests/DotnetNewHelp.Approval.cs
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ public Task CannotShowHelpForTemplate_WhenAmbiguousLanguageChoice()
}

[Fact]
public Task CannotShowHelpForTemplate_MultipleValueChoice()
public Task CanShowHelpForTemplate_MultipleValueChoice()
{
string workingDirectory = TestUtils.CreateTemporaryFolder();
Helpers.InstallTestTemplate("TemplateWithMultiValueChoice", _log, _fixture.HomeDirectory, workingDirectory);
Expand Down

0 comments on commit 2851334

Please sign in to comment.