Skip to content

Commit ff177f0

Browse files
authored
LEGO: Merge pull request 24027
LEGO: Merge pull request 24027
2 parents 9459650 + 07be6cf commit ff177f0

File tree

3 files changed

+268
-16
lines changed

3 files changed

+268
-16
lines changed

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

+122-8
Original file line numberDiff line numberDiff line change
@@ -1107,6 +1107,15 @@
11071107
</Str>
11081108
<Disp Icon="Str" />
11091109
</Item>
1110+
<Item ItemId=";All_destructured_elements_are_unused_6198" ItemType="0" PsrId="306" Leaf="true">
1111+
<Str Cat="Text">
1112+
<Val><![CDATA[All destructured elements are unused.]]></Val>
1113+
<Tgt Cat="Text" Stat="Loc" Orig="New">
1114+
<Val><![CDATA[未取消使用任何解构元素。]]></Val>
1115+
</Tgt>
1116+
</Str>
1117+
<Disp Icon="Str" />
1118+
</Item>
11101119
<Item ItemId=";All_imports_in_import_declaration_are_unused_6192" ItemType="0" PsrId="306" Leaf="true">
11111120
<Str Cat="Text">
11121121
<Val><![CDATA[All imports in import declaration are unused.]]></Val>
@@ -2043,6 +2052,15 @@
20432052
</Str>
20442053
<Disp Icon="Str" />
20452054
</Item>
2055+
<Item ItemId=";Cannot_prepend_project_0_because_it_does_not_have_outFile_set_6308" ItemType="0" PsrId="306" Leaf="true">
2056+
<Str Cat="Text">
2057+
<Val><![CDATA[Cannot prepend project '{0}' because it does not have 'outFile' set]]></Val>
2058+
<Tgt Cat="Text" Stat="Loc" Orig="New">
2059+
<Val><![CDATA[无法为项目“{0}”添加前缀,因为它未设置 "outFile"]]></Val>
2060+
</Tgt>
2061+
</Str>
2062+
<Disp Icon="Str" />
2063+
</Item>
20462064
<Item ItemId=";Cannot_re_export_a_type_when_the_isolatedModules_flag_is_provided_1205" ItemType="0" PsrId="306" Leaf="true">
20472065
<Str Cat="Text">
20482066
<Val><![CDATA[Cannot re-export a type when the '--isolatedModules' flag is provided.]]></Val>
@@ -2421,6 +2439,15 @@
24212439
</Str>
24222440
<Disp Icon="Str" />
24232441
</Item>
2442+
<Item ItemId=";Composite_projects_may_not_disable_declaration_emit_6304" ItemType="0" PsrId="306" Leaf="true">
2443+
<Str Cat="Text">
2444+
<Val><![CDATA[Composite projects may not disable declaration emit.]]></Val>
2445+
<Tgt Cat="Text" Stat="Loc" Orig="New">
2446+
<Val><![CDATA[复合项目可能不会禁用声明发出。]]></Val>
2447+
</Tgt>
2448+
</Str>
2449+
<Disp Icon="Str" />
2450+
</Item>
24242451
<Item ItemId=";Computed_property_names_are_not_allowed_in_enums_1164" ItemType="0" PsrId="306" Leaf="true">
24252452
<Str Cat="Text">
24262453
<Val><![CDATA[Computed property names are not allowed in enums.]]></Val>
@@ -3054,21 +3081,18 @@
30543081
</Str>
30553082
<Disp Icon="Str" />
30563083
</Item>
3057-
<Item ItemId=";Dynamic_import_cannot_be_used_when_targeting_ECMAScript_2015_modules_1323" ItemType="0" PsrId="306" Leaf="true">
3084+
<Item ItemId=";Dynamic_import_cannot_have_type_arguments_1326" ItemType="0" PsrId="306" Leaf="true">
30583085
<Str Cat="Text">
3059-
<Val><![CDATA[Dynamic import cannot be used when targeting ECMAScript 2015 modules.]]></Val>
3086+
<Val><![CDATA[Dynamic import cannot have type arguments]]></Val>
30603087
<Tgt Cat="Text" Stat="Loc" Orig="New">
3061-
<Val><![CDATA[面向 ECMAScript 2015 模块时,不能使用动态导入。]]></Val>
3088+
<Val><![CDATA[动态导入不能含有类型参数]]></Val>
30623089
</Tgt>
30633090
</Str>
30643091
<Disp Icon="Str" />
30653092
</Item>
3066-
<Item ItemId=";Dynamic_import_cannot_have_type_arguments_1326" ItemType="0" PsrId="306" Leaf="true">
3093+
<Item ItemId=";Dynamic_import_is_only_supported_when_module_flag_is_commonjs_or_esNext_1323" ItemType="0" PsrId="306" Leaf="true">
30673094
<Str Cat="Text">
3068-
<Val><![CDATA[Dynamic import cannot have type arguments]]></Val>
3069-
<Tgt Cat="Text" Stat="Loc" Orig="New">
3070-
<Val><![CDATA[动态导入不能含有类型参数]]></Val>
3071-
</Tgt>
3095+
<Val><![CDATA[Dynamic import is only supported when '--module' flag is 'commonjs' or 'esNext'.]]></Val>
30723096
</Str>
30733097
<Disp Icon="Str" />
30743098
</Item>
@@ -3144,6 +3168,15 @@
31443168
</Str>
31453169
<Disp Icon="Str" />
31463170
</Item>
3171+
<Item ItemId=";Enable_project_compilation_6302" ItemType="0" PsrId="306" Leaf="true">
3172+
<Str Cat="Text">
3173+
<Val><![CDATA[Enable project compilation]]></Val>
3174+
<Tgt Cat="Text" Stat="Loc" Orig="New">
3175+
<Val><![CDATA[启用项目编译]]></Val>
3176+
</Tgt>
3177+
</Str>
3178+
<Disp Icon="Str" />
3179+
</Item>
31473180
<Item ItemId=";Enable_strict_checking_of_function_types_6186" ItemType="0" PsrId="306" Leaf="true">
31483181
<Str Cat="Text">
31493182
<Val><![CDATA[Enable strict checking of function types.]]></Val>
@@ -3699,6 +3732,15 @@
36993732
</Str>
37003733
<Disp Icon="Str" />
37013734
</Item>
3735+
<Item ItemId=";File_0_is_not_in_project_file_list_Projects_must_list_all_files_or_use_an_include_pattern_6307" ItemType="0" PsrId="306" Leaf="true">
3736+
<Str Cat="Text">
3737+
<Val><![CDATA[File '{0}' is not in project file list. Projects must list all files or use an 'include' pattern.]]></Val>
3738+
<Tgt Cat="Text" Stat="Loc" Orig="New">
3739+
<Val><![CDATA[文件“{0}”不在项目文件列表中。项目必须列出的所有文件,或使用“包含”模式。]]></Val>
3740+
</Tgt>
3741+
</Str>
3742+
<Disp Icon="Str" />
3743+
</Item>
37023744
<Item ItemId=";File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files_6059" ItemType="0" PsrId="306" Leaf="true">
37033745
<Str Cat="Text">
37043746
<Val><![CDATA[File '{0}' is not under 'rootDir' '{1}'. 'rootDir' is expected to contain all source files.]]></Val>
@@ -4302,6 +4344,15 @@
43024344
</Str>
43034345
<Disp Icon="Str" />
43044346
</Item>
4347+
<Item ItemId=";Include_modules_imported_with_json_extension_6197" ItemType="0" PsrId="306" Leaf="true">
4348+
<Str Cat="Text">
4349+
<Val><![CDATA[Include modules imported with '.json' extension]]></Val>
4350+
<Tgt Cat="Text" Stat="Loc" Orig="New">
4351+
<Val><![CDATA[包括通过 ".json" 扩展导入的模块]]></Val>
4352+
</Tgt>
4353+
</Str>
4354+
<Disp Icon="Str" />
4355+
</Item>
43054356
<Item ItemId=";Index_signature_in_type_0_only_permits_reading_2542" ItemType="0" PsrId="306" Leaf="true">
43064357
<Str Cat="Text">
43074358
<Val><![CDATA[Index signature in type '{0}' only permits reading.]]></Val>
@@ -5598,6 +5649,15 @@
55985649
</Str>
55995650
<Disp Icon="Str" />
56005651
</Item>
5652+
<Item ItemId=";Option_resolveJsonModule_cannot_be_specified_without_node_module_resolution_strategy_5070" ItemType="0" PsrId="306" Leaf="true">
5653+
<Str Cat="Text">
5654+
<Val><![CDATA[Option '--resolveJsonModule' cannot be specified without 'node' module resolution strategy.]]></Val>
5655+
<Tgt Cat="Text" Stat="Loc" Orig="New">
5656+
<Val><![CDATA[没有 "node" 模块解析策略的情况下,无法指定选项 "-resolveJsonModule"。]]></Val>
5657+
</Tgt>
5658+
</Str>
5659+
<Disp Icon="Str" />
5660+
</Item>
56015661
<Item ItemId=";Options_Colon_6027" ItemType="0" PsrId="306" Leaf="true">
56025662
<Str Cat="Text">
56035663
<Val><![CDATA[Options:]]></Val>
@@ -5616,6 +5676,24 @@
56165676
</Str>
56175677
<Disp Icon="Str" />
56185678
</Item>
5679+
<Item ItemId=";Output_file_0_from_project_1_does_not_exist_6309" ItemType="0" PsrId="306" Leaf="true">
5680+
<Str Cat="Text">
5681+
<Val><![CDATA[Output file '{0}' from project '{1}' does not exist]]></Val>
5682+
<Tgt Cat="Text" Stat="Loc" Orig="New">
5683+
<Val><![CDATA[来自项目“{1}”的输出文件“{0}”不存在]]></Val>
5684+
</Tgt>
5685+
</Str>
5686+
<Disp Icon="Str" />
5687+
</Item>
5688+
<Item ItemId=";Output_file_0_has_not_been_built_from_source_file_1_6305" ItemType="0" PsrId="306" Leaf="true">
5689+
<Str Cat="Text">
5690+
<Val><![CDATA[Output file '{0}' has not been built from source file '{1}'.]]></Val>
5691+
<Tgt Cat="Text" Stat="Loc" Orig="New">
5692+
<Val><![CDATA[未从源文件“{1}”生成输出文件“{0}”。]]></Val>
5693+
</Tgt>
5694+
</Str>
5695+
<Disp Icon="Str" />
5696+
</Item>
56195697
<Item ItemId=";Overload_signature_is_not_compatible_with_function_implementation_2394" ItemType="0" PsrId="306" Leaf="true">
56205698
<Str Cat="Text">
56215699
<Val><![CDATA[Overload signature is not compatible with function implementation.]]></Val>
@@ -6012,6 +6090,24 @@
60126090
</Str>
60136091
<Disp Icon="Str" />
60146092
</Item>
6093+
<Item ItemId=";Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0_6202" ItemType="0" PsrId="306" Leaf="true">
6094+
<Str Cat="Text">
6095+
<Val><![CDATA[Project references may not form a circular graph. Cycle detected: {0}]]></Val>
6096+
<Tgt Cat="Text" Stat="Loc" Orig="New">
6097+
<Val><![CDATA[项目引用不能形成环形图。检测到循环: {0}]]></Val>
6098+
</Tgt>
6099+
</Str>
6100+
<Disp Icon="Str" />
6101+
</Item>
6102+
<Item ItemId=";Projects_to_reference_6300" ItemType="0" PsrId="306" Leaf="true">
6103+
<Str Cat="Text">
6104+
<Val><![CDATA[Projects to reference]]></Val>
6105+
<Tgt Cat="Text" Stat="Loc" Orig="New">
6106+
<Val><![CDATA[要引用的项目]]></Val>
6107+
</Tgt>
6108+
</Str>
6109+
<Disp Icon="Str" />
6110+
</Item>
60156111
<Item ItemId=";Property_0_does_not_exist_on_const_enum_1_2479" ItemType="0" PsrId="306" Leaf="true">
60166112
<Str Cat="Text">
60176113
<Val><![CDATA[Property '{0}' does not exist on 'const' enum '{1}'.]]></Val>
@@ -6438,6 +6534,15 @@
64386534
</Str>
64396535
<Disp Icon="Str" />
64406536
</Item>
6537+
<Item ItemId=";Referenced_project_0_must_have_setting_composite_Colon_true_6306" ItemType="0" PsrId="306" Leaf="true">
6538+
<Str Cat="Text">
6539+
<Val><![CDATA[Referenced project '{0}' must have setting "composite": true.]]></Val>
6540+
<Tgt Cat="Text" Stat="Loc" Orig="New">
6541+
<Val><![CDATA[引用的项目“{0}”必须拥有设置 "composite": true。]]></Val>
6542+
</Tgt>
6543+
</Str>
6544+
<Disp Icon="Str" />
6545+
</Item>
64416546
<Item ItemId=";Remove_declaration_for_Colon_0_90004" ItemType="0" PsrId="306" Leaf="true">
64426547
<Str Cat="Text">
64436548
<Val><![CDATA[Remove declaration for: '{0}']]></Val>
@@ -6450,6 +6555,15 @@
64506555
</Str>
64516556
<Disp Icon="Str" />
64526557
</Item>
6558+
<Item ItemId=";Remove_destructuring_90009" ItemType="0" PsrId="306" Leaf="true">
6559+
<Str Cat="Text">
6560+
<Val><![CDATA[Remove destructuring]]></Val>
6561+
<Tgt Cat="Text" Stat="Loc" Orig="New">
6562+
<Val><![CDATA[删除解构]]></Val>
6563+
</Tgt>
6564+
</Str>
6565+
<Disp Icon="Str" />
6566+
</Item>
64536567
<Item ItemId=";Remove_import_from_0_90005" ItemType="0" PsrId="306" Leaf="true">
64546568
<Str Cat="Text">
64556569
<Val><![CDATA[Remove import from '{0}']]></Val>

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

