Skip to content

Commit eb3e7bd

Browse files
authored
LEGO: Merge pull request 47649
LEGO: Merge pull request 47649
1 parent 09b84d5 commit eb3e7bd

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

src/loc/lcl/chs/diagnosticMessages/diagnosticMessages.generated.json.lcl

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -858,12 +858,18 @@
858858
<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">
859859
<Str Cat="Text">
860860
<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>
861+
<Tgt Cat="Text" Stat="Loc" Orig="New">
862+
<Val><![CDATA[“super” 调用必须是包含初始化属性、参数属性或专用标识符的派生类的构造函数中的根级语句。]]></Val>
863+
</Tgt>
861864
</Str>
862865
<Disp Icon="Str" />
863866
</Item>
864867
<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">
865868
<Str Cat="Text">
866869
<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>
870+
<Tgt Cat="Text" Stat="Loc" Orig="New">
871+
<Val><![CDATA[当派生类包含初始化属性、参数属性或专用标识符时,“super” 调用必须是构造函数中用来引用 “super” 或 “this” 的第一个语句。]]></Val>
872+
</Tgt>
867873
</Str>
868874
<Disp Icon="Str" />
869875
</Item>
@@ -2124,6 +2130,9 @@
21242130
<Item ItemId=";An_object_literal_cannot_have_multiple_properties_with_the_same_name_1117" ItemType="0" PsrId="306" Leaf="true">
21252131
<Str Cat="Text">
21262132
<Val><![CDATA[An object literal cannot have multiple properties with the same name.]]></Val>
2133+
<Tgt Cat="Text" Stat="Loc" Orig="New">
2134+
<Val><![CDATA[对象文本不能具有多个名称相同的属性。]]></Val>
2135+
</Tgt>
21272136
</Str>
21282137
<Disp Icon="Str" />
21292138
</Item>
@@ -2916,6 +2925,9 @@
29162925
<Item ItemId=";Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function_2311" ItemType="0" PsrId="306" Leaf="true">
29172926
<Str Cat="Text">
29182927
<Val><![CDATA[Cannot find name '{0}'. Did you mean to write this in an async function?]]></Val>
2928+
<Tgt Cat="Text" Stat="Loc" Orig="New">
2929+
<Val><![CDATA[找不到名称“{0}”。你是否要在异步函数中写入此内容?]]></Val>
2930+
</Tgt>
29192931
</Str>
29202932
<Disp Icon="Str" />
29212933
</Item>
@@ -3615,6 +3627,9 @@
36153627
<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">
36163628
<Str Cat="Text">
36173629
<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>
3630+
<Tgt Cat="Text" Stat="Loc" Orig="New">
3631+
<Val><![CDATA[值“{1}”的编译器选项“{0}”不稳定。使用夜间 TypeScript 消除此错误。请尝试使用 “npm install -D typescript@next” 进行更新。]]></Val>
3632+
</Tgt>
36183633
</Str>
36193634
<Disp Icon="Str" />
36203635
</Item>
@@ -5253,6 +5268,9 @@
52535268
<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">
52545269
<Str Cat="Text">
52555270
<Val><![CDATA[Dynamic imports only support a second argument when the '--module' option is set to 'esnext' or 'nodenext'.]]></Val>
5271+
<Tgt Cat="Text" Stat="Loc" Orig="New">
5272+
<Val><![CDATA[只有当 “--module” 选项设置为 “esnext” 或 “nodenext” 时,动态导入才支持第二个参数。]]></Val>
5273+
</Tgt>
52565274
</Str>
52575275
<Disp Icon="Str" />
52585276
</Item>
@@ -5775,6 +5793,9 @@
57755793
<Item ItemId=";Errors_Files_6041" ItemType="0" PsrId="306" Leaf="true">
57765794
<Str Cat="Text">
57775795
<Val><![CDATA[Errors Files]]></Val>
5796+
<Tgt Cat="Text" Stat="Loc" Orig="New">
5797+
<Val><![CDATA[错误文件]]></Val>
5798+
</Tgt>
57785799
</Str>
57795800
<Disp Icon="Str" />
57805801
</Item>
@@ -6558,12 +6579,18 @@
65586579
<Item ItemId=";Found_0_errors_in_1_files_6261" ItemType="0" PsrId="306" Leaf="true">
65596580
<Str Cat="Text">
65606581
<Val><![CDATA[Found {0} errors in {1} files.]]></Val>
6582+
<Tgt Cat="Text" Stat="Loc" Orig="New">
6583+
<Val><![CDATA[在 {1} 个文件中找到 {0} 个错误。]]></Val>
6584+
</Tgt>
65616585
</Str>
65626586
<Disp Icon="Str" />
65636587
</Item>
65646588
<Item ItemId=";Found_0_errors_in_the_same_file_starting_at_Colon_1_6260" ItemType="0" PsrId="306" Leaf="true">
65656589
<Str Cat="Text">
65666590
<Val><![CDATA[Found {0} errors in the same file, starting at: {1}]]></Val>
6591+
<Tgt Cat="Text" Stat="Loc" Orig="New">
6592+
<Val><![CDATA[在同一文件中找到 {0} 个错误,起始位置为: {1}]]></Val>
6593+
</Tgt>
65676594
</Str>
65686595
<Disp Icon="Str" />
65696596
</Item>
@@ -6588,6 +6615,9 @@
65886615
<Item ItemId=";Found_1_error_in_1_6259" ItemType="0" PsrId="306" Leaf="true">
65896616
<Str Cat="Text">
65906617
<Val><![CDATA[Found 1 error in {1}]]></Val>
6618+
<Tgt Cat="Text" Stat="Loc" Orig="New">
6619+
<Val><![CDATA[在 {1} 中找到 1 个错误]]></Val>
6620+
</Tgt>
65916621
</Str>
65926622
<Disp Icon="Str" />
65936623
</Item>
@@ -7101,18 +7131,27 @@
71017131
<Item ItemId=";Import_assertion_values_must_be_string_literal_expressions_2837" ItemType="0" PsrId="306" Leaf="true">
71027132
<Str Cat="Text">
71037133
<Val><![CDATA[Import assertion values must be string literal expressions.]]></Val>
7134+
<Tgt Cat="Text" Stat="Loc" Orig="New">
7135+
<Val><![CDATA[导入断言值必须为字符串字面量表达式。]]></Val>
7136+
</Tgt>
71047137
</Str>
71057138
<Disp Icon="Str" />
71067139
</Item>
71077140
<Item ItemId=";Import_assertions_are_not_allowed_on_statements_that_transpile_to_commonjs_require_calls_2836" ItemType="0" PsrId="306" Leaf="true">
71087141
<Str Cat="Text">
71097142
<Val><![CDATA[Import assertions are not allowed on statements that transpile to commonjs 'require' calls.]]></Val>
7143+
<Tgt Cat="Text" Stat="Loc" Orig="New">
7144+
<Val><![CDATA[不允许在转译到 commonjs “require” 调用的语句导入断言。]]></Val>
7145+
</Tgt>
71107146
</Str>
71117147
<Disp Icon="Str" />
71127148
</Item>
71137149
<Item ItemId=";Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_or_nodenext_2821" ItemType="0" PsrId="306" Leaf="true">
71147150
<Str Cat="Text">
71157151
<Val><![CDATA[Import assertions are only supported when the '--module' option is set to 'esnext' or 'nodenext'.]]></Val>
7152+
<Tgt Cat="Text" Stat="Loc" Orig="New">
7153+
<Val><![CDATA[仅在将 “--module” 选项设置为 “esnext” 或 “nodenext” 时,才支持导入断言。]]></Val>
7154+
</Tgt>
71167155
</Str>
71177156
<Disp Icon="Str" />
71187157
</Item>
@@ -7350,6 +7389,9 @@
73507389
<Item ItemId=";Includes_imports_of_types_referenced_by_0_90054" ItemType="0" PsrId="306" Leaf="true">
73517390
<Str Cat="Text">
73527391
<Val><![CDATA[Includes imports of types referenced by '{0}']]></Val>
7392+
<Tgt Cat="Text" Stat="Loc" Orig="New">
7393+
<Val><![CDATA[包含由“{0}”引用的类型的导入]]></Val>
7394+
</Tgt>
73537395
</Str>
73547396
<Disp Icon="Str" />
73557397
</Item>
@@ -10605,12 +10647,18 @@
1060510647
<Item ItemId=";Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_n_2834" ItemType="0" PsrId="306" Leaf="true">
1060610648
<Str Cat="Text">
1060710649
<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>
10650+
<Tgt Cat="Text" Stat="Loc" Orig="New">
10651+
<Val><![CDATA[当 “--moduleResolution” 为 “node12” 或 “nodenext” 时,相对导入路径需要 EcmaScript 导入中的显式文件扩展名。请考虑将扩展名添加到导入路径中。]]></Val>
10652+
</Tgt>
1060810653
</Str>
1060910654
<Disp Icon="Str" />
1061010655
</Item>
1061110656
<Item ItemId=";Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_n_2835" ItemType="0" PsrId="306" Leaf="true">
1061210657
<Str Cat="Text">
1061310658
<Val><![CDATA[Relative import paths need explicit file extensions in EcmaScript imports when '--moduleResolution' is 'node12' or 'nodenext'. Did you mean '{0}'?]]></Val>
10659+
<Tgt Cat="Text" Stat="Loc" Orig="New">
10660+
<Val><![CDATA[当 “--moduleResolution” 为 “node12” 或 “nodenext” 时,相对导入路径需要 EcmaScript 导入中的显式文件扩展名。你是否指的是“{0}”?]]></Val>
10661+
</Tgt>
1061410662
</Str>
1061510663
<Disp Icon="Str" />
1061610664
</Item>
@@ -15759,6 +15807,9 @@
1575915807
<Item ItemId=";catch_or_finally_expected_1472" ItemType="0" PsrId="306" Leaf="true">
1576015808
<Str Cat="Text">
1576115809
<Val><![CDATA['catch' or 'finally' expected.]]></Val>
15810+
<Tgt Cat="Text" Stat="Loc" Orig="New">
15811+
<Val><![CDATA[应为 “catch” 或 “finally”。]]></Val>
15812+
</Tgt>
1576215813
</Str>
1576315814
<Disp Icon="Str" />
1576415815
</Item>

0 commit comments

Comments
 (0)