Skip to content

LEGO: Pull request from lego/hb_5378966c-b857-470a-8675-daebef4a6da1_20250710202354753 to main #62038

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

csigs
Copy link
Member

@csigs csigs commented Jul 10, 2025

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

@Copilot Copilot AI review requested due to automatic review settings July 10, 2025 20:24
@github-project-automation github-project-automation bot moved this to Not started in PR Backlog Jul 10, 2025
@typescript-bot typescript-bot added the For Uncommitted Bug PR for untriaged, rejected, closed or missing bug label Jul 10, 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 the diagnostic message for the rule about using 'Object' as a class name when targeting ES5, extending it to cover ES5 and above across multiple localized files.

  • Renamed the ItemId to include “and_above” instead of “with_module”
  • Updated the English source message and all localized target strings accordingly
  • Applies changes in Turkish, Russian, Polish, Italian, Spanish, German, and Czech

Reviewed Changes

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

Show a summary per file
File Description
src/loc/lcl/trk/diagnosticMessages/diagnosticMessages.generated.json.lcl Updated ItemId and message text to cover “ES5 and above”
src/loc/lcl/rus/diagnosticMessages/diagnosticMessages.generated.json.lcl Same as above
src/loc/lcl/plk/diagnosticMessages/diagnosticMessages.generated.json.lcl Same as above
src/loc/lcl/ita/diagnosticMessages/diagnosticMessages.generated.json.lcl Same as above
src/loc/lcl/esn/diagnosticMessages/diagnosticMessages.generated.json.lcl Same as above
src/loc/lcl/deu/diagnosticMessages/diagnosticMessages.generated.json.lcl Same as above
src/loc/lcl/csy/diagnosticMessages/diagnosticMessages.generated.json.lcl Same as above
Comments suppressed due to low confidence (2)

src/loc/lcl/trk/diagnosticMessages/diagnosticMessages.generated.json.lcl:4070

  • Add or update unit and localization tests to verify that the updated message is produced when targeting ES5 and above with a module. This ensures the change is covered by automated tests.
      <Item ItemId=";Class_name_cannot_be_Object_when_targeting_ES5_and_above_with_module_0_2725" ItemType="0" PsrId="306" Leaf="true">

src/loc/lcl/trk/diagnosticMessages/diagnosticMessages.generated.json.lcl:4070

  • Ensure that all references to this diagnostic ID in the compiler and tests are updated to match the new Class_name_cannot_be_Object_when_targeting_ES5_and_above_with_module_0_2725. If any code still refers to the old ID, the message may no longer be emitted correctly.
      <Item ItemId=";Class_name_cannot_be_Object_when_targeting_ES5_and_above_with_module_0_2725" ItemType="0" PsrId="306" Leaf="true">

@@ -4067,11 +4067,11 @@
</Str>
Copy link
Preview

Copilot AI Jul 10, 2025

Choose a reason for hiding this comment

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

Since these are generated files, consider updating the localization generator or template rather than modifying each language file manually to reduce duplication and risk of drift in future updates.

Copilot uses AI. Check for mistakes.

@github-project-automation github-project-automation bot moved this from Not started to Needs merge in PR Backlog Jul 10, 2025
@jakebailey jakebailey merged commit 65cb4bd into main Jul 10, 2025
32 checks passed
@jakebailey jakebailey deleted the lego/hb_5378966c-b857-470a-8675-daebef4a6da1_20250710202354753 branch July 10, 2025 20:45
@github-project-automation github-project-automation bot moved this from Needs merge to Done in PR Backlog Jul 10, 2025
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: Done
Development

Successfully merging this pull request may close these issues.

3 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy