Skip to content

Conversation

@csigs
Copy link
Member

@csigs csigs commented Nov 26, 2025

LEGO: Pull request from lego/hb_5378966c-b857-470a-8675-daebef4a6da1_20251126202423451 to main with localized lcls

Copilot AI review requested due to automatic review settings November 26, 2025 20:24
@typescript-bot typescript-bot added the For Uncommitted Bug PR for untriaged, rejected, closed or missing bug label Nov 26, 2025
@github-project-automation github-project-automation bot moved this to Not started in PR Backlog Nov 26, 2025
Copilot finished reviewing on behalf of csigs November 26, 2025 20:27
Copy link

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 pull request adds localized translations for two new TypeScript diagnostic messages (error codes 1547 and 1548) related to using and await using declarations in switch case/default clauses. The messages warn that these declarations are not allowed in case or default clauses unless they are contained within a block. The changes are part of an automated localization update across 6 languages: Turkish (trk), Polish (plk), Japanese (jpn), Italian (ita), Czech (csy), and Chinese Simplified (chs).

  • Adds translations for error code 1547: 'using' declarations are not allowed in 'case' or 'default' clauses unless contained within a block.
  • Adds translations for error code 1548: 'await using' declarations are not allowed in 'case' or 'default' clauses unless contained within a block.

Reviewed changes

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

Show a summary per file
File Description
src/loc/lcl/trk/diagnosticMessages/diagnosticMessages.generated.json.lcl Adds Turkish translations for using/await using case/default clause error messages
src/loc/lcl/plk/diagnosticMessages/diagnosticMessages.generated.json.lcl Adds Polish translations for using/await using case/default clause error messages
src/loc/lcl/jpn/diagnosticMessages/diagnosticMessages.generated.json.lcl Adds Japanese translations for using/await using case/default clause error messages
src/loc/lcl/ita/diagnosticMessages/diagnosticMessages.generated.json.lcl Adds Italian translations for using/await using case/default clause error messages
src/loc/lcl/csy/diagnosticMessages/diagnosticMessages.generated.json.lcl Adds Czech translations for using/await using case/default clause error messages
src/loc/lcl/chs/diagnosticMessages/diagnosticMessages.generated.json.lcl Adds Chinese Simplified translations for using/await using case/default clause error messages

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

Labels

For Uncommitted Bug PR for untriaged, rejected, closed or missing bug

Projects

Status: Not started

Development

Successfully merging this pull request may close these issues.

3 participants