Skip to content

Conversation

csigs
Copy link
Member

@csigs csigs commented Oct 1, 2025

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

@Copilot Copilot AI review requested due to automatic review settings October 1, 2025 19:24
@github-project-automation github-project-automation bot moved this to Not started in PR Backlog Oct 1, 2025
@typescript-bot typescript-bot added For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Oct 1, 2025
Copy link

@Copilot 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 updates localized diagnostic messages across multiple languages (Portuguese, Korean, Spanish, and Traditional Chinese) in TypeScript's localization files.

Key changes:

  • Fixed grammatical error in English diagnostic message from "assertions" to "assertion"
  • Added new diagnostic message for side-effect imports (error code 2882)
  • Updated corresponding translations in all affected languages

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
src/loc/lcl/ptb/diagnosticMessages/diagnosticMessages.generated.json.lcl Portuguese localization updates with grammar fix and new side-effect import message
src/loc/lcl/kor/diagnosticMessages/diagnosticMessages.generated.json.lcl Korean localization updates with translation improvements and new message
src/loc/lcl/esn/diagnosticMessages/diagnosticMessages.generated.json.lcl Spanish localization updates with grammar fix and new message
src/loc/lcl/cht/diagnosticMessages/diagnosticMessages.generated.json.lcl Traditional Chinese localization updates with grammar fix and new message

<Str Cat="Text">
<Val><![CDATA[Cannot find module or type declarations for side-effect import of '{0}'.]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[No se pueden encontrar declaraciones de módulo o tipo para la importación de efectos secundarios de ''{0}".]]></Val>
Copy link
Preview

Copilot AI Oct 1, 2025

Choose a reason for hiding this comment

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

There's a mismatched quote mark at the end of the Spanish translation. It should be a single quote {0}' instead of {0}\".

Suggested change
<Val><![CDATA[No se pueden encontrar declaraciones de módulo o tipo para la importación de efectos secundarios de ''{0}".]]></Val>
<Val><![CDATA[No se pueden encontrar declaraciones de módulo o tipo para la importación de efectos secundarios de '{0}'.]]></Val>

Copilot uses AI. Check for mistakes.

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.

2 participants