+36
Original file line numberDiff line numberDiff line change
@@ -1110,6 +1110,9 @@
11101110
<Item ItemId=";All_destructured_elements_are_unused_6198" ItemType="0" PsrId="306" Leaf="true">
11111111
<Str Cat="Text">
11121112
<Val><![CDATA[All destructured elements are unused.]]></Val>
1113+
<Tgt Cat="Text" Stat="Loc" Orig="New">
1114+
<Val><![CDATA[不會使用所有未經結構化的項目。]]></Val>
1115+
</Tgt>
11131116
</Str>
11141117
<Disp Icon="Str" />
11151118
</Item>
@@ -2052,6 +2055,9 @@
20522055
<Item ItemId=";Cannot_prepend_project_0_because_it_does_not_have_outFile_set_6308" ItemType="0" PsrId="306" Leaf="true">
20532056
<Str Cat="Text">
20542057
<Val><![CDATA[Cannot prepend project '{0}' because it does not have 'outFile' set]]></Val>
2058+
<Tgt Cat="Text" Stat="Loc" Orig="New">
2059+
<Val><![CDATA[因為專案 '{0}' 未設定 'outFile',所以無法於其前面加上任何內容]]></Val>
2060+
</Tgt>
20552061
</Str>
20562062
<Disp Icon="Str" />
20572063
</Item>
@@ -2436,6 +2442,9 @@
24362442
<Item ItemId=";Composite_projects_may_not_disable_declaration_emit_6304" ItemType="0" PsrId="306" Leaf="true">
24372443
<Str Cat="Text">
24382444
<Val><![CDATA[Composite projects may not disable declaration emit.]]></Val>
2445+
<Tgt Cat="Text" Stat="Loc" Orig="New">
2446+
<Val><![CDATA[複合式專案可能未停用宣告發出。]]></Val>
2447+
</Tgt>
24392448
</Str>
24402449
<Disp Icon="Str" />
24412450
</Item>
@@ -3726,6 +3735,9 @@
37263735
<Item ItemId=";File_0_is_not_in_project_file_list_Projects_must_list_all_files_or_use_an_include_pattern_6307" ItemType="0" PsrId="306" Leaf="true">
37273736
<Str Cat="Text">
37283737
<Val><![CDATA[File '{0}' is not in project file list. Projects must list all files or use an 'include' pattern.]]></Val>
3738+
<Tgt Cat="Text" Stat="Loc" Orig="New">
3739+
<Val><![CDATA[檔案 '{0}' 不在專案檔案清單內。專案必須列出所有檔案,或使用 'include' 模式。]]></Val>
3740+
</Tgt>
37293741
</Str>
37303742
<Disp Icon="Str" />
37313743
</Item>
@@ -4335,6 +4347,9 @@
43354347
<Item ItemId=";Include_modules_imported_with_json_extension_6197" ItemType="0" PsrId="306" Leaf="true">
43364348
<Str Cat="Text">
43374349
<Val><![CDATA[Include modules imported with '.json' extension]]></Val>
4350+
<Tgt Cat="Text" Stat="Loc" Orig="New">
4351+
<Val><![CDATA[包含匯入有 '.json' 延伸模組的模組]]></Val>
4352+
</Tgt>
43384353
</Str>
43394354
<Disp Icon="Str" />
43404355
</Item>
@@ -5637,6 +5652,9 @@
56375652
<Item ItemId=";Option_resolveJsonModule_cannot_be_specified_without_node_module_resolution_strategy_5070" ItemType="0" PsrId="306" Leaf="true">
56385653
<Str Cat="Text">
56395654
<Val><![CDATA[Option '--resolveJsonModule' cannot be specified without 'node' module resolution strategy.]]></Val>
5655+
<Tgt Cat="Text" Stat="Loc" Orig="New">
5656+
<Val><![CDATA[指定選項 '-resolveJsonModule' 時,不可沒有 'node' 模組解析策略。]]></Val>
5657+
</Tgt>
56405658
</Str>
56415659
<Disp Icon="Str" />
56425660
</Item>
@@ -5661,12 +5679,18 @@
56615679
<Item ItemId=";Output_file_0_from_project_1_does_not_exist_6309" ItemType="0" PsrId="306" Leaf="true">
56625680
<Str Cat="Text">
56635681
<Val><![CDATA[Output file '{0}' from project '{1}' does not exist]]></Val>
5682+
<Tgt Cat="Text" Stat="Loc" Orig="New">
5683+
<Val><![CDATA[沒有來自專案 '{1}' 的輸出檔 '{0}']]></Val>
5684+
</Tgt>
56645685
</Str>
56655686
<Disp Icon="Str" />
56665687
</Item>
56675688
<Item ItemId=";Output_file_0_has_not_been_built_from_source_file_1_6305" ItemType="0" PsrId="306" Leaf="true">
56685689
<Str Cat="Text">
56695690
<Val><![CDATA[Output file '{0}' has not been built from source file '{1}'.]]></Val>
5691+
<Tgt Cat="Text" Stat="Loc" Orig="New">
5692+
<Val><![CDATA[輸出檔 '{0}' 並非從原始程式檔 '{1}' 建置。]]></Val>
5693+
</Tgt>
56705694
</Str>
56715695
<Disp Icon="Str" />
56725696
</Item>
@@ -6069,12 +6093,18 @@
60696093
<Item ItemId=";Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0_6202" ItemType="0" PsrId="306" Leaf="true">
60706094
<Str Cat="Text">
60716095
<Val><![CDATA[Project references may not form a circular graph. Cycle detected: {0}]]></Val>
6096+
<Tgt Cat="Text" Stat="Loc" Orig="New">
6097+
<Val><![CDATA[專案參考不會形成循環圖。但偵測到循環: {0}]]></Val>
6098+
</Tgt>
60726099
</Str>
60736100
<Disp Icon="Str" />
60746101
</Item>
60756102
<Item ItemId=";Projects_to_reference_6300" ItemType="0" PsrId="306" Leaf="true">
60766103
<Str Cat="Text">
60776104
<Val><![CDATA[Projects to reference]]></Val>
6105+
<Tgt Cat="Text" Stat="Loc" Orig="New">
6106+
<Val><![CDATA[專案至參考]]></Val>
6107+
</Tgt>
60786108
</Str>
60796109
<Disp Icon="Str" />
60806110
</Item>
@@ -6507,6 +6537,9 @@
65076537
<Item ItemId=";Referenced_project_0_must_have_setting_composite_Colon_true_6306" ItemType="0" PsrId="306" Leaf="true">
65086538
<Str Cat="Text">
65096539
<Val><![CDATA[Referenced project '{0}' must have setting "composite": true.]]></Val>
6540+
<Tgt Cat="Text" Stat="Loc" Orig="New">
6541+
<Val><![CDATA[參考的專案 '{0}' 之設定 "composite" 必須為 true。]]></Val>
6542+
</Tgt>
65106543
</Str>
65116544
<Disp Icon="Str" />
65126545
</Item>
@@ -6525,6 +6558,9 @@
65256558
<Item ItemId=";Remove_destructuring_90009" ItemType="0" PsrId="306" Leaf="true">
65266559
<Str Cat="Text">
65276560
<Val><![CDATA[Remove destructuring]]></Val>
6561+
<Tgt Cat="Text" Stat="Loc" Orig="New">
6562+
<Val><![CDATA[移除解構]]></Val>
6563+
</Tgt>
65286564
</Str>
65296565
<Disp Icon="Str" />
65306566
</Item>

0 commit comments

Comments
 (0)