4710
4710
</Str>
4711
4711
<Disp Icon="Str" />
4712
4712
</Item>
4713
+ <Item ItemId=";Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve_6270" ItemType="0" PsrId="306" Leaf="true">
4714
+ <Str Cat="Text">
4715
+ <Val><![CDATA[Directory '{0}' has no containing package.json scope. Imports will not resolve.]]></Val>
4716
+ <Tgt Cat="Text" Stat="Loc" Orig="New">
4717
+ <Val><![CDATA[目錄 '{0}' 不包含在 package.js 範圍內。將不會解析匯入。]]></Val>
4718
+ </Tgt>
4719
+ </Str>
4720
+ <Disp Icon="Str" />
4721
+ </Item>
4713
4722
<Item ItemId=";Disable_adding_use_strict_directives_in_emitted_JavaScript_files_6669" ItemType="0" PsrId="306" Leaf="true">
4714
4723
<Str Cat="Text">
4715
4724
<Val><![CDATA[Disable adding 'use strict' directives in emitted JavaScript files.]]></Val>
5198
5207
</Item>
5199
5208
<Item ItemId=";Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_esnext_commonjs_amd_system__1323" ItemType="0" PsrId="306" Leaf="true">
5200
5209
<Str Cat="Text">
5201
- <Val><![CDATA[Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'esnext', 'commonjs', 'amd', 'system', or 'umd '.]]></Val>
5210
+ <Val><![CDATA[Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node12', or 'nodenext '.]]></Val>
5202
5211
<Tgt Cat="Text" Stat="Loc" Orig="New">
5203
- <Val><![CDATA[只有在 '--module' 旗標設定為 'es2020'、'esnext'、'commonjs'、'amd'、'system' 或 'umd' 時 ,才支援動態匯入。]]></Val>
5212
+ <Val><![CDATA[只有在 '--module' 旗標設定為 'es2020'、'esnext'、'commonjs'、'amd'、'system'、'umd'、'node12' 或 'nodenext' ,才支援動態匯入。]]></Val>
5204
5213
</Tgt>
5214
+ <Prev Cat="Text">
5215
+ <Val><![CDATA[Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'esnext', 'commonjs', 'amd', 'system', or 'umd'.]]></Val>
5216
+ </Prev>
5205
5217
</Str>
5206
5218
<Disp Icon="Str" />
5207
5219
</Item>
5916
5928
</Str>
5917
5929
<Disp Icon="Str" />
5918
5930
</Item>
5931
+ <Item ItemId=";Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1_6276" ItemType="0" PsrId="306" Leaf="true">
5932
+ <Str Cat="Text">
5933
+ <Val><![CDATA[Export specifier '{0}' does not exist in package.json scope at path '{1}'.]]></Val>
5934
+ <Tgt Cat="Text" Stat="Loc" Orig="New">
5935
+ <Val><![CDATA[在路徑 '{0}' 的 package.js 範圍中不存在匯出指定名稱 '{1}'。]]></Val>
5936
+ </Tgt>
5937
+ </Str>
5938
+ <Disp Icon="Str" />
5939
+ </Item>
5919
5940
<Item ItemId=";Exported_type_alias_0_has_or_is_using_private_name_1_4081" ItemType="0" PsrId="306" Leaf="true">
5920
5941
<Str Cat="Text">
5921
5942
<Val><![CDATA[Exported type alias '{0}' has or is using private name '{1}'.]]></Val>
7137
7158
</Str>
7138
7159
<Disp Icon="Str" />
7139
7160
</Item>
7161
+ <Item ItemId=";Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1_6271" ItemType="0" PsrId="306" Leaf="true">
7162
+ <Str Cat="Text">
7163
+ <Val><![CDATA[Import specifier '{0}' does not exist in package.json scope at path '{1}'.]]></Val>
7164
+ <Tgt Cat="Text" Stat="Loc" Orig="New">
7165
+ <Val><![CDATA[在路徑 '{0}' 的 package.js 範圍中不存在匯入指定名稱 '{1}'。]]></Val>
7166
+ </Tgt>
7167
+ </Str>
7168
+ <Disp Icon="Str" />
7169
+ </Item>
7140
7170
<Item ItemId=";Imported_via_0_from_file_1_1393" ItemType="0" PsrId="306" Leaf="true">
7141
7171
<Str Cat="Text">
7142
7172
<Val><![CDATA[Imported via {0} from file '{1}']]></Val>
7521
7551
</Str>
7522
7552
<Disp Icon="Str" />
7523
7553
</Item>
7554
+ <Item ItemId=";Invalid_import_specifier_0_has_no_possible_resolutions_6272" ItemType="0" PsrId="306" Leaf="true">
7555
+ <Str Cat="Text">
7556
+ <Val><![CDATA[Invalid import specifier '{0}' has no possible resolutions.]]></Val>
7557
+ <Tgt Cat="Text" Stat="Loc" Orig="New">
7558
+ <Val><![CDATA[無效的匯入指定名稱 '{0}' 沒有可能的解決方法。]]></Val>
7559
+ </Tgt>
7560
+ </Str>
7561
+ <Disp Icon="Str" />
7562
+ </Item>
7524
7563
<Item ItemId=";Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augm_2665" ItemType="0" PsrId="306" Leaf="true">
7525
7564
<Str Cat="Text">
7526
7565
<Val><![CDATA[Invalid module name in augmentation. Module '{0}' resolves to an untyped module at '{1}', which cannot be augmented.]]></Val>
8172
8211
</Str>
8173
8212
<Disp Icon="Str" />
8174
8213
</Item>
8214
+ <Item ItemId=";Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_c_1471" ItemType="0" PsrId="306" Leaf="true">
8215
+ <Str Cat="Text">
8216
+ <Val><![CDATA[Module '{0}' cannot be imported using this construct. The specifier only resolves to an ES module, which cannot be imported synchronously. Use dynamic import instead.]]></Val>
8217
+ <Tgt Cat="Text" Stat="Loc" Orig="New">
8218
+ <Val><![CDATA[無法使用此構造匯入模組 '{0}'。指定名稱只能解析成無法同步匯入的 ES 模組。請改為使用動態匯入。]]></Val>
8219
+ </Tgt>
8220
+ </Str>
8221
+ <Disp Icon="Str" />
8222
+ </Item>
8175
8223
<Item ItemId=";Module_0_declares_1_locally_but_it_is_exported_as_2_2460" ItemType="0" PsrId="306" Leaf="true">
8176
8224
<Str Cat="Text">
8177
8225
<Val><![CDATA[Module '{0}' declares '{1}' locally, but it is exported as '{2}'.]]></Val>
@@ -12477,11 +12525,20 @@
12477
12525
</Str>
12478
12526
<Disp Icon="Str" />
12479
12527
</Item>
12480
- <Item ItemId=";The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_esnext_or_system_1343" ItemType="0" PsrId="306" Leaf="true">
12528
+ <Item ItemId=";The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output_1470" ItemType="0" PsrId="306" Leaf="true">
12529
+ <Str Cat="Text">
12530
+ <Val><![CDATA[The 'import.meta' meta-property is not allowed in files which will build into CommonJS output.]]></Val>
12531
+ <Tgt Cat="Text" Stat="Loc" Orig="New">
12532
+ <Val><![CDATA[將會組建至 CommonJS 輸出的檔案中不允許 'import.meta' 中繼屬性。]]></Val>
12533
+ </Tgt>
12534
+ </Str>
12535
+ <Disp Icon="Str" />
12536
+ </Item>
12537
+ <Item ItemId=";The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_esnext_system_node12__1343" ItemType="0" PsrId="306" Leaf="true">
12481
12538
<Str Cat="Text">
12482
- <Val><![CDATA[The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'esnext', or 'system '.]]></Val>
12539
+ <Val><![CDATA[The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'esnext', 'system', 'node12', or 'nodenext '.]]></Val>
12483
12540
<Tgt Cat="Text" Stat="Loc" Orig="New">
12484
- <Val><![CDATA[只有當 '--module' 選項為 'es2020'、'esnext' 或 'system ' 時,才允許 'import.meta' 中繼屬性。]]></Val>
12541
+ <Val><![CDATA[只有當 '--module' 選項為 'es2020'、'esnext'、'system'、, 'node12' 或 'nodenext ' 時,才允許 'import.meta' 中繼屬性。]]></Val>
12485
12542
</Tgt>
12486
12543
</Str>
12487
12544
<Disp Icon="Str" />
13317
13374
</Str>
13318
13375
<Disp Icon="Str" />
13319
13376
</Item>
13377
+ <Item ItemId=";This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_cons_7060" ItemType="0" PsrId="306" Leaf="true">
13378
+ <Str Cat="Text">
13379
+ <Val><![CDATA[This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma or explicit constraint.]]></Val>
13380
+ <Tgt Cat="Text" Stat="Loc" Orig="New">
13381
+ <Val><![CDATA[此語法是保留在具有 mts 或 cts 副檔名的檔案中。新增尾端逗號或明確條件約束。]]></Val>
13382
+ </Tgt>
13383
+ </Str>
13384
+ <Disp Icon="Str" />
13385
+ </Item>
13386
+ <Item ItemId=";This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead_7059" ItemType="0" PsrId="306" Leaf="true">
13387
+ <Str Cat="Text">
13388
+ <Val><![CDATA[This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.]]></Val>
13389
+ <Tgt Cat="Text" Stat="Loc" Orig="New">
13390
+ <Val><![CDATA[此語法會保留在具有 mts 或 cts 副檔名的檔案中。請改用 `as` 運算式。]]></Val>
13391
+ </Tgt>
13392
+ </Str>
13393
+ <Disp Icon="Str" />
13394
+ </Item>
13320
13395
<Item ItemId=";This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found_2354" ItemType="0" PsrId="306" Leaf="true">
13321
13396
<Str Cat="Text">
13322
13397
<Val><![CDATA[This syntax requires an imported helper but module '{0}' cannot be found.]]></Val>
@@ -13344,11 +13419,11 @@
13344
13419
</Str>
13345
13420
<Disp Icon="Str" />
13346
13421
</Item>
13347
- <Item ItemId=";Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_esnext_or_system_and_t_1378 " ItemType="0" PsrId="306" Leaf="true">
13422
+ <Item ItemId=";Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_esnext_system_or_noden_1378 " ItemType="0" PsrId="306" Leaf="true">
13348
13423
<Str Cat="Text">
13349
- <Val><![CDATA[Top-level 'await' expressions are only allowed when the 'module' option is set to 'esnext' or 'system ', and the 'target' option is set to 'es2017' or higher.]]></Val>
13424
+ <Val><![CDATA[Top-level 'await' expressions are only allowed when the 'module' option is set to 'esnext', 'system', or 'nodenext ', and the 'target' option is set to 'es2017' or higher.]]></Val>
13350
13425
<Tgt Cat="Text" Stat="Loc" Orig="New">
13351
- <Val><![CDATA[只有在 'module' 選項設定為 'esnext' 或 'system ',而且 'target' 選項設定為 'es2017' 或更高版本時,才允許最上層的 'await' 運算式。]]></Val>
13426
+ <Val><![CDATA[只有在 'module' 選項設定為 'esnext'、'system' 或 'nodenext ',而且 'target' 選項設定為 'es2017' 或更高版本時,才允許最上層的 'await' 運算式。]]></Val>
13352
13427
</Tgt>
13353
13428
</Str>
13354
13429
<Disp Icon="Str" />
@@ -13362,11 +13437,11 @@
13362
13437
</Str>
13363
13438
<Disp Icon="Str" />
13364
13439
</Item>
13365
- <Item ItemId=";Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_esnext_or_system_and_the_1432 " ItemType="0" PsrId="306" Leaf="true">
13440
+ <Item ItemId=";Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_esnext_system_or_nodenex_1432 " ItemType="0" PsrId="306" Leaf="true">
13366
13441
<Str Cat="Text">
13367
- <Val><![CDATA[Top-level 'for await' loops are only allowed when the 'module' option is set to 'esnext' or 'system ', and the 'target' option is set to 'es2017' or higher.]]></Val>
13442
+ <Val><![CDATA[Top-level 'for await' loops are only allowed when the 'module' option is set to 'esnext', 'system', or 'nodenext ', and the 'target' option is set to 'es2017' or higher.]]></Val>
13368
13443
<Tgt Cat="Text" Stat="Loc" Orig="New">
13369
- <Val><![CDATA[只有在 'module' 選項設為 'esnext' 或 'system ',而且 'target' 選項設為 'es2017' 或更高版本時,才允許最上層的 'for await' 迴圈。]]></Val>
13444
+ <Val><![CDATA[只有在 'module' 選項設為 'esnext'、'system' 或 'nodenext ',而且 'target' 選項設為 'es2017' 或更高版本時,才允許最上層的 'for await' 迴圈。]]></Val>
13370
13445
</Tgt>
13371
13446
</Str>
13372
13447
<Disp Icon="Str" />
15975
16050
</Str>
15976
16051
<Disp Icon="Str" />
15977
16052
</Item>
16053
+ <Item ItemId=";package_json_scope_0_explicitly_maps_specifier_1_to_null_6274" ItemType="0" PsrId="306" Leaf="true">
16054
+ <Str Cat="Text">
16055
+ <Val><![CDATA[package.json scope '{0}' explicitly maps specifier '{1}' to null.]]></Val>
16056
+ <Tgt Cat="Text" Stat="Loc" Orig="New">
16057
+ <Val><![CDATA[package.js 範圍 '{0}' 將指定名稱 '{1}' 明確對應到 Null。]]></Val>
16058
+ </Tgt>
16059
+ </Str>
16060
+ <Disp Icon="Str" />
16061
+ </Item>
16062
+ <Item ItemId=";package_json_scope_0_has_invalid_type_for_target_of_specifier_1_6275" ItemType="0" PsrId="306" Leaf="true">
16063
+ <Str Cat="Text">
16064
+ <Val><![CDATA[package.json scope '{0}' has invalid type for target of specifier '{1}']]></Val>
16065
+ <Tgt Cat="Text" Stat="Loc" Orig="New">
16066
+ <Val><![CDATA[package.js 範圍 '{0}' 對指定名稱 '{1}' 的目標具有無效類型]]></Val>
16067
+ </Tgt>
16068
+ </Str>
16069
+ <Disp Icon="Str" />
16070
+ </Item>
16071
+ <Item ItemId=";package_json_scope_0_has_no_imports_defined_6273" ItemType="0" PsrId="306" Leaf="true">
16072
+ <Str Cat="Text">
16073
+ <Val><![CDATA[package.json scope '{0}' has no imports defined.]]></Val>
16074
+ <Tgt Cat="Text" Stat="Loc" Orig="New">
16075
+ <Val><![CDATA[package.js 範圍 '{0}' 沒有定義的匯入。]]></Val>
16076
+ </Tgt>
16077
+ </Str>
16078
+ <Disp Icon="Str" />
16079
+ </Item>
15978
16080
<Item ItemId=";paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0_6091" ItemType="0" PsrId="306" Leaf="true">
15979
16081
<Str Cat="Text">
15980
16082
<Val><![CDATA['paths' option is specified, looking for a pattern to match module name '{0}'.]]></Val>
0 commit comments