Skip to content

Commit 56a0825

Browse files
authored
LEGO: Pull request from lego/hb_5378966c-b857-470a-8675-daebef4a6da1_20241219202405650 to main (#60826)
1 parent 12e205b commit 56a0825

File tree

5 files changed

+130
-115
lines changed

5 files changed

+130
-115
lines changed

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

+26-23
Original file line numberDiff line numberDiff line change
@@ -5996,12 +5996,12 @@
59965996
</Item>
59975997
<Item ItemId=";Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd__1323" ItemType="0" PsrId="306" Leaf="true">
59985998
<Str Cat="Text">
5999-
<Val><![CDATA[Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', or 'nodenext'.]]></Val>
5999+
<Val><![CDATA[Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', 'node18', or 'nodenext'.]]></Val>
60006000
<Tgt Cat="Text" Stat="Loc" Orig="New">
6001-
<Val><![CDATA[仅在将 “--module” 标记设置为 “es2020”、“es2022”、“esnext”、“commonjs”、“amd”、“system”、“umd”、“node16”“nodenext” 时,才支持动态导入。]]></Val>
6001+
<Val><![CDATA[仅当将“--module”标记设置为“es2020”、“es2022”、“esnext”、“commonjs”、“amd”、“system”、“umd”、“node16”、“node18”或“nodenext”时,才支持动态导入。]]></Val>
60026002
</Tgt>
60036003
<Prev Cat="Text">
6004-
<Val><![CDATA[Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node12', or 'nodenext'.]]></Val>
6004+
<Val><![CDATA[Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', or 'nodenext'.]]></Val>
60056005
</Prev>
60066006
</Str>
60076007
<Disp Icon="Str" />
@@ -6015,11 +6015,11 @@
60156015
</Str>
60166016
<Disp Icon="Str" />
60176017
</Item>
6018-
<Item ItemId=";Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_nodene_1324" ItemType="0" PsrId="306" Leaf="true">
6018+
<Item ItemId=";Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_node18_1324" ItemType="0" PsrId="306" Leaf="true">
60196019
<Str Cat="Text">
6020-
<Val><![CDATA[Dynamic imports only support a second argument when the '--module' option is set to 'esnext', 'node16', 'nodenext', or 'preserve'.]]></Val>
6020+
<Val><![CDATA[Dynamic imports only support a second argument when the '--module' option is set to 'esnext', 'node16', 'node18', 'nodenext', or 'preserve'.]]></Val>
60216021
<Tgt Cat="Text" Stat="Loc" Orig="New">
6022-
<Val><![CDATA[只有当“--module”选项设置为“esnext”、“node16”、“nodenext”或“preserve”时,动态导入才支持第二个参数。]]></Val>
6022+
<Val><![CDATA[仅当“--module”选项设置为“esnext”、“node16”、“node18”、“nodenext”或“preserve”时,动态导入才支持第二个参数。]]></Val>
60236023
</Tgt>
60246024
</Str>
60256025
<Disp Icon="Str" />
@@ -8229,11 +8229,11 @@
82298229
</Str>
82308230
<Disp Icon="Str" />
82318231
</Item>
8232-
<Item ItemId=";Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_nodenext_or_preserve_2821" ItemType="0" PsrId="306" Leaf="true">
8232+
<Item ItemId=";Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_node18_nodenext_or_pres_2821" ItemType="0" PsrId="306" Leaf="true">
82338233
<Str Cat="Text">
8234-
<Val><![CDATA[Import assertions are only supported when the '--module' option is set to 'esnext', 'nodenext', or 'preserve'.]]></Val>
8234+
<Val><![CDATA[Import assertions are only supported when the '--module' option is set to 'esnext', 'node18', 'nodenext', or 'preserve'.]]></Val>
82358235
<Tgt Cat="Text" Stat="Loc" Orig="New">
8236-
<Val><![CDATA[只有当“--module”选项设置为“esnext”、“nodenext”或“preserve”时,才支持导入断言。]]></Val>
8236+
<Val><![CDATA[仅当“--module”选项设置为“esnext”、“node18”、“nodenext”或“preserve”时,才支持导入断言。]]></Val>
82378237
</Tgt>
82388238
</Str>
82398239
<Disp Icon="Str" />
@@ -8274,11 +8274,11 @@
82748274
</Str>
82758275
<Disp Icon="Str" />
82768276
</Item>
8277-
<Item ItemId=";Import_attributes_are_only_supported_when_the_module_option_is_set_to_esnext_nodenext_or_preserve_2823" ItemType="0" PsrId="306" Leaf="true">
8277+
<Item ItemId=";Import_attributes_are_only_supported_when_the_module_option_is_set_to_esnext_node18_nodenext_or_pres_2823" ItemType="0" PsrId="306" Leaf="true">
82788278
<Str Cat="Text">
8279-
<Val><![CDATA[Import attributes are only supported when the '--module' option is set to 'esnext', 'nodenext', or 'preserve'.]]></Val>
8279+
<Val><![CDATA[Import attributes are only supported when the '--module' option is set to 'esnext', 'node18', 'nodenext', or 'preserve'.]]></Val>
82808280
<Tgt Cat="Text" Stat="Loc" Orig="New">
8281-
<Val><![CDATA[只有当“--module”选项设置为“esnext”、“nodenext”或“preserve”时,才支持导入属性。]]></Val>
8281+
<Val><![CDATA[仅当“--module”选项设置为“esnext”、“node18”、“nodenext”或“preserve”时,才支持导入属性。]]></Val>
82828282
</Tgt>
82838283
</Str>
82848284
<Disp Icon="Str" />
@@ -14393,12 +14393,12 @@
1439314393
</Item>
1439414394
<Item ItemId=";The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_es2022_esnext_system__1343" ItemType="0" PsrId="306" Leaf="true">
1439514395
<Str Cat="Text">
14396-
<Val><![CDATA[The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.]]></Val>
14396+
<Val><![CDATA[The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', 'node18', or 'nodenext'.]]></Val>
1439714397
<Tgt Cat="Text" Stat="Loc" Orig="New">
14398-
<Val><![CDATA[仅当 “--module” 选项为 “es2020”、“es2022”、“esnext”、“system”、“node16”“nodenext” 时,才允许使用 “import.meta” 元属性。]]></Val>
14398+
<Val><![CDATA[仅当“--module”选项为“es2020”、“es2022”、“esnext”、“system”、“node16”、“node18”或“nodenext”时,才允许使用“import.meta”元属性。]]></Val>
1439914399
</Tgt>
1440014400
<Prev Cat="Text">
14401-
<Val><![CDATA[The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node12', or 'nodenext'.]]></Val>
14401+
<Val><![CDATA[The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.]]></Val>
1440214402
</Prev>
1440314403
</Str>
1440414404
<Disp Icon="Str" />
@@ -15641,22 +15641,25 @@
1564115641
</Item>
1564215642
<Item ItemId=";Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_n_1378" ItemType="0" PsrId="306" Leaf="true">
1564315643
<Str Cat="Text">
15644-
<Val><![CDATA[Top-level 'await' expressions are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher.]]></Val>
15644+
<Val><![CDATA[Top-level 'await' expressions are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', 'node18', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher.]]></Val>
1564515645
<Tgt Cat="Text" Stat="Loc" Orig="New">
15646-
<Val><![CDATA[仅当“module”选项设置为“es2022”、“esnext”、“system”、“node16”、“nodenext”或“preserve”时,且“target”选项设置为“es2017”或更高版本时,才允许使用顶级“await”表达式。]]></Val>
15646+
<Val><![CDATA[仅当“module”选项设置为“es2022”、“esnext”、“system”、“node16”、“node18”、“nodenext”或“preserve”时,且“target”选项设置为“es2017”或更高版本时,才允许使用顶级“await”表达式。]]></Val>
1564715647
</Tgt>
1564815648
<Prev Cat="Text">
15649-
<Val><![CDATA[Top-level 'await' expressions are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', or 'nodenext', and the 'target' option is set to 'es2017' or higher.]]></Val>
15649+
<Val><![CDATA[Top-level 'await' expressions are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher.]]></Val>
1565015650
</Prev>
1565115651
</Str>
1565215652
<Disp Icon="Str" />
1565315653
</Item>
1565415654
<Item ItemId=";Top_level_await_using_statements_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_sys_2854" ItemType="0" PsrId="306" Leaf="true">
1565515655
<Str Cat="Text">
15656-
<Val><![CDATA[Top-level 'await using' statements are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher.]]></Val>
15656+
<Val><![CDATA[Top-level 'await using' statements are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', 'node18', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher.]]></Val>
1565715657
<Tgt Cat="Text" Stat="Loc" Orig="New">
15658-
<Val><![CDATA[仅当“module”选项设置为 "es2022"、"esnext"、"system"、"node16"、"nodenext" 或 "preserve" 且 "target" 选项设置为 "es2017" 或更高时,才允许使用顶级 "await using" 语句。]]></Val>
15658+
<Val><![CDATA[仅当“module”选项设置为es2022”、“esnext”、“system”、“node16”、“node18”、“nodenext”或“preserve”且“target选项设置为es2017或更高时,才允许使用顶级await using语句。]]></Val>
1565915659
</Tgt>
15660+
<Prev Cat="Text">
15661+
<Val><![CDATA[Top-level 'await using' statements are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher.]]></Val>
15662+
</Prev>
1566015663
</Str>
1566115664
<Disp Icon="Str" />
1566215665
</Item>
@@ -15671,12 +15674,12 @@
1567115674
</Item>
1567215675
<Item ItemId=";Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_nod_1432" ItemType="0" PsrId="306" Leaf="true">
1567315676
<Str Cat="Text">
15674-
<Val><![CDATA[Top-level 'for await' loops are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher.]]></Val>
15677+
<Val><![CDATA[Top-level 'for await' loops are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', 'node18', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher.]]></Val>
1567515678
<Tgt Cat="Text" Stat="Loc" Orig="New">
15676-
<Val><![CDATA[仅当“module”选项设置为“es2022”、“esnext”、“system”、“node16”、“nodenext”或“preserve”时,且“target”选项设置为“es2017”或更高版本时,才允许使用顶级“for await”循环。]]></Val>
15679+
<Val><![CDATA[仅当“module”选项设置为“es2022”、“esnext”、“system”、“node16”、“node18”、“nodenext”或“preserve”时,且“target”选项设置为“es2017”或更高版本时,才允许使用顶级“for await”循环。]]></Val>
1567715680
</Tgt>
1567815681
<Prev Cat="Text">
15679-
<Val><![CDATA[Top-level 'for await' loops are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', or 'nodenext', and the 'target' option is set to 'es2017' or higher.]]></Val>
15682+
<Val><![CDATA[Top-level 'for await' loops are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher.]]></Val>
1568015683
</Prev>
1568115684
</Str>
1568215685
<Disp Icon="Str" />

0 commit comments

Comments
 (0)