Skip to content

Commit 29922d0

Browse files
authored
LEGO: Merge pull request 40956
LEGO: Merge pull request 40956
2 parents 5766160 + 7589970 commit 29922d0

File tree

5 files changed

+166
-139
lines changed

5 files changed

+166
-139
lines changed

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

Lines changed: 38 additions & 47 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,57 +2715,39 @@
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>
2718-
<Tgt Cat="Text" Stat="Loc" Orig="New">
2719-
<Val><![CDATA[找不到名稱 '{0}'。需要安裝測試執行器的類型定義嗎? 請嘗試 `npm i @types/jest` 或 `npm i @types/mocha`。]]></Val>
2720-
</Tgt>
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>
27212721
</Str>
27222722
<Disp Icon="Str" />
27232723
</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">
2724+
<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">
27252725
<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>
2727-
<Tgt Cat="Text" Stat="Loc" Orig="New">
2728-
<Val><![CDATA[找不到名稱 '{0}'。需要安裝測試執行器的類型定義嗎? 請嘗試 `npm i @types/jest` 或 `npm i @types/mocha`,然後將 `jest` 或 `mocha` 新增至 tsconfig 中的類型欄位。]]></Val>
2729-
</Tgt>
2726+
<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>
27302727
</Str>
27312728
<Disp Icon="Str" />
27322729
</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">
2730+
<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">
27342731
<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>
2736-
<Tgt Cat="Text" Stat="Loc" Orig="New">
2737-
<Val><![CDATA[找不到名稱 '{0}'。需要安裝 jQuery 的類型定義嗎? 請嘗試 `npm i @types/jquery`。]]></Val>
2738-
</Tgt>
2732+
<Val><![CDATA[Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery`.]]></Val>
27392733
</Str>
27402734
<Disp Icon="Str" />
27412735
</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">
2736+
<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">
27432737
<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>
2745-
<Tgt Cat="Text" Stat="Loc" Orig="New">
2746-
<Val><![CDATA[找不到名稱 '{0}'。您需要安裝 jQuery 的類型定義嗎? 請嘗試 `npm i @types/jquery`,然後將 `jquery` 新增至 tsconfig 中的類型欄位。]]></Val>
2747-
</Tgt>
2738+
<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>
27482739
</Str>
27492740
<Disp Icon="Str" />
27502741
</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">
2742+
<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">
27522743
<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>
2754-
<Tgt Cat="Text" Stat="Loc" Orig="New">
2755-
<Val><![CDATA[找不到名稱 '{0}'。需要安裝節點的類型定義嗎? 請嘗試 `npm i @types/node`。]]></Val>
2756-
</Tgt>
2744+
<Val><![CDATA[Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.]]></Val>
27572745
</Str>
27582746
<Disp Icon="Str" />
27592747
</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">
2748+
<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">
27612749
<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>
2763-
<Tgt Cat="Text" Stat="Loc" Orig="New">
2764-
<Val><![CDATA[找不到名稱 '{0}'。需要安裝節點的類型定義嗎? 請嘗試 `npm i @types/node`,然後將 `node` 新增至 tsconfig 中的類型欄位。]]></Val>
2765-
</Tgt>
2750+
<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>
27662751
</Str>
27672752
<Disp Icon="Str" />
27682753
</Item>
@@ -4912,7 +4897,7 @@
49124897
<Str Cat="Text">
49134898
<Val><![CDATA[Expected {0} arguments, but got {1}. Did you forget to include 'void' in your type argument to 'Promise'?]]></Val>
49144899
<Tgt Cat="Text" Stat="Loc" Orig="New">
4915-
<Val><![CDATA[需要 {0} 引數,但取得 {1}。您是否忘記將型別引數中的 'void' 包含到 'Promise'?]]></Val>
4900+
<Val><![CDATA[應為 {0} 個引數,但現有 {1} 個。是否忘記將型別引數中的 'void' 納入 'Promise'?]]></Val>
49164901
</Tgt>
49174902
</Str>
49184903
<Disp Icon="Str" />
@@ -6414,6 +6399,12 @@
64146399
</Str>
64156400
<Disp Icon="Str" />
64166401
</Item>
6402+
<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">
6403+
<Str Cat="Text">
6404+
<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>
6405+
</Str>
6406+
<Disp Icon="Str" />
6407+
</Item>
64176408
<Item ItemId=";Its_element_type_0_is_not_a_valid_JSX_element_2789" ItemType="0" PsrId="306" Leaf="true">
64186409
<Str Cat="Text">
64196410
<Val><![CDATA[Its element type '{0}' is not a valid JSX element.]]></Val>
@@ -8499,6 +8490,12 @@
84998490
</Str>
85008491
<Disp Icon="Str" />
85018492
</Item>
8493+
<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">
8494+
<Str Cat="Text">
8495+
<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>
8496+
</Str>
8497+
<Disp Icon="Str" />
8498+
</Item>
85028499
<Item ItemId=";Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor_2564" ItemType="0" PsrId="306" Leaf="true">
85038500
<Str Cat="Text">
85048501
<Val><![CDATA[Property '{0}' has no initializer and is not definitely assigned in the constructor.]]></Val>
@@ -11283,12 +11280,9 @@
1128311280
</Str>
1128411281
<Disp Icon="Str" />
1128511282
</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">
11283+
<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">
1128711284
<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>
11289-
<Tgt Cat="Text" Stat="Loc" Orig="New">
11290-
<Val><![CDATA[如有 `npm install @types/{1}`,請嘗試使用,或新增包含 `declare module '{0}';` 的宣告 (.d.ts) 檔案]]></Val>
11291-
</Tgt>
11285+
<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>
1129211286
</Str>
1129311287
<Disp Icon="Str" />
1129411288
</Item>
@@ -12870,15 +12864,6 @@
1287012864
</Str>
1287112865
<Disp Icon="Str" />
1287212866
</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>
1288212867
<Item ItemId=";_0_modifier_cannot_appear_on_a_constructor_declaration_1089" ItemType="0" PsrId="306" Leaf="true">
1288312868
<Str Cat="Text">
1288412869
<Val><![CDATA['{0}' modifier cannot appear on a constructor declaration.]]></Val>
@@ -12933,6 +12918,12 @@
1293312918
</Str>
1293412919
<Disp Icon="Str" />
1293512920
</Item>
12921+
<Item ItemId=";_0_modifier_cannot_appear_on_class_elements_of_this_kind_1031" ItemType="0" PsrId="306" Leaf="true">
12922+
<Str Cat="Text">
12923+
<Val><![CDATA['{0}' modifier cannot appear on class elements of this kind.]]></Val>
12924+
</Str>
12925+
<Disp Icon="Str" />
12926+
</Item>
1293612927
<Item ItemId=";_0_modifier_cannot_be_used_here_1042" ItemType="0" PsrId="306" Leaf="true">
1293712928
<Str Cat="Text">
1293812929
<Val><![CDATA['{0}' modifier cannot be used here.]]></Val>

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

Lines changed: 32 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2705,10 +2705,13 @@
27052705
</Item>
27062706
<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">
27072707
<Str Cat="Text">
2708-
<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>
2708+
<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>
27092709
<Tgt Cat="Text" Stat="Loc" Orig="New">
2710-
<Val><![CDATA[Nepovedlo se najít název {0}. Potřebujete změnit cílovou knihovnu? Zkuste změnit možnost kompilátoru lib na es2015 nebo novější.]]></Val>
2710+
<Val><![CDATA[Nepovedlo se najít název {0}. Potřebujete změnit cílovou knihovnu? Zkuste změnit možnost kompilátoru lib na {1} nebo novější.]]></Val>
27112711
</Tgt>
2712+
<Prev Cat="Text">
2713+
<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>
2714+
</Prev>
27122715
</Str>
27132716
<Disp Icon="Str" />
27142717
</Item>
@@ -6423,6 +6426,15 @@
64236426
</Str>
64246427
<Disp Icon="Str" />
64256428
</Item>
6429+
<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">
6430+
<Str Cat="Text">
6431+
<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>
6432+
<Tgt Cat="Text" Stat="Loc" Orig="New">
6433+
<Val><![CDATA[Pravděpodobně chybí čárka, která by oddělila tyto dva výrazy šablony. Tvoří výraz šablony se značkami, který se nedá vyvolat.]]></Val>
6434+
</Tgt>
6435+
</Str>
6436+
<Disp Icon="Str" />
6437+
</Item>
64266438
<Item ItemId=";Its_element_type_0_is_not_a_valid_JSX_element_2789" ItemType="0" PsrId="306" Leaf="true">
64276439
<Str Cat="Text">
64286440
<Val><![CDATA[Its element type '{0}' is not a valid JSX element.]]></Val>
@@ -8508,6 +8520,15 @@
85088520
</Str>
85098521
<Disp Icon="Str" />
85108522
</Item>
8523+
<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">
8524+
<Str Cat="Text">
8525+
<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>
8526+
<Tgt Cat="Text" Stat="Loc" Orig="New">
8527+
<Val><![CDATA[Vlastnost {0} neexistuje u typu {1}. Potřebujete změnit cílovou knihovnu? Zkuste změnit možnost kompilátoru lib na {2} nebo novější.]]></Val>
8528+
</Tgt>
8529+
</Str>
8530+
<Disp Icon="Str" />
8531+
</Item>
85118532
<Item ItemId=";Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor_2564" ItemType="0" PsrId="306" Leaf="true">
85128533
<Str Cat="Text">
85138534
<Val><![CDATA[Property '{0}' has no initializer and is not definitely assigned in the constructor.]]></Val>
@@ -12879,15 +12900,6 @@
1287912900
</Str>
1288012901
<Disp Icon="Str" />
1288112902
</Item>
12882-
<Item ItemId=";_0_modifier_cannot_appear_on_a_class_element_1031" ItemType="0" PsrId="306" Leaf="true">
12883-
<Str Cat="Text">
12884-
<Val><![CDATA['{0}' modifier cannot appear on a class element.]]></Val>
12885-
<Tgt Cat="Text" Stat="Loc" Orig="New">
12886-
<Val><![CDATA[Modifikátor {0} se nemůže objevit v elementu třídy.]]></Val>
12887-
</Tgt>
12888-
</Str>
12889-
<Disp Icon="Str" />
12890-
</Item>
1289112903
<Item ItemId=";_0_modifier_cannot_appear_on_a_constructor_declaration_1089" ItemType="0" PsrId="306" Leaf="true">
1289212904
<Str Cat="Text">
1289312905
<Val><![CDATA['{0}' modifier cannot appear on a constructor declaration.]]></Val>
@@ -12942,6 +12954,15 @@
1294212954
</Str>
1294312955
<Disp Icon="Str" />
1294412956
</Item>
12957+
<Item ItemId=";_0_modifier_cannot_appear_on_class_elements_of_this_kind_1031" ItemType="0" PsrId="306" Leaf="true">
12958+
<Str Cat="Text">
12959+
<Val><![CDATA['{0}' modifier cannot appear on class elements of this kind.]]></Val>
12960+
<Tgt Cat="Text" Stat="Loc" Orig="New">
12961+
<Val><![CDATA[Modifikátor {0} se nemůže objevit u elementů třídy tohoto typu.]]></Val>
12962+
</Tgt>
12963+
</Str>
12964+
<Disp Icon="Str" />
12965+
</Item>
1294512966
<Item ItemId=";_0_modifier_cannot_be_used_here_1042" ItemType="0" PsrId="306" Leaf="true">
1294612967
<Str Cat="Text">
1294712968
<Val><![CDATA['{0}' modifier cannot be used here.]]></Val>

0 commit comments

Comments
 (0)