LEGO: Merge pull request 47649

LEGO: Merge pull request 47649
This commit is contained in:
csigs 2022-01-28 04:14:33 -08:00 committed by GitHub
parent 09b84d56f3
commit eb3e7bd9d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -858,12 +858,18 @@
<Item ItemId=";A_super_call_must_be_a_root_level_statement_within_a_constructor_of_a_derived_class_that_contains_in_2401" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[A 'super' call must be a root-level statement within a constructor of a derived class that contains initialized properties, parameter properties, or private identifiers.]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[“super” 调用必须是包含初始化属性、参数属性或专用标识符的派生类的构造函数中的根级语句。]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";A_super_call_must_be_the_first_statement_in_the_constructor_to_refer_to_super_or_this_when_a_derived_2376" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[A 'super' call must be the first statement in the constructor to refer to 'super' or 'this' when a derived class contains initialized properties, parameter properties, or private identifiers.]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[当派生类包含初始化属性、参数属性或专用标识符时“super” 调用必须是构造函数中用来引用 “super” 或 “this” 的第一个语句。]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
@ -2124,6 +2130,9 @@
<Item ItemId=";An_object_literal_cannot_have_multiple_properties_with_the_same_name_1117" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[An object literal cannot have multiple properties with the same name.]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[对象文本不能具有多个名称相同的属性。]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
@ -2916,6 +2925,9 @@
<Item ItemId=";Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function_2311" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Cannot find name '{0}'. Did you mean to write this in an async function?]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[找不到名称“{0}”。你是否要在异步函数中写入此内容?]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
@ -3615,6 +3627,9 @@
<Item ItemId=";Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_w_4124" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Compiler option '{0}' of value '{1}' is unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'.]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[值“{1}”的编译器选项“{0}”不稳定。使用夜间 TypeScript 消除此错误。请尝试使用 “npm install -D typescript@next” 进行更新。]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
@ -5253,6 +5268,9 @@
<Item ItemId=";Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_or_nodenext_1324" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Dynamic imports only support a second argument when the '--module' option is set to 'esnext' or 'nodenext'.]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[只有当 “--module” 选项设置为 “esnext” 或 “nodenext” 时,动态导入才支持第二个参数。]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
@ -5775,6 +5793,9 @@
<Item ItemId=";Errors_Files_6041" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Errors Files]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[错误文件]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
@ -6558,12 +6579,18 @@
<Item ItemId=";Found_0_errors_in_1_files_6261" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Found {0} errors in {1} files.]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[在 {1} 个文件中找到 {0} 个错误。]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";Found_0_errors_in_the_same_file_starting_at_Colon_1_6260" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Found {0} errors in the same file, starting at: {1}]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[在同一文件中找到 {0} 个错误,起始位置为: {1}]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
@ -6588,6 +6615,9 @@
<Item ItemId=";Found_1_error_in_1_6259" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Found 1 error in {1}]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[在 {1} 中找到 1 个错误]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
@ -7101,18 +7131,27 @@
<Item ItemId=";Import_assertion_values_must_be_string_literal_expressions_2837" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Import assertion values must be string literal expressions.]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[导入断言值必须为字符串字面量表达式。]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";Import_assertions_are_not_allowed_on_statements_that_transpile_to_commonjs_require_calls_2836" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Import assertions are not allowed on statements that transpile to commonjs 'require' calls.]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[不允许在转译到 commonjs “require” 调用的语句导入断言。]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_or_nodenext_2821" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Import assertions are only supported when the '--module' option is set to 'esnext' or 'nodenext'.]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[仅在将 “--module” 选项设置为 “esnext” 或 “nodenext” 时,才支持导入断言。]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
@ -7350,6 +7389,9 @@
<Item ItemId=";Includes_imports_of_types_referenced_by_0_90054" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Includes imports of types referenced by '{0}']]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[包含由“{0}”引用的类型的导入]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
@ -10605,12 +10647,18 @@
<Item ItemId=";Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_n_2834" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Relative import paths need explicit file extensions in EcmaScript imports when '--moduleResolution' is 'node12' or 'nodenext'. Consider adding an extension to the import path.]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[当 “--moduleResolution” 为 “node12” 或 “nodenext” 时,相对导入路径需要 EcmaScript 导入中的显式文件扩展名。请考虑将扩展名添加到导入路径中。]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_n_2835" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Relative import paths need explicit file extensions in EcmaScript imports when '--moduleResolution' is 'node12' or 'nodenext'. Did you mean '{0}'?]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[当 “--moduleResolution” 为 “node12” 或 “nodenext” 时,相对导入路径需要 EcmaScript 导入中的显式文件扩展名。你是否指的是“{0}”?]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
@ -15759,6 +15807,9 @@
<Item ItemId=";catch_or_finally_expected_1472" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA['catch' or 'finally' expected.]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[应为 “catch” 或 “finally”。]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>