[fix] Add missing AvailableExtensionFormat and AvailableTestsFormat keys to xlf files#16059
[fix] Add missing AvailableExtensionFormat and AvailableTestsFormat keys to xlf files#16059nohwnd wants to merge 7 commits into
Conversation
… xlf files The resx entries were added in d5a7e3b but the corresponding xlf entries were not added. This fixes the xlf sync warning in the maintenance digest. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
This PR fixes localization sync warnings by adding the missing AvailableExtensionFormat and AvailableTestsFormat resource entries to all vstest.console localization XLIFF files, bringing them back in sync with Resources.resx.
Changes:
- Added
AvailableExtensionFormat({Locked}format string) to all 13Resources.*.xlffiles. - Added
AvailableTestsFormat({Locked}format string) to all 13Resources.*.xlffiles.
Reviewed changes
Copilot reviewed 13 out of 13 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/vstest.console/Resources/xlf/Resources.cs.xlf | Adds missing AvailableExtensionFormat and AvailableTestsFormat localization units. |
| src/vstest.console/Resources/xlf/Resources.de.xlf | Adds missing AvailableExtensionFormat and AvailableTestsFormat localization units. |
| src/vstest.console/Resources/xlf/Resources.es.xlf | Adds missing AvailableExtensionFormat and AvailableTestsFormat localization units. |
| src/vstest.console/Resources/xlf/Resources.fr.xlf | Adds missing AvailableExtensionFormat and AvailableTestsFormat localization units. |
| src/vstest.console/Resources/xlf/Resources.it.xlf | Adds missing AvailableExtensionFormat and AvailableTestsFormat localization units. |
| src/vstest.console/Resources/xlf/Resources.ja.xlf | Adds missing AvailableExtensionFormat and AvailableTestsFormat localization units. |
| src/vstest.console/Resources/xlf/Resources.ko.xlf | Adds missing AvailableExtensionFormat and AvailableTestsFormat localization units. |
| src/vstest.console/Resources/xlf/Resources.pl.xlf | Adds missing AvailableExtensionFormat and AvailableTestsFormat localization units. |
| src/vstest.console/Resources/xlf/Resources.pt-BR.xlf | Adds missing AvailableExtensionFormat and AvailableTestsFormat localization units. |
| src/vstest.console/Resources/xlf/Resources.ru.xlf | Adds missing AvailableExtensionFormat and AvailableTestsFormat localization units. |
| src/vstest.console/Resources/xlf/Resources.tr.xlf | Adds missing AvailableExtensionFormat and AvailableTestsFormat localization units. |
| src/vstest.console/Resources/xlf/Resources.zh-Hans.xlf | Adds missing AvailableExtensionFormat and AvailableTestsFormat localization units. |
| src/vstest.console/Resources/xlf/Resources.zh-Hant.xlf | Adds missing AvailableExtensionFormat and AvailableTestsFormat localization units. |
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
Commit pushed:
|
This comment has been minimized.
This comment has been minimized.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
Commit pushed:
|
…ge to match resx order The xlf entry was placed after AvailableLoggersHeaderMessage, but the resx file defines AvailableTestsFormat after AvailableSettingsProvidersHeaderMessage. This reorders all 13 xlf files to match the canonical resx order. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
Commit pushed:
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
…ll xlf files Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
Commit pushed:
|
This comment has been minimized.
This comment has been minimized.
| <data name="CouldNotFindTesthost" xml:space="preserve"> | ||
| <value>Could not find testhost for test source '{0}'. | ||
|
|
||
| Verify that: | ||
| - The test project references the 'Microsoft.NET.Test.Sdk' NuGet package. |
| @@ -1,4 +1,4 @@ | |||
| <?xml version="1.0" encoding="utf-8"?> | |||
| <?xml version="1.0" encoding="utf-8"?> | |||
This comment has been minimized.
This comment has been minimized.
- Move CouldNotFindTesthost entry to alphabetically-first position (before MultipleFileVersions) in all 13 TestHostProvider xlf files, matching main's ordering from commit 5226f3c - Restore UTF-8 BOM to all 13 vstest.console xlf files Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
Commit pushed:
|
|
Pushed a fix commit addressing the two xlf issues:
The
|
Build confirmed passing locally; retrigger Azure DevOps CI. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
Commit pushed:
|
Fixes the xlf sync warning reported in the daily maintenance digest.
The
AvailableExtensionFormatandAvailableTestsFormatresource keys were added toResources.resxin #16042, but the corresponding entries were not added to any of the 13 localization xlf files.Both keys have
{Locked}comments indicating format strings that should not be translated, so source = target ={0}.Changes
AvailableExtensionFormatbeforeAvailableExtensionsMetadataFormatin all 13 xlf filesAvailableTestsFormatafterAvailableLoggersHeaderMessagein all 13 xlf files