Skip to content

[fix] Add missing AvailableExtensionFormat and AvailableTestsFormat keys to xlf files#16059

Open
nohwnd wants to merge 7 commits into
mainfrom
fix/xlf-available-format-keys-621f557b78162f60
Open

[fix] Add missing AvailableExtensionFormat and AvailableTestsFormat keys to xlf files#16059
nohwnd wants to merge 7 commits into
mainfrom
fix/xlf-available-format-keys-621f557b78162f60

Conversation

@nohwnd
Copy link
Copy Markdown
Member

@nohwnd nohwnd commented May 25, 2026

Fixes the xlf sync warning reported in the daily maintenance digest.

The AvailableExtensionFormat and AvailableTestsFormat resource keys were added to Resources.resx in #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

  • Added AvailableExtensionFormat before AvailableExtensionsMetadataFormat in all 13 xlf files
  • Added AvailableTestsFormat after AvailableLoggersHeaderMessage in all 13 xlf files

🤖 This is an automated fix generated by Issue Repro Triage & Auto-Fix.

🔍 Triaged by Issue Repro Triage & Auto-Fix 🔍

… 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>
Copilot AI review requested due to automatic review settings May 25, 2026 01:33
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 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 13 Resources.*.xlf files.
  • Added AvailableTestsFormat ({Locked} format string) to all 13 Resources.*.xlf files.

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>
@nohwnd
Copy link
Copy Markdown
Member Author

nohwnd commented May 28, 2026

Commit pushed: 10046f8

🔧 Iterated by PR Iteration Agent 🔧

@nohwnd

This comment has been minimized.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@nohwnd
Copy link
Copy Markdown
Member Author

nohwnd commented May 28, 2026

Commit pushed: 45fd7e8

🔧 Iterated by PR Iteration Agent 🔧

Copilot AI review requested due to automatic review settings May 28, 2026 06:38
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

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

…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>
@nohwnd
Copy link
Copy Markdown
Member Author

nohwnd commented May 28, 2026

Commit pushed: 91dc570

🔧 Iterated by PR Iteration Agent 🔧

@nohwnd

This comment has been minimized.

@nohwnd

This comment has been minimized.

…ll xlf files

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@nohwnd
Copy link
Copy Markdown
Member Author

nohwnd commented May 28, 2026

Commit pushed: 24ce74e

🔧 Iterated by PR Iteration Agent 🔧

Copilot AI review requested due to automatic review settings May 28, 2026 07:24
@nohwnd

This comment has been minimized.

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

Copilot reviewed 27 out of 27 changed files in this pull request and generated 2 comments.

Comment on lines +130 to +134
<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"?>
@nohwnd

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>
@nohwnd
Copy link
Copy Markdown
Member Author

nohwnd commented May 30, 2026

Commit pushed: ec9fd75

🔧 Iterated by PR Iteration Agent 🔧

@nohwnd
Copy link
Copy Markdown
Member Author

nohwnd commented May 30, 2026

Pushed a fix commit addressing the two xlf issues:

  1. CouldNotFindTesthost ordering — moved the entry to alphabetically-first position (before MultipleFileVersions) in all 13 TestHostProvider xlf files, matching the ordering added to main in commit 5226f3c.

  2. UTF-8 BOM — restored the BOM to all 13 vstest.console xlf files (they were stripped in a previous iteration).

The TestHostProvider xlf files now have zero diff vs main for anything outside this PR's scope. The vstest.console xlf files only differ by the intended AvailableExtensionFormat and AvailableTestsFormat additions.

🔧 Iterated by PR Iteration Agent 🔧

🔧 Iterated by PR Iteration Agent 🔧

Build confirmed passing locally; retrigger Azure DevOps CI.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@nohwnd
Copy link
Copy Markdown
Member Author

nohwnd commented Jun 1, 2026

Commit pushed: 4e2beeb

🔧 Iterated by PR Iteration Agent 🔧

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.

2 participants