Skip to content

Backport localization placeholder fixes from main to rel/4.3 - #9891

Merged
Amaury Levé (Evangelink) merged 1 commit into
rel/4.3from
dev/amauryleve/backport-loc-placeholder-fixes-rel-4-3
Jul 13, 2026
Merged

Amaury Levé (Evangelink) merged 1 commit into
rel/4.3from
dev/amauryleve/backport-loc-placeholder-fixes-rel-4-3

Conversation

@Evangelink

Copy link
Copy Markdown
Member

Backports two localization placeholder fixes from main (originally #9888) to rel/4.3. Both target strings already exist in rel/4.3, so these are safe, user-facing corrections.

Resource / lang trans-unit Bug in rel/4.3 Fix
GitHubActionsResources.ru.xlf SlowTestStillRunning {0} … через {0} с — {0} used twice, so elapsed seconds ({1}) never render {0} … через {1} с
MSTest.Analyzers/Resources.fr.xlf GlobalTestFixtureShouldBeValidDescription stray {0} line (absent from the English source) rendered literally stray line removed

The two edited trans-units are now identical to main. Other localization deltas between main and rel/4.3 were intentionally excluded (new-feature strings not present in 4.3, and the FileLogger message where main is temporarily un-translated after a source change).

Cherry-picks two translation placeholder fixes (from #9888) for strings
that already exist in rel/4.3:

- GitHubActionsResources.ru: SlowTestStillRunning used {0} twice instead
  of {1}, so the elapsed-seconds value never rendered.
- MSTest.Analyzers Resources.fr: GlobalTestFixtureShouldBeValidDescription
  contained a stray {0} placeholder absent from the English source.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 71762acb-35a7-44a3-b0fb-a22406897054
@Evangelink
Amaury Levé (Evangelink) merged commit c3fdb81 into rel/4.3 Jul 13, 2026
7 checks passed
@Evangelink
Amaury Levé (Evangelink) deleted the dev/amauryleve/backport-loc-placeholder-fixes-rel-4-3 branch July 13, 2026 09:43

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Note

🤖 Automated review by GitHub Copilot. Posted via a maintainer's GitHub token, so it appears under their account — the account owner did not write or approve this content personally. Generated by the Expert Code Review workflow. To request a follow-up action, reply by tagging @copilot directly.

Verdict: No issues found. Both fixes are correct and safe.

  1. GitHubActionsResources.ru.xlf — {0} → {1} in the second placeholder position. The <source> confirms {1} is the elapsed seconds, so the Russian translation was rendering the test name twice instead of the duration. Fix is correct.

  2. Resources.fr.xlf — Removes a stray {0} line that doesn't exist in the English source string. Since GlobalTestFixtureShouldBeValidDescription has no format placeholders, {0} would render literally in the French UI. Fix is correct.

Both changes are .xlf-only with no code impact beyond the rendered strings. No concerns.

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.

1 participant