Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitff177f0

Browse files
authored
LEGO: Merge pull request 24027
LEGO: Merge pull request 24027
2 parents9459650 +07be6cf commitff177f0

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

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

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

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp