Skip to content

Commit 0ca06ed

Browse files
authored
LEGO: Merge pull request 46079
LEGO: Merge pull request 46079
1 parent d8701a2 commit 0ca06ed

File tree

2 files changed

+24
-6
lines changed

2 files changed

+24
-6
lines changed

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

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9720,6 +9720,15 @@
97209720
</Str>
97219721
<Disp Icon="Str" />
97229722
</Item>
9723+
<Item ItemId=";Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member__1451" ItemType="0" PsrId="306" Leaf="true">
9724+
<Str Cat="Text">
9725+
<Val><![CDATA[Private identifiers are only allowed in class bodies and may only be used as part of a class member declaration, property access, or on the left-hand-side of an 'in' expression]]></Val>
9726+
<Tgt Cat="Text" Stat="Loc" Orig="New">
9727+
<Val><![CDATA[专用标识符仅允许在类主体中使用,并且只能用作类成员声明的一部分、属性访问或用在 "in" 表达式的左侧]]></Val>
9728+
</Tgt>
9729+
</Str>
9730+
<Disp Icon="Str" />
9731+
</Item>
97239732
<Item ItemId=";Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher_18028" ItemType="0" PsrId="306" Leaf="true">
97249733
<Str Cat="Text">
97259734
<Val><![CDATA[Private identifiers are only available when targeting ECMAScript 2015 and higher.]]></Val>
@@ -12675,11 +12684,11 @@
1267512684
</Str>
1267612685
<Disp Icon="Str" />
1267712686
</Item>
12678-
<Item ItemId=";The_left_hand_side_of_an_in_expression_must_be_of_type_any_string_number_or_symbol_2360" ItemType="0" PsrId="306" Leaf="true">
12687+
<Item ItemId=";The_left_hand_side_of_an_in_expression_must_be_a_private_identifier_or_of_type_any_string_number_or__2360" ItemType="0" PsrId="306" Leaf="true">
1267912688
<Str Cat="Text">
12680-
<Val><![CDATA[The left-hand side of an 'in' expression must be of type 'any', 'string', 'number', or 'symbol'.]]></Val>
12689+
<Val><![CDATA[The left-hand side of an 'in' expression must be a private identifier or of type 'any', 'string', 'number', or 'symbol'.]]></Val>
1268112690
<Tgt Cat="Text" Stat="Loc" Orig="New">
12682-
<Val><![CDATA["in" 表达式左侧的类型必须为 "any"、"string"、"number" 或 "symbol"。]]></Val>
12691+
<Val><![CDATA["in" 表达式的左侧必须是专用标识符或其类型必须为 "any"、"string"、"number" 或 "symbol"。]]></Val>
1268312692
</Tgt>
1268412693
</Str>
1268512694
<Disp Icon="Str" />

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

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9720,6 +9720,15 @@
97209720
</Str>
97219721
<Disp Icon="Str" />
97229722
</Item>
9723+
<Item ItemId=";Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member__1451" ItemType="0" PsrId="306" Leaf="true">
9724+
<Str Cat="Text">
9725+
<Val><![CDATA[Private identifiers are only allowed in class bodies and may only be used as part of a class member declaration, property access, or on the left-hand-side of an 'in' expression]]></Val>
9726+
<Tgt Cat="Text" Stat="Loc" Orig="New">
9727+
<Val><![CDATA[私人識別碼只能在類別主體中使用,且只能做為類別成員宣告、屬性存取或 'in' 運算式左側的一部分使用]]></Val>
9728+
</Tgt>
9729+
</Str>
9730+
<Disp Icon="Str" />
9731+
</Item>
97239732
<Item ItemId=";Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher_18028" ItemType="0" PsrId="306" Leaf="true">
97249733
<Str Cat="Text">
97259734
<Val><![CDATA[Private identifiers are only available when targeting ECMAScript 2015 and higher.]]></Val>
@@ -12675,11 +12684,11 @@
1267512684
</Str>
1267612685
<Disp Icon="Str" />
1267712686
</Item>
12678-
<Item ItemId=";The_left_hand_side_of_an_in_expression_must_be_of_type_any_string_number_or_symbol_2360" ItemType="0" PsrId="306" Leaf="true">
12687+
<Item ItemId=";The_left_hand_side_of_an_in_expression_must_be_a_private_identifier_or_of_type_any_string_number_or__2360" ItemType="0" PsrId="306" Leaf="true">
1267912688
<Str Cat="Text">
12680-
<Val><![CDATA[The left-hand side of an 'in' expression must be of type 'any', 'string', 'number', or 'symbol'.]]></Val>
12689+
<Val><![CDATA[The left-hand side of an 'in' expression must be a private identifier or of type 'any', 'string', 'number', or 'symbol'.]]></Val>
1268112690
<Tgt Cat="Text" Stat="Loc" Orig="New">
12682-
<Val><![CDATA['in' 運算式的左側必須是 'any'、'string'、'number' 或 'symbol' 類型。]]></Val>
12691+
<Val><![CDATA['in' 運算式的左側必須是私人識別碼或 'any'、'string'、'number' 或 'symbol' 類型。]]></Val>
1268312692
</Tgt>
1268412693
</Str>
1268512694
<Disp Icon="Str" />

0 commit comments

Comments
 (0)