|
144 | 144 | <Item ItemId=";A_computed_property_name_in_a_class_property_declaration_must_refer_to_an_expression_whose_type_is_a_1166" ItemType="0" PsrId="306" Leaf="true"> |
145 | 145 | <Str Cat="Text"> |
146 | 146 | <Val><![CDATA[A computed property name in a class property declaration must refer to an expression whose type is a literal type or a 'unique symbol' type.]]></Val> |
| 147 | + <Tgt Cat="Text" Stat="Loc" Orig="New"> |
| 148 | + <Val><![CDATA[类属性声明中的计算属性名称必须引用类型为文本类型或“唯一符号”类型的表达式。]]></Val> |
| 149 | + </Tgt> |
147 | 150 | </Str> |
148 | 151 | <Disp Icon="Str" /> |
149 | 152 | </Item> |
150 | 153 | <Item ItemId=";A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_ty_1168" ItemType="0" PsrId="306" Leaf="true"> |
151 | 154 | <Str Cat="Text"> |
152 | 155 | <Val><![CDATA[A computed property name in a method overload must refer to an expression whose type is a literal type or a 'unique symbol' type.]]></Val> |
| 156 | + <Tgt Cat="Text" Stat="Loc" Orig="New"> |
| 157 | + <Val><![CDATA[方法重载中的计算属性名称必须引用类型为文本类型或“唯一符号”类型的表达式。]]></Val> |
| 158 | + </Tgt> |
153 | 159 | </Str> |
154 | 160 | <Disp Icon="Str" /> |
155 | 161 | </Item> |
156 | 162 | <Item ItemId=";A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type__1170" ItemType="0" PsrId="306" Leaf="true"> |
157 | 163 | <Str Cat="Text"> |
158 | 164 | <Val><![CDATA[A computed property name in a type literal must refer to an expression whose type is a literal type or a 'unique symbol' type.]]></Val> |
| 165 | + <Tgt Cat="Text" Stat="Loc" Orig="New"> |
| 166 | + <Val><![CDATA[类型文本中的计算属性名称必须引用类型为文本类型或“唯一符号”类型的表达式。]]></Val> |
| 167 | + </Tgt> |
159 | 168 | </Str> |
160 | 169 | <Disp Icon="Str" /> |
161 | 170 | </Item> |
162 | 171 | <Item ItemId=";A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_t_1165" ItemType="0" PsrId="306" Leaf="true"> |
163 | 172 | <Str Cat="Text"> |
164 | 173 | <Val><![CDATA[A computed property name in an ambient context must refer to an expression whose type is a literal type or a 'unique symbol' type.]]></Val> |
| 174 | + <Tgt Cat="Text" Stat="Loc" Orig="New"> |
| 175 | + <Val><![CDATA[环境上下文中的计算属性名称必须引用类型为文本类型或“唯一符号”类型的表达式。]]></Val> |
| 176 | + </Tgt> |
165 | 177 | </Str> |
166 | 178 | <Disp Icon="Str" /> |
167 | 179 | </Item> |
168 | 180 | <Item ItemId=";A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_1169" ItemType="0" PsrId="306" Leaf="true"> |
169 | 181 | <Str Cat="Text"> |
170 | 182 | <Val><![CDATA[A computed property name in an interface must refer to an expression whose type is a literal type or a 'unique symbol' type.]]></Val> |
| 183 | + <Tgt Cat="Text" Stat="Loc" Orig="New"> |
| 184 | + <Val><![CDATA[接口中的计算属性名称必须引用必须引用类型为文本类型或“唯一符号”的表达式。]]></Val> |
| 185 | + </Tgt> |
171 | 186 | </Str> |
172 | 187 | <Disp Icon="Str" /> |
173 | 188 | </Item> |
|
291 | 306 | </Str> |
292 | 307 | <Disp Icon="Str" /> |
293 | 308 | </Item> |
| 309 | + <Item ItemId=";A_definite_assignment_assertion_is_not_permitted_in_this_context_1255" ItemType="0" PsrId="306" Leaf="true"> |
| 310 | + <Str Cat="Text"> |
| 311 | + <Val><![CDATA[A definite assignment assertion '!' is not permitted in this context.]]></Val> |
| 312 | + </Str> |
| 313 | + <Disp Icon="Str" /> |
| 314 | + </Item> |
294 | 315 | <Item ItemId=";A_destructuring_declaration_must_have_an_initializer_1182" ItemType="0" PsrId="306" Leaf="true"> |
295 | 316 | <Str Cat="Text"> |
296 | 317 | <Val><![CDATA[A destructuring declaration must have an initializer.]]></Val> |
|
507 | 528 | <Item ItemId=";A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly_1331" ItemType="0" PsrId="306" Leaf="true"> |
508 | 529 | <Str Cat="Text"> |
509 | 530 | <Val><![CDATA[A property of a class whose type is a 'unique symbol' type must be both 'static' and 'readonly'.]]></Val> |
| 531 | + <Tgt Cat="Text" Stat="Loc" Orig="New"> |
| 532 | + <Val><![CDATA[类型为“唯一符号”的类的属性必须同时为“静态”和“只读”。]]></Val> |
| 533 | + </Tgt> |
510 | 534 | </Str> |
511 | 535 | <Disp Icon="Str" /> |
512 | 536 | </Item> |
513 | 537 | <Item ItemId=";A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly_1330" ItemType="0" PsrId="306" Leaf="true"> |
514 | 538 | <Str Cat="Text"> |
515 | 539 | <Val><![CDATA[A property of an interface or type literal whose type is a 'unique symbol' type must be 'readonly'.]]></Val> |
| 540 | + <Tgt Cat="Text" Stat="Loc" Orig="New"> |
| 541 | + <Val><![CDATA[类型为“唯一符号”的接口或类型文本的属性必须是“只读”]]></Val> |
| 542 | + </Tgt> |
516 | 543 | </Str> |
517 | 544 | <Disp Icon="Str" /> |
518 | 545 | </Item> |
|
765 | 792 | <Item ItemId=";A_variable_whose_type_is_a_unique_symbol_type_must_be_const_1332" ItemType="0" PsrId="306" Leaf="true"> |
766 | 793 | <Str Cat="Text"> |
767 | 794 | <Val><![CDATA[A variable whose type is a 'unique symbol' type must be 'const'.]]></Val> |
| 795 | + <Tgt Cat="Text" Stat="Loc" Orig="New"> |
| 796 | + <Val><![CDATA[类型为“唯一符号”的变量必须是“常量”。]]></Val> |
| 797 | + </Tgt> |
768 | 798 | </Str> |
769 | 799 | <Disp Icon="Str" /> |
770 | 800 | </Item> |
|
2583 | 2613 | <Item ItemId=";Duplicate_declaration_0_2718" ItemType="0" PsrId="306" Leaf="true"> |
2584 | 2614 | <Str Cat="Text"> |
2585 | 2615 | <Val><![CDATA[Duplicate declaration '{0}'.]]></Val> |
| 2616 | + <Tgt Cat="Text" Stat="Loc" Orig="New"> |
| 2617 | + <Val><![CDATA[重复声明“{0}”。]]></Val> |
| 2618 | + </Tgt> |
2586 | 2619 | </Str> |
2587 | 2620 | <Disp Icon="Str" /> |
2588 | 2621 | </Item> |
|
2796 | 2829 | </Str> |
2797 | 2830 | <Disp Icon="Str" /> |
2798 | 2831 | </Item> |
| 2832 | + <Item ItemId=";Enable_strict_checking_of_property_initialization_in_classes_6187" ItemType="0" PsrId="306" Leaf="true"> |
| 2833 | + <Str Cat="Text"> |
| 2834 | + <Val><![CDATA[Enable strict checking of property initialization in classes.]]></Val> |
| 2835 | + <Tgt Cat="Text" Stat="Loc" Orig="New"> |
| 2836 | + <Val><![CDATA[启用类中属性初始化的严格检查。]]></Val> |
| 2837 | + </Tgt> |
| 2838 | + </Str> |
| 2839 | + <Disp Icon="Str" /> |
| 2840 | + </Item> |
2799 | 2841 | <Item ItemId=";Enable_strict_null_checks_6113" ItemType="0" PsrId="306" Leaf="true"> |
2800 | 2842 | <Str Cat="Text"> |
2801 | 2843 | <Val><![CDATA[Enable strict null checks.]]></Val> |
|
2937 | 2979 | <Item ItemId=";Expected_0_arguments_but_got_1_or_more_2556" ItemType="0" PsrId="306" Leaf="true"> |
2938 | 2980 | <Str Cat="Text"> |
2939 | 2981 | <Val><![CDATA[Expected {0} arguments, but got {1} or more.]]></Val> |
| 2982 | + <Tgt Cat="Text" Stat="Loc" Orig="New"> |
| 2983 | + <Val><![CDATA[应有 {0} 个参数,但获得的数量大于等于 {1}。]]></Val> |
| 2984 | + </Tgt> |
2940 | 2985 | </Str> |
2941 | 2986 | <Disp Icon="Str" /> |
2942 | 2987 | </Item> |
|
2970 | 3015 | <Item ItemId=";Expected_at_least_0_arguments_but_got_1_or_more_2557" ItemType="0" PsrId="306" Leaf="true"> |
2971 | 3016 | <Str Cat="Text"> |
2972 | 3017 | <Val><![CDATA[Expected at least {0} arguments, but got {1} or more.]]></Val> |
| 3018 | + <Tgt Cat="Text" Stat="Loc" Orig="New"> |
| 3019 | + <Val><![CDATA[应有至少 {0} 个参数,但获得的数量大于等于 {1}。]]></Val> |
| 3020 | + </Tgt> |
2973 | 3021 | </Str> |
2974 | 3022 | <Disp Icon="Str" /> |
2975 | 3023 | </Item> |
|
4506 | 4554 | <Item ItemId=";Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2_4101" ItemType="0" PsrId="306" Leaf="true"> |
4507 | 4555 | <Str Cat="Text"> |
4508 | 4556 | <Val><![CDATA[Method '{0}' of exported interface has or is using name '{1}' from private module '{2}'.]]></Val> |
| 4557 | + <Tgt Cat="Text" Stat="Loc" Orig="New"> |
| 4558 | + <Val><![CDATA[导出接口的方法“{0}”具有或正在使用私有模块“{2}”中的名称“{1}”。]]></Val> |
| 4559 | + </Tgt> |
4509 | 4560 | </Str> |
4510 | 4561 | <Disp Icon="Str" /> |
4511 | 4562 | </Item> |
4512 | 4563 | <Item ItemId=";Method_0_of_exported_interface_has_or_is_using_private_name_1_4102" ItemType="0" PsrId="306" Leaf="true"> |
4513 | 4564 | <Str Cat="Text"> |
4514 | 4565 | <Val><![CDATA[Method '{0}' of exported interface has or is using private name '{1}'.]]></Val> |
| 4566 | + <Tgt Cat="Text" Stat="Loc" Orig="New"> |
| 4567 | + <Val><![CDATA[导出接口的方法“{0}”具有或正在使用专用名称“{1}”。]]></Val> |
| 4568 | + </Tgt> |
4515 | 4569 | </Str> |
4516 | 4570 | <Disp Icon="Str" /> |
4517 | 4571 | </Item> |
|
5439 | 5493 | </Str> |
5440 | 5494 | <Disp Icon="Str" /> |
5441 | 5495 | </Item> |
| 5496 | + <Item ItemId=";Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor_2564" ItemType="0" PsrId="306" Leaf="true"> |
| 5497 | + <Str Cat="Text"> |
| 5498 | + <Val><![CDATA[Property '{0}' has no initializer and is not definitely assigned in the constructor.]]></Val> |
| 5499 | + <Tgt Cat="Text" Stat="Loc" Orig="New"> |
| 5500 | + <Val><![CDATA[属性“{0}”没有初始化表达式,且未在构造函数中明确赋值。]]></Val> |
| 5501 | + </Tgt> |
| 5502 | + </Str> |
| 5503 | + <Disp Icon="Str" /> |
| 5504 | + </Item> |
5442 | 5505 | <Item ItemId=";Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation_7033" ItemType="0" PsrId="306" Leaf="true"> |
5443 | 5506 | <Str Cat="Text"> |
5444 | 5507 | <Val><![CDATA[Property '{0}' implicitly has type 'any', because its get accessor lacks a return type annotation.]]></Val> |
|
5559 | 5622 | </Str> |
5560 | 5623 | <Disp Icon="Str" /> |
5561 | 5624 | </Item> |
| 5625 | + <Item ItemId=";Property_0_is_used_before_being_assigned_2565" ItemType="0" PsrId="306" Leaf="true"> |
| 5626 | + <Str Cat="Text"> |
| 5627 | + <Val><![CDATA[Property '{0}' is used before being assigned.]]></Val> |
| 5628 | + <Tgt Cat="Text" Stat="Loc" Orig="New"> |
| 5629 | + <Val><![CDATA[在赋值前使用了属性“{0}”。]]></Val> |
| 5630 | + </Tgt> |
| 5631 | + </Str> |
| 5632 | + <Disp Icon="Str" /> |
| 5633 | + </Item> |
5562 | 5634 | <Item ItemId=";Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property_2606" ItemType="0" PsrId="306" Leaf="true"> |
5563 | 5635 | <Str Cat="Text"> |
5564 | 5636 | <Val><![CDATA[Property '{0}' of JSX spread attribute is not assignable to target property.]]></Val> |
|
5661 | 5733 | <Item ItemId=";Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4098" ItemType="0" PsrId="306" Leaf="true"> |
5662 | 5734 | <Str Cat="Text"> |
5663 | 5735 | <Val><![CDATA[Public method '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named.]]></Val> |
| 5736 | + <Tgt Cat="Text" Stat="Loc" Orig="New"> |
| 5737 | + <Val><![CDATA[导出类的公共方法“{0}”具有或正在使用外部模块“{2}”中的名称“{1}”,但不能为其命名。]]></Val> |
| 5738 | + </Tgt> |
5664 | 5739 | </Str> |
5665 | 5740 | <Disp Icon="Str" /> |
5666 | 5741 | </Item> |
5667 | 5742 | <Item ItemId=";Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4099" ItemType="0" PsrId="306" Leaf="true"> |
5668 | 5743 | <Str Cat="Text"> |
5669 | 5744 | <Val><![CDATA[Public method '{0}' of exported class has or is using name '{1}' from private module '{2}'.]]></Val> |
| 5745 | + <Tgt Cat="Text" Stat="Loc" Orig="New"> |
| 5746 | + <Val><![CDATA[导出类的公共方法“{0}”具有或正在使用私有模块“{2}”中的名称“{1}”。]]></Val> |
| 5747 | + </Tgt> |
5670 | 5748 | </Str> |
5671 | 5749 | <Disp Icon="Str" /> |
5672 | 5750 | </Item> |
5673 | 5751 | <Item ItemId=";Public_method_0_of_exported_class_has_or_is_using_private_name_1_4100" ItemType="0" PsrId="306" Leaf="true"> |
5674 | 5752 | <Str Cat="Text"> |
5675 | 5753 | <Val><![CDATA[Public method '{0}' of exported class has or is using private name '{1}'.]]></Val> |
| 5754 | + <Tgt Cat="Text" Stat="Loc" Orig="New"> |
| 5755 | + <Val><![CDATA[导出类的公共方法“{0}”具有或正在使用专用名称“{1}”。]]></Val> |
| 5756 | + </Tgt> |
5676 | 5757 | </Str> |
5677 | 5758 | <Disp Icon="Str" /> |
5678 | 5759 | </Item> |
|
5706 | 5787 | <Item ItemId=";Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_4095" ItemType="0" PsrId="306" Leaf="true"> |
5707 | 5788 | <Str Cat="Text"> |
5708 | 5789 | <Val><![CDATA[Public static method '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named.]]></Val> |
| 5790 | + <Tgt Cat="Text" Stat="Loc" Orig="New"> |
| 5791 | + <Val><![CDATA[导出类的公共静态方法“{0}”具有或正在使用外部模块“{2}”中的名称“{1}”,但不能为其命名。]]></Val> |
| 5792 | + </Tgt> |
5709 | 5793 | </Str> |
5710 | 5794 | <Disp Icon="Str" /> |
5711 | 5795 | </Item> |
5712 | 5796 | <Item ItemId=";Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4096" ItemType="0" PsrId="306" Leaf="true"> |
5713 | 5797 | <Str Cat="Text"> |
5714 | 5798 | <Val><![CDATA[Public static method '{0}' of exported class has or is using name '{1}' from private module '{2}'.]]></Val> |
| 5799 | + <Tgt Cat="Text" Stat="Loc" Orig="New"> |
| 5800 | + <Val><![CDATA[导出类的公共静态方法“{0}”具有或正在使用私有模块“{2}”中的名称“{1}”。]]></Val> |
| 5801 | + </Tgt> |
5715 | 5802 | </Str> |
5716 | 5803 | <Disp Icon="Str" /> |
5717 | 5804 | </Item> |
5718 | 5805 | <Item ItemId=";Public_static_method_0_of_exported_class_has_or_is_using_private_name_1_4097" ItemType="0" PsrId="306" Leaf="true"> |
5719 | 5806 | <Str Cat="Text"> |
5720 | 5807 | <Val><![CDATA[Public static method '{0}' of exported class has or is using private name '{1}'.]]></Val> |
| 5808 | + <Tgt Cat="Text" Stat="Loc" Orig="New"> |
| 5809 | + <Val><![CDATA[导出类的公共静态方法“{0}”具有或正在使用专用名称“{1}”。]]></Val> |
| 5810 | + </Tgt> |
5721 | 5811 | </Str> |
5722 | 5812 | <Disp Icon="Str" /> |
5723 | 5813 | </Item> |
|
6510 | 6600 | <Item ItemId=";Subsequent_property_declarations_must_have_the_same_type_Property_0_has_type_1_at_2_but_here_has_typ_2717" ItemType="0" PsrId="306" Leaf="true"> |
6511 | 6601 | <Str Cat="Text"> |
6512 | 6602 | <Val><![CDATA[Subsequent property declarations must have the same type. Property '{0}' has type '{1}' at {2}, but here has type '{3}'.]]></Val> |
| 6603 | + <Tgt Cat="Text" Stat="Loc" Orig="New"> |
| 6604 | + <Val><![CDATA[后续属性声明必须属于同一类型。属性“{0}”在“{2}”中必须为类型“{1}”,但此处却为类型“{3}”。]]></Val> |
| 6605 | + </Tgt> |
6513 | 6606 | </Str> |
6514 | 6607 | <Disp Icon="Str" /> |
6515 | 6608 | </Item> |
|
6738 | 6831 | <Item ItemId=";The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary_2527" ItemType="0" PsrId="306" Leaf="true"> |
6739 | 6832 | <Str Cat="Text"> |
6740 | 6833 | <Val><![CDATA[The inferred type of '{0}' references an inaccessible '{1}' type. A type annotation is necessary.]]></Val> |
| 6834 | + <Tgt Cat="Text" Stat="Loc" Orig="New"> |
| 6835 | + <Val><![CDATA[“{0}”的推断类型引用不可访问的“{1}”类型。需要类型批注。]]></Val> |
| 6836 | + </Tgt> |
6741 | 6837 | </Str> |
6742 | 6838 | <Disp Icon="Str" /> |
6743 | 6839 | </Item> |
|
8790 | 8886 | <Item ItemId=";unique_symbol_types_are_not_allowed_here_1335" ItemType="0" PsrId="306" Leaf="true"> |
8791 | 8887 | <Str Cat="Text"> |
8792 | 8888 | <Val><![CDATA['unique symbol' types are not allowed here.]]></Val> |
| 8889 | + <Tgt Cat="Text" Stat="Loc" Orig="New"> |
| 8890 | + <Val><![CDATA[此处不允许“唯一符号”类型。]]></Val> |
| 8891 | + </Tgt> |
8793 | 8892 | </Str> |
8794 | 8893 | <Disp Icon="Str" /> |
8795 | 8894 | </Item> |
8796 | 8895 | <Item ItemId=";unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement_1334" ItemType="0" PsrId="306" Leaf="true"> |
8797 | 8896 | <Str Cat="Text"> |
8798 | 8897 | <Val><![CDATA['unique symbol' types are only allowed on variables in a variable statement.]]></Val> |
| 8898 | + <Tgt Cat="Text" Stat="Loc" Orig="New"> |
| 8899 | + <Val><![CDATA[“唯一符号”类型仅可在变量语句中的变量上使用。]]></Val> |
| 8900 | + </Tgt> |
8799 | 8901 | </Str> |
8800 | 8902 | <Disp Icon="Str" /> |
8801 | 8903 | </Item> |
8802 | 8904 | <Item ItemId=";unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name_1333" ItemType="0" PsrId="306" Leaf="true"> |
8803 | 8905 | <Str Cat="Text"> |
8804 | 8906 | <Val><![CDATA['unique symbol' types may not be used on a variable declaration with a binding name.]]></Val> |
| 8907 | + <Tgt Cat="Text" Stat="Loc" Orig="New"> |
| 8908 | + <Val><![CDATA[不可在具有绑定名称的变量声明中使用“唯一符号”类型。]]></Val> |
| 8909 | + </Tgt> |
8805 | 8910 | </Str> |
8806 | 8911 | <Disp Icon="Str" /> |
8807 | 8912 | </Item> |
|
0 commit comments