Skip to content

Commit 3b2bc85

Browse files
authored
LEGO: Merge pull request 44770
LEGO: Merge pull request 44770
1 parent a7a0d25 commit 3b2bc85

File tree

2 files changed

+108
-0
lines changed

2 files changed

+108
-0
lines changed

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

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -810,6 +810,15 @@
810810
</Str>
811811
<Disp Icon="Str" />
812812
</Item>
813+
<Item ItemId=";A_return_statement_cannot_be_used_inside_a_class_static_block_18041" ItemType="0" PsrId="306" Leaf="true">
814+
<Str Cat="Text">
815+
<Val><![CDATA[A 'return' statement cannot be used inside a class static block.]]></Val>
816+
<Tgt Cat="Text" Stat="Loc" Orig="New">
817+
<Val><![CDATA[不能在类静态块内使用 “return” 语句。]]></Val>
818+
</Tgt>
819+
</Str>
820+
<Disp Icon="Str" />
821+
</Item>
813822
<Item ItemId=";A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl_6167" ItemType="0" PsrId="306" Leaf="true">
814823
<Str Cat="Text">
815824
<Val><![CDATA[A series of entries which re-map imports to lookup locations relative to the 'baseUrl'.]]></Val>
@@ -2385,6 +2394,15 @@
23852394
</Str>
23862395
<Disp Icon="Str" />
23872396
</Item>
2397+
<Item ItemId=";Await_expression_cannot_be_used_inside_a_class_static_block_18037" ItemType="0" PsrId="306" Leaf="true">
2398+
<Str Cat="Text">
2399+
<Val><![CDATA[Await expression cannot be used inside a class static block.]]></Val>
2400+
<Tgt Cat="Text" Stat="Loc" Orig="New">
2401+
<Val><![CDATA[无法在类静态块内使用 Await 表达式。]]></Val>
2402+
</Tgt>
2403+
</Str>
2404+
<Disp Icon="Str" />
2405+
</Item>
23882406
<Item ItemId=";BUILD_OPTIONS_6919" ItemType="0" PsrId="306" Leaf="true">
23892407
<Str Cat="Text">
23902408
<Val><![CDATA[BUILD OPTIONS]]></Val>
@@ -3243,6 +3261,15 @@
32433261
</Str>
32443262
<Disp Icon="Str" />
32453263
</Item>
3264+
<Item ItemId=";Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class_2816" ItemType="0" PsrId="306" Leaf="true">
3265+
<Str Cat="Text">
3266+
<Val><![CDATA[Cannot use 'this' in a static property initializer of a decorated class.]]></Val>
3267+
<Tgt Cat="Text" Stat="Loc" Orig="New">
3268+
<Val><![CDATA[无法在修饰类静态属性初始化表达式中使用 “this”。]]></Val>
3269+
</Tgt>
3270+
</Str>
3271+
<Disp Icon="Str" />
3272+
</Item>
32463273
<Item ItemId=";Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1_6377" ItemType="0" PsrId="306" Leaf="true">
32473274
<Str Cat="Text">
32483275
<Val><![CDATA[Cannot write file '{0}' because it will overwrite '.tsbuildinfo' file generated by referenced project '{1}']]></Val>
@@ -6528,6 +6555,15 @@
65286555
</Str>
65296556
<Disp Icon="Str" />
65306557
</Item>
6558+
<Item ItemId=";For_await_loops_cannot_be_used_inside_a_class_static_block_18038" ItemType="0" PsrId="306" Leaf="true">
6559+
<Str Cat="Text">
6560+
<Val><![CDATA['For await' loops cannot be used inside a class static block.]]></Val>
6561+
<Tgt Cat="Text" Stat="Loc" Orig="New">
6562+
<Val><![CDATA[无法在类静态块内使用 “For await 循环。]]></Val>
6563+
</Tgt>
6564+
</Str>
6565+
<Disp Icon="Str" />
6566+
</Item>
65316567
<Item ItemId=";Found_0_errors_6217" ItemType="0" PsrId="306" Leaf="true">
65326568
<Str Cat="Text">
65336569
<Val><![CDATA[Found {0} errors.]]></Val>
@@ -7566,6 +7602,15 @@
75667602
</Str>
75677603
<Disp Icon="Str" />
75687604
</Item>
7605+
<Item ItemId=";Invalid_use_of_0_It_cannot_be_used_inside_a_class_static_block_18039" ItemType="0" PsrId="306" Leaf="true">
7606+
<Str Cat="Text">
7607+
<Val><![CDATA[Invalid use of '{0}'. It cannot be used inside a class static block.]]></Val>
7608+
<Tgt Cat="Text" Stat="Loc" Orig="New">
7609+
<Val><![CDATA[“{0}”的使用无效。它不能在类静态块内使用。]]></Val>
7610+
</Tgt>
7611+
</Str>
7612+
<Disp Icon="Str" />
7613+
</Item>
75697614
<Item ItemId=";Invalid_use_of_0_Modules_are_automatically_in_strict_mode_1215" ItemType="0" PsrId="306" Leaf="true">
75707615
<Str Cat="Text">
75717616
<Val><![CDATA[Invalid use of '{0}'. Modules are automatically in strict mode.]]></Val>
@@ -9990,6 +10035,15 @@
999010035
</Str>
999110036
<Disp Icon="Str" />
999210037
</Item>
10038+
<Item ItemId=";Property_0_has_no_initializer_and_is_not_definitely_assigned_in_a_class_static_block_2817" ItemType="0" PsrId="306" Leaf="true">
10039+
<Str Cat="Text">
10040+
<Val><![CDATA[Property '{0}' has no initializer and is not definitely assigned in a class static block.]]></Val>
10041+
<Tgt Cat="Text" Stat="Loc" Orig="New">
10042+
<Val><![CDATA[属性“{0}”没有初始化表达式,并且未在类静态块中明确分配。]]></Val>
10043+
</Tgt>
10044+
</Str>
10045+
<Disp Icon="Str" />
10046+
</Item>
999310047
<Item ItemId=";Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor_2564" ItemType="0" PsrId="306" Leaf="true">
999410048
<Str Cat="Text">
999510049
<Val><![CDATA[Property '{0}' has no initializer and is not definitely assigned in the constructor.]]></Val>

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

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -803,6 +803,15 @@
803803
</Str>
804804
<Disp Icon="Str" />
805805
</Item>
806+
<Item ItemId=";A_return_statement_cannot_be_used_inside_a_class_static_block_18041" ItemType="0" PsrId="306" Leaf="true">
807+
<Str Cat="Text">
808+
<Val><![CDATA[A 'return' statement cannot be used inside a class static block.]]></Val>
809+
<Tgt Cat="Text" Stat="Loc" Orig="New">
810+
<Val><![CDATA['Return' deyimi bir sınıf statik bloğu içinde kullanılamaz.]]></Val>
811+
</Tgt>
812+
</Str>
813+
<Disp Icon="Str" />
814+
</Item>
806815
<Item ItemId=";A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl_6167" ItemType="0" PsrId="306" Leaf="true">
807816
<Str Cat="Text">
808817
<Val><![CDATA[A series of entries which re-map imports to lookup locations relative to the 'baseUrl'.]]></Val>
@@ -2378,6 +2387,15 @@
23782387
</Str>
23792388
<Disp Icon="Str" />
23802389
</Item>
2390+
<Item ItemId=";Await_expression_cannot_be_used_inside_a_class_static_block_18037" ItemType="0" PsrId="306" Leaf="true">
2391+
<Str Cat="Text">
2392+
<Val><![CDATA[Await expression cannot be used inside a class static block.]]></Val>
2393+
<Tgt Cat="Text" Stat="Loc" Orig="New">
2394+
<Val><![CDATA[‘Await’ ifadesi bir sınıf statik bloğu içinde kullanılamaz.]]></Val>
2395+
</Tgt>
2396+
</Str>
2397+
<Disp Icon="Str" />
2398+
</Item>
23812399
<Item ItemId=";BUILD_OPTIONS_6919" ItemType="0" PsrId="306" Leaf="true">
23822400
<Str Cat="Text">
23832401
<Val><![CDATA[BUILD OPTIONS]]></Val>
@@ -3236,6 +3254,15 @@
32363254
</Str>
32373255
<Disp Icon="Str" />
32383256
</Item>
3257+
<Item ItemId=";Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class_2816" ItemType="0" PsrId="306" Leaf="true">
3258+
<Str Cat="Text">
3259+
<Val><![CDATA[Cannot use 'this' in a static property initializer of a decorated class.]]></Val>
3260+
<Tgt Cat="Text" Stat="Loc" Orig="New">
3261+
<Val><![CDATA['This' ifadesi bir donatılmış sınıfın statik özellik başlatıcısında kullanılamaz.]]></Val>
3262+
</Tgt>
3263+
</Str>
3264+
<Disp Icon="Str" />
3265+
</Item>
32393266
<Item ItemId=";Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1_6377" ItemType="0" PsrId="306" Leaf="true">
32403267
<Str Cat="Text">
32413268
<Val><![CDATA[Cannot write file '{0}' because it will overwrite '.tsbuildinfo' file generated by referenced project '{1}']]></Val>
@@ -6521,6 +6548,15 @@
65216548
</Str>
65226549
<Disp Icon="Str" />
65236550
</Item>
6551+
<Item ItemId=";For_await_loops_cannot_be_used_inside_a_class_static_block_18038" ItemType="0" PsrId="306" Leaf="true">
6552+
<Str Cat="Text">
6553+
<Val><![CDATA['For await' loops cannot be used inside a class static block.]]></Val>
6554+
<Tgt Cat="Text" Stat="Loc" Orig="New">
6555+
<Val><![CDATA['For await' döngüleri bir sınıf statik bloğu içinde kullanılamaz.]]></Val>
6556+
</Tgt>
6557+
</Str>
6558+
<Disp Icon="Str" />
6559+
</Item>
65246560
<Item ItemId=";Found_0_errors_6217" ItemType="0" PsrId="306" Leaf="true">
65256561
<Str Cat="Text">
65266562
<Val><![CDATA[Found {0} errors.]]></Val>
@@ -7559,6 +7595,15 @@
75597595
</Str>
75607596
<Disp Icon="Str" />
75617597
</Item>
7598+
<Item ItemId=";Invalid_use_of_0_It_cannot_be_used_inside_a_class_static_block_18039" ItemType="0" PsrId="306" Leaf="true">
7599+
<Str Cat="Text">
7600+
<Val><![CDATA[Invalid use of '{0}'. It cannot be used inside a class static block.]]></Val>
7601+
<Tgt Cat="Text" Stat="Loc" Orig="New">
7602+
<Val><![CDATA[Geçersiz '{0}' kullanımı. Bu ifade bir sınıf statik bloğu içinde kullanılamaz.]]></Val>
7603+
</Tgt>
7604+
</Str>
7605+
<Disp Icon="Str" />
7606+
</Item>
75627607
<Item ItemId=";Invalid_use_of_0_Modules_are_automatically_in_strict_mode_1215" ItemType="0" PsrId="306" Leaf="true">
75637608
<Str Cat="Text">
75647609
<Val><![CDATA[Invalid use of '{0}'. Modules are automatically in strict mode.]]></Val>
@@ -9983,6 +10028,15 @@
998310028
</Str>
998410029
<Disp Icon="Str" />
998510030
</Item>
10031+
<Item ItemId=";Property_0_has_no_initializer_and_is_not_definitely_assigned_in_a_class_static_block_2817" ItemType="0" PsrId="306" Leaf="true">
10032+
<Str Cat="Text">
10033+
<Val><![CDATA[Property '{0}' has no initializer and is not definitely assigned in a class static block.]]></Val>
10034+
<Tgt Cat="Text" Stat="Loc" Orig="New">
10035+
<Val><![CDATA['{0}' özelliği başlatıcı içermiyor ve kesinlikle bir sınıf statik bloğuna atanmamış.]]></Val>
10036+
</Tgt>
10037+
</Str>
10038+
<Disp Icon="Str" />
10039+
</Item>
998610040
<Item ItemId=";Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor_2564" ItemType="0" PsrId="306" Leaf="true">
998710041
<Str Cat="Text">
998810042
<Val><![CDATA[Property '{0}' has no initializer and is not definitely assigned in the constructor.]]></Val>

0 commit comments

Comments
 (0)