Skip to content

Commit 2f29b71

Browse files
authored
LEGO: Merge pull request 21172
LEGO: Merge pull request 21172
2 parents 2e1738b + da18a24 commit 2f29b71

File tree

9 files changed

+1043
-17
lines changed

9 files changed

+1043
-17
lines changed

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

Lines changed: 116 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,15 @@
474474
</Str>
475475
<Disp Icon="Str" />
476476
</Item>
477+
<Item ItemId=";A_namespace_style_import_cannot_be_called_or_constructed_and_will_cause_a_failure_at_runtime_7038" ItemType="0" PsrId="306" Leaf="true">
478+
<Str Cat="Text">
479+
<Val><![CDATA[A namespace-style import cannot be called or constructed, and will cause a failure at runtime.]]></Val>
480+
<Tgt Cat="Text" Stat="Loc" Orig="New">
481+
<Val><![CDATA[命名空間樣式的匯入無法加以呼叫或建構,而且會導致執行階段失敗。]]></Val>
482+
</Tgt>
483+
</Str>
484+
<Disp Icon="Str" />
485+
</Item>
477486
<Item ItemId=";A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation_2371" ItemType="0" PsrId="306" Leaf="true">
478487
<Str Cat="Text">
479488
<Val><![CDATA[A parameter initializer is only allowed in a function or constructor implementation.]]></Val>
@@ -876,6 +885,12 @@
876885
</Str>
877886
<Disp Icon="Str" />
878887
</Item>
888+
<Item ItemId=";Add_async_modifier_to_containing_function_90029" ItemType="0" PsrId="306" Leaf="true">
889+
<Str Cat="Text">
890+
<Val><![CDATA[Add async modifier to containing function]]></Val>
891+
</Str>
892+
<Disp Icon="Str" />
893+
</Item>
879894
<Item ItemId=";Add_index_signature_for_property_0_90017" ItemType="0" PsrId="306" Leaf="true">
880895
<Str Cat="Text">
881896
<Val><![CDATA[Add index signature for property '{0}']]></Val>
@@ -1281,6 +1296,24 @@
12811296
</Str>
12821297
<Disp Icon="Str" />
12831298
</Item>
1299+
<Item ItemId=";An_index_signature_parameter_type_cannot_be_a_type_alias_Consider_writing_0_Colon_1_Colon_2_instead_1336" ItemType="0" PsrId="306" Leaf="true">
1300+
<Str Cat="Text">
1301+
<Val><![CDATA[An index signature parameter type cannot be a type alias. Consider writing '[{0}: {1}]5D;: {2}' instead.]]></Val>
1302+
<Tgt Cat="Text" Stat="Loc" Orig="New">
1303+
<Val><![CDATA[索引簽章參數類型不能是類型別名。請考慮改為撰寫 '[{0}: {1}]5D;: {2}'。]]></Val>
1304+
</Tgt>
1305+
</Str>
1306+
<Disp Icon="Str" />
1307+
</Item>
1308+
<Item ItemId=";An_index_signature_parameter_type_cannot_be_a_union_type_Consider_using_a_mapped_object_type_instead_1337" ItemType="0" PsrId="306" Leaf="true">
1309+
<Str Cat="Text">
1310+
<Val><![CDATA[An index signature parameter type cannot be a union type. Consider using a mapped object type instead.]]></Val>
1311+
<Tgt Cat="Text" Stat="Loc" Orig="New">
1312+
<Val><![CDATA[索引簽章參數類型不能是等位型別。請考慮改用對應的物件類型。]]></Val>
1313+
</Tgt>
1314+
</Str>
1315+
<Disp Icon="Str" />
1316+
</Item>
12841317
<Item ItemId=";An_index_signature_parameter_type_must_be_string_or_number_1023" ItemType="0" PsrId="306" Leaf="true">
12851318
<Str Cat="Text">
12861319
<Val><![CDATA[An index signature parameter type must be 'string' or 'number'.]]></Val>
@@ -1830,6 +1863,33 @@
18301863
</Str>
18311864
<Disp Icon="Str" />
18321865
</Item>
1866+
<Item ItemId=";Cannot_invoke_an_object_which_is_possibly_null_2721" ItemType="0" PsrId="306" Leaf="true">
1867+
<Str Cat="Text">
1868+
<Val><![CDATA[Cannot invoke an object which is possibly 'null'.]]></Val>
1869+
<Tgt Cat="Text" Stat="Loc" Orig="New">
1870+
<Val><![CDATA[無法叫用可能為 'null' 的物件。]]></Val>
1871+
</Tgt>
1872+
</Str>
1873+
<Disp Icon="Str" />
1874+
</Item>
1875+
<Item ItemId=";Cannot_invoke_an_object_which_is_possibly_null_or_undefined_2723" ItemType="0" PsrId="306" Leaf="true">
1876+
<Str Cat="Text">
1877+
<Val><![CDATA[Cannot invoke an object which is possibly 'null' or 'undefined'.]]></Val>
1878+
<Tgt Cat="Text" Stat="Loc" Orig="New">
1879+
<Val><![CDATA[無法叫用可能為 'null' 或 'undefined' 的物件。]]></Val>
1880+
</Tgt>
1881+
</Str>
1882+
<Disp Icon="Str" />
1883+
</Item>
1884+
<Item ItemId=";Cannot_invoke_an_object_which_is_possibly_undefined_2722" ItemType="0" PsrId="306" Leaf="true">
1885+
<Str Cat="Text">
1886+
<Val><![CDATA[Cannot invoke an object which is possibly 'undefined'.]]></Val>
1887+
<Tgt Cat="Text" Stat="Loc" Orig="New">
1888+
<Val><![CDATA[無法叫用可能為 'undefined' 的物件。]]></Val>
1889+
</Tgt>
1890+
</Str>
1891+
<Disp Icon="Str" />
1892+
</Item>
18331893
<Item ItemId=";Cannot_re_export_a_type_when_the_isolatedModules_flag_is_provided_1205" ItemType="0" PsrId="306" Leaf="true">
18341894
<Str Cat="Text">
18351895
<Val><![CDATA[Cannot re-export a type when the '--isolatedModules' flag is provided.]]></Val>
@@ -2298,6 +2358,15 @@
22982358
</Str>
22992359
<Disp Icon="Str" />
23002360
</Item>
2361+
<Item ItemId=";Convert_to_ES6_module_95017" ItemType="0" PsrId="306" Leaf="true">
2362+
<Str Cat="Text">
2363+
<Val><![CDATA[Convert to ES6 module]]></Val>
2364+
<Tgt Cat="Text" Stat="Loc" Orig="New">
2365+
<Val><![CDATA[轉換為 ES6 模組]]></Val>
2366+
</Tgt>
2367+
</Str>
2368+
<Disp Icon="Str" />
2369+
</Item>
23012370
<Item ItemId=";Convert_to_default_import_95013" ItemType="0" PsrId="306" Leaf="true">
23022371
<Str Cat="Text">
23032372
<Val><![CDATA[Convert to default import]]></Val>
@@ -2895,6 +2964,15 @@
28952964
</Str>
28962965
<Disp Icon="Str" />
28972966
</Item>
2967+
<Item ItemId=";Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for__7037" ItemType="0" PsrId="306" Leaf="true">
2968+
<Str Cat="Text">
2969+
<Val><![CDATA[Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'.]]></Val>
2970+
<Tgt Cat="Text" Stat="Loc" Orig="New">
2971+
<Val><![CDATA[透過為所有匯入建立命名空間物件,讓 CommonJS 和 ES 模組之間的產出有互通性。意指 'allowSyntheticDefaultImports'。]]></Val>
2972+
</Tgt>
2973+
</Str>
2974+
<Disp Icon="Str" />
2975+
</Item>
28982976
<Item ItemId=";Enables_experimental_support_for_ES7_async_functions_6068" ItemType="0" PsrId="306" Leaf="true">
28992977
<Str Cat="Text">
29002978
<Val><![CDATA[Enables experimental support for ES7 async functions.]]></Val>
@@ -4539,6 +4617,12 @@
45394617
</Str>
45404618
<Disp Icon="Str" />
45414619
</Item>
4620+
<Item ItemId=";Mapped_object_type_implicitly_has_an_any_template_type_7039" ItemType="0" PsrId="306" Leaf="true">
4621+
<Str Cat="Text">
4622+
<Val><![CDATA[Mapped object type implicitly has an 'any' template type.]]></Val>
4623+
</Str>
4624+
<Disp Icon="Str" />
4625+
</Item>
45424626
<Item ItemId=";Member_0_implicitly_has_an_1_type_7008" ItemType="0" PsrId="306" Leaf="true">
45434627
<Str Cat="Text">
45444628
<Val><![CDATA[Member '{0}' implicitly has an '{1}' type.]]></Val>
@@ -5574,6 +5658,15 @@
55745658
</Str>
55755659
<Disp Icon="Str" />
55765660
</Item>
5661+
<Item ItemId=";Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2_2416" ItemType="0" PsrId="306" Leaf="true">
5662+
<Str Cat="Text">
5663+
<Val><![CDATA[Property '{0}' in type '{1}' is not assignable to the same property in base type '{2}'.]]></Val>
5664+
<Tgt Cat="Text" Stat="Loc" Orig="New">
5665+
<Val><![CDATA[類型 '{1}' 中的屬性 '{0}' 無法指派給基底類型 '{2}' 中的相同屬性。]]></Val>
5666+
</Tgt>
5667+
</Str>
5668+
<Disp Icon="Str" />
5669+
</Item>
55775670
<Item ItemId=";Property_0_in_type_1_is_not_assignable_to_type_2_2603" ItemType="0" PsrId="306" Leaf="true">
55785671
<Str Cat="Text">
55795672
<Val><![CDATA[Property '{0}' in type '{1}' is not assignable to type '{2}'.]]></Val>
@@ -5931,6 +6024,15 @@
59316024
</Str>
59326025
<Disp Icon="Str" />
59336026
</Item>
6027+
<Item ItemId=";Replace_import_with_0_95015" ItemType="0" PsrId="306" Leaf="true">
6028+
<Str Cat="Text">
6029+
<Val><![CDATA[Replace import with '{0}'.]]></Val>
6030+
<Tgt Cat="Text" Stat="Loc" Orig="New">
6031+
<Val><![CDATA[以 '{0}' 取代匯入。]]></Val>
6032+
</Tgt>
6033+
</Str>
6034+
<Disp Icon="Str" />
6035+
</Item>
59346036
<Item ItemId=";Report_error_when_not_all_code_paths_in_function_return_a_value_6075" ItemType="0" PsrId="306" Leaf="true">
59356037
<Str Cat="Text">
59366038
<Val><![CDATA[Report error when not all code paths in function return a value.]]></Val>
@@ -7995,6 +8097,15 @@
79958097
</Str>
79968098
<Disp Icon="Str" />
79978099
</Item>
8100+
<Item ItemId=";Use_synthetic_default_member_95016" ItemType="0" PsrId="306" Leaf="true">
8101+
<Str Cat="Text">
8102+
<Val><![CDATA[Use synthetic 'default' member.]]></Val>
8103+
<Tgt Cat="Text" Stat="Loc" Orig="New">
8104+
<Val><![CDATA[使用綜合 'default' 成員。]]></Val>
8105+
</Tgt>
8106+
</Str>
8107+
<Disp Icon="Str" />
8108+
</Item>
79988109
<Item ItemId=";Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher_2494" ItemType="0" PsrId="306" Leaf="true">
79998110
<Str Cat="Text">
80008111
<Val><![CDATA[Using a string in a 'for...of' statement is only supported in ECMAScript 5 and higher.]]></Val>
@@ -8498,10 +8609,13 @@
84988609
</Item>
84998610
<Item ItemId=";const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_im_2475" ItemType="0" PsrId="306" Leaf="true">
85008611
<Str Cat="Text">
8501-
<Val><![CDATA['const' enums can only be used in property or index access expressions or the right hand side of an import declaration or export assignment.]]></Val>
8612+
<Val><![CDATA['const' enums can only be used in property or index access expressions or the right hand side of an import declaration or export assignment or type query.]]></Val>
85028613
<Tgt Cat="Text" Stat="Loc" Orig="New">
8503-
<Val><![CDATA['const' 列舉只可用於屬性或索引存取運算式中,或者用於匯入宣告或匯出指派的右側]]></Val>
8614+
<Val><![CDATA['const' 列舉只可用於屬性或索引存取運算式中,或用於匯入宣告、匯出指派或類型查詢的右側]]></Val>
85048615
</Tgt>
8616+
<Prev Cat="Text">
8617+
<Val><![CDATA['const' enums can only be used in property or index access expressions or the right hand side of an import declaration or export assignment.]]></Val>
8618+
</Prev>
85058619
</Str>
85068620
<Disp Icon="Str" />
85078621
</Item>

0 commit comments

Comments
 (0)