Localized file check-in by OneLocBuild Task: Build definition ID 1222: Build ID 3071980 - #16317
Localized file check-in by OneLocBuild Task: Build definition ID 1222: Build ID 3071980#16317dotnet bot (dotnet-bot) wants to merge 14 commits into
Conversation
…: Build ID 3033186
There was a problem hiding this comment.
Pull request overview
This PR updates vstest.console localization XLF files produced by OneLocBuild, translating the help text for the --Platform and --Framework command-line arguments across multiple languages.
Changes:
- Marked
PlatformArgumentHelpandFrameworkArgumentHelpentries as translated in multipleResources.<culture>.xlffiles. - Added localized descriptions for platform architecture and target framework help text (language-specific).
Reviewed changes
Copilot reviewed 13 out of 13 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| src/vstest.console/Resources/xlf/Resources.zh-Hant.xlf | Translates --Platform/--Framework help text (Traditional Chinese). |
| src/vstest.console/Resources/xlf/Resources.zh-Hans.xlf | Translates --Platform/--Framework help text (Simplified Chinese). |
| src/vstest.console/Resources/xlf/Resources.tr.xlf | Translates --Platform/--Framework help text (Turkish). |
| src/vstest.console/Resources/xlf/Resources.ru.xlf | Translates --Platform/--Framework help text (Russian). |
| src/vstest.console/Resources/xlf/Resources.pt-BR.xlf | Translates --Platform/--Framework help text (Portuguese - Brazil). |
| src/vstest.console/Resources/xlf/Resources.pl.xlf | Translates --Platform/--Framework help text (Polish). |
| src/vstest.console/Resources/xlf/Resources.ko.xlf | Translates --Platform/--Framework help text (Korean). |
| src/vstest.console/Resources/xlf/Resources.ja.xlf | Translates --Platform/--Framework help text (Japanese). |
| src/vstest.console/Resources/xlf/Resources.it.xlf | Translates --Platform/--Framework help text (Italian). |
| src/vstest.console/Resources/xlf/Resources.fr.xlf | Translates --Platform/--Framework help text (French); needs switch syntax consistency fixes (/Platform: and /Framework:). |
| src/vstest.console/Resources/xlf/Resources.es.xlf | Translates --Platform/--Framework help text (Spanish). |
| src/vstest.console/Resources/xlf/Resources.de.xlf | Translates --Platform/--Framework help text (German); needs framework moniker example fix (.NETFramework/.NETCoreApp spacing). |
| src/vstest.console/Resources/xlf/Resources.cs.xlf | Translates --Platform/--Framework help text (Czech). |
Comments suppressed due to low confidence (1)
src/vstest.console/Resources/xlf/Resources.fr.xlf:403
- The translated help text changes the command-line syntax from
/Framework:to/Framework :(non‑breaking space before the colon). The switch spelling should remain exactly/Framework:to avoid confusing users and to keep help output consistent.
<target state="translated">--Framework|/Framework :<Framework Version>
| <target state="new">--Platform|/Platform:<Platform type> | ||
| Target platform architecture to be used for test execution. | ||
| Valid values are x86, x64, ARM, ARM64, S390x, Ppc64le, RiscV64 and LoongArch64.</target> | ||
| <target state="translated">--Platform|/Platform :<type de plateforme> |
| Other supported values are Framework40, Framework45, FrameworkCore10 and FrameworkUap10.</target> | ||
| <target state="translated">--Framework|/Framework:<Frameworkversion> | ||
| Zielversion von .NET Framework, die für die Testausführung verwendet werden soll. | ||
| Gültige Werte sind Kurznamen wie net48 und net10.0 oder lange Namen wie ". NETFramework,Version=v4.8" und ". NETCoreApp,Version=v10.0". |
…: Build ID 3043589
…: Build ID 3043532
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 13 out of 13 changed files in this pull request and generated no new comments.
Suppressed comments (3)
src/vstest.console/Resources/xlf/Resources.fr.xlf:388
- The localized help text changes the CLI syntax from
/Platform:<...>to/Platform :<...>(contains a non-breaking space before the colon). This could confuse users copying the command; the switch format should remain exactly/Platform:.
<target state="translated">--Platform|/Platform :<type de plateforme>
src/vstest.console/Resources/xlf/Resources.de.xlf:405
- The German translation for the long framework names introduces a space after the leading dot (
". NETFramework",". NETCoreApp"), which makes the example values incorrect when copied. These should be".NETFramework"/".NETCoreApp"without a space.
Gültige Werte sind Kurznamen wie net48 und net10.0 oder lange Namen wie ". NETFramework,Version=v4.8" und ". NETCoreApp,Version=v10.0".
src/vstest.console/Resources/xlf/Resources.fr.xlf:403
- The localized help text changes the CLI syntax from
/Framework:<...>to/Framework :<...>(contains a non-breaking space before the colon). The switch format should remain exactly/Framework:.
<target state="translated">--Framework|/Framework :<Framework Version>
…: Build ID 3044534
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 26 out of 26 changed files in this pull request and generated no new comments.
Suppressed comments (3)
src/vstest.console/Resources/xlf/Resources.fr.xlf:388
- In the localized usage string, there is an extra space (NBSP) before the colon in
/Platform :. The option syntax should stay exactly/Platform:to avoid confusing copy/paste from help output.
<target state="translated">--Platform|/Platform :<type de plateforme>
src/vstest.console/Resources/xlf/Resources.de.xlf:405
- The example framework identifiers in this localized string contain an extra space after the leading dot (". NETFramework" / ". NETCoreApp"). These values are meant to be used verbatim; the added space makes the examples invalid.
Gültige Werte sind Kurznamen wie net48 und net10.0 oder lange Namen wie ". NETFramework,Version=v4.8" und ". NETCoreApp,Version=v10.0".
src/vstest.console/Resources/xlf/Resources.fr.xlf:403
- In the localized usage string, there is an extra space (NBSP) before the colon in
/Framework :. The option syntax should stay exactly/Framework:to avoid confusing copy/paste from help output.
<target state="translated">--Framework|/Framework :<Framework Version>
…: Build ID 3047034
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 26 out of 26 changed files in this pull request and generated 3 comments.
Suppressed comments (1)
src/Microsoft.TestPlatform.Extensions.TrxLogger/Resources/xlf/TrxResource.zh-Hant.xlf:313
- The target string removes the whitespace between sentences compared to the source (
... '{0}'. {1}), which can cause the appended{1}detail to run into the previous sentence (often in English). Consider preserving a separator (e.g., adding a space after。) to keep formatting consistent and readable.
<target state="translated">無法寫入結果檔案 '{0}'。{1}</target>
| <target state="new">--Platform|/Platform:<Platform type> | ||
| Target platform architecture to be used for test execution. | ||
| Valid values are x86, x64, ARM, ARM64, S390x, Ppc64le, RiscV64 and LoongArch64.</target> | ||
| <target state="translated">--Platform|/Platform :<type de plateforme> |
| Target .Net Framework version to be used for test execution. | ||
| Valid values are short names such as net48 and net10.0, or long names such as ".NETFramework,Version=v4.8" and ".NETCoreApp,Version=v10.0". | ||
| Other supported values are Framework40, Framework45, FrameworkCore10 and FrameworkUap10.</target> | ||
| <target state="translated">--Framework|/Framework :<Framework Version> |
| Other supported values are Framework40, Framework45, FrameworkCore10 and FrameworkUap10.</target> | ||
| <target state="translated">--Framework|/Framework:<Frameworkversion> | ||
| Zielversion von .NET Framework, die für die Testausführung verwendet werden soll. | ||
| Gültige Werte sind Kurznamen wie net48 und net10.0 oder lange Namen wie ". NETFramework,Version=v4.8" und ". NETCoreApp,Version=v10.0". |
|
One or more custom setup steps configured for this repository failed during this Copilot code review run: Setup steps run before each review. If the review above is missing context, or no review was posted at all, the failing step above may be the cause. See the workflow run for failure details, fix your setup steps configuration, and re-request a review. Note You can configure setup steps for Copilot code review separately from Copilot cloud agent with a |
…: Build ID 3048095
…: Build ID 3055759
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 40 out of 40 changed files in this pull request and generated no new comments.
Suppressed comments (6)
Previously missed (3) — in code that hasn't changed since the last review.
src/Microsoft.TestPlatform.Extensions.TrxLogger/Resources/xlf/TrxResource.it.xlf:313
- The translated error message uses doubled single quotes (''{0}''). This will render with duplicated apostrophes around the filename; it should use a single quoted placeholder like the source string.
<target state="translated">Non è possibile scrivere il file dei risultati ''{0}''. {1}</target>
src/Microsoft.TestPlatform.Extensions.TrxLogger/Resources/xlf/TrxResource.ru.xlf:315
- This PR adds a new trans-unit id "TrxLoggerWriteFailed", but that key does not appear to exist in the corresponding TrxResource.resx (and therefore won’t be present in the generated designer). This makes the XLF out-of-sync with the actual resources and the translation will be unused (or could break localization tooling).
<trans-unit id="TrxLoggerWriteFailed">
<source>Failed to write the results file '{0}'. {1}</source>
<target state="translated">Не удалось записать файл результатов {0}. {1}</target>
<note />
</trans-unit>
src/Microsoft.TestPlatform.CrossPlatEngine/Resources/xlf/Resources.de.xlf:189
- This PR adds a new trans-unit id "MtpTestCaseMissingNodeUid", but that key does not appear to exist in the corresponding CrossPlatEngine Resources.resx (and therefore won’t be present in the generated designer). This leaves the XLF out-of-sync and the translation will be unused (or could break localization tooling).
<trans-unit id="MtpTestCaseMissingNodeUid">
<source>Cannot run test '{0}' because it does not carry a Microsoft.Testing.Platform node identifier. The test case was not produced by a Microsoft.Testing.Platform discovery, or the identifier was lost in transit. Re-run discovery for this project, or run without a test selection.</source>
<target state="translated">Test „{0}“ kann nicht ausgeführt werden, da er keinen Knotenbezeichner für Microsoft.Testing.Platform aufweist. Der Testfall wurde nicht durch eine Microsoft.Testing.Platform-Ermittlung erzeugt, oder der Bezeichner ist bei der Übertragung verloren gegangen. Führen Sie die Ermittlung für dieses Projekt erneut aus, oder führen Sie sie ohne Testauswahl aus.</target>
<note />
</trans-unit>
src/vstest.console/Resources/xlf/Resources.fr.xlf:388
- The translated help text introduces a space (NBSP) before the colon in "/Platform :". Since this line shows a literal command-line option, the extra space makes the copied switch incorrect; it should remain "/Platform:".
src/vstest.console/Resources/xlf/Resources.fr.xlf:403 - The translated help text introduces a space (NBSP) before the colon in "/Framework :". This is a literal CLI option and should remain "/Framework:" so copy/paste works correctly.
src/vstest.console/Resources/xlf/Resources.de.xlf:405 - The framework example strings have an extra space after the leading dot (". NETFramework" / ". NETCoreApp"). These are literal values users may copy/paste and should be kept exactly as ".NETFramework" and ".NETCoreApp".
Gültige Werte sind Kurznamen wie net48 und net10.0 oder lange Namen wie ". NETFramework,Version=v4.8" und ". NETCoreApp,Version=v10.0".
…: Build ID 3071980
There was a problem hiding this comment.
🔵 Needs a closer look
The French and German localized CLI help strings introduce incorrect literal syntax/monikers (extra whitespace) that would mislead users copying command examples.
Review details
Suppressed comments (3)
src/vstest.console/Resources/xlf/Resources.fr.xlf:388
- The French localized help text introduces a whitespace before the colon in
/Platform:(looks like a non-breaking space). This changes the displayed CLI syntax and can confuse copy/paste from--help. The switch should remain exactly/Platform:.
src/vstest.console/Resources/xlf/Resources.fr.xlf:403 - The French localized help text introduces a whitespace before the colon in
/Framework:. This changes the displayed CLI syntax and can confuse copy/paste from--help. The switch should remain exactly/Framework:.
src/vstest.console/Resources/xlf/Resources.de.xlf:405 - The German localized help text has literal framework monikers with an extra space after the leading dot (". NETFramework" / ". NETCoreApp"). These should stay exactly ".NETFramework" and ".NETCoreApp" so users can copy/paste valid TFMs/framework names from
--help.
- Files reviewed: 53/53 changed files
- Comments generated: 0 new
- Review effort level: Lite
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.