Skip to content

Commit 04069db

Browse files
authored
LEGO: Merge pull request 37969
LEGO: Merge pull request 37969
2 parents 4538640 + 49f5fbb commit 04069db

File tree

11 files changed

+348
-27
lines changed

11 files changed

+348
-27
lines changed

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1017,6 +1017,9 @@
10171017
<Item ItemId=";Add_a_return_statement_95111" ItemType="0" PsrId="306" Leaf="true">
10181018
<Str Cat="Text">
10191019
<Val><![CDATA[Add a return statement]]></Val>
1020+
<Tgt Cat="Text" Stat="Loc" Orig="New">
1021+
<Val><![CDATA[添加 return 语句]]></Val>
1022+
</Tgt>
10201023
</Str>
10211024
<Disp Icon="Str" />
10221025
</Item>
@@ -1059,6 +1062,9 @@
10591062
<Item ItemId=";Add_all_missing_return_statement_95114" ItemType="0" PsrId="306" Leaf="true">
10601063
<Str Cat="Text">
10611064
<Val><![CDATA[Add all missing return statement]]></Val>
1065+
<Tgt Cat="Text" Stat="Loc" Orig="New">
1066+
<Val><![CDATA[添加所有缺少的 return 语句]]></Val>
1067+
</Tgt>
10621068
</Str>
10631069
<Disp Icon="Str" />
10641070
</Item>
@@ -1845,6 +1851,9 @@
18451851
<Item ItemId=";An_index_signature_cannot_have_a_trailing_comma_1025" ItemType="0" PsrId="306" Leaf="true">
18461852
<Str Cat="Text">
18471853
<Val><![CDATA[An index signature cannot have a trailing comma.]]></Val>
1854+
<Tgt Cat="Text" Stat="Loc" Orig="New">
1855+
<Val><![CDATA[索引签名不能包含尾随逗号。]]></Val>
1856+
</Tgt>
18481857
</Str>
18491858
<Disp Icon="Str" />
18501859
</Item>
@@ -8562,6 +8571,9 @@
85628571
<Item ItemId=";Remove_all_incorrect_body_block_braces_95115" ItemType="0" PsrId="306" Leaf="true">
85638572
<Str Cat="Text">
85648573
<Val><![CDATA[Remove all incorrect body block braces]]></Val>
8574+
<Tgt Cat="Text" Stat="Loc" Orig="New">
8575+
<Val><![CDATA[删除所有错误的正文块括号]]></Val>
8576+
</Tgt>
85658577
</Str>
85668578
<Disp Icon="Str" />
85678579
</Item>
@@ -8595,6 +8607,9 @@
85958607
<Item ItemId=";Remove_block_body_braces_95112" ItemType="0" PsrId="306" Leaf="true">
85968608
<Str Cat="Text">
85978609
<Val><![CDATA[Remove block body braces]]></Val>
8610+
<Tgt Cat="Text" Stat="Loc" Orig="New">
8611+
<Val><![CDATA[删除块正文括号]]></Val>
8612+
</Tgt>
85988613
</Str>
85998614
<Disp Icon="Str" />
86008615
</Item>
@@ -9969,12 +9984,18 @@
99699984
<Item ItemId=";The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_pr_18032" ItemType="0" PsrId="306" Leaf="true">
99709985
<Str Cat="Text">
99719986
<Val><![CDATA[The intersection '{0}' was reduced to 'never' because property '{1}' exists in multiple constituents and is private in some.]]></Val>
9987+
<Tgt Cat="Text" Stat="Loc" Orig="New">
9988+
<Val><![CDATA[由于属性“{1}”存在于多个要素中,但在某些要素中是专用属性,因此已将交集“{0}”缩减为“绝不”。]]></Val>
9989+
</Tgt>
99729990
</Str>
99739991
<Disp Icon="Str" />
99749992
</Item>
99759993
<Item ItemId=";The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituent_18031" ItemType="0" PsrId="306" Leaf="true">
99769994
<Str Cat="Text">
99779995
<Val><![CDATA[The intersection '{0}' was reduced to 'never' because property '{1}' has conflicting types in some constituents.]]></Val>
9996+
<Tgt Cat="Text" Stat="Loc" Orig="New">
9997+
<Val><![CDATA[由于属性“{1}”在某些要素中具有存在冲突的类型,因此已将交集“{0}”缩减为“绝不”。]]></Val>
9998+
</Tgt>
99789999
</Str>
997910000
<Disp Icon="Str" />
998010001
</Item>
@@ -11799,6 +11820,9 @@
1179911820
<Item ItemId=";Wrap_all_object_literal_with_parentheses_95116" ItemType="0" PsrId="306" Leaf="true">
1180011821
<Str Cat="Text">
1180111822
<Val><![CDATA[Wrap all object literal with parentheses]]></Val>
11823+
<Tgt Cat="Text" Stat="Loc" Orig="New">
11824+
<Val><![CDATA[用括号将所有对象文字括起来]]></Val>
11825+
</Tgt>
1180211826
</Str>
1180311827
<Disp Icon="Str" />
1180411828
</Item>
@@ -11814,6 +11838,9 @@
1181411838
<Item ItemId=";Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal_95113" ItemType="0" PsrId="306" Leaf="true">
1181511839
<Str Cat="Text">
1181611840
<Val><![CDATA[Wrap the following body with parentheses which should be an object literal]]></Val>
11841+
<Tgt Cat="Text" Stat="Loc" Orig="New">
11842+
<Val><![CDATA[用括号将以下应为对象文字的正文括起来]]></Val>
11843+
</Tgt>
1181711844
</Str>
1181811845
<Disp Icon="Str" />
1181911846
</Item>

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

