Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix all StrBegin comments to be StrBegins to correctly show up in the… #43264

Merged
merged 2 commits into from
Sep 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
112 changes: 56 additions & 56 deletions src/Containers/Microsoft.NET.Build.Containers/Resources/Strings.resx

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

398 changes: 199 additions & 199 deletions src/Tasks/Common/Resources/Strings.resx

Large diffs are not rendered by default.

780 changes: 390 additions & 390 deletions src/Tasks/Common/Resources/xlf/Strings.cs.xlf

Large diffs are not rendered by default.

780 changes: 390 additions & 390 deletions src/Tasks/Common/Resources/xlf/Strings.de.xlf

Large diffs are not rendered by default.

780 changes: 390 additions & 390 deletions src/Tasks/Common/Resources/xlf/Strings.es.xlf

Large diffs are not rendered by default.

780 changes: 390 additions & 390 deletions src/Tasks/Common/Resources/xlf/Strings.fr.xlf

Large diffs are not rendered by default.

780 changes: 390 additions & 390 deletions src/Tasks/Common/Resources/xlf/Strings.it.xlf

Large diffs are not rendered by default.

780 changes: 390 additions & 390 deletions src/Tasks/Common/Resources/xlf/Strings.ja.xlf

Large diffs are not rendered by default.

780 changes: 390 additions & 390 deletions src/Tasks/Common/Resources/xlf/Strings.ko.xlf

Large diffs are not rendered by default.

780 changes: 390 additions & 390 deletions src/Tasks/Common/Resources/xlf/Strings.pl.xlf

Large diffs are not rendered by default.

780 changes: 390 additions & 390 deletions src/Tasks/Common/Resources/xlf/Strings.pt-BR.xlf

Large diffs are not rendered by default.

834 changes: 417 additions & 417 deletions src/Tasks/Common/Resources/xlf/Strings.ru.xlf

Large diffs are not rendered by default.

780 changes: 390 additions & 390 deletions src/Tasks/Common/Resources/xlf/Strings.tr.xlf

Large diffs are not rendered by default.

780 changes: 390 additions & 390 deletions src/Tasks/Common/Resources/xlf/Strings.zh-Hans.xlf

Large diffs are not rendered by default.

780 changes: 390 additions & 390 deletions src/Tasks/Common/Resources/xlf/Strings.zh-Hant.xlf

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,13 @@ public void ResxIsCommentedWithCorrectStrBegin()

if (name.EndsWith("_Info"))
{
comment.Should().NotContain("StrBegin",
comment.Should().NotContain("StrBegins",
because: "informational messages should not have error codes.");
}
else if (!_infoExceptions.Contains(name))
{

comment.Should().StartWith($@"{{StrBegin=""{prefix} ""}}",
comment.Should().StartWith($@"{{StrBegins=""{prefix} ""}}",
because: $"localization instructions should indicate invariant error code as preceding translatable message.");
}
}
Expand Down
Loading