Skip to content

Commit 5a3271b

Browse files
authored
LEGO: Pull request from lego/hb_5378966c-b857-470a-8675-daebef4a6da1_20250618192323088 to main (#61898)
1 parent f1d2494 commit 5a3271b

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

Lines changed: 26 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -6023,12 +6023,12 @@
60236023
</Item>
60246024
<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">
60256025
<Str Cat="Text">
6026-
<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>
6026+
<Val><![CDATA[Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', 'node18', 'node20', or 'nodenext'.]]></Val>
60276027
<Tgt Cat="Text" Stat="Loc" Orig="New">
6028-
<Val><![CDATA[仅当将--module标记设置为es2020”、“es2022”、“esnext”、“commonjs”、“amd”、“system”、“umd”、“node16”、“node18”或“nodenext时,才支持动态导入。]]></Val>
6028+
<Val><![CDATA[仅当将--module标记设置为es2020’、‘es2022’、‘esnext’、‘commonjs’、‘amd’、‘system’、‘umd’、‘node16’、‘node18’、'node20' 或 ‘nodenext时,才支持动态导入。]]></Val>
60296029
</Tgt>
60306030
<Prev Cat="Text">
6031-
<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>
6031+
<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>
60326032
</Prev>
60336033
</Str>
60346034
<Disp Icon="Str" />
@@ -6044,10 +6044,13 @@
60446044
</Item>
60456045
<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">
60466046
<Str Cat="Text">
6047-
<Val><![CDATA[Dynamic imports only support a second argument when the '--module' option is set to 'esnext', 'node16', 'node18', 'nodenext', or 'preserve'.]]></Val>
6047+
<Val><![CDATA[Dynamic imports only support a second argument when the '--module' option is set to 'esnext', 'node16', 'node18', 'node20', 'nodenext', or 'preserve'.]]></Val>
60486048
<Tgt Cat="Text" Stat="Loc" Orig="New">
6049-
<Val><![CDATA[仅当--module选项设置为esnext”、“node16”、“node18”、“nodenext”或“preserve时,动态导入才支持第二个参数。]]></Val>
6049+
<Val><![CDATA[仅当--module选项设置为esnext’、‘node16’、‘node18’、‘node20’、‘nodenext’ 或 ‘preserve时,动态导入才支持第二个参数。]]></Val>
60506050
</Tgt>
6051+
<Prev Cat="Text">
6052+
<Val><![CDATA[Dynamic imports only support a second argument when the '--module' option is set to 'esnext', 'node16', 'node18', 'nodenext', or 'preserve'.]]></Val>
6053+
</Prev>
60516054
</Str>
60526055
<Disp Icon="Str" />
60536056
</Item>
@@ -8292,11 +8295,11 @@
82928295
</Str>
82938296
<Disp Icon="Str" />
82948297
</Item>
8295-
<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">
8298+
<Item ItemId=";Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_node18_node20_nodenext__2821" ItemType="0" PsrId="306" Leaf="true">
82968299
<Str Cat="Text">
8297-
<Val><![CDATA[Import assertions are only supported when the '--module' option is set to 'esnext', 'node18', 'nodenext', or 'preserve'.]]></Val>
8300+
<Val><![CDATA[Import assertions are only supported when the '--module' option is set to 'esnext', 'node18', 'node20', 'nodenext', or 'preserve'.]]></Val>
82988301
<Tgt Cat="Text" Stat="Loc" Orig="New">
8299-
<Val><![CDATA[仅当--module选项设置为esnext”、“node18”、“nodenext”或“preserve时,才支持导入断言。]]></Val>
8302+
<Val><![CDATA[仅当--module选项设置为esnext’、‘node18’、‘node20’、‘nodenext’ 或 ‘preserve时,才支持导入断言。]]></Val>
83008303
</Tgt>
83018304
</Str>
83028305
<Disp Icon="Str" />
@@ -8346,11 +8349,11 @@
83468349
</Str>
83478350
<Disp Icon="Str" />
83488351
</Item>
8349-
<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">
8352+
<Item ItemId=";Import_attributes_are_only_supported_when_the_module_option_is_set_to_esnext_node18_node20_nodenext__2823" ItemType="0" PsrId="306" Leaf="true">
83508353
<Str Cat="Text">
8351-
<Val><![CDATA[Import attributes are only supported when the '--module' option is set to 'esnext', 'node18', 'nodenext', or 'preserve'.]]></Val>
8354+
<Val><![CDATA[Import attributes are only supported when the '--module' option is set to 'esnext', 'node18', 'node20', 'nodenext', or 'preserve'.]]></Val>
83528355
<Tgt Cat="Text" Stat="Loc" Orig="New">
8353-
<Val><![CDATA[仅当--module选项设置为esnext”、“node18”、“nodenext”或“preserve时,才支持导入属性。]]></Val>
8356+
<Val><![CDATA[仅当--module选项设置为esnext’、‘node18’、‘node20’、‘nodenext’ 或 ‘preserve时,才支持导入属性。]]></Val>
83548357
</Tgt>
83558358
</Str>
83568359
<Disp Icon="Str" />
@@ -14531,12 +14534,12 @@
1453114534
</Item>
1453214535
<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">
1453314536
<Str Cat="Text">
14534-
<Val><![CDATA[The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', 'node18', or 'nodenext'.]]></Val>
14537+
<Val><![CDATA[The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', 'node18', 'node20', or 'nodenext'.]]></Val>
1453514538
<Tgt Cat="Text" Stat="Loc" Orig="New">
14536-
<Val><![CDATA[仅当--module选项为es2020”、“es2022”、“esnext”、“system”、“node16”、“node18”或“nodenext时,才允许使用import.meta元属性。]]></Val>
14539+
<Val><![CDATA[仅当 '--module' 选项为 'es2020'、'es2022'、'esnext'、'system'、'node16'、'node18'、'node20' 或 'nodenext' 时,才允许使用 'import.meta' 元属性。]]></Val>
1453714540
</Tgt>
1453814541
<Prev Cat="Text">
14539-
<Val><![CDATA[The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.]]></Val>
14542+
<Val><![CDATA[The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', 'node18', or 'nodenext'.]]></Val>
1454014543
</Prev>
1454114544
</Str>
1454214545
<Disp Icon="Str" />
@@ -15797,24 +15800,24 @@
1579715800
</Item>
1579815801
<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">
1579915802
<Str Cat="Text">
15800-
<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>
15803+
<Val><![CDATA[Top-level 'await' expressions are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', 'node18', 'node20', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher.]]></Val>
1580115804
<Tgt Cat="Text" Stat="Loc" Orig="New">
15802-
<Val><![CDATA[仅当module选项设置为es2022”、“esnext”、“system”、“node16”、“node18”、“nodenext”或“preserve”时,且“target选项设置为es2017或更高版本时,才允许使用顶级await表达式。]]></Val>
15805+
<Val><![CDATA[仅当module选项设置为es2022’、‘esnext’、‘system’、‘node16’、‘node18’、‘node20’、‘nodenext’ 或 ‘preserve’,且 ‘target选项设置为es2017或更高版本时,才允许使用顶级await表达式。]]></Val>
1580315806
</Tgt>
1580415807
<Prev Cat="Text">
15805-
<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>
15808+
<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>
1580615809
</Prev>
1580715810
</Str>
1580815811
<Disp Icon="Str" />
1580915812
</Item>
1581015813
<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">
1581115814
<Str Cat="Text">
15812-
<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>
15815+
<Val><![CDATA[Top-level 'await using' statements are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', 'node18', 'node20', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher.]]></Val>
1581315816
<Tgt Cat="Text" Stat="Loc" Orig="New">
15814-
<Val><![CDATA[仅当module选项设置为es2022”、“esnext”、“system”、“node16”、“node18”、“nodenext”或“preserve”且“target选项设置为es2017或更高时,才允许使用顶级await using语句。]]></Val>
15817+
<Val><![CDATA[仅当module选项设置为es2022’、‘esnext’、‘system’、‘node16’、‘node18’、‘node20’、‘nodenext’ 或 ‘preserve’ 且 ‘target选项设置为es2017或更高时,才允许使用顶级await using语句。]]></Val>
1581515818
</Tgt>
1581615819
<Prev Cat="Text">
15817-
<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>
15820+
<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>
1581815821
</Prev>
1581915822
</Str>
1582015823
<Disp Icon="Str" />
@@ -15830,12 +15833,12 @@
1583015833
</Item>
1583115834
<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">
1583215835
<Str Cat="Text">
15833-
<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>
15836+
<Val><![CDATA[Top-level 'for await' loops are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', 'node18', 'node20', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher.]]></Val>
1583415837
<Tgt Cat="Text" Stat="Loc" Orig="New">
15835-
<Val><![CDATA[仅当module选项设置为es2022”、“esnext”、“system”、“node16”、“node18”、“nodenext”或“preserve”时,且“target选项设置为es2017或更高版本时,才允许使用顶级for await循环。]]></Val>
15838+
<Val><![CDATA[仅当module选项设置为es2022’、‘esnext’、‘system’、‘node16’、‘node18’、‘node20’、‘nodenext’ 或 ‘preserve’,且 ‘target选项设置为es2017或更高版本时,才允许使用顶级for await循环。]]></Val>
1583615839
</Tgt>
1583715840
<Prev Cat="Text">
15838-
<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>
15841+
<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>
1583915842
</Prev>
1584015843
</Str>
1584115844
<Disp Icon="Str" />

0 commit comments

Comments
 (0)