Skip to content

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

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

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5271,6 +5271,15 @@
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";Default_imports_are_not_allowed_in_a_deferred_import_18058" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Default imports are not allowed in a deferred import.]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[延迟导入中不允许使用默认导入。]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";Default_library_1424" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Default library]]></Val>
Expand All @@ -5289,6 +5298,15 @@
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";Deferred_imports_are_only_supported_when_the_module_flag_is_set_to_esnext_or_preserve_18060" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Deferred imports are only supported when the '--module' flag is set to 'esnext' or 'preserve'.]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[仅当 ‘--module’ 标志设置为 ‘esnext’ 或 ‘preserve’ 时,才支持延迟导入。]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0_6200" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Definitions of the following identifiers conflict with those in another file: {0}]]></Val>
Expand Down Expand Up @@ -6624,6 +6642,15 @@
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";Environment_Settings_6285" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Environment Settings]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[环境设置]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";Errors_Files_6041" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Errors Files]]></Val>
Expand Down Expand Up @@ -7311,6 +7338,15 @@
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";File_Layout_6284" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[File Layout]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[文件布局]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";File_Management_6245" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[File Management]]></Val>
Expand Down Expand Up @@ -7605,6 +7641,15 @@
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";For_nodejs_Colon_6287" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[For nodejs:]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[对于 nodejs:]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";Found_0_errors_6217" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Found {0} errors.]]></Val>
Expand Down Expand Up @@ -9876,6 +9921,15 @@
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";Named_imports_are_not_allowed_in_a_deferred_import_18059" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Named imports are not allowed in a deferred import.]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[延迟导入中不允许使用命名导入。]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";Named_imports_from_a_JSON_file_into_an_ECMAScript_module_are_not_allowed_when_module_is_set_to_0_1544" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Named imports from a JSON file into an ECMAScript module are not allowed when 'module' is set to '{0}'.]]></Val>
Expand Down Expand Up @@ -10674,6 +10728,15 @@
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";Other_Outputs_6291" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Other Outputs]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[其他输出]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";Output_Formatting_6256" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Output Formatting]]></Val>
Expand Down Expand Up @@ -12153,6 +12216,15 @@
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";Recommended_Options_6294" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Recommended Options]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[建议的选项]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";Redirect_output_structure_to_the_directory_6006" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Redirect output structure to the directory.]]></Val>
Expand Down Expand Up @@ -13191,6 +13263,15 @@
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";See_also_https_Colon_Slash_Slashaka_ms_Slashtsconfig_Slashmodule_6286" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[See also https://aka.ms/tsconfig/module]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[另请参阅 https://aka.ms/tsconfig/module]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";Selection_is_not_a_valid_statement_or_statements_95155" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Selection is not a valid statement or statements]]></Val>
Expand Down Expand Up @@ -13935,6 +14016,15 @@
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";Stricter_Typechecking_Options_6292" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Stricter Typechecking Options]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[更严格的类型检查选项]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";String_literal_expected_1141" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[String literal expected.]]></Val>
Expand Down Expand Up @@ -13962,6 +14052,15 @@
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";Style_Options_6293" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Style Options]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[样式选项]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";Stylize_errors_and_messages_using_color_and_context_experimental_6073" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Stylize errors and messages using color and context (experimental).]]></Val>
Expand Down Expand Up @@ -17937,6 +18036,15 @@
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";_0_is_not_a_valid_meta_property_for_keyword_import_Did_you_mean_meta_or_defer_18061" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA['{0}' is not a valid meta-property for keyword 'import'. Did you mean 'meta' or 'defer'?]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[“{0}”不是关键字 ‘import’ 的有效元属性。你是说 ‘meta’ 还是 ‘defer’?]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";_0_is_not_allowed_as_a_parameter_name_1390" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA['{0}' is not allowed as a parameter name.]]></Val>
Expand Down Expand Up @@ -18402,6 +18510,15 @@
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";and_npm_install_D_types_Slashnode_6290" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[and npm install -D @types/node]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[和 npm 安装 -D @types/节点]]></Val>
Copy link
Preview

Copilot AI Jun 11, 2025

Choose a reason for hiding this comment

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

The package name '@types/node' was translated to '@types/节点', which breaks the npm install command. It should remain '@types/node'.

Copilot uses AI. Check for mistakes.

Copy link
Member

Choose a reason for hiding this comment

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

This comment is correct :(

</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";arguments_cannot_be_referenced_in_property_initializers_or_class_static_initialization_blocks_2815" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA['arguments' cannot be referenced in property initializers or class static initialization blocks.]]></Val>
Expand Down Expand Up @@ -18468,6 +18585,15 @@
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";await_using_declarations_are_not_allowed_in_ambient_contexts_1546" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA['await using' declarations are not allowed in ambient contexts.]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[环境上下文中不允许使用 ‘await using’ 声明。]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";await_using_statements_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_th_2853" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA['await using' statements are only allowed at the top level of a file when that file is a module, but this file has no imports or exports. Consider adding an empty 'export {}' to make this file a module.]]></Val>
Expand Down Expand Up @@ -19323,6 +19449,15 @@
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";using_declarations_are_not_allowed_in_ambient_contexts_1545" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA['using' declarations are not allowed in ambient contexts.]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[环境上下文中不允许使用 ‘using’ 声明。]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";with_statements_are_not_allowed_in_an_async_function_block_1300" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA['with' statements are not allowed in an async function block.]]></Val>
Expand Down
Loading