Skip to content

Localized file check-in by OneLocBuild Task: Build definition ID 1218: Build ID 2991261#8798

Merged
github-actions[bot] merged 1 commit into
mainfrom
locfiles/9f31bcae-d823-40c2-914d-b1c797d768a3
Jun 3, 2026
Merged

Localized file check-in by OneLocBuild Task: Build definition ID 1218: Build ID 2991261#8798
github-actions[bot] merged 1 commit into
mainfrom
locfiles/9f31bcae-d823-40c2-914d-b1c797d768a3

Conversation

@dotnet-bot
Copy link
Copy Markdown
Collaborator

This is the pull request automatically created by the OneLocBuild task in the build process to check-in localized files generated based upon translation source files (.lcl files) handed-back from the downstream localization pipeline. If there are issues in translations, visit https://aka.ms/icxLocBug and log bugs for fixes. The OneLocBuild wiki is https://aka.ms/onelocbuild and the localization process in general is documented at https://aka.ms/AllAboutLoc.

Copilot AI review requested due to automatic review settings June 3, 2026 14:09
@github-actions github-actions Bot enabled auto-merge (squash) June 3, 2026 14:10
@dotnet-bot dotnet-bot changed the title Localized file check-in by OneLocBuild Task: Build definition ID 1218: Build ID 2991258 Localized file check-in by OneLocBuild Task: Build definition ID 1218: Build ID 2991261 Jun 3, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR is an automated OneLocBuild localization check-in for Microsoft.Testing.Platform XLF resources. It updates the TerminalShowStdoutOptionDescription / TerminalShowStderrOptionDescription entries across multiple locales.

Changes:

  • Updates XLF entries for --show-stdout / --show-stderr option descriptions across several languages.
  • Marks the affected translations as translated.
  • Alters the English <source> text in those XLFs (removing the LLM/AI-environment default note).

Reviewed changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated 26 comments.

Show a summary per file
File Description
src/Platform/Microsoft.Testing.Platform/Resources/xlf/PlatformResources.zh-Hant.xlf Updates localized help text for --show-stdout/--show-stderr descriptions.
src/Platform/Microsoft.Testing.Platform/Resources/xlf/PlatformResources.zh-Hans.xlf Updates localized help text for --show-stdout/--show-stderr descriptions.
src/Platform/Microsoft.Testing.Platform/Resources/xlf/PlatformResources.tr.xlf Updates localized help text for --show-stdout/--show-stderr descriptions.
src/Platform/Microsoft.Testing.Platform/Resources/xlf/PlatformResources.ru.xlf Updates localized help text for --show-stdout/--show-stderr descriptions.
src/Platform/Microsoft.Testing.Platform/Resources/xlf/PlatformResources.pt-BR.xlf Updates localized help text for --show-stdout/--show-stderr descriptions.
src/Platform/Microsoft.Testing.Platform/Resources/xlf/PlatformResources.pl.xlf Updates localized help text for --show-stdout/--show-stderr descriptions.
src/Platform/Microsoft.Testing.Platform/Resources/xlf/PlatformResources.ko.xlf Updates localized help text for --show-stdout/--show-stderr descriptions.
src/Platform/Microsoft.Testing.Platform/Resources/xlf/PlatformResources.ja.xlf Updates localized help text for --show-stdout/--show-stderr descriptions.
src/Platform/Microsoft.Testing.Platform/Resources/xlf/PlatformResources.it.xlf Updates localized help text for --show-stdout/--show-stderr descriptions.
src/Platform/Microsoft.Testing.Platform/Resources/xlf/PlatformResources.fr.xlf Updates localized help text for --show-stdout/--show-stderr descriptions.
src/Platform/Microsoft.Testing.Platform/Resources/xlf/PlatformResources.es.xlf Updates localized help text for --show-stdout/--show-stderr descriptions.
src/Platform/Microsoft.Testing.Platform/Resources/xlf/PlatformResources.de.xlf Updates localized help text for --show-stdout/--show-stderr descriptions.
src/Platform/Microsoft.Testing.Platform/Resources/xlf/PlatformResources.cs.xlf Updates localized help text for --show-stdout/--show-stderr descriptions.

@github-actions github-actions Bot merged commit 726cc8a into main Jun 3, 2026
19 of 20 checks passed
@github-actions github-actions Bot deleted the locfiles/9f31bcae-d823-40c2-914d-b1c797d768a3 branch June 3, 2026 14:18
@Evangelink

This comment has been minimized.

@Evangelink

This comment has been minimized.

@Evangelink

This comment has been minimized.

@Evangelink
Copy link
Copy Markdown
Member

🔍 Build Failure Analysis

Summary — The build fails because PlatformResources.resx was not updated in sync with the .xlf translation files, causing the XliffTasks check to report the .xlf files as out-of-date.

Root cause: .resx source text out of sync with updated .xlf sources

This PR updated all .xlf files (e.g., PlatformResources.cs.xlf, .de.xlf, .es.xlf, ...) to shorten the TerminalShowStderrOptionDescription and TerminalShowStdoutOptionDescription resource strings — removing the clause (or 'Failed' when an LLM/AI agent environment is detected) from the <source> elements.

However, PlatformResources.resx (the canonical English source) still contains the old, longer text. The Microsoft.DotNet.XliffTasks CI check compares every <source> element in each .xlf file against the corresponding <value> in the .resx, and fails when they diverge.

Affected errors (all 3 TFMs, same underlying cause)

TFM Error
net8.0 'Resources/xlf/PlatformResources.cs.xlf' is out-of-date with 'Resources/PlatformResources.resx'
net9.0 same
netstandard2.0 same

Proposed fix

Update lines 662–663 and 666–667 of src/Platform/Microsoft.Testing.Platform/Resources/PlatformResources.resx to match the shortened text now in the .xlf sources:

// TerminalShowStdoutOptionDescription
-Valid values are 'All', 'Failed', 'None'. Default is 'All' (or 'Failed' when an LLM/AI agent environment is detected).</value>
+Valid values are 'All', 'Failed', 'None'. Default is 'All'.</value>

// TerminalShowStderrOptionDescription
-Valid values are 'All', 'Failed', 'None'. Default is 'All' (or 'Failed' when an LLM/AI agent environment is detected).</value>
+Valid values are 'All', 'Failed', 'None'. Default is 'All'.</value>

Because PlatformResources.resx was not touched in this PR, an inline suggestion cannot be posted against the diff. Please add the file to this PR and apply the change above.


All MSBuild errors (3)
Project TFM Message
Microsoft.Testing.Platform.csproj net8.0 'Resources/xlf/PlatformResources.cs.xlf' is out-of-date with 'Resources/PlatformResources.resx'. Run msbuild /t:UpdateXlf to update .xlf files.
Microsoft.Testing.Platform.csproj net9.0 same
Microsoft.Testing.Platform.csproj netstandard2.0 same

🤖 Generated by the Build Failure Analysis workflow · commit 3157725

Generated by Build Failure Analysis for issue #8798 · sonnet46 4.6M ·

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants