Skip to content

Commit c787252

Browse files
committed
LEGO: check in for master to temporary branch.
1 parent 6d25c01 commit c787252

File tree

13 files changed

+2034
-0
lines changed

13 files changed

+2034
-0
lines changed

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

Lines changed: 153 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -510,6 +510,15 @@
510510
</Str>
511511
<Disp Icon="Str" />
512512
</Item>
513+
<Item ItemId=";A_new_expression_with_type_arguments_must_always_be_followed_by_a_parenthesized_argument_list_1384" ItemType="0" PsrId="306" Leaf="true">
514+
<Str Cat="Text">
515+
<Val><![CDATA[A 'new' expression with type arguments must always be followed by a parenthesized argument list.]]></Val>
516+
<Tgt Cat="Text" Stat="Loc" Orig="New">
517+
<Val><![CDATA[具有类型参数的 "new" 表达式的后面必须始终是带括号的参数列表。]]></Val>
518+
</Tgt>
519+
</Str>
520+
<Disp Icon="Str" />
521+
</Item>
513522
<Item ItemId=";A_non_dry_build_would_build_project_0_6357" ItemType="0" PsrId="306" Leaf="true">
514523
<Str Cat="Text">
515524
<Val><![CDATA[A non-dry build would build project '{0}']]></Val>
@@ -1005,6 +1014,12 @@
10051014
</Str>
10061015
<Disp Icon="Str" />
10071016
</Item>
1017+
<Item ItemId=";Add_a_return_statement_95111" ItemType="0" PsrId="306" Leaf="true">
1018+
<Str Cat="Text">
1019+
<Val><![CDATA[Add a return statement]]></Val>
1020+
</Str>
1021+
<Disp Icon="Str" />
1022+
</Item>
10081023
<Item ItemId=";Add_all_missing_async_modifiers_95041" ItemType="0" PsrId="306" Leaf="true">
10091024
<Str Cat="Text">
10101025
<Val><![CDATA[Add all missing 'async' modifiers]]></Val>
@@ -1041,6 +1056,12 @@
10411056
</Str>
10421057
<Disp Icon="Str" />
10431058
</Item>
1059+
<Item ItemId=";Add_all_missing_return_statement_95114" ItemType="0" PsrId="306" Leaf="true">
1060+
<Str Cat="Text">
1061+
<Val><![CDATA[Add all missing return statement]]></Val>
1062+
</Str>
1063+
<Disp Icon="Str" />
1064+
</Item>
10441065
<Item ItemId=";Add_all_missing_super_calls_95039" ItemType="0" PsrId="306" Leaf="true">
10451066
<Str Cat="Text">
10461067
<Val><![CDATA[Add all missing super calls]]></Val>
@@ -1821,6 +1842,12 @@
18211842
</Str>
18221843
<Disp Icon="Str" />
18231844
</Item>
1845+
<Item ItemId=";An_index_signature_cannot_have_a_trailing_comma_1025" ItemType="0" PsrId="306" Leaf="true">
1846+
<Str Cat="Text">
1847+
<Val><![CDATA[An index signature cannot have a trailing comma.]]></Val>
1848+
</Str>
1849+
<Disp Icon="Str" />
1850+
</Item>
18241851
<Item ItemId=";An_index_signature_must_have_a_type_annotation_1021" ItemType="0" PsrId="306" Leaf="true">
18251852
<Str Cat="Text">
18261853
<Val><![CDATA[An index signature must have a type annotation.]]></Val>
@@ -2748,6 +2775,15 @@
27482775
</Str>
27492776
<Disp Icon="Str" />
27502777
</Item>
2778+
<Item ItemId=";Cannot_read_file_0_5083" ItemType="0" PsrId="306" Leaf="true">
2779+
<Str Cat="Text">
2780+
<Val><![CDATA[Cannot read file '{0}'.]]></Val>
2781+
<Tgt Cat="Text" Stat="Loc" Orig="New">
2782+
<Val><![CDATA[无法读取文件“{0}”。]]></Val>
2783+
</Tgt>
2784+
</Str>
2785+
<Disp Icon="Str" />
2786+
</Item>
27512787
<Item ItemId=";Cannot_read_file_0_Colon_1_5012" ItemType="0" PsrId="306" Leaf="true">
27522788
<Str Cat="Text">
27532789
<Val><![CDATA[Cannot read file '{0}': {1}.]]></Val>
@@ -5970,6 +6006,24 @@
59706006
</Str>
59716007
<Disp Icon="Str" />
59726008
</Item>
6009+
<Item ItemId=";Its_element_type_0_is_not_a_valid_JSX_element_2789" ItemType="0" PsrId="306" Leaf="true">
6010+
<Str Cat="Text">
6011+
<Val><![CDATA[Its element type '{0}' is not a valid JSX element.]]></Val>
6012+
</Str>
6013+
<Disp Icon="Str" />
6014+
</Item>
6015+
<Item ItemId=";Its_instance_type_0_is_not_a_valid_JSX_element_2788" ItemType="0" PsrId="306" Leaf="true">
6016+
<Str Cat="Text">
6017+
<Val><![CDATA[Its instance type '{0}' is not a valid JSX element.]]></Val>
6018+
</Str>
6019+
<Disp Icon="Str" />
6020+
</Item>
6021+
<Item ItemId=";Its_return_type_0_is_not_a_valid_JSX_element_2787" ItemType="0" PsrId="306" Leaf="true">
6022+
<Str Cat="Text">
6023+
<Val><![CDATA[Its return type '{0}' is not a valid JSX element.]]></Val>
6024+
</Str>
6025+
<Disp Icon="Str" />
6026+
</Item>
59736027
<Item ItemId=";JSDoc_0_1_does_not_match_the_extends_2_clause_8023" ItemType="0" PsrId="306" Leaf="true">
59746028
<Str Cat="Text">
59756029
<Val><![CDATA[JSDoc '@{0} {1}' does not match the 'extends {2}' clause.]]></Val>
@@ -8505,6 +8559,12 @@
85058559
</Str>
85068560
<Disp Icon="Str" />
85078561
</Item>
8562+
<Item ItemId=";Remove_all_incorrect_body_block_braces_95115" ItemType="0" PsrId="306" Leaf="true">
8563+
<Str Cat="Text">
8564+
<Val><![CDATA[Remove all incorrect body block braces]]></Val>
8565+
</Str>
8566+
<Disp Icon="Str" />
8567+
</Item>
85088568
<Item ItemId=";Remove_all_unnecessary_uses_of_await_95087" ItemType="0" PsrId="306" Leaf="true">
85098569
<Str Cat="Text">
85108570
<Val><![CDATA[Remove all unnecessary uses of 'await']]></Val>
@@ -8532,6 +8592,12 @@
85328592
</Str>
85338593
<Disp Icon="Str" />
85348594
</Item>
8595+
<Item ItemId=";Remove_block_body_braces_95112" ItemType="0" PsrId="306" Leaf="true">
8596+
<Str Cat="Text">
8597+
<Val><![CDATA[Remove block body braces]]></Val>
8598+
</Str>
8599+
<Disp Icon="Str" />
8600+
</Item>
85358601
<Item ItemId=";Remove_braces_from_arrow_function_95060" ItemType="0" PsrId="306" Leaf="true">
85368602
<Str Cat="Text">
85378603
<Val><![CDATA[Remove braces from arrow function]]></Val>
@@ -11673,6 +11739,12 @@
1167311739
</Str>
1167411740
<Disp Icon="Str" />
1167511741
</Item>
11742+
<Item ItemId=";Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_json_to_read_more_about_this_file_95110" ItemType="0" PsrId="306" Leaf="true">
11743+
<Str Cat="Text">
11744+
<Val><![CDATA[Visit https://aka.ms/tsconfig.json to read more about this file]]></Val>
11745+
</Str>
11746+
<Disp Icon="Str" />
11747+
</Item>
1167611748
<Item ItemId=";Watch_input_files_6005" ItemType="0" PsrId="306" Leaf="true">
1167711749
<Str Cat="Text">
1167811750
<Val><![CDATA[Watch input files.]]></Val>
@@ -11709,6 +11781,12 @@
1170911781
</Str>
1171011782
<Disp Icon="Str" />
1171111783
</Item>
11784+
<Item ItemId=";Wrap_all_object_literal_with_parentheses_95116" ItemType="0" PsrId="306" Leaf="true">
11785+
<Str Cat="Text">
11786+
<Val><![CDATA[Wrap all object literal with parentheses]]></Val>
11787+
</Str>
11788+
<Disp Icon="Str" />
11789+
</Item>
1171211790
<Item ItemId=";Wrap_invalid_character_in_an_expression_container_95108" ItemType="0" PsrId="306" Leaf="true">
1171311791
<Str Cat="Text">
1171411792
<Val><![CDATA[Wrap invalid character in an expression container]]></Val>
@@ -11718,6 +11796,12 @@
1171811796
</Str>
1171911797
<Disp Icon="Str" />
1172011798
</Item>
11799+
<Item ItemId=";Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal_95113" ItemType="0" PsrId="306" Leaf="true">
11800+
<Str Cat="Text">
11801+
<Val><![CDATA[Wrap the following body with parentheses which should be an object literal]]></Val>
11802+
</Str>
11803+
<Disp Icon="Str" />
11804+
</Item>
1172111805
<Item ItemId=";You_cannot_rename_a_module_via_a_global_import_8031" ItemType="0" PsrId="306" Leaf="true">
1172211806
<Str Cat="Text">
1172311807
<Val><![CDATA[You cannot rename a module via a global import.]]></Val>
@@ -11772,6 +11856,66 @@
1177211856
</Str>
1177311857
<Disp Icon="Str" />
1177411858
</Item>
11859+
<Item ItemId=";_0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import_2596" ItemType="0" PsrId="306" Leaf="true">
11860+
<Str Cat="Text">
11861+
<Val><![CDATA['{0}' can only be imported by turning on the 'esModuleInterop' flag and using a default import.]]></Val>
11862+
<Tgt Cat="Text" Stat="Loc" Orig="New">
11863+
<Val><![CDATA[只能通过启用 "esModuleInterop" 标志并使用默认导入来导入“{0}”。]]></Val>
11864+
</Tgt>
11865+
</Str>
11866+
<Disp Icon="Str" />
11867+
</Item>
11868+
<Item ItemId=";_0_can_only_be_imported_by_using_a_default_import_2595" ItemType="0" PsrId="306" Leaf="true">
11869+
<Str Cat="Text">
11870+
<Val><![CDATA['{0}' can only be imported by using a default import.]]></Val>
11871+
<Tgt Cat="Text" Stat="Loc" Orig="New">
11872+
<Val><![CDATA[仅可使用默认导入来导入“{0}”。]]></Val>
11873+
</Tgt>
11874+
</Str>
11875+
<Disp Icon="Str" />
11876+
</Item>
11877+
<Item ItemId=";_0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using__2598" ItemType="0" PsrId="306" Leaf="true">
11878+
<Str Cat="Text">
11879+
<Val><![CDATA['{0}' can only be imported by using a 'require' call or by turning on the 'esModuleInterop' flag and using a default import.]]></Val>
11880+
<Tgt Cat="Text" Stat="Loc" Orig="New">
11881+
<Val><![CDATA[只能通过使用 "require" 调用或启用 "esModuleInterop" 标志并使用默认导入来导入“{0}”。]]></Val>
11882+
</Tgt>
11883+
</Str>
11884+
<Disp Icon="Str" />
11885+
</Item>
11886+
<Item ItemId=";_0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import_2597" ItemType="0" PsrId="306" Leaf="true">
11887+
<Str Cat="Text">
11888+
<Val><![CDATA['{0}' can only be imported by using a 'require' call or by using a default import.]]></Val>
11889+
<Tgt Cat="Text" Stat="Loc" Orig="New">
11890+
<Val><![CDATA[只能使用 "require" 调用或使用默认导入来导入“{0}”。]]></Val>
11891+
</Tgt>
11892+
</Str>
11893+
<Disp Icon="Str" />
11894+
</Item>
11895+
<Item ItemId=";_0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import_2616" ItemType="0" PsrId="306" Leaf="true">
11896+
<Str Cat="Text">
11897+
<Val><![CDATA['{0}' can only be imported by using 'import {1} = require({2})' or a default import.]]></Val>
11898+
<Tgt Cat="Text" Stat="Loc" Orig="New">
11899+
<Val><![CDATA[仅可使用 "import {1} = require({2})" 或默认导入来导入“{0}”。]]></Val>
11900+
</Tgt>
11901+
</Str>
11902+
<Disp Icon="Str" />
11903+
</Item>
11904+
<Item ItemId=";_0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_us_2617" ItemType="0" PsrId="306" Leaf="true">
11905+
<Str Cat="Text">
11906+
<Val><![CDATA['{0}' can only be imported by using 'import {1} = require({2})' or by turning on the 'esModuleInterop' flag and using a default import.]]></Val>
11907+
<Tgt Cat="Text" Stat="Loc" Orig="New">
11908+
<Val><![CDATA[仅可使用 "import {1} = require({2})" 或通过启用 "esModuleInterop" 标志并使用默认导入来导入“{0}”。]]></Val>
11909+
</Tgt>
11910+
</Str>
11911+
<Disp Icon="Str" />
11912+
</Item>
11913+
<Item ItemId=";_0_cannot_be_used_as_a_JSX_component_2786" ItemType="0" PsrId="306" Leaf="true">
11914+
<Str Cat="Text">
11915+
<Val><![CDATA['{0}' cannot be used as a JSX component.]]></Val>
11916+
</Str>
11917+
<Disp Icon="Str" />
11918+
</Item>
1177511919
<Item ItemId=";_0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type_1362" ItemType="0" PsrId="306" Leaf="true">
1177611920
<Str Cat="Text">
1177711921
<Val><![CDATA['{0}' cannot be used as a value because it was exported using 'export type'.]]></Val>
@@ -12402,6 +12546,15 @@
1240212546
</Str>
1240312547
<Disp Icon="Str" />
1240412548
</Item>
12549+
<Item ItemId=";export_Asterisk_does_not_re_export_a_default_1195" ItemType="0" PsrId="306" Leaf="true">
12550+
<Str Cat="Text">
12551+
<Val><![CDATA['export *' does not re-export a default.]]></Val>
12552+
<Tgt Cat="Text" Stat="Loc" Orig="New">
12553+
<Val><![CDATA["export *" 不会重新导出默认值。]]></Val>
12554+
</Tgt>
12555+
</Str>
12556+
<Disp Icon="Str" />
12557+
</Item>
1240512558
<Item ItemId=";export_can_only_be_used_in_TypeScript_files_8003" ItemType="0" PsrId="306" Leaf="true">
1240612559
<Str Cat="Text">
1240712560
<Val><![CDATA['export =' can only be used in TypeScript files.]]></Val>

0 commit comments

Comments
 (0)