Skip to content

Commit 5fa066f

Browse files
authored
LEGO: Merge pull request 37517
LEGO: Merge pull request 37517
2 parents fbd83b8 + fa32f40 commit 5fa066f

File tree

13 files changed

+1587
-195
lines changed

13 files changed

+1587
-195
lines changed

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

+115-13
Original file line numberDiff line numberDiff line change
@@ -1014,6 +1014,15 @@
10141014
</Str>
10151015
<Disp Icon="Str" />
10161016
</Item>
1017+
<Item ItemId=";Add_all_missing_call_parentheses_95068" ItemType="0" PsrId="306" Leaf="true">
1018+
<Str Cat="Text">
1019+
<Val><![CDATA[Add all missing call parentheses]]></Val>
1020+
<Tgt Cat="Text" Stat="Loc" Orig="New">
1021+
<Val><![CDATA[添加所有缺失的调用括号]]></Val>
1022+
</Tgt>
1023+
</Str>
1024+
<Disp Icon="Str" />
1025+
</Item>
10171026
<Item ItemId=";Add_all_missing_imports_95064" ItemType="0" PsrId="306" Leaf="true">
10181027
<Str Cat="Text">
10191028
<Val><![CDATA[Add all missing imports]]></Val>
@@ -1086,6 +1095,12 @@
10861095
</Str>
10871096
<Disp Icon="Str" />
10881097
</Item>
1098+
<Item ItemId=";Add_class_tag_95102" ItemType="0" PsrId="306" Leaf="true">
1099+
<Str Cat="Text">
1100+
<Val><![CDATA[Add '@class' tag]]></Val>
1101+
</Str>
1102+
<Disp Icon="Str" />
1103+
</Item>
10891104
<Item ItemId=";Add_const_to_all_unresolved_variables_95082" ItemType="0" PsrId="306" Leaf="true">
10901105
<Str Cat="Text">
10911106
<Val><![CDATA[Add 'const' to all unresolved variables]]></Val>
@@ -1170,6 +1185,15 @@
11701185
</Str>
11711186
<Disp Icon="Str" />
11721187
</Item>
1188+
<Item ItemId=";Add_missing_call_parentheses_95067" ItemType="0" PsrId="306" Leaf="true">
1189+
<Str Cat="Text">
1190+
<Val><![CDATA[Add missing call parentheses]]></Val>
1191+
<Tgt Cat="Text" Stat="Loc" Orig="New">
1192+
<Val><![CDATA[添加缺失的调用括号]]></Val>
1193+
</Tgt>
1194+
</Str>
1195+
<Disp Icon="Str" />
1196+
</Item>
11731197
<Item ItemId=";Add_missing_enum_member_0_95063" ItemType="0" PsrId="306" Leaf="true">
11741198
<Str Cat="Text">
11751199
<Val><![CDATA[Add missing enum member '{0}']]></Val>
@@ -1222,7 +1246,7 @@
12221246
<Str Cat="Text">
12231247
<Val><![CDATA[Add names to all parameters without names]]></Val>
12241248
<Tgt Cat="Text" Stat="Loc" Orig="New">
1225-
<Val><![CDATA[将名称添加到没有名称的所有参数]]></Val>
1249+
<Val><![CDATA[为没有名称的所有参数添加名称]]></Val>
12261250
</Tgt>
12271251
</Str>
12281252
<Disp Icon="Str" />
@@ -1254,6 +1278,18 @@
12541278
</Str>
12551279
<Disp Icon="Str" />
12561280
</Item>
1281+
<Item ItemId=";Add_this_parameter_95104" ItemType="0" PsrId="306" Leaf="true">
1282+
<Str Cat="Text">
1283+
<Val><![CDATA[Add 'this' parameter.]]></Val>
1284+
</Str>
1285+
<Disp Icon="Str" />
1286+
</Item>
1287+
<Item ItemId=";Add_this_tag_95103" ItemType="0" PsrId="306" Leaf="true">
1288+
<Str Cat="Text">
1289+
<Val><![CDATA[Add '@this' tag]]></Val>
1290+
</Str>
1291+
<Disp Icon="Str" />
1292+
</Item>
12571293
<Item ItemId=";Add_to_all_uncalled_decorators_95044" ItemType="0" PsrId="306" Leaf="true">
12581294
<Str Cat="Text">
12591295
<Val><![CDATA[Add '()' to all uncalled decorators]]></Val>
@@ -2460,20 +2496,20 @@
24602496
</Str>
24612497
<Disp Icon="Str" />
24622498
</Item>
2463-
<Item ItemId=";Cannot_find_module_0_2307" ItemType="0" PsrId="306" Leaf="true">
2499+
<Item ItemId=";Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension_2732" ItemType="0" PsrId="306" Leaf="true">
24642500
<Str Cat="Text">
2465-
<Val><![CDATA[Cannot find module '{0}'.]]></Val>
2501+
<Val><![CDATA[Cannot find module '{0}'. Consider using '--resolveJsonModule' to import module with '.json' extension]]></Val>
24662502
<Tgt Cat="Text" Stat="Loc" Orig="New">
2467-
<Val><![CDATA[找不到模块{0}”。]]></Val>
2503+
<Val><![CDATA[找不到模块 "{0}"。请考虑使用 "--resolveJsonModule" 导入带 ".json" 扩展的模块]]></Val>
24682504
</Tgt>
24692505
</Str>
24702506
<Disp Icon="Str" />
24712507
</Item>
2472-
<Item ItemId=";Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension_2732" ItemType="0" PsrId="306" Leaf="true">
2508+
<Item ItemId=";Cannot_find_module_0_or_its_corresponding_type_declarations_2307" ItemType="0" PsrId="306" Leaf="true">
24732509
<Str Cat="Text">
2474-
<Val><![CDATA[Cannot find module '{0}'. Consider using '--resolveJsonModule' to import module with '.json' extension]]></Val>
2510+
<Val><![CDATA[Cannot find module '{0}' or its corresponding type declarations.]]></Val>
24752511
<Tgt Cat="Text" Stat="Loc" Orig="New">
2476-
<Val><![CDATA[找不到模块 "{0}"。请考虑使用 "--resolveJsonModule" 导入带 ".json" 扩展的模块]]></Val>
2512+
<Val><![CDATA[找不到模块{0}”或其相应的类型声明。]]></Val>
24772513
</Tgt>
24782514
</Str>
24792515
<Disp Icon="Str" />
@@ -3279,6 +3315,12 @@
32793315
</Str>
32803316
<Disp Icon="Str" />
32813317
</Item>
3318+
<Item ItemId=";Convert_all_invalid_characters_to_HTML_entity_code_95101" ItemType="0" PsrId="306" Leaf="true">
3319+
<Str Cat="Text">
3320+
<Val><![CDATA[Convert all invalid characters to HTML entity code]]></Val>
3321+
</Str>
3322+
<Disp Icon="Str" />
3323+
</Item>
32823324
<Item ItemId=";Convert_all_re_exported_types_to_type_only_exports_1365" ItemType="0" PsrId="306" Leaf="true">
32833325
<Str Cat="Text">
32843326
<Val><![CDATA[Convert all re-exported types to type-only exports]]></Val>
@@ -3351,6 +3393,18 @@
33513393
</Str>
33523394
<Disp Icon="Str" />
33533395
</Item>
3396+
<Item ItemId=";Convert_function_declaration_0_to_arrow_function_95106" ItemType="0" PsrId="306" Leaf="true">
3397+
<Str Cat="Text">
3398+
<Val><![CDATA[Convert function declaration '{0}' to arrow function]]></Val>
3399+
</Str>
3400+
<Disp Icon="Str" />
3401+
</Item>
3402+
<Item ItemId=";Convert_function_expression_0_to_arrow_function_95105" ItemType="0" PsrId="306" Leaf="true">
3403+
<Str Cat="Text">
3404+
<Val><![CDATA[Convert function expression '{0}' to arrow function]]></Val>
3405+
</Str>
3406+
<Disp Icon="Str" />
3407+
</Item>
33543408
<Item ItemId=";Convert_function_to_an_ES2015_class_95001" ItemType="0" PsrId="306" Leaf="true">
33553409
<Str Cat="Text">
33563410
<Val><![CDATA[Convert function to an ES2015 class]]></Val>
@@ -3495,6 +3549,12 @@
34953549
</Str>
34963550
<Disp Icon="Str" />
34973551
</Item>
3552+
<Item ItemId=";Could_not_resolve_the_path_0_with_the_extensions_Colon_1_6231" ItemType="0" PsrId="306" Leaf="true">
3553+
<Str Cat="Text">
3554+
<Val><![CDATA[Could not resolve the path '{0}' with the extensions: {1}.]]></Val>
3555+
</Str>
3556+
<Disp Icon="Str" />
3557+
</Item>
34983558
<Item ItemId=";Could_not_write_file_0_Colon_1_5033" ItemType="0" PsrId="306" Leaf="true">
34993559
<Str Cat="Text">
35003560
<Val><![CDATA[Could not write file '{0}': {1}.]]></Val>
@@ -3582,6 +3642,15 @@
35823642
</Str>
35833643
<Disp Icon="Str" />
35843644
</Item>
3645+
<Item ItemId=";Declare_private_property_0_90035" ItemType="0" PsrId="306" Leaf="true">
3646+
<Str Cat="Text">
3647+
<Val><![CDATA[Declare private property '{0}']]></Val>
3648+
<Tgt Cat="Text" Stat="Loc" Orig="New">
3649+
<Val><![CDATA[声明专用属性“{0}”]]></Val>
3650+
</Tgt>
3651+
</Str>
3652+
<Disp Icon="Str" />
3653+
</Item>
35853654
<Item ItemId=";Declare_property_0_90016" ItemType="0" PsrId="306" Leaf="true">
35863655
<Str Cat="Text">
35873656
<Val><![CDATA[Declare property '{0}']]></Val>
@@ -4998,6 +5067,12 @@
49985067
</Str>
49995068
<Disp Icon="Str" />
50005069
</Item>
5070+
<Item ItemId=";Fix_all_implicit_this_errors_95107" ItemType="0" PsrId="306" Leaf="true">
5071+
<Str Cat="Text">
5072+
<Val><![CDATA[Fix all implicit-'this' errors]]></Val>
5073+
</Str>
5074+
<Disp Icon="Str" />
5075+
</Item>
50015076
<Item ItemId=";Found_0_errors_6217" ItemType="0" PsrId="306" Leaf="true">
50025077
<Str Cat="Text">
50035078
<Val><![CDATA[Found {0} errors.]]></Val>
@@ -7669,7 +7744,7 @@
76697744
<Str Cat="Text">
76707745
<Val><![CDATA[Print names of files that are part of the compilation and then stop processing.]]></Val>
76717746
<Tgt Cat="Text" Stat="Loc" Orig="New">
7672-
<Val><![CDATA[打印作为编译一部分的文件的名称,然后停止处理。]]></Val>
7747+
<Val><![CDATA[打印编译包含的文件的名称,然后停止处理。]]></Val>
76737748
</Tgt>
76747749
</Str>
76757750
<Disp Icon="Str" />
@@ -7948,7 +8023,7 @@
79488023
<Str Cat="Text">
79498024
<Val><![CDATA[Property '{0}' implicitly has type 'any', but a better type for its set accessor may be inferred from usage.]]></Val>
79508025
<Tgt Cat="Text" Stat="Loc" Orig="New">
7951-
<Val><![CDATA[属性 "{0}" 隐式具有类型 "any",但可从用法为其 set 访问器推断出更好类型。]]></Val>
8026+
<Val><![CDATA[属性 "{0}" 隐式具有类型 "any",但可从用法为其 set 访问器推断出更好的类型。]]></Val>
79528027
</Tgt>
79538028
</Str>
79548029
<Disp Icon="Str" />
@@ -10383,6 +10458,12 @@
1038310458
</Str>
1038410459
<Disp Icon="Str" />
1038510460
</Item>
10461+
<Item ItemId=";This_spread_always_overwrites_this_property_2785" ItemType="0" PsrId="306" Leaf="true">
10462+
<Str Cat="Text">
10463+
<Val><![CDATA[This spread always overwrites this property.]]></Val>
10464+
</Str>
10465+
<Disp Icon="Str" />
10466+
</Item>
1038610467
<Item ItemId=";This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found_2354" ItemType="0" PsrId="306" Leaf="true">
1038710468
<Str Cat="Text">
1038810469
<Val><![CDATA[This syntax requires an imported helper but module '{0}' cannot be found.]]></Val>
@@ -11592,7 +11673,13 @@
1159211673
</Str>
1159311674
<Disp Icon="Str" />
1159411675
</Item>
11595-
<Item ItemId=";Wrap_invalid_character_in_an_expression_container_95101" ItemType="0" PsrId="306" Leaf="true">
11676+
<Item ItemId=";Wrap_all_invalid_characters_in_an_expression_container_95109" ItemType="0" PsrId="306" Leaf="true">
11677+
<Str Cat="Text">
11678+
<Val><![CDATA[Wrap all invalid characters in an expression container]]></Val>
11679+
</Str>
11680+
<Disp Icon="Str" />
11681+
</Item>
11682+
<Item ItemId=";Wrap_invalid_character_in_an_expression_container_95108" ItemType="0" PsrId="306" Leaf="true">
1159611683
<Str Cat="Text">
1159711684
<Val><![CDATA[Wrap invalid character in an expression container]]></Val>
1159811685
<Tgt Cat="Text" Stat="Loc" Orig="New">
@@ -11682,6 +11769,15 @@
1168211769
</Str>
1168311770
<Disp Icon="Str" />
1168411771
</Item>
11772+
<Item ItemId=";_0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1_5082" ItemType="0" PsrId="306" Leaf="true">
11773+
<Str Cat="Text">
11774+
<Val><![CDATA['{0}' could be instantiated with an arbitrary type which could be unrelated to '{1}'.]]></Val>
11775+
<Tgt Cat="Text" Stat="Loc" Orig="New">
11776+
<Val><![CDATA[“{0}”可以使用与“{1}”无关的任意类型进行实例化。]]></Val>
11777+
</Tgt>
11778+
</Str>
11779+
<Disp Icon="Str" />
11780+
</Item>
1168511781
<Item ItemId=";_0_declarations_can_only_be_used_in_TypeScript_files_8006" ItemType="0" PsrId="306" Leaf="true">
1168611782
<Str Cat="Text">
1168711783
<Val><![CDATA['{0}' declarations can only be used in TypeScript files.]]></Val>
@@ -12006,11 +12102,11 @@
1200612102
</Str>
1200712103
<Disp Icon="Str" />
1200812104
</Item>
12009-
<Item ItemId=";_0_refers_to_a_value_but_is_being_used_as_a_type_here_2749" ItemType="0" PsrId="306" Leaf="true">
12105+
<Item ItemId=";_0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0_2749" ItemType="0" PsrId="306" Leaf="true">
1201012106
<Str Cat="Text">
12011-
<Val><![CDATA['{0}' refers to a value, but is being used as a type here.]]></Val>
12107+
<Val><![CDATA['{0}' refers to a value, but is being used as a type here. Did you mean 'typeof {0}'?]]></Val>
1201212108
<Tgt Cat="Text" Stat="Loc" Orig="New">
12013-
<Val><![CDATA["{0}" 表示值,但在此处用作类型。]]></Val>
12109+
<Val><![CDATA[{0}表示值,但在此处用作类型。是否指“类型 {0}”?]]></Val>
1201412110
</Tgt>
1201512111
</Str>
1201612112
<Disp Icon="Str" />
@@ -12240,6 +12336,12 @@
1224012336
</Str>
1224112337
<Disp Icon="Str" />
1224212338
</Item>
12339+
<Item ItemId=";constructor_cannot_be_used_as_a_parameter_property_name_2398" ItemType="0" PsrId="306" Leaf="true">
12340+
<Str Cat="Text">
12341+
<Val><![CDATA['constructor' cannot be used as a parameter property name.]]></Val>
12342+
</Str>
12343+
<Disp Icon="Str" />
12344+
</Item>
1224312345
<Item ItemId=";constructor_is_a_reserved_word_18012" ItemType="0" PsrId="306" Leaf="true">
1224412346
<Str Cat="Text">
1224512347
<Val><![CDATA['#constructor' is a reserved word.]]></Val>

0 commit comments

Comments
 (0)