Skip to content

Commit 0b3a154

Browse files
authored
LEGO: Merge pull request 44763
LEGO: Merge pull request 44763
1 parent 8c8d22d commit 0b3a154

File tree

3 files changed

+162
-0
lines changed

3 files changed

+162
-0
lines changed

src/loc/lcl/cht/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/kor/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/ptb/diagnosticMessages/diagnosticMessages.generated.json.lcl

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -800,6 +800,15 @@
800800
</Str>
801801
<Disp Icon="Str" />
802802
</Item>
803+
<Item ItemId=";A_return_statement_cannot_be_used_inside_a_class_static_block_18041" ItemType="0" PsrId="306" Leaf="true">
804+
<Str Cat="Text">
805+
<Val><![CDATA[A 'return' statement cannot be used inside a class static block.]]></Val>
806+
<Tgt Cat="Text" Stat="Loc" Orig="New">
807+
<Val><![CDATA[Não é possível usar uma instrução “return” dentro de um bloco estático de classe.]]></Val>
808+
</Tgt>
809+
</Str>
810+
<Disp Icon="Str" />
811+
</Item>
803812
<Item ItemId=";A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl_6167" ItemType="0" PsrId="306" Leaf="true">
804813
<Str Cat="Text">
805814
<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[A expressão Await não pode ser usada dentro de um bloco estático de classe.]]></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[Não é possível usar "this" em um inicializador de propriedade estática de uma classe decorada.]]></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[Os loops “For Await” não podem ser usados dentro de um bloco estático de classe.]]></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[Uso inválido de “{0}”. Ele não pode ser usado dentro de um bloco estático de classe.]]></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>
@@ -9980,6 +10025,15 @@
998010025
</Str>
998110026
<Disp Icon="Str" />
998210027
</Item>
10028+
<Item ItemId=";Property_0_has_no_initializer_and_is_not_definitely_assigned_in_a_class_static_block_2817" ItemType="0" PsrId="306" Leaf="true">
10029+
<Str Cat="Text">
10030+
<Val><![CDATA[Property '{0}' has no initializer and is not definitely assigned in a class static block.]]></Val>
10031+
<Tgt Cat="Text" Stat="Loc" Orig="New">
10032+
<Val><![CDATA[A propriedade “{0}” não tem nenhum inicializador e não está definitivamente atribuída no bloco estático de classe.]]></Val>
10033+
</Tgt>
10034+
</Str>
10035+
<Disp Icon="Str" />
10036+
</Item>
998310037
<Item ItemId=";Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor_2564" ItemType="0" PsrId="306" Leaf="true">
998410038
<Str Cat="Text">
998510039
<Val><![CDATA[Property '{0}' has no initializer and is not definitely assigned in the constructor.]]></Val>

0 commit comments

Comments
 (0)