Conversation
Contributor
There was a problem hiding this comment.
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
LEGO: Pull request from lego/hb_5378966c-b857-470a-8675-daebef4a6da1_20251126202423451 to main with localized lcls