Skip to content

Commit 785e447

Browse files
authored
LEGO: Merge pull request 39233
LEGO: Merge pull request 39233
2 parents 7893c9f + 038f011 commit 785e447

File tree

13 files changed

+1599
-126
lines changed

13 files changed

+1599
-126
lines changed

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

+87
Original file line numberDiff line numberDiff line change
@@ -2394,6 +2394,12 @@
23942394
</Str>
23952395
<Disp Icon="Str" />
23962396
</Item>
2397+
<Item ItemId=";Can_only_convert_property_with_modifier_95137" ItemType="0" PsrId="306" Leaf="true">
2398+
<Str Cat="Text">
2399+
<Val><![CDATA[Can only convert property with modifier]]></Val>
2400+
</Str>
2401+
<Disp Icon="Str" />
2402+
</Item>
23972403
<Item ItemId=";Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_p_2713" ItemType="0" PsrId="306" Leaf="true">
23982404
<Str Cat="Text">
23992405
<Val><![CDATA[Cannot access '{0}.{1}' because '{0}' is a type, but not a namespace. Did you mean to retrieve the type of the property '{1}' in '{0}' with '{0}["{1}"]5D;'?]]></Val>
@@ -3378,6 +3384,15 @@
33783384
</Str>
33793385
<Disp Icon="Str" />
33803386
</Item>
3387+
<Item ItemId=";Containing_function_is_not_an_arrow_function_95128" ItemType="0" PsrId="306" Leaf="true">
3388+
<Str Cat="Text">
3389+
<Val><![CDATA[Containing function is not an arrow function]]></Val>
3390+
<Tgt Cat="Text" Stat="Loc" Orig="New">
3391+
<Val><![CDATA[包含函数不是箭头函数]]></Val>
3392+
</Tgt>
3393+
</Str>
3394+
<Disp Icon="Str" />
3395+
</Item>
33813396
<Item ItemId=";Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the__2352" ItemType="0" PsrId="306" Leaf="true">
33823397
<Str Cat="Text">
33833398
<Val><![CDATA[Conversion of type '{0}' to type '{1}' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.]]></Val>
@@ -3693,6 +3708,15 @@
36933708
</Str>
36943709
<Disp Icon="Str" />
36953710
</Item>
3711+
<Item ItemId=";Could_not_find_a_containing_arrow_function_95127" ItemType="0" PsrId="306" Leaf="true">
3712+
<Str Cat="Text">
3713+
<Val><![CDATA[Could not find a containing arrow function]]></Val>
3714+
<Tgt Cat="Text" Stat="Loc" Orig="New">
3715+
<Val><![CDATA[找不到包含箭头函数]]></Val>
3716+
</Tgt>
3717+
</Str>
3718+
<Disp Icon="Str" />
3719+
</Item>
36963720
<Item ItemId=";Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type_7016" ItemType="0" PsrId="306" Leaf="true">
36973721
<Str Cat="Text">
36983722
<Val><![CDATA[Could not find a declaration file for module '{0}'. '{1}' implicitly has an 'any' type.]]></Val>
@@ -3702,6 +3726,33 @@
37023726
</Str>
37033727
<Disp Icon="Str" />
37043728
</Item>
3729+
<Item ItemId=";Could_not_find_export_statement_95129" ItemType="0" PsrId="306" Leaf="true">
3730+
<Str Cat="Text">
3731+
<Val><![CDATA[Could not find export statement]]></Val>
3732+
</Str>
3733+
<Disp Icon="Str" />
3734+
</Item>
3735+
<Item ItemId=";Could_not_find_import_clause_95131" ItemType="0" PsrId="306" Leaf="true">
3736+
<Str Cat="Text">
3737+
<Val><![CDATA[Could not find import clause]]></Val>
3738+
</Str>
3739+
<Disp Icon="Str" />
3740+
</Item>
3741+
<Item ItemId=";Could_not_find_namespace_import_or_named_imports_95132" ItemType="0" PsrId="306" Leaf="true">
3742+
<Str Cat="Text">
3743+
<Val><![CDATA[Could not find namespace import or named imports]]></Val>
3744+
</Str>
3745+
<Disp Icon="Str" />
3746+
</Item>
3747+
<Item ItemId=";Could_not_find_property_for_which_to_generate_accessor_95135" ItemType="0" PsrId="306" Leaf="true">
3748+
<Str Cat="Text">
3749+
<Val><![CDATA[Could not find property for which to generate accessor]]></Val>
3750+
<Tgt Cat="Text" Stat="Loc" Orig="New">
3751+
<Val><![CDATA[找不到要为其生成访问器的属性]]></Val>
3752+
</Tgt>
3753+
</Str>
3754+
<Disp Icon="Str" />
3755+
</Item>
37053756
<Item ItemId=";Could_not_resolve_the_path_0_with_the_extensions_Colon_1_6231" ItemType="0" PsrId="306" Leaf="true">
37063757
<Str Cat="Text">
37073758
<Val><![CDATA[Could not resolve the path '{0}' with the extensions: {1}.]]></Val>
@@ -6942,6 +6993,15 @@
69426993
</Str>
69436994
<Disp Icon="Str" />
69446995
</Item>
6996+
<Item ItemId=";Name_is_not_valid_95136" ItemType="0" PsrId="306" Leaf="true">
6997+
<Str Cat="Text">
6998+
<Val><![CDATA[Name is not valid]]></Val>
6999+
<Tgt Cat="Text" Stat="Loc" Orig="New">
7000+
<Val><![CDATA[名称无效]]></Val>
7001+
</Tgt>
7002+
</Str>
7003+
<Disp Icon="Str" />
7004+
</Item>
69457005
<Item ItemId=";Named_property_0_of_types_1_and_2_are_not_identical_2319" ItemType="0" PsrId="306" Leaf="true">
69467006
<Str Cat="Text">
69477007
<Val><![CDATA[Named property '{0}' of types '{1}' and '{2}' are not identical.]]></Val>
@@ -7032,6 +7092,15 @@
70327092
</Str>
70337093
<Disp Icon="Str" />
70347094
</Item>
7095+
<Item ItemId=";No_type_could_be_extracted_from_this_type_node_95134" ItemType="0" PsrId="306" Leaf="true">
7096+
<Str Cat="Text">
7097+
<Val><![CDATA[No type could be extracted from this type node]]></Val>
7098+
<Tgt Cat="Text" Stat="Loc" Orig="New">
7099+
<Val><![CDATA[无法从该类型节点中提取任何类型]]></Val>
7100+
</Tgt>
7101+
</Str>
7102+
<Disp Icon="Str" />
7103+
</Item>
70357104
<Item ItemId=";No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer_18004" ItemType="0" PsrId="306" Leaf="true">
70367105
<Str Cat="Text">
70377106
<Val><![CDATA[No value exists in scope for the shorthand property '{0}'. Either declare one or provide an initializer.]]></Val>
@@ -9408,6 +9477,15 @@
94089477
</Str>
94099478
<Disp Icon="Str" />
94109479
</Item>
9480+
<Item ItemId=";Selection_is_not_a_valid_type_node_95133" ItemType="0" PsrId="306" Leaf="true">
9481+
<Str Cat="Text">
9482+
<Val><![CDATA[Selection is not a valid type node]]></Val>
9483+
<Tgt Cat="Text" Stat="Loc" Orig="New">
9484+
<Val><![CDATA[所选内容不是有效的类型节点]]></Val>
9485+
</Tgt>
9486+
</Str>
9487+
<Disp Icon="Str" />
9488+
</Item>
94119489
<Item ItemId=";Set_the_module_option_in_your_configuration_file_to_0_95099" ItemType="0" PsrId="306" Leaf="true">
94129490
<Str Cat="Text">
94139491
<Val><![CDATA[Set the 'module' option in your configuration file to '{0}']]></Val>
@@ -10761,6 +10839,15 @@
1076110839
</Str>
1076210840
<Disp Icon="Str" />
1076310841
</Item>
10842+
<Item ItemId=";This_file_already_has_a_default_export_95130" ItemType="0" PsrId="306" Leaf="true">
10843+
<Str Cat="Text">
10844+
<Val><![CDATA[This file already has a default export]]></Val>
10845+
<Tgt Cat="Text" Stat="Loc" Orig="New">
10846+
<Val><![CDATA[此文件已具有默认导出]]></Val>
10847+
</Tgt>
10848+
</Str>
10849+
<Disp Icon="Str" />
10850+
</Item>
1076410851
<Item ItemId=";This_import_is_never_used_as_a_value_and_must_use_import_type_because_the_importsNotUsedAsValues_is__1371" ItemType="0" PsrId="306" Leaf="true">
1076510852
<Str Cat="Text">
1076610853
<Val><![CDATA[This import is never used as a value and must use 'import type' because the 'importsNotUsedAsValues' is set to 'error'.]]></Val>

0 commit comments

Comments
 (0)