Skip to content

Commit 28469fb

Browse files
authored
LEGO: Merge pull request 40965
LEGO: Merge pull request 40965
2 parents 5c55fc0 + b2b6486 commit 28469fb

File tree

5 files changed

+206
-128
lines changed

5 files changed

+206
-128
lines changed

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

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2718,36 +2718,54 @@
27182718
<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">
27192719
<Str Cat="Text">
27202720
<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>
2721+
<Tgt Cat="Text" Stat="Loc" Orig="New">
2722+
<Val><![CDATA[找不到名稱 '{0}'。需要安裝測試執行器的型別定義嗎? 請嘗試 `npm i --save-dev @types/jest` 或 `npm i --save-dev @types/mocha`。]]></Val>
2723+
</Tgt>
27212724
</Str>
27222725
<Disp Icon="Str" />
27232726
</Item>
27242727
<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">
27262729
<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>
2730+
<Tgt Cat="Text" Stat="Loc" Orig="New">
2731+
<Val><![CDATA[找不到名稱 '{0}'。需要安裝測試執行器的型別定義嗎? 請嘗試 `npm i --save-dev @types/jest` 或 `npm i --save-dev @types/mocha`,然後將 `jest` 或 `mocha` 新增至 tsconfig 中的型別欄位。]]></Val>
2732+
</Tgt>
27272733
</Str>
27282734
<Disp Icon="Str" />
27292735
</Item>
27302736
<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">
27312737
<Str Cat="Text">
27322738
<Val><![CDATA[Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery`.]]></Val>
2739+
<Tgt Cat="Text" Stat="Loc" Orig="New">
2740+
<Val><![CDATA[找不到名稱 '{0}'。需要安裝 jQuery 的型別定義嗎? 請嘗試 `npm i --save-dev @types/jquery`。]]></Val>
2741+
</Tgt>
27332742
</Str>
27342743
<Disp Icon="Str" />
27352744
</Item>
27362745
<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">
27372746
<Str Cat="Text">
27382747
<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>
2748+
<Tgt Cat="Text" Stat="Loc" Orig="New">
2749+
<Val><![CDATA[找不到名稱 '{0}'。需要安裝 jQuery 的型別定義嗎? 請嘗試 `npm i --save-dev @types/jquery`,然後將 `jquery` 新增至 tsconfig 中的型別欄位。]]></Val>
2750+
</Tgt>
27392751
</Str>
27402752
<Disp Icon="Str" />
27412753
</Item>
27422754
<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">
27432755
<Str Cat="Text">
27442756
<Val><![CDATA[Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.]]></Val>
2757+
<Tgt Cat="Text" Stat="Loc" Orig="New">
2758+
<Val><![CDATA[找不到名稱 '{0}'。需要安裝節點的型別定義嗎? 請嘗試 `npm i --save-dev @types/node`。]]></Val>
2759+
</Tgt>
27452760
</Str>
27462761
<Disp Icon="Str" />
27472762
</Item>
27482763
<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">
27492764
<Str Cat="Text">
27502765
<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>
2766+
<Tgt Cat="Text" Stat="Loc" Orig="New">
2767+
<Val><![CDATA[找不到名稱 '{0}'。需要安裝節點的型別定義嗎? 請嘗試 `npm i --save-dev @types/node`,然後將 `node` 新增至 tsconfig 中的型別欄位。]]></Val>
2768+
</Tgt>
27512769
</Str>
27522770
<Disp Icon="Str" />
27532771
</Item>
@@ -11283,6 +11301,9 @@
1128311301
<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">
1128411302
<Str Cat="Text">
1128511303
<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>
11304+
<Tgt Cat="Text" Stat="Loc" Orig="New">
11305+
<Val><![CDATA[如有 `npm i --save-dev @types/{1}`,請嘗試使用,或新增包含 `declare module '{0}';` 的宣告 (.d.ts) 檔案]]></Val>
11306+
</Tgt>
1128611307
</Str>
1128711308
<Disp Icon="Str" />
1128811309
</Item>

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

Lines changed: 44 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -2693,10 +2693,13 @@
26932693
</Item>
26942694
<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">
26952695
<Str Cat="Text">
2696-
<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>
2697-
<Tgt Cat="Text" Stat="Loc" Orig="New">
2696+
<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>
2697+
<Tgt Cat="Text" Stat="Update" Orig="New">
26982698
<Val><![CDATA[Der Name "{0}" wurde nicht gefunden. Müssen Sie Ihre Zielbibliothek ändern? Ändern Sie die Compileroption "lib" in "es2015" oder höher.]]></Val>
26992699
</Tgt>
2700+
<Prev Cat="Text">
2701+
<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>
2702+
</Prev>
27002703
</Str>
27012704
<Disp Icon="Str" />
27022705
</Item>
@@ -2709,56 +2712,56 @@
27092712
</Str>
27102713
<Disp Icon="Str" />
27112714
</Item>
2712-
<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">
2715+
<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">
27132716
<Str Cat="Text">
2714-
<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>
2717+
<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>
27152718
<Tgt Cat="Text" Stat="Loc" Orig="New">
2716-
<Val><![CDATA[Der Name "{0}" wurde nicht gefunden. Müssen Sie Typdefinitionen für einen Test Runner installieren? Versuchen Sie es mit "npm i @types/jest" oder "npm i @types/mocha".]]></Val>
2719+
<Val><![CDATA[Der Name "{0}" wurde nicht gefunden. Müssen Sie Typdefinitionen für einen Test Runner installieren? Versuchen Sie es mit "npm i --save-dev @types/jest" oder "npm i --save-dev @types/mocha".]]></Val>
27172720
</Tgt>
27182721
</Str>
27192722
<Disp Icon="Str" />
27202723
</Item>
2721-
<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">
27222725
<Str Cat="Text">
2723-
<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>
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>
27242727
<Tgt Cat="Text" Stat="Loc" Orig="New">
2725-
<Val><![CDATA[Der Name "{0}" wurde nicht gefunden. Müssen Sie Typdefinitionen für einen Test Runner installieren? Versuchen Sie es mit "npm i @types/jest" oder "npm i @types/mocha", und fügen Sie dann "jest" oder "mocha" zum Typenfeld in Ihrer tsconfig-Datei hinzu.]]></Val>
2728+
<Val><![CDATA[Der Name "{0}" wurde nicht gefunden. Müssen Sie Typdefinitionen für einen Test Runner installieren? Versuchen Sie es mit "npm i --save-dev @types/jest" oder "npm i --save-dev @types/mocha", und fügen Sie dann dem Typenfeld in Ihrer tsconfig-Datei "jest" oder "mocha" hinzu.]]></Val>
27262729
</Tgt>
27272730
</Str>
27282731
<Disp Icon="Str" />
27292732
</Item>
2730-
<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">
2733+
<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">
27312734
<Str Cat="Text">
2732-
<Val><![CDATA[Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i @types/jquery`.]]></Val>
2735+
<Val><![CDATA[Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery`.]]></Val>
27332736
<Tgt Cat="Text" Stat="Loc" Orig="New">
2734-
<Val><![CDATA[Der Name "{0}" wurde nicht gefunden. Müssen Sie Typdefinitionen für jQuery installieren? Versuchen Sie es mit "npm i @types/jquery".]]></Val>
2737+
<Val><![CDATA[Der Name "{0}" wurde nicht gefunden. Müssen Sie Typdefinitionen für jQuery installieren? Versuchen Sie es mit "npm i --save-dev @types/jquery".]]></Val>
27352738
</Tgt>
27362739
</Str>
27372740
<Disp Icon="Str" />
27382741
</Item>
2739-
<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">
2742+
<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">
27402743
<Str Cat="Text">
2741-
<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>
2744+
<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>
27422745
<Tgt Cat="Text" Stat="Loc" Orig="New">
2743-
<Val><![CDATA[Der Name "{0}" wurde nicht gefunden. Müssen Sie Typdefinitionen für jQuery installieren? Versuchen Sie es mit "npm i @types/jquery", und fügen Sie dann "jquery" zum Typenfeld in Ihrer tsconfig-Datei hinzu.]]></Val>
2746+
<Val><![CDATA[Der Name "{0}" wurde nicht gefunden. Müssen Sie Typdefinitionen für jQuery installieren? Versuchen Sie es mit "npm i --save-dev @types/jquery", und fügen Sie dann dem Typenfeld in Ihrer tsconfig-Datei "jquery" hinzu.]]></Val>
27442747
</Tgt>
27452748
</Str>
27462749
<Disp Icon="Str" />
27472750
</Item>
2748-
<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">
2751+
<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">
27492752
<Str Cat="Text">
2750-
<Val><![CDATA[Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i @types/node`.]]></Val>
2753+
<Val><![CDATA[Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.]]></Val>
27512754
<Tgt Cat="Text" Stat="Loc" Orig="New">
2752-
<Val><![CDATA[Der Name "{0}" wurde nicht gefunden. Müssen Sie Typdefinitionen für Node installieren? Versuchen Sie es mit "npm i @types/node".]]></Val>
2755+
<Val><![CDATA[Der Name "{0}" wurde nicht gefunden. Müssen Sie Typdefinitionen für Node installieren? Versuchen Sie es mit "npm i --save-dev @types/node".]]></Val>
27532756
</Tgt>
27542757
</Str>
27552758
<Disp Icon="Str" />
27562759
</Item>
2757-
<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">
2760+
<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">
27582761
<Str Cat="Text">
2759-
<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>
2762+
<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>
27602763
<Tgt Cat="Text" Stat="Loc" Orig="New">
2761-
<Val><![CDATA[Der Name "{0}" wurde nicht gefunden. Müssen Sie Typdefinitionen für Node installieren? Versuchen Sie es mit "npm i @types/node", und fügen Sie dann "node" zum Typenfeld in Ihrer tsconfig-Datei hinzu.]]></Val>
2764+
<Val><![CDATA[Der Name "{0}" wurde nicht gefunden. Müssen Sie Typdefinitionen für Node installieren? Versuchen Sie es mit "npm i --save-dev @types/node", und fügen Sie dann dem Typenfeld in Ihrer tsconfig-Datei "node" hinzu.]]></Val>
27622765
</Tgt>
27632766
</Str>
27642767
<Disp Icon="Str" />
@@ -6411,6 +6414,12 @@
64116414
</Str>
64126415
<Disp Icon="Str" />
64136416
</Item>
6417+
<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">
6418+
<Str Cat="Text">
6419+
<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>
6420+
</Str>
6421+
<Disp Icon="Str" />
6422+
</Item>
64146423
<Item ItemId=";Its_element_type_0_is_not_a_valid_JSX_element_2789" ItemType="0" PsrId="306" Leaf="true">
64156424
<Str Cat="Text">
64166425
<Val><![CDATA[Its element type '{0}' is not a valid JSX element.]]></Val>
@@ -8493,6 +8502,12 @@
84938502
</Str>
84948503
<Disp Icon="Str" />
84958504
</Item>
8505+
<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">
8506+
<Str Cat="Text">
8507+
<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>
8508+
</Str>
8509+
<Disp Icon="Str" />
8510+
</Item>
84968511
<Item ItemId=";Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor_2564" ItemType="0" PsrId="306" Leaf="true">
84978512
<Str Cat="Text">
84988513
<Val><![CDATA[Property '{0}' has no initializer and is not definitely assigned in the constructor.]]></Val>
@@ -11277,11 +11292,11 @@
1127711292
</Str>
1127811293
<Disp Icon="Str" />
1127911294
</Item>
11280-
<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">
11295+
<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">
1128111296
<Str Cat="Text">
11282-
<Val><![CDATA[Try `npm install @types/{1}` if it exists or add a new declaration (.d.ts) file containing `declare module '{0}';`]]></Val>
11297+
<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>
1128311298
<Tgt Cat="Text" Stat="Loc" Orig="New">
11284-
<Val><![CDATA[Versuchen Sie es mit "npm install @types/{1}", sofern vorhanden, oder fügen Sie eine neue Deklarationsdatei (.d.ts) hinzu, die "declare module '{0}';" enthält.]]></Val>
11299+
<Val><![CDATA[Versuchen Sie es mit "npm i --save-dev @types/{1}", sofern vorhanden, oder fügen Sie eine neue Deklarationsdatei (.d.ts) hinzu, die "declare module '{0}';" enthält.]]></Val>
1128511300
</Tgt>
1128611301
</Str>
1128711302
<Disp Icon="Str" />
@@ -12864,15 +12879,6 @@
1286412879
</Str>
1286512880
<Disp Icon="Str" />
1286612881
</Item>
12867-
<Item ItemId=";_0_modifier_cannot_appear_on_a_class_element_1031" ItemType="0" PsrId="306" Leaf="true">
12868-
<Str Cat="Text">
12869-
<Val><![CDATA['{0}' modifier cannot appear on a class element.]]></Val>
12870-
<Tgt Cat="Text" Stat="Loc" Orig="New">
12871-
<Val><![CDATA[Der Modifizierer "{0}" darf nicht für ein Klassenelement verwendet werden.]]></Val>
12872-
</Tgt>
12873-
</Str>
12874-
<Disp Icon="Str" />
12875-
</Item>
1287612882
<Item ItemId=";_0_modifier_cannot_appear_on_a_constructor_declaration_1089" ItemType="0" PsrId="306" Leaf="true">
1287712883
<Str Cat="Text">
1287812884
<Val><![CDATA['{0}' modifier cannot appear on a constructor declaration.]]></Val>
@@ -12927,6 +12933,12 @@
1292712933
</Str>
1292812934
<Disp Icon="Str" />
1292912935
</Item>
12936+
<Item ItemId=";_0_modifier_cannot_appear_on_class_elements_of_this_kind_1031" ItemType="0" PsrId="306" Leaf="true">
12937+
<Str Cat="Text">
12938+
<Val><![CDATA['{0}' modifier cannot appear on class elements of this kind.]]></Val>
12939+
</Str>
12940+
<Disp Icon="Str" />
12941+
</Item>
1293012942
<Item ItemId=";_0_modifier_cannot_be_used_here_1042" ItemType="0" PsrId="306" Leaf="true">
1293112943
<Str Cat="Text">
1293212944
<Val><![CDATA['{0}' modifier cannot be used here.]]></Val>

0 commit comments

Comments
 (0)