Lines changed: 54 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1017,6 +1017,9 @@
10171017
<Item ItemId=";Add_a_return_statement_95111" ItemType="0" PsrId="306" Leaf="true">
10181018
<Str Cat="Text">
10191019
<Val><![CDATA[Add a return statement]]></Val>
1020+
<Tgt Cat="Text" Stat="Loc" Orig="New">
1021+
<Val><![CDATA[新增 return 陳述式]]></Val>
1022+
</Tgt>
10201023
</Str>
10211024
<Disp Icon="Str" />
10221025
</Item>
@@ -1059,6 +1062,9 @@
10591062
<Item ItemId=";Add_all_missing_return_statement_95114" ItemType="0" PsrId="306" Leaf="true">
10601063
<Str Cat="Text">
10611064
<Val><![CDATA[Add all missing return statement]]></Val>
1065+
<Tgt Cat="Text" Stat="Loc" Orig="New">
1066+
<Val><![CDATA[新增所有遺漏的 return 陳述式]]></Val>
1067+
</Tgt>
10621068
</Str>
10631069
<Disp Icon="Str" />
10641070
</Item>
@@ -1845,6 +1851,9 @@
18451851
<Item ItemId=";An_index_signature_cannot_have_a_trailing_comma_1025" ItemType="0" PsrId="306" Leaf="true">
18461852
<Str Cat="Text">
18471853
<Val><![CDATA[An index signature cannot have a trailing comma.]]></Val>
1854+
<Tgt Cat="Text" Stat="Loc" Orig="New">
1855+
<Val><![CDATA[索引簽章結尾不可有逗號。]]></Val>
1856+
</Tgt>
18481857
</Str>
18491858
<Disp Icon="Str" />
18501859
</Item>
@@ -6009,18 +6018,27 @@
60096018
<Item ItemId=";Its_element_type_0_is_not_a_valid_JSX_element_2789" ItemType="0" PsrId="306" Leaf="true">
60106019
<Str Cat="Text">
60116020
<Val><![CDATA[Its element type '{0}' is not a valid JSX element.]]></Val>
6021+
<Tgt Cat="Text" Stat="Loc" Orig="New">
6022+
<Val><![CDATA[其元素類型 '{0}' 不是有效的 JSX 元素。]]></Val>
6023+
</Tgt>
60126024
</Str>
60136025
<Disp Icon="Str" />
60146026
</Item>
60156027
<Item ItemId=";Its_instance_type_0_is_not_a_valid_JSX_element_2788" ItemType="0" PsrId="306" Leaf="true">
60166028
<Str Cat="Text">
60176029
<Val><![CDATA[Its instance type '{0}' is not a valid JSX element.]]></Val>
6030+
<Tgt Cat="Text" Stat="Loc" Orig="New">
6031+
<Val><![CDATA[其執行個體類型 '{0}' 不是有效的 JSX 元素。]]></Val>
6032+
</Tgt>
60186033
</Str>
60196034
<Disp Icon="Str" />
60206035
</Item>
60216036
<Item ItemId=";Its_return_type_0_is_not_a_valid_JSX_element_2787" ItemType="0" PsrId="306" Leaf="true">
60226037
<Str Cat="Text">
60236038
<Val><![CDATA[Its return type '{0}' is not a valid JSX element.]]></Val>
6039+
<Tgt Cat="Text" Stat="Loc" Orig="New">
6040+
<Val><![CDATA[其傳回型別 '{0}' 不是有效的 JSX 元素。]]></Val>
6041+
</Tgt>
60246042
</Str>
60256043
<Disp Icon="Str" />
60266044
</Item>
@@ -8052,15 +8070,6 @@
80528070
</Str>
80538071
<Disp Icon="Str" />
80548072
</Item>
8055-
<Item ItemId=";Property_0_has_conflicting_declarations_and_is_inaccessible_in_type_1_2546" ItemType="0" PsrId="306" Leaf="true">
8056-
<Str Cat="Text">
8057-
<Val><![CDATA[Property '{0}' has conflicting declarations and is inaccessible in type '{1}'.]]></Val>
8058-
<Tgt Cat="Text" Stat="Loc" Orig="New">
8059-
<Val><![CDATA[屬性 '{0}' 有衝突的宣告,在類型 '{1}' 中無法存取。]]></Val>
8060-
</Tgt>
8061-
</Str>
8062-
<Disp Icon="Str" />
8063-
</Item>
80648073
<Item ItemId=";Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor_2564" ItemType="0" PsrId="306" Leaf="true">
80658074
<Str Cat="Text">
80668075
<Val><![CDATA[Property '{0}' has no initializer and is not definitely assigned in the constructor.]]></Val>
@@ -8562,6 +8571,9 @@
85628571
<Item ItemId=";Remove_all_incorrect_body_block_braces_95115" ItemType="0" PsrId="306" Leaf="true">
85638572
<Str Cat="Text">
85648573
<Val><![CDATA[Remove all incorrect body block braces]]></Val>
8574+
<Tgt Cat="Text" Stat="Loc" Orig="New">
8575+
<Val><![CDATA[移除所有不正確的主體區塊大括弧]]></Val>
8576+
</Tgt>
85658577
</Str>
85668578
<Disp Icon="Str" />
85678579
</Item>
@@ -8595,6 +8607,9 @@
85958607
<Item ItemId=";Remove_block_body_braces_95112" ItemType="0" PsrId="306" Leaf="true">
85968608
<Str Cat="Text">
85978609
<Val><![CDATA[Remove block body braces]]></Val>
8610+
<Tgt Cat="Text" Stat="Loc" Orig="New">
8611+
<Val><![CDATA[移除區塊主體大括弧]]></Val>
8612+
</Tgt>
85988613
</Str>
85998614
<Disp Icon="Str" />
86008615
</Item>
@@ -9966,6 +9981,24 @@
99669981
</Str>
99679982
<Disp Icon="Str" />
99689983
</Item>
9984+
<Item ItemId=";The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_pr_18032" ItemType="0" PsrId="306" Leaf="true">
9985+
<Str Cat="Text">
9986+
<Val><![CDATA[The intersection '{0}' was reduced to 'never' because property '{1}' exists in multiple constituents and is private in some.]]></Val>
9987+
<Tgt Cat="Text" Stat="Loc" Orig="New">
9988+
<Val><![CDATA[因為屬性 '{1}' 存在於多個部分,而且在某些部分為私人性質,所以交集 '{0}' 已縮減為 'never'。]]></Val>
9989+
</Tgt>
9990+
</Str>
9991+
<Disp Icon="Str" />
9992+
</Item>
9993+
<Item ItemId=";The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituent_18031" ItemType="0" PsrId="306" Leaf="true">
9994+
<Str Cat="Text">
9995+
<Val><![CDATA[The intersection '{0}' was reduced to 'never' because property '{1}' has conflicting types in some constituents.]]></Val>
9996+
<Tgt Cat="Text" Stat="Loc" Orig="New">
9997+
<Val><![CDATA[因為屬性 '{1}' 在某些部分有衝突的類型,所以交集 '{0}' 已縮減為 'never'。]]></Val>
9998+
</Tgt>
9999+
</Str>
10000+
<Disp Icon="Str" />
10001+
</Item>
996910002
<Item ItemId=";The_last_overload_gave_the_following_error_2770" ItemType="0" PsrId="306" Leaf="true">
997010003
<Str Cat="Text">
997110004
<Val><![CDATA[The last overload gave the following error.]]></Val>
@@ -11742,6 +11775,9 @@
1174211775
<Item ItemId=";Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_json_to_read_more_about_this_file_95110" ItemType="0" PsrId="306" Leaf="true">
1174311776
<Str Cat="Text">
1174411777
<Val><![CDATA[Visit https://aka.ms/tsconfig.json to read more about this file]]></Val>
11778+
<Tgt Cat="Text" Stat="Loc" Orig="New">
11779+
<Val><![CDATA[瀏覽 https://aka.ms/tsconfig.json 以閱讀此檔案的詳細資訊]]></Val>
11780+
</Tgt>
1174511781
</Str>
1174611782
<Disp Icon="Str" />
1174711783
</Item>
@@ -11784,6 +11820,9 @@
1178411820
<Item ItemId=";Wrap_all_object_literal_with_parentheses_95116" ItemType="0" PsrId="306" Leaf="true">
1178511821
<Str Cat="Text">
1178611822
<Val><![CDATA[Wrap all object literal with parentheses]]></Val>
11823+
<Tgt Cat="Text" Stat="Loc" Orig="New">
11824+
<Val><![CDATA[使用括弧括住所有物件常值]]></Val>
11825+
</Tgt>
1178711826
</Str>
1178811827
<Disp Icon="Str" />
1178911828
</Item>
@@ -11799,6 +11838,9 @@
1179911838
<Item ItemId=";Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal_95113" ItemType="0" PsrId="306" Leaf="true">
1180011839
<Str Cat="Text">
1180111840
<Val><![CDATA[Wrap the following body with parentheses which should be an object literal]]></Val>
11841+
<Tgt Cat="Text" Stat="Loc" Orig="New">
11842+
<Val><![CDATA[使用括弧括住下列必須是物件常值的主體]]></Val>
11843+
</Tgt>
1180211844
</Str>
1180311845
<Disp Icon="Str" />
1180411846
</Item>
@@ -11913,6 +11955,9 @@
1191311955
<Item ItemId=";_0_cannot_be_used_as_a_JSX_component_2786" ItemType="0" PsrId="306" Leaf="true">
1191411956
<Str Cat="Text">
1191511957
<Val><![CDATA['{0}' cannot be used as a JSX component.]]></Val>
11958+
<Tgt Cat="Text" Stat="Loc" Orig="New">
11959+
<Val><![CDATA['{0}' 不能用作 JSX 元件。]]></Val>
11960+
</Tgt>
1191611961
</Str>
1191711962
<Disp Icon="Str" />
1191811963
</Item>

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

Lines changed: 39 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1026,6 +1026,9 @@
10261026
<Item ItemId=";Add_a_return_statement_95111" ItemType="0" PsrId="306" Leaf="true">
10271027
<Str Cat="Text">
10281028
<Val><![CDATA[Add a return statement]]></Val>
1029+
<Tgt Cat="Text" Stat="Loc" Orig="New">
1030+
<Val><![CDATA[Přidat příkaz return]]></Val>
1031+
</Tgt>
10291032
</Str>
10301033
<Disp Icon="Str" />
10311034
</Item>
@@ -1068,6 +1071,9 @@
10681071
<Item ItemId=";Add_all_missing_return_statement_95114" ItemType="0" PsrId="306" Leaf="true">
10691072
<Str Cat="Text">
10701073
<Val><![CDATA[Add all missing return statement]]></Val>
1074+
<Tgt Cat="Text" Stat="Loc" Orig="New">
1075+
<Val><![CDATA[Přidat všechny chybějící příkazy return]]></Val>
1076+
</Tgt>
10711077
</Str>
10721078
<Disp Icon="Str" />
10731079
</Item>
@@ -1854,6 +1860,9 @@
18541860
<Item ItemId=";An_index_signature_cannot_have_a_trailing_comma_1025" ItemType="0" PsrId="306" Leaf="true">
18551861
<Str Cat="Text">
18561862
<Val><![CDATA[An index signature cannot have a trailing comma.]]></Val>
1863+
<Tgt Cat="Text" Stat="Loc" Orig="New">
1864+
<Val><![CDATA[Signatura indexu nemůže mít na konci čárku.]]></Val>
1865+
</Tgt>
18571866
</Str>
18581867
<Disp Icon="Str" />
18591868
</Item>
@@ -8070,15 +8079,6 @@
80708079
</Str>
80718080
<Disp Icon="Str" />
80728081
</Item>
8073-
<Item ItemId=";Property_0_has_conflicting_declarations_and_is_inaccessible_in_type_1_2546" ItemType="0" PsrId="306" Leaf="true">
8074-
<Str Cat="Text">
8075-
<Val><![CDATA[Property '{0}' has conflicting declarations and is inaccessible in type '{1}'.]]></Val>
8076-
<Tgt Cat="Text" Stat="Loc" Orig="New">
8077-
<Val><![CDATA[Vlastnost {0} má konfliktní deklarace a v typu {1} není přístupná.]]></Val>
8078-
</Tgt>
8079-
</Str>
8080-
<Disp Icon="Str" />
8081-
</Item>
80828082
<Item ItemId=";Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor_2564" ItemType="0" PsrId="306" Leaf="true">
80838083
<Str Cat="Text">
80848084
<Val><![CDATA[Property '{0}' has no initializer and is not definitely assigned in the constructor.]]></Val>
@@ -8580,6 +8580,9 @@
85808580
<Item ItemId=";Remove_all_incorrect_body_block_braces_95115" ItemType="0" PsrId="306" Leaf="true">
85818581
<Str Cat="Text">
85828582
<Val><![CDATA[Remove all incorrect body block braces]]></Val>
8583+
<Tgt Cat="Text" Stat="Loc" Orig="New">
8584+
<Val><![CDATA[Odebrat všechny nesprávné závorky bloku kódu]]></Val>
8585+
</Tgt>
85838586
</Str>
85848587
<Disp Icon="Str" />
85858588
</Item>
@@ -8613,6 +8616,9 @@
86138616
<Item ItemId=";Remove_block_body_braces_95112" ItemType="0" PsrId="306" Leaf="true">
86148617
<Str Cat="Text">
86158618
<Val><![CDATA[Remove block body braces]]></Val>
8619+
<Tgt Cat="Text" Stat="Loc" Orig="New">
8620+
<Val><![CDATA[Odebrat všechny závorky bloku kódu]]></Val>
8621+
</Tgt>
86168622
</Str>
86178623
<Disp Icon="Str" />
86188624
</Item>
@@ -9984,6 +9990,24 @@
99849990
</Str>
99859991
<Disp Icon="Str" />
99869992
</Item>
9993+
<Item ItemId=";The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_pr_18032" ItemType="0" PsrId="306" Leaf="true">
9994+
<Str Cat="Text">
9995+
<Val><![CDATA[The intersection '{0}' was reduced to 'never' because property '{1}' exists in multiple constituents and is private in some.]]></Val>
9996+
<Tgt Cat="Text" Stat="Loc" Orig="New">
9997+
<Val><![CDATA[Průnik {0} se omezil na never, protože vlastnost {1} existuje v několika konstituentech a v některých z nich je privátní.]]></Val>
9998+
</Tgt>
9999+
</Str>
10000+
<Disp Icon="Str" />
10001+
</Item>
10002+
<Item ItemId=";The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituent_18031" ItemType="0" PsrId="306" Leaf="true">
10003+
<Str Cat="Text">
10004+
<Val><![CDATA[The intersection '{0}' was reduced to 'never' because property '{1}' has conflicting types in some constituents.]]></Val>
10005+
<Tgt Cat="Text" Stat="Loc" Orig="New">
10006+
<Val><![CDATA[Průnik {0} se omezil na never, protože vlastnost {1} má v některých konstituentech konfliktní typy.]]></Val>
10007+
</Tgt>
10008+
</Str>
10009+
<Disp Icon="Str" />
10010+
</Item>
998710011
<Item ItemId=";The_last_overload_gave_the_following_error_2770" ItemType="0" PsrId="306" Leaf="true">
998810012
<Str Cat="Text">
998910013
<Val><![CDATA[The last overload gave the following error.]]></Val>
@@ -11805,6 +11829,9 @@
1180511829
<Item ItemId=";Wrap_all_object_literal_with_parentheses_95116" ItemType="0" PsrId="306" Leaf="true">
1180611830
<Str Cat="Text">
1180711831
<Val><![CDATA[Wrap all object literal with parentheses]]></Val>
11832+
<Tgt Cat="Text" Stat="Loc" Orig="New">
11833+
<Val><![CDATA[Uzavřít všechny literály objektů do závorek]]></Val>
11834+
</Tgt>
1180811835
</Str>
1180911836
<Disp Icon="Str" />
1181011837
</Item>
@@ -11820,6 +11847,9 @@
1182011847
<Item ItemId=";Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal_95113" ItemType="0" PsrId="306" Leaf="true">
1182111848
<Str Cat="Text">
1182211849
<Val><![CDATA[Wrap the following body with parentheses which should be an object literal]]></Val>
11850+
<Tgt Cat="Text" Stat="Loc" Orig="New">
11851+
<Val><![CDATA[Uzavřít následující kód, který by měl být literál objektu, do závorek]]></Val>
11852+
</Tgt>
1182311853
</Str>
1182411854
<Disp Icon="Str" />
1182511855
</Item>

0 commit comments

Comments
 (0)