Skip to content

Commit 8041334

Browse files
authored
LEGO: Merge pull request 40972
LEGO: Merge pull request 40972
2 parents 48ad25d + f0515ee commit 8041334

File tree

2 files changed

+87
-69
lines changed

2 files changed

+87
-69
lines changed

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

Lines changed: 45 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -2696,10 +2696,13 @@
26962696
</Item>
26972697
<Item ItemId=";Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2583" ItemType="0" PsrId="306" Leaf="true">
26982698
<Str Cat="Text">
2699-
<Val><![CDATA[Cannot find name '{0}'. Do you need to change your target library? Try changing the `lib` compiler option to es2015 or later.]]></Val>
2700-
<Tgt Cat="Text" Stat="Loc" Orig="New">
2699+
<Val><![CDATA[Cannot find name '{0}'. Do you need to change your target library? Try changing the `lib` compiler option to '{1}' or later.]]></Val>
2700+
<Tgt Cat="Text" Stat="Update" Orig="New">
27012701
<Val><![CDATA[找不到名称 "{0}"。是否需要更改目标库? 请尝试将 `lib` 编译器选项更改为 es2015 或更高版本。]]></Val>
27022702
</Tgt>
2703+
<Prev Cat="Text">
2704+
<Val><![CDATA[Cannot find name '{0}'. Do you need to change your target library? Try changing the `lib` compiler option to es2015 or later.]]></Val>
2705+
</Prev>
27032706
</Str>
27042707
<Disp Icon="Str" />
27052708
</Item>
@@ -2712,56 +2715,56 @@
27122715
</Str>
27132716
<Disp Icon="Str" />
27142717
</Item>
2715-
<Item ItemId=";Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_types_Slashje_2582" ItemType="0" PsrId="306" Leaf="true">
2718+
<Item ItemId=";Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_type_2582" ItemType="0" PsrId="306" Leaf="true">
27162719
<Str Cat="Text">
2717-
<Val><![CDATA[Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @types/mocha`.]]></Val>
2720+
<Val><![CDATA[Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha`.]]></Val>
27182721
<Tgt Cat="Text" Stat="Loc" Orig="New">
2719-
<Val><![CDATA[找不到名称 "{0}"。是否需要安装测试运行程序的类型定义? 请尝试使用 `npm i @types/jest` 或 `npm i @types/mocha`。]]></Val>
2722+
<Val><![CDATA[找不到名称 "{0}"。是否需要安装测试运行器的类型定义? 请尝试使用 `npm i --save-dev @types/jest` 或 `npm i --save-dev @types/mocha`。]]></Val>
27202723
</Tgt>
27212724
</Str>
27222725
<Disp Icon="Str" />
27232726
</Item>
2724-
<Item ItemId=";Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_types_Slashje_2593" ItemType="0" PsrId="306" Leaf="true">
2727+
<Item ItemId=";Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_type_2593" ItemType="0" PsrId="306" Leaf="true">
27252728
<Str Cat="Text">
2726-
<Val><![CDATA[Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @types/mocha` and then add `jest` or `mocha` to the types field in your tsconfig.]]></Val>
2729+
<Val><![CDATA[Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add `jest` or `mocha` to the types field in your tsconfig.]]></Val>
27272730
<Tgt Cat="Text" Stat="Loc" Orig="New">
2728-
<Val><![CDATA[找不到名称 "{0}"。是否需要安装测试运行程序的类型定义? 请尝试使用 `npm i @types/jest` 或 `npm i @types/mocha`,然后在 tsconfig 的 types 字段中添加 `jest` 或 `mocha`。]]></Val>
2731+
<Val><![CDATA[找不到名称 "{0}"。是否需要安装测试运行器的类型定义? 请尝试使用 `npm i --save-dev @types/jest` 或 `npm i --save-dev @types/mocha`,然后在 tsconfig 的 types 字段中添加 `jest` 或 `mocha`。]]></Val>
27292732
</Tgt>
27302733
</Str>
27312734
<Disp Icon="Str" />
27322735
</Item>
2733-
<Item ItemId=";Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_types_Slashjquery_2581" ItemType="0" PsrId="306" Leaf="true">
2736+
<Item ItemId=";Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slash_2581" ItemType="0" PsrId="306" Leaf="true">
27342737
<Str Cat="Text">
2735-
<Val><![CDATA[Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i @types/jquery`.]]></Val>
2738+
<Val><![CDATA[Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery`.]]></Val>
27362739
<Tgt Cat="Text" Stat="Loc" Orig="New">
2737-
<Val><![CDATA[找不到名称 "{0}"。是否需要安装 jQuery 的类型定义? 请尝试 `npm i @types/jquery`。]]></Val>
2740+
<Val><![CDATA[找不到名称 "{0}"。是否需要安装 jQuery 的类型定义? 请尝试使用 `npm i --save-dev @types/jquery`。]]></Val>
27382741
</Tgt>
27392742
</Str>
27402743
<Disp Icon="Str" />
27412744
</Item>
2742-
<Item ItemId=";Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_types_Slashjquery_an_2592" ItemType="0" PsrId="306" Leaf="true">
2745+
<Item ItemId=";Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slash_2592" ItemType="0" PsrId="306" Leaf="true">
27432746
<Str Cat="Text">
2744-
<Val><![CDATA[Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i @types/jquery` and then add `jquery` to the types field in your tsconfig.]]></Val>
2747+
<Val><![CDATA[Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery` and then add `jquery` to the types field in your tsconfig.]]></Val>
27452748
<Tgt Cat="Text" Stat="Loc" Orig="New">
2746-
<Val><![CDATA[找不到名称 "{0}"。是否需要安装 jQuery 的类型定义? 请尝试使用 `npm i @types/jquery`,然后在 tsconfig 中将 `jquery` 添加到 types 字段。]]></Val>
2749+
<Val><![CDATA[找不到名称 "{0}"。是否需要安装 jQuery 的类型定义? 请尝试使用 `npm i --save-dev @types/jquery`,然后在 tsconfig 中将 `jquery` 添加到 types 字段。]]></Val>
27472750
</Tgt>
27482751
</Str>
27492752
<Disp Icon="Str" />
27502753
</Item>
2751-
<Item ItemId=";Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_types_Slashnode_2580" ItemType="0" PsrId="306" Leaf="true">
2754+
<Item ItemId=";Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashno_2580" ItemType="0" PsrId="306" Leaf="true">
27522755
<Str Cat="Text">
2753-
<Val><![CDATA[Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i @types/node`.]]></Val>
2756+
<Val><![CDATA[Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.]]></Val>
27542757
<Tgt Cat="Text" Stat="Loc" Orig="New">
2755-
<Val><![CDATA[找不到名称 "{0}"。是否需要为节点安装类型定义? 请尝试使用 `npm i @types/node`。]]></Val>
2758+
<Val><![CDATA[找不到名称 "{0}"。是否需要为节点安装类型定义? 请尝试使用 `npm i --save-dev @types/node`。]]></Val>
27562759
</Tgt>
27572760
</Str>
27582761
<Disp Icon="Str" />
27592762
</Item>
2760-
<Item ItemId=";Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_types_Slashnode_and_th_2591" ItemType="0" PsrId="306" Leaf="true">
2763+
<Item ItemId=";Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashno_2591" ItemType="0" PsrId="306" Leaf="true">
27612764
<Str Cat="Text">
2762-
<Val><![CDATA[Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig.]]></Val>
2765+
<Val><![CDATA[Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add `node` to the types field in your tsconfig.]]></Val>
27632766
<Tgt Cat="Text" Stat="Loc" Orig="New">
2764-
<Val><![CDATA[找不到名称 "{0}"。是否需要为节点安装类型定义? 请尝试使用 `npm i @types/node`,然后在 tsconfig 中将 "node" 添加到 types 字段。]]></Val>
2767+
<Val><![CDATA[找不到名称 "{0}"。是否需要为节点安装类型定义? 请尝试使用 `npm i --save-dev @types/node`,然后在 tsconfig 中将 `node` 添加到 types 字段。]]></Val>
27652768
</Tgt>
27662769
</Str>
27672770
<Disp Icon="Str" />
@@ -4912,7 +4915,7 @@
49124915
<Str Cat="Text">
49134916
<Val><![CDATA[Expected {0} arguments, but got {1}. Did you forget to include 'void' in your type argument to 'Promise'?]]></Val>
49144917
<Tgt Cat="Text" Stat="Loc" Orig="New">
4915-
<Val><![CDATA[应为 {0} 参数,但得到的却是 {1}。你是否忘了将类型参数中的 "void" 包含到“承诺”?]]></Val>
4918+
<Val><![CDATA[应为 {0} 个参数,但得到的却是 {1}。你是否忘了将类型参数中的 "void" 包含到 "Promise"?]]></Val>
49164919
</Tgt>
49174920
</Str>
49184921
<Disp Icon="Str" />
@@ -6414,6 +6417,12 @@
64146417
</Str>
64156418
<Disp Icon="Str" />
64166419
</Item>
6420+
<Item ItemId=";It_is_likely_that_you_are_missing_a_comma_to_separate_these_two_template_expressions_They_form_a_tag_2796" ItemType="0" PsrId="306" Leaf="true">
6421+
<Str Cat="Text">
6422+
<Val><![CDATA[It is likely that you are missing a comma to separate these two template expressions. They form a tagged template expression which cannot be invoked.]]></Val>
6423+
</Str>
6424+
<Disp Icon="Str" />
6425+
</Item>
64176426
<Item ItemId=";Its_element_type_0_is_not_a_valid_JSX_element_2789" ItemType="0" PsrId="306" Leaf="true">
64186427
<Str Cat="Text">
64196428
<Val><![CDATA[Its element type '{0}' is not a valid JSX element.]]></Val>
@@ -8499,6 +8508,12 @@
84998508
</Str>
85008509
<Disp Icon="Str" />
85018510
</Item>
8511+
<Item ItemId=";Property_0_does_not_exist_on_type_1_Do_you_need_to_change_your_target_library_Try_changing_the_lib_c_2550" ItemType="0" PsrId="306" Leaf="true">
8512+
<Str Cat="Text">
8513+
<Val><![CDATA[Property '{0}' does not exist on type '{1}'. Do you need to change your target library? Try changing the `lib` compiler option to '{2}' or later.]]></Val>
8514+
</Str>
8515+
<Disp Icon="Str" />
8516+
</Item>
85028517
<Item ItemId=";Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor_2564" ItemType="0" PsrId="306" Leaf="true">
85038518
<Str Cat="Text">
85048519
<Val><![CDATA[Property '{0}' has no initializer and is not definitely assigned in the constructor.]]></Val>
@@ -11283,11 +11298,11 @@
1128311298
</Str>
1128411299
<Disp Icon="Str" />
1128511300
</Item>
11286-
<Item ItemId=";Try_npm_install_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_mod_7035" ItemType="0" PsrId="306" Leaf="true">
11301+
<Item ItemId=";Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare__7035" ItemType="0" PsrId="306" Leaf="true">
1128711302
<Str Cat="Text">
11288-
<Val><![CDATA[Try `npm install @types/{1}` if it exists or add a new declaration (.d.ts) file containing `declare module '{0}';`]]></Val>
11303+
<Val><![CDATA[Try `npm i --save-dev @types/{1}` if it exists or add a new declaration (.d.ts) file containing `declare module '{0}';`]]></Val>
1128911304
<Tgt Cat="Text" Stat="Loc" Orig="New">
11290-
<Val><![CDATA[尝试 `npm install @types/{1}` (如果存在),或者添加一个包含 `declare module '{0}';` 的新声明(.d.ts)文件]]></Val>
11305+
<Val><![CDATA[尝试使用 `npm i --save-dev @types/{1}` (如果存在),或者添加一个包含 `declare module '{0}';` 的新声明(.d.ts)文件]]></Val>
1129111306
</Tgt>
1129211307
</Str>
1129311308
<Disp Icon="Str" />
@@ -12870,15 +12885,6 @@
1287012885
</Str>
1287112886
<Disp Icon="Str" />
1287212887
</Item>
12873-
<Item ItemId=";_0_modifier_cannot_appear_on_a_class_element_1031" ItemType="0" PsrId="306" Leaf="true">
12874-
<Str Cat="Text">
12875-
<Val><![CDATA['{0}' modifier cannot appear on a class element.]]></Val>
12876-
<Tgt Cat="Text" Stat="Loc" Orig="New">
12877-
<Val><![CDATA[“{0}”修饰符不能出现在类元素上。]]></Val>
12878-
</Tgt>
12879-
</Str>
12880-
<Disp Icon="Str" />
12881-
</Item>
1288212888
<Item ItemId=";_0_modifier_cannot_appear_on_a_constructor_declaration_1089" ItemType="0" PsrId="306" Leaf="true">
1288312889
<Str Cat="Text">
1288412890
<Val><![CDATA['{0}' modifier cannot appear on a constructor declaration.]]></Val>
@@ -12933,6 +12939,12 @@
1293312939
</Str>
1293412940
<Disp Icon="Str" />
1293512941
</Item>
12942+
<Item ItemId=";_0_modifier_cannot_appear_on_class_elements_of_this_kind_1031" ItemType="0" PsrId="306" Leaf="true">
12943+
<Str Cat="Text">
12944+
<Val><![CDATA['{0}' modifier cannot appear on class elements of this kind.]]></Val>
12945+
</Str>
12946+
<Disp Icon="Str" />
12947+
</Item>
1293612948
<Item ItemId=";_0_modifier_cannot_be_used_here_1042" ItemType="0" PsrId="306" Leaf="true">
1293712949
<Str Cat="Text">
1293812950
<Val><![CDATA['{0}' modifier cannot be used here.]]></Val>

0 commit comments

Comments
 (0)