Skip to content

Fix localization string import - #14743

Draft
Sean McManus (sean-mcmanus) wants to merge 1 commit into
mainfrom
seanmcm/devbox2-wsl/agent170/fix-localization-string-import
Draft

Fix localization string import#14743
Sean McManus (sean-mcmanus) wants to merge 1 commit into
mainfrom
seanmcm/devbox2-wsl/agent170/fix-localization-string-import

Conversation

@sean-mcmanus

Copy link
Copy Markdown
Contributor

Summary

Skip unrelated source directories during EDGE string import and refresh the translated diagnostic for excessive nested user-defined conversions in 13 locales.

This PR was investigated and created by GitHub Copilot (in VS Code). Any message starting with ✨Copilot: was sent by Copilot.

User impact

[Minor] A localization refresh can silently stop before processing supported locales when the source checkout contains an unrelated directory. A later extension release can consequently retain stale or missing localized IntelliSense diagnostics until the import is rerun from a different checkout layout.

Root cause

The importer added in #11262 returned from the entire operation when it encountered the first directory outside its fixed locale table. A standalone Git checkout exposes .git as a directory, so the command could exit successfully before importing any locale.

Fix

Continue past unrecognized directories instead of ending the import. The generated update adds the newly available translations while preserving the reviewed corrections from #14676.

Copilot AI 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.

🟢 Approval recommended

No unresolved approval-blocking issues were identified.

Pull request overview

Fixes EDGE localization imports so unrelated directories no longer stop processing, while refreshing one diagnostic across 13 locales.

Changes:

  • Skip unsupported localization directories.
  • Update localized IntelliSense diagnostic translations.
File summaries
File Description
Extension/bin/messages/zh-tw/messages.json Updates Traditional Chinese translation.
Extension/bin/messages/zh-cn/messages.json Updates Simplified Chinese translation.
Extension/bin/messages/tr/messages.json Updates Turkish translation.
Extension/bin/messages/ru/messages.json Updates Russian translation.
Extension/bin/messages/pt-br/messages.json Updates Brazilian Portuguese translation.
Extension/bin/messages/pl/messages.json Updates Polish translation.
Extension/bin/messages/ko/messages.json Updates Korean translation.
Extension/bin/messages/ja/messages.json Updates Japanese translation.
Extension/bin/messages/it/messages.json Updates Italian translation.
Extension/bin/messages/fr/messages.json Updates French translation.
Extension/bin/messages/es/messages.json Updates Spanish translation.
Extension/bin/messages/de/messages.json Updates German translation.
Extension/bin/messages/cs/messages.json Updates Czech translation.
Extension/.scripts/import_edge_strings.ts Continues past unsupported directories.
Review details
  • Files reviewed: 1/14 changed files
  • Comments generated: 0
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

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

Labels

None yet

Projects

Status: Pull Request

Development

Successfully merging this pull request may close these issues.

2 participants