Skip to content

Commit cdfc796

Browse files
authored
LEGO: Merge pull request 46108
LEGO: Merge pull request 46108
1 parent 8d5c197 commit cdfc796

File tree

1 file changed

+113
-11
lines changed

1 file changed

+113
-11
lines changed

Diff for: src/loc/lcl/cht/diagnosticMessages/diagnosticMessages.generated.json.lcl

+113-11
Original file line numberDiff line numberDiff line change
@@ -4710,6 +4710,15 @@
47104710
</Str>
47114711
<Disp Icon="Str" />
47124712
</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>
47134722
<Item ItemId=";Disable_adding_use_strict_directives_in_emitted_JavaScript_files_6669" ItemType="0" PsrId="306" Leaf="true">
47144723
<Str Cat="Text">
47154724
<Val><![CDATA[Disable adding 'use strict' directives in emitted JavaScript files.]]></Val>
@@ -5198,10 +5207,13 @@
51985207
</Item>
51995208
<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">
52005209
<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>
52025211
<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>
52045213
</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>
52055217
</Str>
52065218
<Disp Icon="Str" />
52075219
</Item>
@@ -5916,6 +5928,15 @@
59165928
</Str>
59175929
<Disp Icon="Str" />
59185930
</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>
59195940
<Item ItemId=";Exported_type_alias_0_has_or_is_using_private_name_1_4081" ItemType="0" PsrId="306" Leaf="true">
59205941
<Str Cat="Text">
59215942
<Val><![CDATA[Exported type alias '{0}' has or is using private name '{1}'.]]></Val>
@@ -7137,6 +7158,15 @@
71377158
</Str>
71387159
<Disp Icon="Str" />
71397160
</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>
71407170
<Item ItemId=";Imported_via_0_from_file_1_1393" ItemType="0" PsrId="306" Leaf="true">
71417171
<Str Cat="Text">
71427172
<Val><![CDATA[Imported via {0} from file '{1}']]></Val>
@@ -7521,6 +7551,15 @@
75217551
</Str>
75227552
<Disp Icon="Str" />
75237553
</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>
75247563
<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">
75257564
<Str Cat="Text">
75267565
<Val><![CDATA[Invalid module name in augmentation. Module '{0}' resolves to an untyped module at '{1}', which cannot be augmented.]]></Val>
@@ -8172,6 +8211,15 @@
81728211
</Str>
81738212
<Disp Icon="Str" />
81748213
</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>
81758223
<Item ItemId=";Module_0_declares_1_locally_but_it_is_exported_as_2_2460" ItemType="0" PsrId="306" Leaf="true">
81768224
<Str Cat="Text">
81778225
<Val><![CDATA[Module '{0}' declares '{1}' locally, but it is exported as '{2}'.]]></Val>
@@ -12477,11 +12525,20 @@
1247712525
</Str>
1247812526
<Disp Icon="Str" />
1247912527
</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">
1248112538
<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>
1248312540
<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>
1248512542
</Tgt>
1248612543
</Str>
1248712544
<Disp Icon="Str" />
@@ -13317,6 +13374,24 @@
1331713374
</Str>
1331813375
<Disp Icon="Str" />
1331913376
</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>
1332013395
<Item ItemId=";This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found_2354" ItemType="0" PsrId="306" Leaf="true">
1332113396
<Str Cat="Text">
1332213397
<Val><![CDATA[This syntax requires an imported helper but module '{0}' cannot be found.]]></Val>
@@ -13344,11 +13419,11 @@
1334413419
</Str>
1334513420
<Disp Icon="Str" />
1334613421
</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">
1334813423
<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>
1335013425
<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>
1335213427
</Tgt>
1335313428
</Str>
1335413429
<Disp Icon="Str" />
@@ -13362,11 +13437,11 @@
1336213437
</Str>
1336313438
<Disp Icon="Str" />
1336413439
</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">
1336613441
<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>
1336813443
<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>
1337013445
</Tgt>
1337113446
</Str>
1337213447
<Disp Icon="Str" />
@@ -15975,6 +16050,33 @@
1597516050
</Str>
1597616051
<Disp Icon="Str" />
1597716052
</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>
1597816080
<Item ItemId=";paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0_6091" ItemType="0" PsrId="306" Leaf="true">
1597916081
<Str Cat="Text">
1598016082
<Val><![CDATA['paths' option is specified, looking for a pattern to match module name '{0}'.]]></Val>

0 commit comments

Comments
 (0)